/* ========================================
   匠艺新生 — 非遗木雕数字生态构建
   全局样式表
   ======================================== */

/* CSS 变量 */
:root {
    --color-bg-dark: #0d0d1a;
    --color-bg-section: #111122;
    --color-gold: #c9a96e;
    --color-gold-light: #e8d5a8;
    --color-gold-dark: #8b6914;
    --color-red: #8b2500;
    --color-red-light: #c44536;
    --color-wood: #d4a574;
    --color-wood-dark: #8b6914;
    --color-text: #f0e6d3;
    --color-text-muted: #9a8b7a;
    --color-iron: #3a3a4a;
    --color-iron-light: #5a5a6a;
    --color-copper: #b87333;
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Noto Sans SC', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-gold: 0 0 30px rgba(201, 169, 110, 0.3);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* 重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    background: var(--color-bg-dark);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--color-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-gold-light); }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }

/* ========================================
   预加载器
   ======================================== */
#preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--color-bg-dark);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity 0.8s, visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-gears { display: flex; gap: 10px; margin-bottom: 30px; }
.preloader-gears .gear {
    font-size: 40px; color: var(--color-gold);
    animation: spin 3s linear infinite;
}
.preloader-gears .gear-md { animation-direction: reverse; font-size: 30px; }
.preloader-gears .gear-sm { font-size: 24px; animation-duration: 2s; }
.preloader-text {
    font-family: var(--font-serif); font-size: 1.2rem;
    color: var(--color-gold); letter-spacing: 4px; margin-bottom: 20px;
}
.preloader-bar {
    width: 200px; height: 3px; background: var(--color-iron);
    border-radius: 2px; overflow: hidden;
}
.preloader-progress {
    height: 100%; width: 0; background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    transition: width 0.3s;
}

/* ========================================
   开屏动画页
   ======================================== */
#splash {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    overflow: visible;
    transition: opacity 1s ease, transform 1s ease;
}
#splash.hidden {
    opacity: 0; transform: scale(1.1);
    pointer-events: none;
}
.splash-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
#splashGif, .splash-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.splash-gif-container {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.splash-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,13,26,0.85) 0%,
        rgba(13,13,26,0.6) 50%,
        rgba(139,37,0,0.3) 100%
    );
}

/* 机械齿轮 */
.mech-gear {
    position: absolute; color: var(--color-gold);
    opacity: 0.12; font-size: 120px;
    animation: spin 20s linear infinite;
    text-shadow: 0 0 20px rgba(201,169,110,0.2);
    z-index: 2; pointer-events: none;
}
.mech-gear-1 { top: -30px; right: -30px; font-size: 180px; animation-duration: 30s; }
.mech-gear-2 { bottom: -20px; left: -20px; font-size: 150px; animation-direction: reverse; animation-duration: 25s; }
.mech-gear-3 { top: 20%; left: 5%; font-size: 80px; animation-duration: 15s; }
.mech-gear-4 { bottom: 15%; right: 8%; font-size: 100px; animation-direction: reverse; animation-duration: 18s; }
.mech-gear-5 { top: 50%; right: 25%; font-size: 60px; animation-duration: 12s; opacity: 0.08; }
.mech-gear-6 { bottom: 40%; left: 15%; font-size: 70px; animation-direction: reverse; animation-duration: 22s; opacity: 0.08; }

/* 机械边框 */
.mech-frame { position: absolute; inset: 20px; z-index: 3; pointer-events: none; }
.mech-corner {
    position: absolute; width: 40px; height: 40px;
    border-color: var(--color-gold); border-style: solid;
    opacity: 0.5;
}
.mech-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.mech-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.mech-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.mech-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.mech-rivet {
    position: absolute; width: 8px; height: 8px; border-radius: 50%;
    background: radial-gradient(circle, var(--color-gold-light), var(--color-gold-dark));
    opacity: 0.6;
}
.rivet-1 { top: 18px; left: 50%; transform: translateX(-50%); }
.rivet-2 { bottom: 18px; left: 50%; transform: translateX(-50%); }
.rivet-3 { top: 50%; left: 18px; transform: translateY(-50%); }
.rivet-4 { top: 50%; right: 18px; transform: translateY(-50%); }
.mech-line {
    position: absolute; left: 60px; right: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.2;
}
.mech-line-top { top: 20px; }
.mech-line-bottom { bottom: 20px; }

/* 粒子画布 */
#particles-canvas {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
}

/* 开屏内容 */
.splash-content {
    position: relative; z-index: 5;
    text-align: center; padding: 40px;
    max-width: 100%;
    width: 100%;
}
.splash-badge {
    display: inline-block;
    padding: 8px 28px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.85rem; letter-spacing: 6px;
    margin-bottom: 30px;
    opacity: 0; animation: fadeInUp 1s 0.5s forwards;
}
.splash-title {
    font-family: var(--font-serif);
    margin-bottom: 20px;
    width: 100%;
}
.title-line {
    display: block;
}
.line-1 {
    font-size: 4rem; font-weight: 900;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-copper));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 12px;
    opacity: 0; animation: fadeInUp 1s 0.8s forwards;
    text-shadow: none;
}
.title-divider {
    display: block; font-size: 0.8rem;
    color: var(--color-gold); letter-spacing: 12px;
    margin: 8px 0;
    opacity: 0; animation: fadeInUp 0.8s 1s forwards;
}
.line-2 {
    font-size: 1.2rem; font-weight: 400;
    color: var(--color-text); letter-spacing: 4px;
    opacity: 0; animation: fadeInUp 1s 1.2s forwards;
    white-space: nowrap;
    display: inline-block;
}
.splash-subtitle {
    font-size: 1rem; color: var(--color-text-muted);
    letter-spacing: 4px; margin-bottom: 40px;
    opacity: 0; animation: fadeInUp 1s 1.5s forwards;
}
.splash-features {
    display: flex; justify-content: center; gap: 50px;
    margin-bottom: 50px;
    opacity: 0; animation: fadeInUp 1s 1.8s forwards;
}
.feature-item { text-align: center; }
.feature-num {
    display: block; font-family: var(--font-serif);
    font-size: 2.2rem; font-weight: 700;
    color: var(--color-gold);
}
.feature-label {
    font-size: 0.8rem; color: var(--color-text-muted);
    letter-spacing: 2px;
}

