*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #EFEFEF;
    --bg-white: #ffffff;
    --bg-card: #f5f5f5;
    --bg-dark: #111827;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --accent-orange: #2563eb;
    --accent-orange-hover: #1d4ed8;
    --accent-orange-soft: #3b82f6;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-orange); }

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 24px);
    max-width: 1440px;
}

.nav-pill {
    background: var(--bg-white);
    border-radius: 9999px;
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    object-fit: cover;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    transition: color 300ms ease;
}

.nav-link:hover { color: #6b7280; }
.nav-link.active { color: var(--accent-orange); }

.nav-right {
    display: none;
    align-items: center;
    gap: 16px;
}

.nav-time {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.nav-time svg { width: 14px; height: 14px; }

/* 文字滚动动效 - 通用 */
.nav-cta-text-wrap,
.btn-text-wrap {
    overflow: hidden;
    height: 20px;
}

.nav-cta-text-roll,
.btn-text-roll {
    display: flex;
    flex-direction: column;
    transition: transform 500ms var(--ease-smooth);
}

.nav-cta-text-roll span,
.btn-text-roll span {
    height: 20px;
    line-height: 20px;
    display: block;
    white-space: nowrap;
}

.nav-cta:hover .nav-cta-text-roll,
.btn-orange:hover .btn-text-roll {
    transform: translateY(-50%);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    color: white;
    font-size: 13px;
    font-weight: 500;
    border-radius: 9999px;
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    transition: background 300ms ease;
    border: none;
    cursor: pointer;
}

.nav-cta:hover { background: #374151; }

.nav-cta-arrow {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 500ms var(--ease-smooth);
}

.nav-cta:hover .nav-cta-arrow { transform: rotate(-45deg); }
.nav-cta-arrow svg { width: 14px; height: 14px; color: var(--bg-dark); }

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-dark);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    color: white;
    transition: background 300ms ease;
}

.nav-toggle:hover { background: #374151; }
.nav-toggle svg { width: 18px; height: 18px; }

/* ===== 移动端菜单 ===== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.mobile-overlay.active { opacity: 1; pointer-events: all; }

.mobile-sheet {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 950;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px 24px;
    transform: translateY(100%);
    transition: transform 500ms var(--ease-spring);
}

.mobile-sheet.active { transform: translateY(0); }

.mobile-sheet-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    background: var(--bg-card);
    padding: 6px 12px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.mobile-sheet-time svg { width: 14px; height: 14px; }

.mobile-sheet-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mobile-sheet-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 500;
    line-height: 32px;
    padding: 8px 0;
    transition: color 300ms ease;
}

.mobile-sheet-link:hover { color: var(--accent-orange); }

.mobile-sheet-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-orange);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 9999px;
    padding: 12px 12px 12px 24px;
    text-decoration: none;
    transition: background 300ms ease;
}

.mobile-sheet-cta:hover { background: var(--accent-orange-hover); }

.mobile-sheet-cta-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 500ms var(--ease-smooth);
}

.mobile-sheet-cta:hover .mobile-sheet-cta-arrow { transform: rotate(-45deg); }
.mobile-sheet-cta-arrow svg { width: 16px; height: 16px; color: white; }

/* ===== 主内容 ===== */
main { min-height: 100vh; }

.page {
    display: none;
    animation: pageFadeIn 600ms ease;
}

.page.active { display: block; }

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260626_041422_4a459e05-abce-4150-9fb7-4ededc423cd1.png&w=1280&q=85");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-shader-overlay {
    display: none;
}

.shader-chroma {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: repeating-linear-gradient(
        -25deg,
        rgba(255, 255, 255, 0) 0px,
        rgba(255, 255, 255, 0) 30px,
        rgba(255, 120, 50, 0.3) 45px,
        rgba(255, 180, 100, 0.5) 65px,
        rgba(255, 100, 30, 0.4) 85px,
        rgba(255, 160, 80, 0.35) 105px,
        rgba(255, 80, 20, 0.2) 130px,
        rgba(255, 255, 255, 0) 160px,
        rgba(255, 255, 255, 0) 200px
    );
    animation: chromaFlow 25s linear infinite;
    transform-origin: center center;
}

@keyframes chromaFlow {
    from { transform: translate(0, 0) scale(1) skewX(0deg); }
    to { transform: translate(-150px, -80px) scale(1.1) skewX(5deg); }
}

.shader-fluted {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -25deg,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.15) 2px,
        rgba(255, 255, 255, 0.15) 4px,
        transparent 4px,
        transparent 8px
    );
    animation: flutedShift 15s ease-in-out infinite;
    filter: blur(2px);
}

