* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #4a4a4a;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'MiSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@font-face {
    font-family: 'MiSans';
    /* 自定义字体名称 */
    src: url('../fonts/MiSans-Demibold.woff2') format('woff2'),
        /* 优先使用 WOFF2 */
        url('../fonts/mycustomfont.woff') format('woff'),
        /* 后备 WOFF */
        url('../fonts/mycustomfont.ttf') format('truetype');
    /* 后备 TTF */
    font-weight: normal;
    /* 常规字重 */
    font-style: normal;
    /* 常规样式 */
}

/* 弹窗遮罩层（覆盖全屏） */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
}

.welcome-modal {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 48px;
    padding: 2.5rem 3rem;
    max-width: 90%;
    width: 650px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.25);
    border: 1px solid rgba(233, 30, 99, 0.2);
    animation: modalPop 0.4s ease;
    color: #4a4a4a;
}

@keyframes modalPop {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.welcome-modal {
    text-align: center;
}

.welcome-modal .cat-emoji {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 6px rgba(233, 30, 99, 0.3));
}

.welcome-modal .cat-emoji img {
    width: 25%;
    height: 25%;
}

.welcome-modal h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.welcome-modal h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #6a0dad;
    margin-bottom: 1.2rem;
    border-bottom: 2px dashed #f8bbd0;
    padding-bottom: 0.8rem;
    display: inline-block;
}

.birthday-popup-top {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #f48fb1, #7c4dff);
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    margin: 0 auto 1rem auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.birthday-popup-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(124, 77, 255, 0.25);
}

.welcome-modal p {
    font-size: 1.2rem;
    color: #8a6d88;
    margin-bottom: 1.8rem;
}

.welcome-modal .hint {
    background: rgba(233, 30, 99, 0.1);
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    font-size: 1rem;
    color: #e91e63;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.welcome-modal .hint span {
    margin-right: 4px;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 固定头部 */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    opacity: 0.96;
}

.nav img {
    width: 150px;
    height: 60px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e91e63;
    text-decoration: none;
}

.nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem;
    margin: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 18px 60px rgba(106, 13, 173, 0.08);
    backdrop-filter: blur(20px);
    transition: box-shadow 0.3s ease;
    --slider-left: 0px;
    --slider-width: 0px;
}

.nav-links::before {
    content: '';
    position: absolute;
    left: var(--slider-left);
    top: 0;
    width: var(--slider-width);
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.16), rgba(106, 13, 173, 0.14));
    box-shadow: 0 18px 48px rgba(106, 13, 173, 0.12);
    transition: left 0.35s ease, width 0.35s ease, background 0.35s ease;
    pointer-events: none;
}

.nav-links a {
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: #6a0dad;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    transition: color 0.25s ease, transform 0.25s ease, letter-spacing 0.25s ease;
}

.nav-links a:hover {
    color: #e91e63;
    transform: translateY(-1px) scale(1.02);
}

.nav-links a.active {
    color: #311b58;
    font-weight: 700;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    padding: 2rem 5%;
    position: relative;
    overflow-y: auto;
}

/* 页面内容容器 */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 固定底部 */
footer {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.15);
    color: #6a0dad;
    text-align: center;
    padding: 2.5rem 5% 1.5rem;
    width: 100%;
}

.footer-content {
    max-width: 90%;
    margin: 0 auto;
}

.footer-content p a {
    color: #6a0dad;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
}

/* 轻量级图片弹窗 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.hidden {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.lightbox-content img {
    max-width: 70vw;
    max-height: 60vh;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform .2s ease;
}

.lightbox-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 24px;
    outline: none;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(233, 30, 99, 0.85);
}

.lightbox-nav {
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 20px;
    outline: none;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    overflow: hidden;
}

.lightbox-nav:hover {
    background: rgba(233, 30, 99, 0.85);
}

.lightbox-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10001;
}

.lightbox-date {
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.lightbox-counter {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

body.modal-open {
    overflow: hidden;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.social-links a {
    margin: 10px;
    color: #6a0dad;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.1);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.social-links a:hover {
    /* color: #e91e63;
    background: #e91e63; */
    color: #ffffff;
    background: #ffffff;
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

