/* =========================================
   Sibei Photography — Common Styles
   Shared across all pages: navbar, footer,
   lightbox, gallery, atmosphere, animations
   ========================================= */

/* =========================================
   全局基础设置
   ========================================= */
:root {
    --bg-color: #0b0b0d;
    --text-primary: #ffffff;
    --text-secondary: #8b8b99;
    --accent-color: #ff4655;
    --accent-glow: rgba(255, 70, 85, 0.15);
    --nav-height: 80px;
    --nav-bg: rgba(11, 11, 13, 0.85);
    --nav-border: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(255, 255, 255, 0.015);
    --card-border: rgba(255, 255, 255, 0.06);
    --divider-color: #333;
    --equipment-bg: rgba(255, 255, 255, 0.02);
    --equipment-border: #333;
    --scrollbar-thumb: #2a2a2f;
    --scrollbar-thumb-hover: #3a3a3f;
    --orb-opacity-warm: 0.12;
    --orb-opacity-cool: 0.12;
    --grain-opacity: 0.035;
    --lightbox-bg: rgba(5, 5, 7, 0.95);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 70, 85, 0.35);
    color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* =========================================
   氛围层 — 动态光晕 + 胶片颗粒
   ========================================= */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: var(--orb-opacity-warm);
}
.bg-orb--warm {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 70, 85, 0.4) 0%, transparent 70%);
    top: -200px; left: -150px;
    animation: orbDrift1 20s ease-in-out infinite;
}
.bg-orb--cool {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(100, 130, 255, 0.3) 0%, transparent 70%);
    bottom: -150px; right: -150px;
    animation: orbDrift2 25s ease-in-out infinite;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* =========================================
   导航栏
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    padding: 0 5%;
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--nav-border);
    animation: slideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
}

.nav-left { justify-content: flex-start; align-items: center; }
.nav-right { justify-content: flex-end; align-items: center; gap: 1.2rem; }

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}
.logo:hover {
    transform: scale(1.08);
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.site-title {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.85;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: all 0.35s ease;
    position: relative;
    padding-bottom: 5px;
}
.nav-links a:hover {
    color: var(--text-primary);
    letter-spacing: 2.5px;
}

.nav-links a.active {
    color: var(--text-primary);
}
.nav-links a.active::after {
    width: 100%;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================
   通用页面标题区
   ========================================= */
.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
}
.section-title h2 {
    font-weight: 300;
    letter-spacing: 8px;
    margin: 0 0 10px;
    text-transform: uppercase;
    animation: clipReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.section-title p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 18px auto 0;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.7s both;
}

/* =========================================
   响应式画廊（通用样式，各页面可定制）
   ========================================= */
main { padding: 0 2% 4rem; position: relative; z-index: 2; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
}

.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s ease;
}
.gallery-item-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* .gallery-item base moved to .group-gallery section for masonry support */

.gallery-item-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.6s ease;
}

.gallery-item-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item-wrapper:hover {
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(255, 70, 85, 0.15),
                inset 0 -4px 0 var(--accent-color);
}
.gallery-item-wrapper:hover .gallery-item {
    filter: brightness(1.05) grayscale(0%) saturate(1.1);
    transform: scale(1.06);
}
.gallery-item-wrapper:hover::before {
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
}
.gallery-item-wrapper:hover::after {
    opacity: 1;
}
.gallery-item-wrapper:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* 悬停文字层 */
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 20px 20px 16px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.overlay-title {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 400;
    text-align: left;
    flex-shrink: 0;
}
.overlay-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.6rem;
    letter-spacing: 1px;
    font-weight: 300;
    text-align: right;
    line-height: 1.4;
    max-width: 55%;
}

.span-2-row { grid-row: span 2; }
.span-2-col { grid-column: span 2; }

/* =========================================
   Lightbox 全屏展示
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: var(--lightbox-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%; max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0,0,0,0.9);
    animation: zoomIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 300;
    pointer-events: none;
}

/* Lightbox 信息面板 — 移动端展示标题与参数 */
.lightbox-info {
    display: none;
}