@keyframes flutedShift {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 0.9; transform: translateX(30px); }
}

.shader-glass {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 40%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    animation: glassShine 10s ease-in-out infinite;
}

@keyframes glassShine {
    0%, 100% { opacity: 0.5; transform: translate(-10%, -5%) scale(1); }
    50% { opacity: 0.8; transform: translate(10%, 5%) scale(1.1); }
}

.shader-distort {
    position: absolute;
    inset: -20%;
    background: repeating-linear-gradient(
        65deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 2%,
        transparent 4%,
        rgba(255, 255, 255, 0.08) 6%,
        transparent 8%,
        rgba(255, 255, 255, 0.04) 10%,
        transparent 12%
    );
    animation: distortWave 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes distortWave {
    0%, 100% { transform: translateX(0) skewY(0deg); }
    25% { transform: translateX(50px) skewY(1deg); }
    50% { transform: translateX(0) skewY(-1deg); }
    75% { transform: translateX(-50px) skewY(0.5deg); }
}

.shader-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
}

.shader-grain::before {
    content: "";
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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");
    opacity: 0.6;
    animation: grainMove 0.5s steps(8) infinite;
}

@keyframes grainMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5%, -3%); }
    50% { transform: translate(3%, 5%); }
    75% { transform: translate(-2%, 4%); }
    100% { transform: translate(0, 0); }
}

.hero-spacer { flex: 1; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    padding-bottom: 120px;
}