/* 进入按钮 */
.enter-btn {
    position: relative;
    padding: 16px 50px;
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 1.1rem; letter-spacing: 4px;
    overflow: hidden;
    transition: all 0.5s;
    opacity: 0; animation: fadeInUp 1s 2.1s forwards;
}
.enter-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    box-shadow: var(--shadow-gold);
    transform: scale(1.05);
}
.enter-btn .btn-icon { margin-right: 10px; }
.btn-shine {
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite 3s;
}

/* 底部装饰 */
.splash-bottom-line {
    position: absolute; bottom: 30px;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.splash-bottom-line span {
    width: 30px; height: 2px; background: var(--color-gold);
    opacity: 0.3;
}

/* ========================================
   3D榫卯大桥场景
   ======================================== */
#bridge-3d-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    z-index: 1; /* 设置为较低层级，显示在文字后面 */
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bridge-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#bridge-canvas {
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.bridge-hint {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.hint-icon {
    font-size: 1rem;
}

.hint-text {
    font-family: var(--font-sans);
}

/* ========================================
   导航栏
   ======================================== */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 8000;
    padding: 15px 0;
    background: transparent; /* 与页面背景融为一体，无条带感 */
    transform: translateY(-100%);
    transition: transform 0.5s;
}
#navbar.visible { transform: translateY(0); }
.nav-inner {
    max-width: 1400px; margin: 0 auto;
    padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
    width: 36px; height: 36px;
    object-fit: contain;
}
.footer-logo-img {
    height: 1em; width: auto;
    object-fit: contain;
    vertical-align: middle;
}
.logo-text {
    font-family: var(--font-serif); font-size: 1.2rem;
    color: var(--color-gold); font-weight: 700; letter-spacing: 4px;
}
.nav-links {
    display: none; /* 导航入口统一收敛到全屏遮罩菜单（DOM 保留供 JS 生成菜单） */
}
.nav-links a {
    padding: 8px 16px; color: var(--color-text-muted);
    font-size: 0.9rem; letter-spacing: 1px;
    border-radius: 4px; transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--color-gold);
    transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--color-gold);
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 60%;
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13,13,26,0.98);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 4px;
    min-width: 120px;
    padding: 8px 0;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    color: var(--color-gold);
    background: rgba(201,169,110,0.1);
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7em;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(13, 13, 26, 0.98);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}
.nav-dropdown-menu a:hover {
    color: var(--color-gold);
    background: rgba(201, 169, 110, 0.1);
}
.nav-hamburger {
    display: flex; flex-direction: column; gap: 5px;
    padding: 6px 4px;
    margin-left: 18px;
}
.nav-hamburger span {
    width: 25px; height: 2px; background: var(--color-gold);
    transition: var(--transition);
}
.nav-hamburger span:nth-child(2) { width: 18px; }
.nav-hamburger:hover span:nth-child(2) { width: 25px; }

/* ========================================
   全屏导航遮罩（仪式感菜单）
   ======================================== */
body.nav-open { overflow: hidden; }
body.nav-open #ai-chat-widget { opacity: 0; pointer-events: none; }
#nav-overlay {
    position: fixed; inset: 0; z-index: 9500;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at center, rgba(24,22,40,0.97) 0%, rgba(13,13,26,0.99) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s;
    overflow: hidden;
}
#nav-overlay.open { opacity: 1; visibility: visible; }
/* 背景巨型齿轮装饰 */
#nav-overlay::before, #nav-overlay::after {
    content: '\2699';
    position: absolute;
    font-size: 300px;
    color: var(--color-gold);
    opacity: 0.045;
    animation: spin 40s linear infinite;
    pointer-events: none;
}
#nav-overlay::before { top: -70px; right: -70px; }
#nav-overlay::after { bottom: -80px; left: -80px; animation-direction: reverse; animation-duration: 32s; }

/* 机械边框 */
.overlay-frame {
    position: absolute; inset: 22px;
    pointer-events: none;
    opacity: 0; transform: scale(1.03);
    transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}
#nav-overlay.open .overlay-frame { opacity: 1; transform: scale(1); }
.oc {
    position: absolute; width: 36px; height: 36px;
    border: 0 solid var(--color-gold); opacity: 0.55;
}
.oc-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.oc-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.oc-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.oc-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.oc-line {
    position: absolute; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.35), transparent);
}
.oc-line-top { top: 14px; }
.oc-line-bottom { bottom: 14px; }

/* 关闭按钮 */
.overlay-close {
    position: absolute; top: 26px; right: 36px; z-index: 5;
    width: 46px; height: 46px;
    border: 1px solid rgba(201,169,110,0.35); border-radius: 50%;
    opacity: 0; transform: rotate(-90deg) scale(0.8);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s, background 0.3s, border-color 0.3s;
}
#nav-overlay.open .overlay-close { opacity: 1; transform: rotate(0) scale(1); }
.overlay-close span {
    position: absolute; top: 50%; left: 50%;
    width: 22px; height: 2px; background: var(--color-gold);
}
.overlay-close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.overlay-close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }
.overlay-close:hover { background: rgba(201,169,110,0.12); border-color: var(--color-gold); }

