/* ============================================================
   SPIDER-VERSE · 设计系统
   电影级红黑质感 · 电光青点缀 · 玻璃拟态 · 全屏聚光灯
   ============================================================ */

:root {
  --red: #e11d2a;
  --red-600: #c81e2c;
  --red-700: #9b1c1c;
  --red-900: #5e0f17;
  --accent: #ff3b46;          /* 蜘蛛侠亮红点缀：与红黑主色统一，不跑题 */
  --ink: #0a0608;
  --ink-2: #140a0e;
  --paper: #f4f4f6;
  --text: #f5f5f7;
  --text-dim: #b7b2b6;
  --muted: #8a858a;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1320px;
  --thumb-bg: #1a1116;
  --thumb-suit-bg: #0f090c;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  min-height: 100dvh;
}

/* 全局固定蛛网底纹（极淡，营造氛围） */
.web-fixed-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% 18%, rgba(225, 29, 42, 0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 90%, rgba(225, 29, 42, 0.05), transparent 60%),
    var(--ink);
  transition: background 0.5s var(--ease);
}

/* 顶部滚动进度条（签名细节） */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--accent));
  z-index: 60; box-shadow: 0 0 14px rgba(225,29,42,0.7);
  transition: width 0.1s linear;
}

/* ===================== 导航 ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(10,6,8,0.7), rgba(10,6,8,0));
  border-bottom: 1px solid var(--border-soft);
}
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); cursor: pointer; }
.nav__spider { width: 30px; height: 30px; display: inline-block; filter: brightness(0) invert(1); }
.nav__word { font-weight: 800; letter-spacing: 1px; font-size: 19px; font-style: normal; }
.nav__word em { font-style: normal; color: var(--red); font-weight: 800; }

.nav__tabs { display: flex; gap: 6px; background: var(--glass); padding: 6px; border-radius: 999px; border: 1px solid var(--border-soft); }
.nav__tab {
  border: 0; background: transparent; color: var(--text-dim);
  font-family: var(--font); font-size: 14px; font-weight: 500;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__tab:hover { color: var(--text); }
.nav__tab.is-active { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px var(--red); }

/* ===================== 舞台 / 屏切换 ===================== */
.stage { position: relative; z-index: 1; }
.screen { position: relative; min-height: 100dvh; display: none; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.screen.is-active { display: block; }
.screen.is-shown { opacity: 1; transform: none; }

/* ===================== Hero ===================== */
.screen--home { overflow: visible; }   /* 关键：允许主页向下滚动 */
.hero {
  position: relative; z-index: 2; min-height: 100dvh;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 120px clamp(18px, 4vw, 48px) 60px;
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__left { position: relative; z-index: 2; max-width: 620px; }
.hero__eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 18px; }
.hero__title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero__title::after { content: ""; display: block; width: 84px; height: 5px; margin-top: 22px; background: linear-gradient(90deg, var(--red), var(--accent)); border-radius: 4px; }
.hero__sub { font-size: 16px; line-height: 1.8; color: var(--text-dim); max-width: 48ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__right { position: relative; z-index: 1; height: 100%; min-height: 460px; display: grid; place-items: center; }
.hero__glow { display: none; }
.hero__emblem { position: relative; width: min(34vw, 420px); aspect-ratio: 3/4; background: transparent; }
.hero__emblem img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; }

@keyframes floatyPoster {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(3px); }
}

/* 角落蜘蛛网装饰（CC BY-NC 4.0 素材，本地化 + 反白） */
.hero__web-deco { position: absolute; z-index: 1; width: clamp(180px, 26vw, 360px); aspect-ratio: 1; background-image: url("../assets/images/web-deco.png"); background-size: contain; background-repeat: no-repeat; filter: brightness(0) invert(1); opacity: 0.1; pointer-events: none; animation: floaty 12s ease-in-out infinite; }
.hero__web-deco--tl { top: 64px; left: 0; }
.hero__web-deco--br { bottom: 0; right: 0; transform: rotate(180deg); }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 12px; letter-spacing: 2px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--red), transparent); animation: scrolldrop 1.8s ease-in-out infinite; }