.hero-headline {
    font-size: clamp(1.75rem, 7vw, 4.2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.25rem, 4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* 蓝色按钮 */
.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: white;
    font-size: 13px;
    font-weight: 500;
    border-radius: 9999px;
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 300ms ease;
    width: fit-content;
}

.btn-orange:hover { background: #1d4ed8; }

.btn-orange .btn-arrow {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 500ms var(--ease-smooth);
}

.btn-orange:hover .btn-arrow { transform: rotate(-45deg); }
.btn-orange .btn-arrow svg { width: 14px; height: 14px; color: white; }

/* 合作伙伴徽章 */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 300ms ease;
    width: fit-content;
}

.partner-badge:hover { box-shadow: var(--shadow-card-hover); }
.partner-badge svg { width: 20px; height: 20px; color: var(--accent-orange-soft); flex-shrink: 0; }
.partner-badge-text { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.partner-badge-tag {
    font-size: 10px;
    font-weight: 600;
    background: var(--bg-dark);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
}

/* ===== 个人介绍区域 ===== */
.intro-section {
    background: var(--bg-white);
    padding: 64px 20px 80px;
}

.intro-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.intro-heading {
    font-size: clamp(1.5rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.intro-image-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 通用徽章 ===== */
.section-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.badge-number {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #3b82f6;
    color: white;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-label {
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 4px 12px;
    color: var(--text-primary);
}

/* ===== 作品分类 ===== */
.directory-section {
    background: var(--bg-primary);
    padding: 64px 20px 80px;
}

.directory-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.section-heading {
    font-size: clamp(1.5rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    text-decoration: none;
    color: white;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 300ms ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.card-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 500ms var(--ease-smooth);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
    transition: opacity 400ms ease, background 400ms ease;
}

.category-card:hover .card-bg-img {
    transform: scale(1.05);
}

.category-card:hover .card-overlay {
    background: linear-gradient(180deg, rgba(37,99,235,0.15) 0%, rgba(0,0,0,0.85) 100%);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.category-card:hover .card-arrow-wrap {
    transform: rotate(-45deg);
    background: var(--accent-orange);
}

.category-card:hover .card-arrow-wrap svg { color: white; }
.category-card:hover .card-number { opacity: 0.5; color: white; }
.category-card:hover .card-title,
.category-card:hover .card-desc {
    opacity: 1;
}

.card-top {
    padding: 28px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.card-number {
    font-size: 48px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    opacity: 0.4;
    line-height: 1;
    transition: opacity 300ms ease, color 300ms ease;
}

.card-arrow-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 400ms var(--ease-smooth);
    backdrop-filter: blur(8px);
}

.card-arrow-wrap svg {
    width: 14px;
    height: 14px;
    color: white;
    transition: color 300ms ease;
}

.card-body {
    padding: 20px 24px 28px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    color: white;
    opacity: 0.85;
    transition: opacity 300ms ease;
}

.card-subtitle {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}

.card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    opacity: 0.7;
    transition: opacity 300ms ease;
}

/* ===== 分类页面 ===== */
.page-category {
    position: relative;
    background: var(--bg-white);
}

.page-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

.page-header {
    position: relative;
    z-index: 1;
    padding: 80px 20px 40px;
}

.page-header-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.page-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.page-title {
    font-size: clamp(1.75rem, 7vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

/* ===== 单列线性流 ===== */
.linear-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* 子分类标题 */
.subcategory-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0 24px;
    padding-top: 24px;
}

.subcategory-header:first-child {
    margin-top: 0;
    padding-top: 0;
}

.subcategory-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-orange);
    background: rgba(59, 130, 246, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.subcategory-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.subcategory-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* 线性流作品项 */
.linear-item {
    position: relative;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 300ms ease;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.linear-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.linear-item:hover img { transform: scale(1.02); }
.linear-item:hover video { transform: scale(1.02); }

.linear-item img,
.linear-item video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 500ms var(--ease-smooth);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
    letter-spacing: -0.02em;
}

.footer-desc {
    font-size: 15px;
    color: #9ca3af;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.footer-contact p {
    font-size: 14px;
    color: #9ca3af;
    display: flex;
    gap: 16px;
}

.footer-contact span {
    color: var(--accent-orange);
    min-width: 50px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #6b7280;
}

/* ===== 灯箱 ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pageFadeIn 300ms ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.active { display: flex; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 300ms ease;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close:hover { background: var(--accent-orange); }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 9999px;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent-orange); }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-caption {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ===== 尾页弹层 ===== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
}

.contact-modal.active {
    display: flex;
    animation: pageFadeIn 300ms ease;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.contact-modal-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain;
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    z-index: 10;
}

.contact-modal-close:hover {
    background: var(--accent-orange);
    transform: rotate(90deg);
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
    .hero-content { padding: 0 32px 64px; }
    .hero-actions { flex-direction: row; gap: 20px; }

    .intro-section { padding: 80px 32px 100px; }
    .intro-image-wrap { border-radius: 24px; }

    .directory-section { padding: 80px 32px 100px; }
    .category-grid { gap: 20px; }

    .page-header { padding: 100px 32px 48px; }
    .linear-container { padding: 0 32px 100px; }

    .partner-badge svg { width: 24px; height: 24px; }
    .badge-number { width: 28px; height: 28px; font-size: 12px; }
    .badge-label { font-size: 13px; padding: 6px 16px; }

    .lightbox-prev { left: 32px; }
    .lightbox-next { right: 32px; }
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .nav-right { display: flex; }
    .nav-toggle { display: none; }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .nav-time { display: flex; }
    .hero-content { padding: 0 48px 80px; }
    .intro-section { padding: 128px 48px; }
    .directory-section { padding: 128px 48px; }
    .page-header { padding: 128px 48px 48px; }
    .linear-container { padding: 0 48px 120px; }
}

@media (max-width: 639px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lightbox { padding: 12px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 16px; }

    .subcategory-header { gap: 12px; }
    .subcategory-title { font-size: 1.1rem; }
}