/* 中央内容 */
.overlay-inner {
    position: relative; z-index: 2;
    text-align: center;
    max-height: 100%; padding: 40px 30px;
    overflow-y: auto;
}
.overlay-badge {
    display: inline-block;
    font-family: var(--font-serif); font-size: 0.9rem;
    color: var(--color-gold); letter-spacing: 6px;
    border: 1px solid rgba(201,169,110,0.4);
    padding: 8px 26px;
    margin-bottom: 3vh;
    opacity: 0; transform: translateY(-16px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
#nav-overlay.open .overlay-badge { opacity: 1; transform: none; }

/* 菜单项：居中放大 + 逐项入场，每项独占一行 */
.overlay-menu { list-style: none; line-height: 1.4; }
.overlay-item {
    opacity: 0; transform: translateY(34px); filter: blur(8px);
    transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}
#nav-overlay.open .overlay-item { opacity: 1; transform: none; filter: none; }
#nav-overlay.open .overlay-item:nth-child(1) { transition-delay: 0.2s; }
#nav-overlay.open .overlay-item:nth-child(2) { transition-delay: 0.27s; }
#nav-overlay.open .overlay-item:nth-child(3) { transition-delay: 0.34s; }
#nav-overlay.open .overlay-item:nth-child(4) { transition-delay: 0.41s; }
#nav-overlay.open .overlay-item:nth-child(5) { transition-delay: 0.48s; }
#nav-overlay.open .overlay-item:nth-child(6) { transition-delay: 0.55s; }
#nav-overlay.open .overlay-item:nth-child(7) { transition-delay: 0.62s; }
.overlay-link {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3.4vh, 2.1rem);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 8px;
    padding: 0.5vh 10px;
}
.overlay-link .overlay-num {
    font-family: var(--font-serif);
    font-size: 0.8rem; font-weight: 400;
    color: var(--color-gold); opacity: 0.55;
    letter-spacing: 2px;
    margin-right: 16px;
    vertical-align: 0.4em;
    transition: opacity 0.3s;
}
.overlay-link .overlay-text { margin-right: -8px; } /* 抵消末字字距，保持视觉居中 */
.overlay-link::after {
    content: ''; display: block;
    width: 0; height: 1px;
    margin: 4px auto 0;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    transition: width 0.45s ease;
}
.overlay-link:hover, .overlay-link.active {
    color: var(--color-gold-light);
    text-shadow: 0 0 24px rgba(201,169,110,0.45);
}
.overlay-link:hover::after, .overlay-link.active::after { width: 120px; }
.overlay-link.active .overlay-num { opacity: 0.9; }

/* 子菜单：默认收起，悬停主项时展开（每项独占一行） */
.overlay-sub {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 0.5s ease, margin-top 0.5s ease, opacity 0.4s ease, transform 0.5s ease;
}
.overlay-item:hover .overlay-sub,
.overlay-item:focus-within .overlay-sub {
    max-height: 60vh;
    margin-top: 0.5vh;
    opacity: 1;
    transform: none;
}
.overlay-link.has-sub { cursor: pointer; }
/* 箭头绝对定位，不参与占宽，保证主文字与其他项完全对齐 */
.overlay-link.has-sub .overlay-text { position: relative; }
.overlay-link.has-sub .overlay-text::after {
    content: '▾';
    position: absolute;
    right: -1.5em;
    top: 50%;
    font-size: 0.55em;
    color: var(--color-gold);
    opacity: 0.7;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
.overlay-item:hover .overlay-link.has-sub .overlay-text::after {
    transform: translateY(-50%) rotate(180deg);
}
.overlay-sub a {
    display: block;
    font-size: clamp(0.75rem, 1.6vh, 0.9rem);
    color: var(--color-text-muted);
    letter-spacing: 3px;
    padding: 0.35vh 0;
    line-height: 1.4;
    transition: color 0.3s;
}
.overlay-sub a:hover { color: var(--color-gold); }

/* 底部寄语 */
.overlay-foot {
    margin-top: 3vh;
    font-size: 0.78rem; color: var(--color-text-muted);
    letter-spacing: 4px;
    opacity: 0; transition: opacity 0.8s ease 0.85s;
}
#nav-overlay.open .overlay-foot { opacity: 0.85; }

/* 矮屏适配：压缩纵向空间保证一屏放下 */
@media (max-height: 700px) {
    .overlay-inner { padding: 28px 30px; }
    .overlay-badge { margin-bottom: 2vh; }
    .overlay-foot { display: none; }
}

@media (max-width: 768px) {
    .overlay-frame { inset: 12px; }
    .overlay-close { top: 16px; right: 16px; }
    .overlay-link { letter-spacing: 5px; }
    .overlay-link .overlay-text { margin-right: -5px; }
    .overlay-sub a { letter-spacing: 2px; }
}

/* ========================================
   音乐按钮
   ======================================== */
.music-btn {
    position: fixed; bottom: 30px; right: 30px;
    z-index: 7000; width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(13,13,26,0.8);
    border: 1px solid var(--color-gold);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    opacity: 0; visibility: hidden;
}
.music-btn.visible { opacity: 1; visibility: visible; }
.music-btn:hover { background: var(--color-gold); }
.music-btn:hover .music-icon { color: var(--color-bg-dark); }
.music-icon { font-size: 1.3rem; color: var(--color-gold); transition: var(--transition); }
.music-bars {
    display: flex; gap: 2px; align-items: flex-end;
    height: 16px; position: absolute;
    right: 8px; top: 50%; transform: translateY(-50%);
}
.music-bars span {
    width: 2px; background: var(--color-gold);
    border-radius: 1px;
    animation: musicBar 0.8s ease-in-out infinite alternate;
}
.music-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 10px; animation-delay: 0.2s; }
.music-bars span:nth-child(3) { height: 14px; animation-delay: 0.4s; }
.music-bars span:nth-child(4) { height: 8px; animation-delay: 0.1s; }
.music-btn.paused .music-bars span { animation-play-state: paused; }

/* ========================================
   通用 Section 样式
   ======================================== */
.section {
    padding: 120px 40px;
    max-width: 1400px; margin: 0 auto;
    position: relative;
}
.section-header { text-align: center; margin-bottom: 80px; }
.section-num {
    font-family: var(--font-serif); font-size: 0.85rem;
    color: var(--color-gold); letter-spacing: 4px;
    display: block; margin-bottom: 15px;
    opacity: 0.6;
}
.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem; font-weight: 700;
    letter-spacing: 6px; margin-bottom: 20px;
    color: var(--color-text);
}
.text-gold {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-line {
    width: 60px; height: 2px; margin: 20px auto;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.section-subtitle {
    font-size: 1rem; color: var(--color-text-muted);
    letter-spacing: 3px; max-width: 600px; margin: 0 auto;
}

/* ========================================
   Hero 首页
   ======================================== */
.hero-section {
    min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
    padding: 0; position: relative; overflow: hidden;
    max-width: none;
}
.hero-bg {
    position: fixed; inset: 0;
    z-index: -1;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.8);
    transform: scale(1.1);
    transition: transform 8s;
}
.hero-section:hover .hero-bg-img { transform: scale(1.0); }
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,13,26,0.4) 0%,
        rgba(13,13,26,0.7) 50%,
        rgba(13,13,26,1) 100%
    );
}
.page-bg {
    position: fixed; inset: 0;
    z-index: -1;
}
.page-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.25) saturate(0.7);
}
.page-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,13,26,0.6) 0%,
        rgba(13,13,26,0.8) 100%
    );
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-badge {
    display: block;
    padding: 8px 30px;
    border: 1px solid rgba(201,169,110,0.4);
    color: var(--color-gold); font-size: 0.85rem;
    letter-spacing: 6px; margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}