/* ===================== 主页可滚动内容 ===================== */
.home-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 40px clamp(18px, 4vw, 48px) 0; }
.section__label { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }

.intro { padding: 60px 0; border-top: 1px solid var(--border-soft); }
.intro__kicker { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 16px; }
.intro__title { font-size: clamp(26px, 3.6vw, 46px); font-weight: 800; line-height: 1.18; letter-spacing: -0.5px; margin-bottom: 22px; }
.grad { background: linear-gradient(120deg, #fff, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__text { font-size: 16px; line-height: 1.9; color: var(--text-dim); max-width: 70ch; }

/* 五大宇宙 */
.universes { padding: 50px 0; }
.uni-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.uni-card {
  text-align: left; cursor: pointer; border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 18px; min-height: 160px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 18px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.uni-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 120px at 80% 0%, rgba(225,29,42,0.22), transparent 70%); opacity: 0.35; transition: opacity 0.3s; }
.uni-card:hover { transform: translateY(-3px); border-color: var(--red); background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); }
.uni-card:hover::before { opacity: 0.55; }
.uni-card__count { position: relative; z-index: 1; font-size: 30px; font-weight: 800; color: var(--red); line-height: 1; }
.uni-card__label { position: relative; z-index: 1; display: block; margin-top: 10px; font-size: 14px; font-weight: 600; }
.uni-card__hint { position: relative; z-index: 1; display: block; margin-top: 4px; font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

/* 三代画廊 */
.generations { padding: 50px 0; }
.gen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gen-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 3/4; cursor: default; }
.gen-card__media { position: absolute; inset: 0; }
.gen-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gen-card:hover .gen-card__media img { transform: scale(1.05); }
.gen-card__text { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px 22px; background: linear-gradient(transparent, rgba(10,6,8,0.92)); }
.gen-card__name { display: block; font-size: clamp(18px, 2vw, 24px); font-weight: 800; }
.gen-card__era { display: block; margin-top: 4px; font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }

/* 数据统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 30px 0 60px; }
.stat { text-align: center; padding: 30px 10px; border-radius: 18px; background: var(--glass); border: 1px solid var(--border-soft); }
.stat__num { display: block; font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1; background: linear-gradient(120deg, #fff, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: 8px; font-size: 13px; color: var(--text-dim); letter-spacing: 2px; }

/* 入口门户 */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 50px; }
.portal {
  position: relative; display: grid; gap: 8px; text-align: left; cursor: pointer;
  padding: 34px 30px; border-radius: 22px; color: var(--text);
  border: 1px solid var(--border); overflow: hidden; font-family: var(--font);
  transition: transform 0.4s var(--ease), border-color 0.3s;
  will-change: transform; min-height: 220px;
}
.portal--movies { background-image: url("../assets/images/tobey-swing.jpg"); background-size: cover; background-position: center 45%; }
.portal--suits { background-image: url("../assets/images/poster-spider3.jpg"); background-size: cover; background-position: center 40%; }
.portal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,6,8,0.78), rgba(10,6,8,0.48)); z-index: 0; transition: opacity 0.3s; }
.portal:hover { transform: translateY(-3px); border-color: var(--red); }
.portal:hover::after { opacity: 0.88; }
.portal__index { position: relative; z-index: 1; font-size: 13px; letter-spacing: 3px; color: var(--text-dim); }
.portal__title { position: relative; z-index: 1; font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.portal__desc { position: relative; z-index: 1; font-size: 14px; color: var(--text-dim); }
.portal__arrow { position: absolute; right: 28px; bottom: 26px; font-size: 26px; color: var(--red); transition: transform 0.4s var(--ease); z-index: 1; }
.portal:hover .portal__arrow { transform: translateX(8px); }

/* 滚动字幕（签名） */
.ticker { overflow: hidden; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 18px 0; margin-bottom: 60px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker__track span { font-size: 20px; font-weight: 700; color: var(--text-dim); letter-spacing: 1px; }
.ticker__track span b { color: var(--red); font-weight: 800; margin-right: 10px; }
.ticker__track span i { color: var(--accent); font-style: normal; margin: 0 12px; }

/* ===================== 按钮 ===================== */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s; will-change: transform; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 14px 36px -12px var(--red); }
.btn--primary:hover { box-shadow: 0 18px 44px -10px var(--red); }
.btn--ghost { background: var(--glass); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn__play { width: 18px; height: 18px; border-radius: 50%; background: currentColor; opacity: 0.9; position: relative; flex: none; }
.btn__play::after { content: ""; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); border-left: 6px solid var(--red); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.btn--ghost .btn__play::after { border-left-color: var(--text); }

/* ===================== 电影 Spotlight ===================== */
.spotlight { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; }
.spotlight__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transition: background-image 0.8s var(--ease), opacity 0.8s var(--ease); }
.spotlight__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); pointer-events: none; }
.spotlight__video.is-on { opacity: 1; }
.spotlight__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8,4,6,0.96) 0%, rgba(8,4,6,0.55) 38%, rgba(8,4,6,0.15) 70%, rgba(8,4,6,0.4) 100%), linear-gradient(to right, rgba(8,4,6,0.9) 0%, rgba(8,4,6,0.2) 55%); }
.spotlight__content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 130px clamp(18px, 4vw, 48px) 24px; }
.spotlight__year { font-size: 15px; letter-spacing: 4px; color: var(--red); font-weight: 700; margin-bottom: 10px; }
.spotlight__title { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; margin-bottom: 10px; }
.spotlight__universe { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; letter-spacing: 1px; }
.spotlight__desc { font-size: 16px; line-height: 1.8; color: var(--text-dim); max-width: 56ch; margin-bottom: 18px; }
.spotlight__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 18px; }
.spotlight__meta div { font-size: 13px; color: var(--muted); }
.spotlight__meta strong { display: block; font-size: 17px; color: var(--text); font-weight: 600; margin-top: 3px; }