.close-btn, .nav-btn {
    position: absolute; background: transparent; border: none;
    color: rgba(255, 255, 255, 0.4); cursor: pointer;
    transition: all 0.35s ease;
}
.close-btn:hover, .nav-btn:hover { color: var(--accent-color); transform: scale(1.15); }
.close-btn {
    top: 25px; right: 40px;
    font-size: 45px; font-weight: 100; line-height: 1;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.close-btn:hover { background: rgba(255,255,255,0.05); }
.nav-btn { top: 50%; transform: translateY(-50%); font-size: 40px; padding: 20px; }
.nav-btn:hover { transform: translateY(-50%) scale(1.15); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* =========================================
   页脚 — 版权标注 & 访问统计
   ========================================= */
.site-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 11, 13, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem 5% 2.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-brand {
    color: var(--text-primary);
    font-weight: 400;
}

.footer-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.65;
    transition: opacity 0.35s ease;
}
.footer-counter:hover {
    opacity: 1;
}

.counter-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

.counter-text {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 300;
}

.counter-text strong {
    color: var(--text-primary);
    font-weight: 400;
}

/* =========================================
   分类 Banner 基础样式
   ========================================= */
.category-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background: center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    z-index: 2;
}

.category-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(11,11,13,0.4) 0%,
        rgba(11,11,13,0.1) 40%,
        rgba(11,11,13,0.6) 80%,
        rgba(11,11,13,0.9) 100%
    );
}

.banner-title {
    position: relative;
    z-index: 2;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 12px;
    color: #fff;
    padding: 0 8% 3rem;
    text-shadow: 0 0 60px rgba(0,0,0,0.7), 0 0 120px rgba(0,0,0,0.4);
}

/* =========================================
   分组画廊样式（分类页）
   ========================================= */
.group-section {
    margin: 3rem 0 4rem;
}

.group-heading {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1.8rem;
    padding-left: 1.2rem;
    border-left: 3px solid var(--accent-color);
    color: var(--text-primary);
}

