/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page-bg: #05070b;
    --panel-bg: rgba(9, 12, 18, 0.66);
    --panel-border: rgba(255, 255, 255, 0.10);
    --text-main: rgba(255, 255, 255, 0.98);
    --text-soft: rgba(255, 255, 255, 0.74);
    --text-dim: rgba(255, 255, 255, 0.55);
    --accent: #d5b46a;
    --accent-soft: rgba(213, 180, 106, 0.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background:
        radial-gradient(circle at 15% 10%, rgba(90, 101, 255, 0.18), transparent 28%),
        radial-gradient(circle at 80% 16%, rgba(213, 180, 106, 0.14), transparent 24%),
        radial-gradient(circle at 50% 95%, rgba(255, 255, 255, 0.05), transparent 28%),
        var(--page-bg);
    overflow-x: hidden;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 56px;
    background: rgba(3, 5, 10, 0.42);
    backdrop-filter: blur(18px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand { font-size: 20px; font-weight: 600; letter-spacing: 1.6px; }
.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a,
.icon-link { color: var(--text-soft); text-decoration: none; transition: color 0.28s ease, transform 0.28s ease; }
.nav-links a:hover,
.nav-links a.active,
.icon-link:hover { color: #fff; transform: translateY(-1px); }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 1.2px; text-transform: lowercase; }
.nav-icons { display: flex; gap: 16px; }
.icon-link { font-size: 17px; }

.page-shell {
    position: relative;
}

.page-section {
    display: none;
    min-height: 100vh;
    background: transparent;
}

.page-section.active-page {
    display: block;
}

.hero-fullscreen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.03); }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.62) 100%), linear-gradient(90deg, rgba(2, 6, 12, 0.86) 0%, rgba(2, 6, 12, 0.48) 55%, rgba(2, 6, 12, 0.20) 100%); }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: 0.18; pointer-events: none; }
.hero-glow-left { left: -120px; top: 120px; background: rgba(124, 137, 255, 0.8); }
.hero-glow-right { right: -120px; bottom: 40px; background: rgba(213, 180, 106, 0.8); }
.hero-overlay { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(560px, 1.15fr); align-items: end; gap: 40px; padding: 118px 56px 52px; }
.hero-copy-panel { align-self: center; padding: 28px 0 40px; max-width: 620px; }
.hero-kicker-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-kicker { font-size: 14px; letter-spacing: 3px; color: var(--text-dim); }
.hero-chip { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.78); padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(213, 180, 106, 0.16); }
.hero-title { font-size: clamp(62px, 7.2vw, 98px); line-height: 0.94; font-style: italic; font-weight: 600; letter-spacing: 1px; margin-bottom: 18px; text-shadow: 0 16px 44px rgba(0,0,0,0.28); }
.hero-description { font-size: 18px; line-height: 1.95; font-weight: 300; color: var(--text-soft); max-width: 560px; margin-bottom: 26px; }
.hero-gallery-shell { width: 100%; }
.hero-gallery-card { padding: 18px; border-radius: 28px; background: rgba(10, 13, 20, 0.54); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 34px 80px rgba(0,0,0,0.38); backdrop-filter: blur(16px); }
.gallery-carousel { width: 100%; }
.carousel-container { width: 100%; }
.carousel-slide { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.carousel-slide.active { display: grid; }
.gallery-item { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 24px 52px rgba(0,0,0,0.34); transition: transform 0.32s ease, box-shadow 0.32s ease; cursor: zoom-in; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 28px 66px rgba(0,0,0,0.46); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.00) 40%, rgba(0,0,0,0.52) 100%); pointer-events: none; }
.gallery-number { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 15px; color: rgba(255,255,255,0.98); text-shadow: 0 4px 16px rgba(0,0,0,0.45); letter-spacing: 1px; }
.carousel-indicators { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-start; }
.indicator { width: 34px; height: 2px; background: rgba(255,255,255,0.26); cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.indicator.active { background: #fff; transform: scaleX(1.1); }

.panel-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 108px 56px 96px;
}
.panel-narrow {
    max-width: 1120px;
}
.section-heading-block { max-width: 760px; margin: 0 auto 18px; text-align: center; }
.section-title-elegant { font-size: clamp(42px, 5vw, 64px); font-weight: 300; font-style: italic; letter-spacing: 2px; }
.section-title-center { text-align: center; }
.portfolio-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.video-sidebar { position: sticky; top: 94px; align-self: start; padding: 18px 14px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.025); border-radius: 24px; box-shadow: 0 14px 34px rgba(0,0,0,0.12); backdrop-filter: blur(10px); }
.video-sidebar-title { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; opacity: 0.82; }
.video-category-bar { display: flex; flex-direction: column; gap: 8px; }
.video-category-pill { width: 100%; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.035); color: rgba(255,255,255,0.88); border-radius: 14px; padding: 11px 14px; font-size: 14px; cursor: pointer; transition: all 0.2s ease; text-align: left; }
.video-category-pill:hover,
.video-category-pill.active { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.22); transform: translateX(3px); }
.video-content-panel { min-width: 0; }
.video-playlist-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: minmax(220px, 240px); gap: 22px; overflow-x: auto; overflow-y: hidden; padding: 4px 4px 18px 4px; margin-bottom: 6px; scrollbar-gutter: stable both-edges; }
.video-playlist-grid::-webkit-scrollbar { height: 10px; }
.video-playlist-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 999px; }
.video-playlist-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 999px; }
.video-card { display: flex; flex-direction: column; min-width: 0; }
.video-frame { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0b0b0b; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34); cursor: pointer; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; z-index: 2; opacity: 0; transition: opacity 0.2s ease; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; opacity: 1; transition: opacity 0.25s ease; }
.video-frame.is-playing .video-poster { opacity: 0; pointer-events: none; }
.video-frame.is-playing video { opacity: 1; }
.video-frame.is-playing .video-play-btn { opacity: 0; transform: translate(-50%, -50%) scale(0.9); pointer-events: none; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border: none; border-radius: 50%; background: rgba(0, 0, 0, 0.52); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease; z-index: 3; }
.video-play-btn:hover { background: rgba(200, 169, 106, 0.78); }
.video-caption { width: 100%; margin-top: 12px; padding-left: 4px; }
.video-number { font-size: 16px; font-weight: 300; letter-spacing: 2px; opacity: 0.72; display: block; margin-bottom: 8px; }
.video-caption h3 { font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.video-caption p { font-size: 14px; font-weight: 300; color: var(--text-soft); line-height: 1.6; }

.video-card-skeleton { pointer-events: none; }
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-modal.is-open { display: flex; }
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 8, 0.92);
    backdrop-filter: blur(10px);
}
.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1320px);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.video-modal-stage {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 82vh;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
}
.video-modal-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}
.video-modal-close:hover { background: rgba(255,255,255,0.22); }
.video-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.video-modal-title { font-size: 18px; letter-spacing: 1px; }
.video-modal-description { font-size: 14px; color: rgba(255,255,255,0.74); }
.gallery-viewer {
    position: fixed;
    inset: 0;
    z-index: 2900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.gallery-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 8, 0.92);
    backdrop-filter: blur(10px);
}
.gallery-viewer-dialog {
    position: relative;
    z-index: 1;
    max-width: 96vw;
    max-height: 94vh;
}
.gallery-viewer-image {
    display: block;
    max-width: 96vw;
    max-height: 94vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
}
.gallery-viewer-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}
.gallery-viewer-close:hover { background: rgba(255,255,255,0.22); }
body.modal-open { overflow: hidden; }
.skeleton-frame {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    background-size: 200% 200%;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skeleton-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transform: translateX(-100%);
    animation: shimmer-bar 1.8s ease-in-out infinite;
}
.skeleton-line {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    background-size: 200% 200%;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skeleton-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transform: translateX(-100%);
    animation: shimmer-bar 1.8s ease-in-out infinite;
}
.skeleton-line-sm { height: 14px; width: 38%; margin-bottom: 12px; }
.skeleton-line-md { height: 18px; width: 72%; margin-bottom: 12px; }
.skeleton-line-lg { height: 14px; width: 88%; }
.carousel-skeleton-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.skeleton-card {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    background-size: 200% 200%;
    animation: shimmer 1.8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
.skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transform: translateX(-100%);
    animation: shimmer-bar 1.8s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.about-text { font-size: 18px; line-height: 2; font-weight: 300; color: var(--text-soft); max-width: 820px; margin: 26px auto 0; text-align: center; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.about-feature-item { padding: 22px 18px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); border-radius: 18px; }
.about-feature-item h3 { font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.about-feature-item p { font-size: 14px; color: var(--text-dim); font-weight: 300; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.contact-item { padding: 26px 22px 22px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border-radius: 24px; box-shadow: 0 18px 42px rgba(0,0,0,0.16); display: flex; flex-direction: column; align-items: center; }
.contact-item-topline { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 8px; }
.contact-item h3 { font-size: 28px; font-weight: 400; margin-bottom: 14px; letter-spacing: 1px; text-align: center; }
.contact-copy { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.contact-lead { font-size: 14px; color: var(--text-soft); margin-bottom: 0; font-weight: 300; line-height: 1.78; }
.contact-body { font-size: 13px; color: var(--text-dim); margin-bottom: 0; font-weight: 300; line-height: 1.78; }
.contact-link-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; padding: 12px 20px; min-width: 138px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; font-size: 13px; letter-spacing: 1px; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.contact-link-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.contact-qr { width: 200px; height: 200px; margin: 24px auto 16px; display: block; border: 1px solid rgba(255, 255, 255, 0.08); padding: 14px; background: rgba(255, 255, 255, 0.04); border-radius: 16px; }

@media (max-width: 1180px) {
    .hero-overlay { grid-template-columns: 1fr; align-items: start; gap: 28px; padding: 110px 40px 40px; }
    .hero-copy-panel { padding-top: 52px; max-width: 760px; }
    .hero-gallery-shell { max-width: 980px; }
    .portfolio-layout { grid-template-columns: 1fr; }
    .video-sidebar { position: relative; top: auto; }
    .video-category-bar { flex-direction: row; flex-wrap: wrap; }
    .video-category-pill { width: auto; }
    .video-playlist-grid { grid-auto-columns: minmax(210px, 230px); }
    .about-features, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-nav { padding: 14px 18px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 12px; }
    .nav-icons { gap: 10px; }
    .icon-link { font-size: 15px; }
    .hero-overlay { padding: 98px 18px 30px; }
    .hero-copy-panel { padding-top: 10px; }
    .hero-title { font-size: 44px; }
    .hero-description { font-size: 15px; line-height: 1.8; }
    .carousel-slide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .gallery-item { border-radius: 16px; }
    .carousel-indicators { justify-content: center; }
    .panel-container { padding: 96px 18px 78px; }
    .video-playlist-grid { grid-auto-columns: minmax(180px, 220px); gap: 18px; }
    .about-features, .contact-grid { grid-template-columns: 1fr; gap: 18px; }
    .video-modal { padding: 12px; }
    .video-modal-dialog { width: 100%; max-height: 96vh; }
    .video-modal-stage { aspect-ratio: 9 / 16; max-height: 84vh; border-radius: 18px; }
    .video-modal-close { top: 10px; right: 10px; }
    .gallery-viewer { padding: 12px; }
    .gallery-viewer-image { max-width: 96vw; max-height: 88vh; border-radius: 14px; }
    .gallery-viewer-close { top: 10px; right: 10px; }
}