.hero-title {
    margin-bottom: 30px;
    display: flex; align-items: center; justify-content: center; gap: 15px;
}
.hero-logo-img {
    width: 70px; height: 70px;
    object-fit: contain;
    vertical-align: middle;
}
.hero-title-main {
    display: block; font-family: var(--font-serif);
    font-size: 5rem; font-weight: 900;
    letter-spacing: 16px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-copper));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}
.hero-title-sub {
    display: block; font-family: var(--font-serif);
    font-size: 1.3rem; font-weight: 400;
    color: var(--color-text); letter-spacing: 6px;
    white-space: nowrap;
}
.hero-desc {
    font-size: 1.05rem; color: var(--color-text-muted);
    letter-spacing: 2px; line-height: 2;
    margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; align-items: center; margin-bottom: 80px; }
.btn-primary {
    padding: 14px 60px;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-bg-dark); font-weight: 700;
    letter-spacing: 3px; font-size: 0.95rem;
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(201,169,110,0.3);
    white-space: nowrap;
    min-width: 200px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201,169,110,0.5);
    color: var(--color-bg-dark);
}
.btn-outline {
    padding: 14px 60px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold); font-weight: 500;
    letter-spacing: 3px; font-size: 0.95rem;
    border-radius: 2px;
    transition: var(--transition);
    white-space: nowrap;
    min-width: 200px;
}
.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}
.scroll-indicator {
    position: absolute; bottom: 30px;
    left: 50%; transform: translateX(-50%);
    text-align: center; z-index: 10;
}
.scroll-mouse {
    width: 26px; height: 42px;
    border: 2px solid var(--color-gold);
    border-radius: 13px; margin: 0 auto 10px;
    position: relative; opacity: 0.5;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--color-gold);
    border-radius: 2px;
    position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}
.scroll-indicator span {
    font-size: 0.75rem; color: var(--color-text-muted);
    letter-spacing: 3px;
}

/* ========================================
   关于榫卯
   ======================================== */