.social-links a .link-text {
    display: inline-block;
    line-height: 1;
}

.social-links a .link-text img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 悬浮提示 */
.social-links a .tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: white;
    color: #4a4a4a;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.25);
    border: 1px solid rgba(233, 30, 99, 0.2);
    z-index: 1100;
    align-items: center;
    gap: 6px;
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    backdrop-filter: blur(2px);
    transition: opacity 0.2s;
    pointer-events: none;
}

.social-links a .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(233, 30, 99, 0.1));
}

.social-links a:hover .tooltip {
    display: flex;
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.tooltip-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.tooltip-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}

.tooltip-text {
    font-weight: 600;
    color: #e91e63;
}

/* 确认弹窗样式 */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    cursor: default;
}

.confirm-modal {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 48px;
    padding: 2.2rem 2.5rem;
    max-width: 90%;
    width: 450px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3);
    border: 1px solid rgba(233, 30, 99, 0.2);
    animation: modalPop 0.3s ease;
    color: #4a4a4a;
}

.confirm-modal .logo {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 6px rgba(233, 30, 99, 0.3));
}

.confirm-modal .logo img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.confirm-modal h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e91e63;
    margin-bottom: 1rem;
}

.confirm-modal p {
    font-size: 1.2rem;
    color: #6a0dad;
    margin-bottom: 2rem;
}

.confirm-modal strong {
    color: #e91e63;
    font-weight: 700;
}

.confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.confirm-buttons .btn {
    min-width: 110px;
    margin: 0;
    opacity: 1;
    transform: none;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
}

.cancel-btn {
    background: transparent;
    color: #e91e63;
    border: 2px solid #e91e63;
    box-shadow: none;
}

.cancel-btn:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-2px);
}

/* 音乐播放器 */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(233, 30, 99, 0.3);
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.25);
    font-family: 'MiSans', sans-serif;
    color: #6a0dad;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 320px;
    height: 280px;
    border-radius: 20px;
}

.music-player.collapsed {
    width: 280px;
    height: 60px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.2);
}

.player-expanded {
    display: flex;
    flex-direction: column;
    padding: 16px;
    width: 100%;
    height: 100%;
}

.player-collapsed {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: row;
    align-items: center;
    padding: 8px 16px;
    gap: 12px;
}

.music-player.collapsed .player-expanded {
    display: none;
}