.group-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.group-gallery .gallery-item-wrapper {
    margin: 0;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    justify-self: center;
}
.gallery-item-wrapper.span2 {
    grid-row: span 2;
    aspect-ratio: 2 / 3;
}
.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) grayscale(10%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   打字机入场动画 (Typewriter)
   ========================================= */
.tw-char {
    opacity: 0;
    animation: charIn 0.03s ease forwards;
}

/* 汉堡按钮 + 移动覆盖层 — 桌面端隐藏 */
.hamburger { display: none; }
#mobile-nav-overlay { display: none; }

/* =========================================
   无障碍 — 减弱动画
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .gallery-item-wrapper {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   移动端适配
   ========================================= */
@media (max-width: 900px) {
    .about-container { flex-direction: column; text-align: center; }
    .about-portrait { box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
    .divider { margin: 0 auto 2rem; }
    .equipment-list { text-align: left; }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        height: 64px;
        padding: 0 1.2rem;
        justify-content: space-between;
    }
    .nav-center { position: static; transform: none; flex: 1; text-align: left; padding-left: 0.6rem; }
    .nav-center .site-title { font-size: 0.85rem; letter-spacing: 2px; }

    /* 桌面端 nav-links 和 nav-right 在移动端隐藏 */
    .nav-right { display: none; }

    /* 移动端左边留空间给汉堡 */
    .nav-left { flex: 0; }

    /* ===== 汉堡按钮 ===== */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px; height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2000;
        padding: 0;
    }
    .hamburger span {
        display: block;
        width: 22px; height: 1.5px;
        background: rgba(255,255,255,0.65);
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    .nav-open .hamburger span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .nav-open .hamburger span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .nav-open .hamburger span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* ===== 移动端导航覆盖层 ===== */
    .navbar { z-index: 1600; } /* navbar 保持在覆盖层之上 */

    #mobile-nav-overlay {
        position: fixed;
        top: 64px; left: 0; right: 0; bottom: 0;
        z-index: 1500;
        background:
            radial-gradient(ellipse at 50% 0%, rgba(255,70,85,0.06) 0%, transparent 60%),
            rgba(11, 11, 13, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .nav-open #mobile-nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    /* 品牌标记 */
    #mobile-nav-overlay::before {
        content: '';
        display: block;
        width: 30px; height: 1px;
        background: rgba(255,70,85,0.4);
        margin-bottom: 2rem;
    }

    #mobile-nav-overlay .mobile-nav-list {
        list-style: none;
        padding: 0; margin: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 300px;
    }
    #mobile-nav-overlay .mobile-nav-list > li {
        border-bottom: 1px solid rgba(255,255,255,0.04);
        padding: 0.8rem 0;
        animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    #mobile-nav-overlay .mobile-nav-list > li:nth-child(1) { animation-delay: 0.05s; }
    #mobile-nav-overlay .mobile-nav-list > li:nth-child(2) { animation-delay: 0.10s; }
    #mobile-nav-overlay .mobile-nav-list > li:nth-child(3) { animation-delay: 0.15s; }
    #mobile-nav-overlay .mobile-nav-list > li:nth-child(4) { animation-delay: 0.20s; }
    #mobile-nav-overlay .mobile-nav-list > li:nth-child(5) { animation-delay: 0.25s; }
    #mobile-nav-overlay .mobile-nav-list > li:nth-child(6) { animation-delay: 0.30s; }

    #mobile-nav-overlay .mobile-nav-list > li > a {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
        font-weight: 300;
        letter-spacing: 5px;
        color: rgba(255,255,255,0.75);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    #mobile-nav-overlay .mobile-nav-list > li > a:active {
        color: var(--accent-color);
    }

    /* 移动端子菜单 */
    #mobile-nav-overlay .mobile-submenu {
        list-style: none;
        padding: 6px 0 2px; margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px 8px;
    }
    #mobile-nav-overlay .mobile-submenu a {
        font-size: 0.65rem;
        letter-spacing: 2px;
        color: rgba(255,255,255,0.3);
        text-decoration: none;
        padding: 3px 10px;
        display: inline-block;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 20px;
        transition: all 0.25s ease;
    }
    #mobile-nav-overlay .mobile-submenu a:active {
        color: var(--accent-color);
        border-color: rgba(255,70,85,0.3);
        background: rgba(255,70,85,0.08);
    }

    .span-2-col { grid-column: span 1; }
    .nav-btn { padding: 10px; font-size: 30px; }
    .prev-btn { left: 0; } .next-btn { right: 0; }
    .close-btn { top: 15px; right: 20px; font-size: 35px; }

    /* 移动端 Lightbox — 图片上方 + 信息面板下方 */
    .lightbox {
        flex-direction: column;
    }
    .lightbox-content {
        max-width: 100%;
        max-height: none;
        flex: 1;
        min-height: 0;
        object-fit: contain;
        border-radius: 0;
        box-shadow: none;
    }
    .lightbox-counter {
        display: none;
    }
    .lightbox-info {
        display: flex;
        width: 100%;
        padding: 18px 24px 28px;
        box-sizing: border-box;
        background: linear-gradient(to bottom, rgba(11,11,13,0.95), #0b0b0d);
        flex-shrink: 0;
        flex-direction: column;
        gap: 6px;
        z-index: 10;
    }
    .lightbox-info-title {
        color: #fff;
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 2px;
        text-align: left;
    }
    .lightbox-info-meta {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.7rem;
        font-weight: 300;
        letter-spacing: 1px;
        text-align: left;
        line-height: 1.5;
    }
    .prev-btn, .next-btn {
        top: 45%;
    }

    .bg-orb { display: none; }
    .grain-overlay { opacity: 0.02; }

    .gallery-item-wrapper:hover .gallery-item {
        transform: scale(1.03);
    }

    /* 分类 Banner 移动端 */
    .category-banner {
        height: 40vh;
        min-height: 300px;
    }
    .banner-title {
        font-size: 1.6rem;
        letter-spacing: 6px;
    }
    .group-section {
        margin: 2rem 0 3rem;
    }
    .group-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .footer-divider {
        width: 40px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .group-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
}

/* =========================================
   @keyframes 动画合集
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); filter: blur(8px); }
    to   { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(40px, -25px) scale(1.06); }
    50%      { transform: translate(-15px, -40px) scale(0.94); }
    75%      { transform: translate(-35px, 10px) scale(1.04); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(-30px, 20px) scale(1.08); }
    50%      { transform: translate(20px, 30px) scale(0.92); }
    75%      { transform: translate(25px, -15px) scale(1.05); }
}

@keyframes clipReveal {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
}

@keyframes charIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================================
   Nav 下拉子菜单
   ========================================= */
.nav-links li {
    position: relative;
}

.nav-links .submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(20, 20, 25, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 0;
    min-width: 170px;
    list-style: none;
    margin: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.nav-links li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links .submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(20, 20, 25, 0.97);
}

.nav-links .submenu li {
    display: block;
}

.nav-links .submenu a {
    display: block;
    padding: 8px 22px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-links .submenu a:hover {
    color: #fff;
    background: rgba(255, 70, 85, 0.12);
    padding-left: 26px;
}

.nav-links .submenu a::after {
    display: none;
}

/* =========================================
   加载更多按钮
   ========================================= */
.load-more-wrap {
    text-align: center;
    margin-top: 2rem;
}
.load-more-btn {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.35s ease;
}
.load-more-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(255, 70, 85, 0.05);
}
.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}