.about-section { 
    background: linear-gradient(to bottom, rgba(13,13,26,0) 0%, rgba(13,13,26,0.3) 20%, rgba(13,13,26,0.6) 50%, var(--color-bg-section) 80%); 
    max-width: none; 
    padding-left: calc((100% - 1400px) / 2 + 40px); 
    padding-right: calc((100% - 1400px) / 2 + 40px); 
    position: relative;
}
.about-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px; margin-bottom: 80px;
}
.about-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.25);
    padding: 40px 30px; text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .about-card { background: rgba(24,21,32,0.92); }
}
.about-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0; transition: opacity 0.5s;
}
.about-card:hover { transform: translateY(-8px); border-color: rgba(201,169,110,0.3); }
.about-card:hover::before { opacity: 1; }
.about-card-icon {
    font-size: 2.5rem; color: var(--color-gold);
    margin-bottom: 20px;
}
.about-card h3 {
    font-family: var(--font-serif); font-size: 1.3rem;
    letter-spacing: 3px; margin-bottom: 15px;
    color: var(--color-gold-light);
}
.about-card p {
    font-size: 0.9rem; color: var(--color-text-muted);
    line-height: 1.9;
}
.about-showcase {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 30px; margin-bottom: 80px;
}
.showcase-item {
    position: relative; overflow: hidden;
    border-radius: 4px; aspect-ratio: 4/3;
}
.showcase-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s;
}
.showcase-item:hover img { transform: scale(1.1); }
.showcase-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(13,13,26,0.9));
    font-size: 0.85rem; color: var(--color-gold);
    letter-spacing: 2px;
}
.about-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item {
    text-align: center; padding: 30px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.25);
    transition: var(--transition);
}
.stat-item:hover {
    transform: translateY(-6px);
    border-color: rgba(201,169,110,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 12px 40px rgba(0,0,0,0.35), 0 0 24px rgba(201,169,110,0.12);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .stat-item { background: rgba(24,21,32,0.92); }
}
.stat-number {
    font-family: var(--font-serif); font-size: 3rem;
    font-weight: 700; color: var(--color-gold);
}
.stat-suffix {
    font-family: var(--font-serif); font-size: 1.5rem;
    color: var(--color-gold);
}
.stat-label {
    display: block; font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 2px; margin-top: 8px;
}

/* 榫卯拼接视频瀑布流 */
.video-grid-showcase { margin: 60px 0; }
.video-grid-3col {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.video-grid-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.video-grid-item {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201,169,110,0.15);
    background: rgba(0,0,0,0.3);
    transition: var(--transition);
}
/* 媒体加载骨架屏：深棕→浅金微光循环（视频/图片瀑布流共用） */
.video-grid-item.is-loading,
.team-section .gallery-item.skeleton {
    background: linear-gradient(110deg, #2a1d12 8%, #4a3826 18%, #6b5638 33%, #4a3826 48%, #2a1d12 62%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}
.video-grid-item:hover {
    border-color: rgba(201,169,110,0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.video-grid-item video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* ========================================
   IP 形象
   ======================================== */
.characters-section { max-width: none; padding-left: calc((100% - 1400px) / 2 + 40px); padding-right: calc((100% - 1400px) / 2 + 40px); }
.characters-list {
    display: flex;
    flex-direction: column;
    gap: 110px;
    padding: 40px 0 80px;
    perspective: 1600px;
}
/* 单行布局：左图右文，文字与图片垂直居中对齐 */
.char-row {
    display: grid;
    grid-template-columns: 0.45fr 1.55fr;
    align-items: center;
    gap: 0;
}
/* 偶数行：图片放到文字右边 */
.char-row:nth-child(even) {
    grid-template-columns: 1.55fr 0.45fr;
}
.char-row:nth-child(even) .char-row-img {
    order: 2;
}
.char-row:nth-child(even) .char-row-content {
    order: 1;
    padding-left: 0;
    padding-right: 24px;
    border-left: none;
    border-right: 1px solid rgba(201,169,110,0.18);
}
/* 图片向文字方向微移（1/3/5 右移，2/4/6 左移），位移不越过文字列 */
.char-row:nth-child(odd) .char-row-img {
    transform: translateX(200px);
}
.char-row:nth-child(even) .char-row-img {
    transform: translateX(-200px);
}
/* 图片容器：圆角 + preserve-3d（内部 img 做 rotateY/rotateX tilt），宽略窄于高 */
.char-row-img {
    position: relative;
    aspect-ratio: 4.5 / 5;
    border-radius: 18px;
    overflow: hidden;
    transform-style: preserve-3d;
}
/* 前景层：大幅 rotateY/rotateX tilt，四方向独立响应 */
.char-row-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 30px rgba(201,169,110,0.15));
    transform-style: preserve-3d;
    transform: rotateY(0deg) rotateX(0deg);
    transition: transform 0.2s ease-out;
    will-change: transform;
}
/* 中景层：绝对定位在图片左上角，适度跟随视差 */
.char-row-img .char-name {
    position: absolute;
    top: 20px;
    left: 22px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1.2;
    margin: 0;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    z-index: 5;
    transition: transform 0.16s ease-out;
    will-change: transform;
}
/* 中景层：绝对定位在图片左下角，适度跟随视差 */
.char-row-img .char-tag {
    position: absolute;
    bottom: 18px;
    left: 22px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    z-index: 5;
    transition: transform 0.16s ease-out;
    will-change: transform;
}
/* 内容容器：标题/标签已在图片上，描述文字垂直居中 + 向左偏移（奇数行） */
.char-row-content {
    position: relative;
    padding-left: 0;
    border-left: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(-30px);
}
.char-row-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 2;
    margin: 0 auto;
    max-width: 420px;
    text-align: center;
}
/* 偶数行：图片在右，文字向右偏移 */
.char-row:nth-child(even) .char-row-content {
    padding-right: 0;
    border-right: none;
    transform: translateX(30px);
}
.char-row:nth-child(even) .char-row-content p {
    margin-left: auto;
    margin-right: auto;
}
/* 背景：承担"轻微移动"；CSS 基线 scale(1.1) 与 JS 一致，避免初次跳变 */
.characters-section .page-bg-img {
    transform: scale(1.1);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 入场动画初始态继承自 .anim-fade-up；视差场景就绪 */
.char-row.anim-fade-up:not(.visible) { opacity: 0; transform: translateY(40px); }
.char-row.anim-fade-up.visible { opacity: 1; transform: translateY(0); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* ========================================
   产品系列
   ======================================== */
.products-section { background: transparent; max-width: none; padding-left: calc((100% - 1400px) / 2 + 40px); padding-right: calc((100% - 1400px) / 2 + 40px); }
/* ---- 弧形滚轮式侧边导航（占页面宽度三分之一） ---- */
.arc-nav {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: 33.333vw; z-index: 800;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none; -webkit-user-select: none;
}
.arc-nav:active { cursor: grabbing; }
.arc-baseline {
    position: absolute; top: 0; bottom: 0; right: 0; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.14) 10%, rgba(255,255,255,0.14) 90%, transparent);
    pointer-events: none;
}
.filter-btn {
    position: absolute; left: 0; top: 0;
    padding: 8px 0;
    background: none; border: none; border-radius: 0;
    color: rgba(255,255,255,0.28);
    font-size: 0.95rem; letter-spacing: 5px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.35s, font-size 0.35s, font-weight 0.35s;
    will-change: transform, opacity, filter;
}
.filter-btn::before {
    content: ''; display: inline-block;
    width: 0; height: 1px; margin-right: 0;
    background: #fff; vertical-align: middle;
    transition: width 0.35s, margin-right 0.35s;
}
.filter-btn:hover {
    color: rgba(255,255,255,0.6);
}
.filter-btn.active {
    color: #fff;
    font-size: 1.15rem; font-weight: 600;
    letter-spacing: 6px;
}
.filter-btn.active::before {
    width: 20px; margin-right: 12px;
}
body.arc-page .products-section {
    padding-left: calc(33.333vw + 56px);
    padding-right: 56px;
}
body.arc-page #footer {
    margin-left: 33.333vw;
    padding-left: 56px;
    padding-right: 56px;
}
@media (max-width: 900px) {
    .arc-nav {
        position: static; width: auto; height: auto; overflow: visible;
        cursor: default; touch-action: auto;
        display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;
        margin-bottom: 50px; padding: 0 20px;
    }
    .arc-baseline { display: none; }
    .filter-btn {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        pointer-events: auto !important;
    }
    body.arc-page .products-section {
        padding-left: calc((100% - 1400px) / 2 + 40px);
        padding-right: calc((100% - 1400px) / 2 + 40px);
    }
    body.arc-page #footer { margin-left: 0; padding-left: 40px; padding-right: 40px; }
}
.products-grid {
    display: flex; align-items: flex-start;
    gap: 30px; margin-bottom: 80px;
}
.products-grid .wf-col {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 30px;
}
.product-item {
    background: rgba(201,169,110,0.03);
    border: 1px solid rgba(201,169,110,0.1);
    border-radius: 4px; overflow: hidden;
    transition: var(--transition);
}
.product-item:hover {
    transform: translateY(-8px);
    border-color: rgba(201,169,110,0.3);
    box-shadow: 0 10px 40px rgba(201,169,110,0.1);
}
.product-item.hidden-item,
.products-grid.hidden-item,
.product-gallery.hidden-item { display: none; }
.product-img-wrap {
    aspect-ratio: 4/3; overflow: hidden;
}
.product-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s;
}
.product-item:hover .product-img-wrap img { transform: scale(1.1); }
.product-info { padding: 25px; }
.product-tag {
    font-size: 0.75rem; color: var(--color-gold);
    letter-spacing: 2px; display: block; margin-bottom: 8px;
    padding: 3px 10px;
    border: 1px solid rgba(201,169,110,0.3);
    display: inline-block;
}
.product-info h4 {
    font-family: var(--font-serif); font-size: 1.15rem;
    color: var(--color-text); letter-spacing: 2px;
    margin-bottom: 10px;
}
.product-info p {
    font-size: 0.85rem; color: var(--color-text-muted);
    line-height: 1.8;
}

/* 产品图库 */
.product-gallery { margin-top: 20px; }
.gallery-title {
    font-family: var(--font-serif); font-size: 1.5rem;
    text-align: center; color: var(--color-gold);
    letter-spacing: 4px; margin-bottom: 40px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.gallery-item {
    aspect-ratio: 1; overflow: hidden;
    border-radius: 4px; cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.8);
}
.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1);
}

/* ========================================
   匠心工艺
   ======================================== */