/* 同宇宙关联芯片 */
.spotlight__related, .exhibit__related { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { font-size: 13px; padding: 8px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); color: var(--text); cursor: pointer; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; }
.chip:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--glass-strong); }
.chip b { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* 底部缩略图导航 */
.spotlight__strip, .suit__strip { position: relative; z-index: 3; display: flex; gap: 12px; overflow-x: auto; padding: 0 clamp(18px, 4vw, 48px) 30px; max-width: var(--maxw); margin: 0 auto; width: 100%; cursor: grab; user-select: none; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.spotlight__strip::-webkit-scrollbar, .suit__strip::-webkit-scrollbar { display: none; height: 0; }
.spotlight__strip.is-dragging, .suit__strip.is-dragging,
.spotlight__strip.is-dragging .thumb, .suit__strip.is-dragging .thumb { cursor: grabbing; }

.thumb { flex: none; width: 132px; height: 80px; border-radius: 12px; position: relative; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: var(--thumb-bg); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease); }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: transparent; transform: translateY(-6px) scale(1.05); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.55); }
.thumb__art { position: absolute; inset: 0; background-size: cover; }
.thumb__art.is-suit { background-color: var(--thumb-suit-bg); }
.thumb__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 11.5px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.85)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__year { position: absolute; top: 6px; left: 8px; font-size: 10px; color: #fff; opacity: 0.85; }

/* ===================== 战衣 展览馆 ===================== */
.suit { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(1000px 800px at 30% 30%, rgba(225,29,42,0.22), transparent 60%), radial-gradient(800px 700px at 85% 80%, rgba(225,29,42,0.06), transparent 60%), var(--ink); }
.exhibit { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 120px clamp(18px, 4vw, 48px) 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.exhibit__stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.exhibit__halo { position: absolute; width: 120%; height: 120%; background: radial-gradient(circle at 50% 40%, rgba(225,29,42,0.28), transparent 60%); filter: blur(8px); animation: pulse 6s ease-in-out infinite; }
.exhibit__pedestal { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); width: 62%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(225,29,42,0.45), transparent 75%); filter: blur(6px); }
.exhibit__figure { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; animation: floaty 7s ease-in-out infinite; }
.exhibit__figure svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.5)); }
.exhibit__figure img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 26px rgba(225,29,42,0.16)); animation: floaty 7s ease-in-out infinite; }