.music-player.collapsed .player-collapsed {
    display: flex;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.song-info {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 250px;
    /* 限制最大宽度，确保toggle按钮有足够空间 */
}

.album-cover {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.album-cover.playing {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.song-details {
    flex: 1;
    min-width: 0;
    max-width: 170px;
    /* 进一步缩小，确保toggle按钮不受影响 */
}

.song-title {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    height: 1.5em;
    line-height: 1.5em;
    position: relative;
    color: #6a0dad;
}

.song-title .scroll-text {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0s;
    will-change: transform;
}

.song-title.scrolling .scroll-text {
    animation: scrollMarquee 8s linear infinite;
}

.song-artist {
    font-size: 0.85rem;
    color: #8a6d88;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    height: 1.2em;
    line-height: 1.2em;
    position: relative;
}

.song-artist .scroll-text {
    display: inline-block;
    white-space: nowrap;
    transition: none;
    will-change: auto;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(calc(-1 * var(--scroll-distance)));
    }

    100% {
        transform: translateX(0);
    }
}

.toggle-btn {
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.toggle-btn:hover {
    background: #c2185b;
    transform: scale(1.1);
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.player-controls button {
    background: linear-gradient(135deg, #f8bbd0, #fce4ec);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #6a0dad;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.player-controls button:hover {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.4);
}

.player-controls button:active {
    transform: translateY(0) scale(0.95);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6a0dad;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-controls button:hover {
    background: #e91e63;
    color: white;
    transform: scale(1.1);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px 0;
}

.time-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6a0dad;
    min-width: 35px;
    text-align: center;
}

.progress-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #fce4ec 0%, #fce4ec 100%);
    border-radius: 3px;
    outline: none;
    position: relative;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
    border: 2px solid white;
}

.progress-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 50%;
    border: none;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.volume-icon {
    font-size: 1.1rem;
    color: #6a0dad;
}

.volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #fce4ec 0%, #fce4ec 100%);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
    border: 2px solid white;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    border-radius: 50%;
    border: none;
}

.mini-album-cover {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mini-album-cover.playing {
    animation: rotate 3s linear infinite;
}

.mini-song-info {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 52px);
}

.mini-song-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #6a0dad;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    height: 1.2em;
    line-height: 1.2;
    position: relative;
}

.mini-song-title .scroll-text {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0s;
    will-change: transform;
}

.mini-song-title.scrolling .scroll-text {
    animation: scrollMarquee 8s linear infinite;
}

.mini-song-artist {
    font-size: 0.75rem;
    color: #8a6d88;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    height: 1.2em;
    line-height: 1.2;
    margin-top: 2px;
    position: relative;
}

.mini-song-artist .scroll-text {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0s;
    will-change: transform;
}

.mini-song-artist.scrolling .scroll-text {
    animation: scrollMarquee 8s linear infinite;
}

.expand-btn {
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.expand-btn:hover {
    background: #c2185b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* 首页样式 */
.hero {
    text-align: center;
    padding: 5rem 5% 3rem;
    color: #6a0dad;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 2.5rem 3rem;
    max-width: 800px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
}

.hero-content h2 {
    font-size: 1.8rem;
    color: #e91e63;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(255, 200, 220, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.hero p {
    font-size: 1.5rem;
    max-width: 90%;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
    color: #c179cd;
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #b455c3;
    text-align: center;
    width: 1000px;
    max-width: 100%;
    height: 80px;
}

.btn {
    display: inline-block;
    background: #e91e63;
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.4s ease;
    border: 2px solid #e91e63;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    transform: translateY(20px);
    opacity: 0;
}

.btn:hover {
    background: transparent;
    color: #e91e63;
    /* transform: translateY(-3px) scale(1.05);  暂时保留先不要删*/
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

.features {
    padding: 4rem 5%;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #6a0dad;
    margin-bottom: 1rem;
}

.section-title p {
    color: #8a6d88;
    max-width: 90%;
    margin: 0 auto;
}

.page-h2-title {
    color: #e91e63;
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
}

.contact-list {
    color: #6a0dad;
    margin: 1rem 0 1rem 2rem;
    font-size: 1.1rem;
}

.center-block {
    text-align: center;
    margin-top: 1.5rem;
}

.center-block a {
    font-size: 1.5rem; 
    color:#e91e63; 
    margin-bottom: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    max-width: 100%;
    display: inline-block;
    border-bottom: 3px solid #e91e63;
}

.calendar-page-header {
    padding: 2rem 5% 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 16px 40px rgba(233, 30, 99, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(233, 30, 99, 0.15);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(233, 30, 99, 0.22);
    border-color: #e91e63;
}

.feature-card h3 {
    color: #e91e63;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.uptime-domain {
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    margin: 0 auto 1rem;
    display: inline-flex;
    justify-content: center;
}

.birthday-card {
    box-shadow: 0 16px 40px rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.15);
}

.birthday-card:hover {
    box-shadow: 0 20px 48px rgba(30, 144, 255, 0.22);
    border-color: #1e90ff;
}

.birthday-card h3 {
    color: #1e90ff;
}

.home-birthday-title {
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    margin: 0 auto 1rem;
    display: inline-flex;
    justify-content: center;
}

.home-event-title {
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    margin: 0 auto 1rem;
    display: inline-flex;
    justify-content: center;
}

.home-event-title .scroll-text {
    display: inline-block;
    white-space: nowrap;
    min-width: 100%;
}

.home-event-title.scrolling .scroll-text {
    animation: scrollMarquee 10s linear infinite;
}

.countdown-text {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #e91e63, #d16fef);
    padding: 0.8rem 1rem;
    border-radius: 999px;
    margin: 0 auto 0.8rem;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.15);
    max-width: 100%;
    min-width: 100%;
    width: fit-content;
}

.countdown-details {
    color: #6a0dad;
    font-size: 1rem;
    margin: 0;
}

/* 关于页面样式 */
.page-header {
    text-align: center;
    padding: 4rem 5% 2rem;
    color: #6a0dad;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(255, 200, 220, 0.3);
}

.page-header p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
    color: #6a0dad;
}

.detail-section {
    padding: 2rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.15);
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.intro-card h2 {
    font-size: 2.2rem;
    color: #e91e63;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.intro-card h2::before {
    content: '🐱';
    font-size: 2.5rem;
    margin-right: 12px;
}

.intro-card p {
    font-size: 1.2rem;
    color: #6a0dad;
    margin-bottom: 1.5rem;
}

.intro-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
    margin-top: 2rem;
}

.highlight-item {
    flex: 1 1 200px;
    text-align: center;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 32px;
    padding: 1.5rem 0.5rem;
    border: 1px dashed #e91e63;
}

.highlight-item span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.highlight-item h4 {
    color: #e91e63;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    font-size: 1rem;
    margin: 0;
}

/* 时间线样式 */
.timeline {
    margin: 4rem 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(to bottom, #f8bbd0, #e91e63, #6a0dad);
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 4px solid #e91e63;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.2);
    z-index: 2;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    flex: 1;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.timeline-content h3 {
    color: #e91e63;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.timeline-content .time {
    font-weight: 600;
    color: #6a0dad;
    margin-bottom: 0.8rem;
    display: inline-block;
    background: #f8bbd0;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* 成员卡片网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 32px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #e91e63;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f8bbd0;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h4 {
    font-size: 1.5rem;
    color: #e91e63;
    margin-bottom: 0.5rem;
}

/* 照片墙占位 */
.photo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 3rem 0;
}

.photo-item {
    aspect-ratio: 1 / 1;
    background: rgba(233, 30, 99, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #e91e63;
    border: 2px dashed #e91e63;
    transition: 0.3s;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.photo-item:hover {
    background: rgba(233, 30, 99, 0.4);
    transform: scale(1.05);
}

.photo-wall-xiangce {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 3rem 0;
}

.photo-item-xiangce {
    aspect-ratio: 16 / 9;
    background: rgba(233, 30, 99, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #e91e63;
    border: 2px dashed #e91e63;
    transition: 0.3s;
    width: 100%;
}

.photo-item-xiangce img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.photo-item-xiangce:hover {
    background: rgba(233, 30, 99, 0.4);
    transform: scale(1.05);
}

.gallery-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 2rem 0 1rem;
}

.gallery-filter-label {
    font-size: 1rem;
    font-weight: 600;
    color: #6a0dad;
}

.gallery-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gallery-tag {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid #e91e63;
    background: rgba(233, 30, 99, 0.12);
    color: #6a0dad;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.gallery-tag.active {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

.gallery-load-more-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery-load-more-container .btn {
    opacity: 1;
    transform: none;
}

.gallery-empty-state {
    text-align: center;
    margin: 2rem 0;
    color: #6a0dad;
    display: none;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .hero-content {
        padding: 1.5rem 1.5rem;
        border-radius: 24px;
    }

    .typing-text {
        font-size: 2.8rem;
        height: auto;
        white-space: normal;
    }

    .music-player {
        bottom: 10px;
        right: 10px;
    }

    .welcome-modal {
        padding: 1.8rem 1.5rem;
    }

    .welcome-modal h1 {
        font-size: 2rem;
    }

    .welcome-modal h2 {
        font-size: 1.4rem;
    }

    .confirm-modal {
        padding: 1.8rem 1.5rem;
        width: 90%;
    }

    .confirm-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .confirm-buttons .btn {
        width: 100%;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: -2px;
        width: 22px;
        height: 22px;
    }

    .photo-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-wall-xiangce {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}