.process-section { max-width: none; padding-left: calc((100% - 1400px) / 2 + 40px); padding-right: calc((100% - 1400px) / 2 + 40px); }
.process-timeline {
    position: relative; padding: 20px 0;
    margin-bottom: 80px;
}
.process-timeline::before {
    content: ''; position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
    transform: translateX(-50%);
}
.process-step {
    display: flex; align-items: center;
    margin-bottom: 60px; position: relative;
}
.process-step:nth-child(even) { flex-direction: row-reverse; }
.step-number {
    position: absolute; left: 50%; top: 0;
    transform: translateX(-50%);
    width: 60px; height: 60px;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 1.2rem;
    color: var(--color-gold); z-index: 2;
}
.step-content {
    width: calc(50% - 60px);
    background: rgba(201,169,110,0.04);
    border: 1px solid rgba(201,169,110,0.1);
    padding: 30px; border-radius: 4px;
}
.process-step:nth-child(odd) .step-content { margin-right: auto; }
.process-step:nth-child(even) .step-content { margin-left: auto; }
.step-side {
    width: calc(50% - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    min-height: 300px;
}
.process-step:nth-child(odd) .step-side { margin-left: auto; }
.process-step:nth-child(even) .step-side { margin-right: auto; }
.side-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.step-side p:first-of-type {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-gold-light);
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.side-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.step-content h3 {
    font-family: var(--font-serif); font-size: 1.3rem;
    color: var(--color-gold-light); letter-spacing: 3px;
    margin-bottom: 12px;
}
.step-content p {
    font-size: 0.9rem; color: var(--color-text-muted);
    margin-bottom: 15px; line-height: 1.9;
}
.step-images img {
    width: 100%; border-radius: 4px;
    border: 1px solid rgba(201,169,110,0.1);
    margin-bottom: 15px;
}
.step-desc {
    padding-top: 15px;
    border-top: 1px dashed rgba(201,169,110,0.2);
}
.step-desc p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.8;
}
.step-desc p:last-child {
    margin-bottom: 0;
}
.step-desc strong {
    color: var(--color-gold-light);
}

/* GIF 展示 */
.gif-showcase { margin-top: 40px; }
.gif-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.gif-item {
    border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(201,169,110,0.15);
    background: rgba(0,0,0,0.3);
}
.gif-item img {
    width: 100%; display: block;
}

/* GIF 懒加载占位 */
.gif-placeholder {
    position: relative; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.gif-placeholder img {
    width: 100%; display: block;
    filter: brightness(0.4);
    transition: filter 0.3s;
}
.gif-placeholder:hover img { filter: brightness(0.6); }
.gif-play-btn {
    position: absolute;
    padding: 12px 30px;
    background: rgba(201,169,110,0.9);
    color: #0d0d1a; font-weight: 700;
    letter-spacing: 3px; border-radius: 4px;
    z-index: 2; font-size: 0.9rem;
    transition: var(--transition);
}
.gif-placeholder:hover .gif-play-btn { background: rgba(201,169,110,1); transform: scale(1.05); }
.gif-placeholder.loaded { cursor: default; }
.gif-placeholder.loaded img { filter: none; }
.gif-placeholder.loaded .gif-play-btn { display: none; }

/* 导航 Logo 链接 */
.nav-logo a { display: flex; align-items: center; gap: 10px; color: inherit; }
.nav-logo a:hover { color: inherit; }

/* ========================================
   视频展示
   ======================================== */
.videos-section { background: transparent; max-width: none; padding-left: calc((100% - 1400px) / 2 + 40px); padding-right: calc((100% - 1400px) / 2 + 40px); }

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    perspective: 1000px;
}
.video-card {
    background: rgba(201,169,110,0.03);
    border: 1px solid rgba(201,169,110,0.1);
    border-radius: 8px; 
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}
.video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, transparent 50%, rgba(201,169,110,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.video-card:hover::before {
    opacity: 1;
}
.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(201,169,110,0.4);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 30px rgba(201,169,110,0.1);
}
.video-wrap {
    aspect-ratio: 16/9; 
    background: linear-gradient(145deg, #1a1410, #0d0d1a);
    position: relative;
    overflow: hidden;
}
.video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.video-card:hover .video-wrap::after {
    opacity: 1;
}
.video-wrap video {
    width: 100%; height: 100%; object-fit: cover;
}
.video-info { padding: 25px; }
.video-info h4 {
    font-family: var(--font-serif); font-size: 1.2rem;
    color: var(--color-gold-light); letter-spacing: 3px;
    margin-bottom: 10px;
}
.video-info p {
    font-size: 0.85rem; color: var(--color-text-muted);
    line-height: 1.8;
}

/* 视频播放按钮 */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(201,169,110,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(201,169,110,0.4);
    z-index: 10;
}
.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.video-play-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(201,169,110,0.4);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
.video-play-btn:hover {
    background: var(--color-gold);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(201,169,110,0.6);
}
.video-play-btn span {
    width: 0;
    height: 0;
    border-left: 16px solid #1a1410;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* 视频标签 */
.video-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-gold);
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
}
.video-wrap {
    position: relative;
}

/* 视频分类标签：液态玻璃悬浮圆角卡（沿用网站非遗金主题） */
.video-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 0 auto 40px;
    padding: 12px 22px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 50px;
    /* 液态玻璃：白色透射渐变 + 暖金环境色 + 强磨砂 */
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04) 45%, rgba(201,169,110,0.07));
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),   /* 顶部玻璃高光 */
        inset 0 -1px 0 rgba(201,169,110,0.12),  /* 底部金色反光 */
        inset 1px 0 0 rgba(255,255,255,0.06),
        0 12px 40px rgba(0,0,0,0.45),
        0 0 0 1px rgba(201,169,110,0.05);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .video-tabs { background: linear-gradient(135deg, rgba(24,21,32,0.94), rgba(13,13,26,0.94)); }
}
/* 液态流动高光：对角光带缓慢扫过玻璃表面 */
.video-tabs::after {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.20) 47%, rgba(232,213,168,0.14) 53%, transparent 68%);
    transform: translateX(-70%);
    animation: glassSheen 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes glassSheen {
    0%, 100% { transform: translateX(-70%); }
    50% { transform: translateX(70%); }
}
@media (prefers-reduced-motion: reduce) {
    .video-tabs::after { animation: none; opacity: 0.5; }
}
.video-tabs:hover {
    border-color: rgba(201,169,110,0.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.26),
        inset 0 -1px 0 rgba(201,169,110,0.18),
        0 16px 50px rgba(0,0,0,0.5),
        0 0 28px rgba(201,169,110,0.18);
}
/* 吸顶态：JS 加 .stuck（fixed，避开祖先 overflow:hidden 对 sticky 的裁剪） */
.video-tabs.stuck {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 7000;
    border-color: rgba(201,169,110,0.4);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.26),
        inset 0 -1px 0 rgba(201,169,110,0.18),
        0 22px 55px rgba(0,0,0,0.65),
        0 0 30px rgba(201,169,110,0.16);
}
.tab-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-indent: 3px; /* 抵消末字字距，保持视觉居中 */
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.tab-btn:hover {
    color: var(--color-gold-light);
}
.tab-btn.active {
    color: var(--color-gold);
    text-shadow: 0 0 16px rgba(201,169,110,0.55), 0 0 4px rgba(201,169,110,0.35);
}