.exhibit__panel { max-width: 520px; }
.suit__eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.suit__title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.suit__desc { font-size: 16px; line-height: 1.85; color: var(--text-dim); margin-bottom: 20px; }
.suit__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.suit__tags span { font-size: 12.5px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); color: var(--text); }
.exhibit__related-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* 战衣页蛛网 + 蜘蛛 logo 点缀（与主页一致） */
.suit__web-deco {
  position: absolute; z-index: 1;
  width: clamp(160px, 22vw, 300px); aspect-ratio: 1;
  background-image: url("../assets/images/web-deco.png");
  background-repeat: no-repeat; background-size: contain;
  filter: brightness(0) invert(1); opacity: 0.08; pointer-events: none;
}
.suit__web-deco--tl { top: 72px; left: 0; }
.suit__web-deco--br { bottom: 120px; right: 0; transform: rotate(180deg); }
.suit__watermark {
  position: absolute; inset: 0; z-index: 1; margin: auto;
  width: min(82vw, 720px); height: min(82vw, 720px);
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: 0.05; filter: brightness(0) invert(1); pointer-events: none;
}
@media (max-width: 560px) {
  .suit__web-deco--tl { top: 60px; }
  .suit__web-deco--br { bottom: 90px; }
}

/* ===================== 视频模态 ===================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,2,3,0.85); backdrop-filter: blur(8px); animation: fade 0.3s var(--ease); }
.modal__dialog { position: relative; z-index: 2; max-width: 860px; width: calc(100% - 40px); margin: 7vh auto 0; background: var(--ink-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); animation: pop 0.4s var(--ease); }
.modal__close { position: absolute; top: 12px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: rgba(0,0,0,0.4); color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.modal__close:hover { border-color: var(--red); }
.modal__head { padding: 20px 24px 6px; font-size: 18px; font-weight: 700; }
.modal__body { padding: 8px 24px 26px; }
.modal__body p { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.modal__yt { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.modal__yt:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -12px var(--red); }
.modal__note { font-size: 12.5px; color: var(--muted); background: var(--glass); border: 1px dashed var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 4px; }
.modal__video { width: 100%; border-radius: 14px; margin-top: 10px; background: #000; max-height: 62vh; display: block; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7); }

/* ===================== 动画 ===================== */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__right { min-height: 320px; order: -1; }
  .hero__emblem { width: min(70vw, 360px); }
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
  .gen-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .portals { grid-template-columns: 1fr; }
  .exhibit { grid-template-columns: 1fr; }
  .exhibit__stage { order: -1; max-width: 340px; margin: 0 auto; }
  .nav__word { display: none; }
  .spotlight__content { padding-top: 110px; }
}
@media (max-width: 560px) {
  .nav__tabs { gap: 2px; padding: 4px; }
  .nav__tab { padding: 8px 14px; font-size: 13px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .thumb { width: 104px; height: 64px; }
  .uni-grid { grid-template-columns: 1fr; }
  .gen-grid { grid-template-columns: 1fr; }
  .gen-card { aspect-ratio: 2/3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .screen { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===================== logo 点缀 ===================== */
/* 英雄区巨型水印：抠图后的黑蛛转白，极淡铺底 */
.hero__watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: auto;
  width: min(82vw, 760px);
  height: min(82vw, 760px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
  animation: floaty 9s ease-in-out infinite;
}
/* 页脚 */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 54px 24px 70px;
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, transparent, rgba(225, 29, 42, 0.05));
  text-align: center;
}
.site-footer__spider {
  width: 46px;
  height: 46px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.site-footer__brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
}
.site-footer__brand em { color: var(--red); font-style: normal; }
.site-footer__note { font-size: 13px; color: var(--muted); }
.site-footer__nav { display: flex; gap: 8px; margin-top: 4px; }
.site-footer__nav button {
  font: inherit;
  font-size: 13px;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.site-footer__nav button:hover { color: var(--text); border-color: var(--red); }
.site-footer__credit {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__author { color: var(--muted); font-weight: 600; }