/* 武汉桥梁系列 */
.video-series {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(201,169,110,0.1);
}
.series-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-gold-light);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 4px;
}
.series-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 2px;
    font-weight: normal;
}
.bridge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.bridge-card {
    background: rgba(201,169,110,0.03);
    border: 1px solid rgba(201,169,110,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}
.bridge-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}
.bridge-card:hover::before {
    opacity: 1;
}
.bridge-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(201,169,110,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(201,169,110,0.1);
}
.bridge-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.bridge-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bridge-card:hover .bridge-img img {
    transform: scale(1.15);
}
.bridge-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}
.bridge-card:hover .bridge-shine {
    opacity: 1;
    transform: translateX(100%) rotate(45deg);
}
.bridge-info {
    padding: 20px;
    text-align: center;
}
.bridge-info h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-gold-light);
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.bridge-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}
.bridge-tag {
    display: inline-block;
    background: rgba(201,169,110,0.15);
    color: var(--color-gold);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* 幕后制作 */
.behind-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(201,169,110,0.1);
}
.behind-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-gold-light);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 4px;
}
.behind-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 2px;
    font-weight: normal;
}
.behind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.behind-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.behind-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.behind-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.behind-card:hover img {
    transform: scale(1.1);
}
.behind-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(201,169,110,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}
.behind-card:hover::before {
    opacity: 1;
}
.behind-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 20px;
    color: white;
}
.behind-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-gold-light);
    margin-bottom: 5px;
    letter-spacing: 2px;
}
.behind-overlay p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

/* 榫卯拼接 双排反向滚动视频墙 */
.video-marquee {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.marquee-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 42s linear infinite;
}
/* 上排默认向左滚（右→左），下排反向（左→右） */
.marquee-row-reverse .marquee-track {
    animation-direction: reverse;
}
.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}
.marquee-item {
    flex: none;
    width: 240px;
    margin-right: 18px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201,169,110,0.16);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    transition: border-color 0.3s;
}
.marquee-item:hover {
    border-color: rgba(201,169,110,0.45);
}
.marquee-item video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #0d0d1a;
}
@keyframes marquee-scroll {
    to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .marquee-item { width: 170px; margin-right: 12px; }
    .video-marquee { gap: 14px; }
}

/* 匠心寄语 */
.craft-message {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: rgba(201,169,110,0.03);
    border: 1px solid rgba(201,169,110,0.1);
    border-radius: 12px;
}
.message-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}
.craft-message blockquote p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold-light);
    line-height: 2;
    margin-bottom: 20px;
}
.message-author {
    font-size: 1rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .bridge-grid { grid-template-columns: repeat(2, 1fr); }
    .behind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .bridge-grid { grid-template-columns: 1fr; }
    .behind-grid { grid-template-columns: 1fr; }
    .video-tabs { gap: 8px; padding: 8px 12px; }
    .tab-btn { padding: 6px 10px; font-size: 0.82rem; letter-spacing: 1px; text-indent: 1px; }
}

/* ========================================
   团队风采
   ======================================== */
.team-section { 
    max-width: none; 
    padding: 0;
    min-height: 100vh;
}

/* 全屏背景区域 */
.team-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}
.hero-content {
    position: relative;
    z-index: 10;
    padding: 60px 40px;
    text-align: left;
    max-width: 400px;
}
.hero-content .section-num {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: 10px;
}
.hero-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.hero-content .section-line {
    width: 60px;
    margin-bottom: 15px;
}
.hero-content .section-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

/* 前景卡片 */
.hero-cards {
    position: absolute;
    bottom: 120px;
    right: calc((100% - 1400px) / 2 + 40px);
    display: flex;
    gap: 20px;
    z-index: 20;
}
.hero-card {
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 2px solid transparent;
}
.hero-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.hero-card.active {
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(201,169,110,0.3);
}
.hero-card.hidden {
    display: none;
}
.hero-card.expanding {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 200px;
    height: auto;
    z-index: 100;
    pointer-events: none;
}
.hero-card.removing {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
}
.hero-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s;
}
.hero-card:hover img {
    transform: scale(1.1);
}
.card-info {
    padding: 15px;
    background: rgba(0,0,0,0.7);
}
.card-tag {
    display: inline-block;
    background: var(--color-gold);
    color: #1a1a1a;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.card-info h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-gold-light);
    margin-bottom: 5px;
    letter-spacing: 2px;
}
.card-info p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* 轮播控制 */
.hero-controls {
    position: absolute;
    bottom: 40px;
    right: calc((100% - 1400px) / 2 + 40px);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}
.control-prev, .control-next {
    width: 40px;
    height: 40px;
    background: rgba(201,169,110,0.2);
    border: 1px solid rgba(201,169,110,0.4);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.control-prev:hover, .control-next:hover {
    background: var(--color-gold);
    color: #1a1a1a;
}
.control-dots {
    display: flex;
    gap: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* 更多作品展示 */
.team-gallery {
    padding: 60px calc((100% - 1400px) / 2 + 40px);
    background: var(--color-bg-section);
}
.gallery-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-gold-light);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 4px;
}
.gallery-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 2px;
    font-weight: normal;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.85);
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* 团队风采 —— 图片瀑布流（JS 分列：≥1200px 6列 / ≥768px 4列 / ≥480px 3列 / 其余 2列） */
.team-section .gallery-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.team-section .gallery-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.team-section .gallery-item { width: 100%; }
.team-section .gallery-item img {
    height: auto;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.5s;
}
.team-section .gallery-item.loaded img { opacity: 1; }
@media (max-width: 768px) {
    .team-section .gallery-grid,
    .team-section .gallery-col { gap: 10px; }
}

/* 更多作品集锦 —— 图片瀑布流（JS 分列：≥1200px 5列 / ≥900px 4列 / ≥480px 3列 / 其余 2列） */
.product-gallery .gallery-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.product-gallery .gallery-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-gallery .gallery-item { width: 100%; }
.product-gallery .gallery-item img {
    height: auto;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.5s;
}
.product-gallery .gallery-item.loaded img { opacity: 1; }
@media (max-width: 768px) {
    .product-gallery .gallery-grid,
    .product-gallery .gallery-col { gap: 10px; }
}

/* ========================================
   页脚
   ======================================== */
#footer {
    background: rgba(8,8,18,0.8);
    border-top: 1px solid rgba(201,169,110,0.1);
    padding: 60px 40px 30px;
    position: relative;
}
.footer-top {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 {
    font-family: var(--font-serif); font-size: 1.5rem;
    color: var(--color-gold); letter-spacing: 4px;
    margin-bottom: 15px;
}
.footer-icon { animation: spin 10s linear infinite; }
.footer-brand p {
    font-size: 0.9rem; color: var(--color-text-muted);
    letter-spacing: 1px; margin-bottom: 5px;
}
.footer-links-col h4 {
    font-family: var(--font-serif); font-size: 1rem;
    color: var(--color-gold); letter-spacing: 2px;
    margin-bottom: 15px;
}
.footer-links-col a {
    display: block; color: var(--color-text-muted);
    font-size: 0.85rem; padding: 5px 0;
    transition: var(--transition);
}
.footer-links-col a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}
.footer-bottom {
    max-width: 1400px; margin: 0 auto;
    text-align: center; padding-top: 20px;
    border-top: 1px solid rgba(201,169,110,0.08);
}
.footer-bottom p {
    font-size: 0.8rem; color: var(--color-text-muted);
    letter-spacing: 2px;
}
/* 备案号行：与版权行同风格，链接到工信部备案查询 */
.footer-bottom .icp-line { margin-top: 8px; }
.footer-bottom .icp-line a {
    color: inherit; text-decoration: none; transition: var(--transition);
}
.footer-bottom .icp-line a:hover { color: var(--color-gold); }
/* 公安备案行：字体、字号、字距、颜色与 ICP 备案行完全一致 */
.footer-bottom .ga-line {
    margin-top: 4px;
    font-family: inherit; font-size: 0.8rem;
    color: var(--color-text-muted); letter-spacing: 2px;
}
.footer-bottom .ga-line a {
    color: inherit; text-decoration: none; transition: var(--transition);
    font: inherit; letter-spacing: inherit;
}
.footer-bottom .ga-line a:hover { color: var(--color-gold); }
.footer-bottom .ga-line img {
    display: inline;
    height: 16px; width: auto;
    vertical-align: -3px; margin-right: 1px;
}
/* 仅含版权与备案号的精简页脚 */
#footer.footer-slim { padding: 26px 40px 24px; }
#footer.footer-slim .footer-bottom { padding-top: 0; border-top: none; }
/* 暖色云海舞台页面（home.html）页脚底色调暖，与页面背景自然衔接 */
#footer.footer-slim.footer-warm {
    background: rgba(26,16,8,0.72);
    border-top: 1px solid rgba(201,169,110,0.12);
}

/* 前景云层：滚动进入 footer 时云层升起，露出导航栏（home.html 已移除 footer，样式保留备用）
#footer { overflow: hidden; }
.footer-content { position: relative; z-index: 2; }
.footer-clouds {
    position: absolute; inset: 0; z-index: 3;
    pointer-events: none; overflow: hidden;
    transition: visibility 0.3s;
    will-change: transform, opacity;
    background: linear-gradient(to bottom, rgba(8,8,18,0) 0%, rgba(8,8,18,0.75) 30%, rgba(8,8,18,0.95) 100%);
}
.footer-clouds.hidden {
    opacity: 0; visibility: hidden;
}
.fc-puff {
    position: absolute; border-radius: 50%;
    background: radial-gradient(ellipse at 35% 30%, #131220 0%, #080812 55%, #080812 100%);
    box-shadow: 0 0 24px rgba(8,8,18,0.85), 0 0 70px rgba(8,8,18,0.55);
    filter: blur(2px);
    opacity: 0.92;
}
.fc-puff.fc-gold {
    background: radial-gradient(ellipse at 35% 30%, #1a1525 0%, #0d0a12 55%, #0d0a12 100%);
    box-shadow: 0 0 28px rgba(8,8,18,0.8), 0 0 80px rgba(201,169,110,0.06);
}
*/

/* 动画
   ======================================== */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}
@keyframes musicBar {
    from { height: 4px; }
    to { height: 16px; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* 滚动入场动画 */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}
.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1200px) {
    .characters-list { gap: 80px; }
    .char-row { grid-template-columns: 0.5fr 1.5fr; gap: 0; }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .about-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .nav-links { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .process-timeline::before { left: 30px; }
    .step-number { left: 30px; }
    .process-step, .process-step:nth-child(even) { flex-direction: row; padding-left: 80px; }
    .step-content, .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        width: 100%; margin: 0;
    }
    .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    html { font-size: 14px; }
    .section { padding: 80px 20px; }
    .hero-title-main { font-size: 3rem; letter-spacing: 8px; }
    .line-1 { font-size: 2.8rem; }
    .line-2 { font-size: 1.2rem; }
    /* IP 形象：移动端切换为上图下文，重置水平偏移 */
    .characters-list { gap: 60px; }
    .char-row { grid-template-columns: 1fr; gap: 24px; }
    .char-row-content { padding-left: 0; border-left: none; transform: none; }
    .char-row:nth-child(even) .char-row-content { transform: none; }
    .char-row .char-row-img { transform: none; }
    .char-row-img .char-name { font-size: 1rem; letter-spacing: 2px; top: 14px; left: 16px; }
    .char-row-img .char-tag { font-size: 0.65rem; bottom: 12px; left: 16px; }
    .char-row-content p { font-size: 0.92rem; line-height: 1.9; }
    .about-grid { grid-template-columns: 1fr; }
    .about-showcase { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .videos-grid { grid-template-columns: 1fr; }
    .gif-grid { grid-template-columns: 1fr; }
    .video-grid-3col, .video-grid-col { gap: 12px; }
    .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .splash-features { gap: 20px; }
    .splash-features .feature-num { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-title-main { font-size: 2.2rem; letter-spacing: 4px; }
    .hero-title-sub { font-size: 1rem; letter-spacing: 4px; }
    .splash-features { flex-direction: column; gap: 15px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .about-stats { grid-template-columns: 1fr; }
}

/* ========================================
   视差滚动样式
   ======================================== */
.scrollable-content {
    position: relative;
    z-index: 2;
    transition: transform 0.1s ease-out;
}
