/* =========================================================
   深空游戏馆 · Deep Space Arcade
   ========================================================= */
:root {
  --bg: #05070d;
  --bg-soft: #0a0f1a;
  --panel: rgba(16, 23, 38, 0.72);
  --ink: #e9f0fa;
  --muted: #94a3ba;
  --dim: #6b7a91;
  --line: rgba(140, 170, 210, 0.15);
  --line-strong: rgba(140, 180, 230, 0.3);
  --cyan: #4ad9ff;
  --violet: #8a6bff;
  --fire: #ff8a3d;
  --radius: 20px;
  --max: 1200px;
  --nav-h: 70px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-color: rgba(110, 145, 185, 0.45) #05070d; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05070d; }
::-webkit-scrollbar-thumb {
  background: rgba(110, 145, 185, 0.38);
  border-radius: 6px;
  border: 2px solid #05070d;
}
::-webkit-scrollbar-thumb:hover { background: rgba(74, 217, 255, 0.55); }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 82% 6%, rgba(74, 217, 255, 0.09), transparent 62%),
    radial-gradient(800px 600px at 8% 40%, rgba(138, 107, 255, 0.07), transparent 60%),
    radial-gradient(1000px 800px at 50% 100%, rgba(255, 138, 61, 0.05), transparent 60%),
    var(--bg);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(74, 217, 255, 0.28); color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(5, 7, 13, 0.38);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(74, 217, 255, 0.07);
  border: 1px solid rgba(74, 217, 255, 0.22);
  box-shadow: 0 0 24px rgba(74, 217, 255, 0.18) inset;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; letter-spacing: 0.14em; font-weight: 700; }
.brand-text small {
  font-size: 9px; letter-spacing: 0.28em; color: var(--dim);
  font-weight: 600; margin-top: 3px;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--muted);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.lang-btn:hover { border-color: var(--cyan); background: rgba(74, 217, 255, 0.09); color: var(--cyan); }
.lang-flag {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #04121a; font-size: 10px; font-weight: 800;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s, color 0.22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, #7ce9ff 0%, #4ad9ff 42%, #6a8dff 100%);
  color: #04121a;
  box-shadow: 0 10px 30px rgba(74, 217, 255, 0.22);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(74, 217, 255, 0.34); }
.btn-ice {
  background: linear-gradient(115deg, #ffb15c 0%, #ff8a3d 46%, #ff5e7a 100%);
  color: #1c0a02;
  box-shadow: 0 10px 30px rgba(255, 138, 61, 0.24);
}
.btn-ice:hover { box-shadow: 0 14px 38px rgba(255, 138, 61, 0.36); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.025);
}
.btn-ghost:hover { border-color: rgba(74, 217, 255, 0.6); background: rgba(74, 217, 255, 0.07); color: #c9f4ff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 15px; }
.btn-ico {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(3, 12, 20, 0.18);
  font-size: 8px; padding-left: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 28px 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: 78% center;
  filter: brightness(0.72) saturate(1.1);
  transform: scale(1.03);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.99) 0%, rgba(5, 7, 13, 0.97) 30%, rgba(5, 7, 13, 0.9) 48%, rgba(5, 7, 13, 0.45) 72%, rgba(5, 7, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.82) 0%, rgba(5, 7, 13, 0.15) 32%, rgba(5, 7, 13, 0.55) 72%, var(--bg) 100%);
}
.hero-stars {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(220, 245, 255, 0.85), transparent),
    radial-gradient(1px 1px at 68% 22%, rgba(220, 245, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 84% 58%, rgba(160, 225, 255, 0.8), transparent),
    radial-gradient(1px 1px at 42% 74%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 12% 82%, rgba(190, 230, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 54% 12%, rgba(255, 200, 150, 0.55), transparent);
  background-size: 620px 520px, 540px 460px, 720px 640px, 480px 520px, 660px 580px, 820px 700px;
  opacity: 0.65;
  animation: starDrift 60s linear infinite;
}
@keyframes starDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 620px 520px, -540px 460px, 720px -640px, -480px 520px, 660px 580px, -820px 700px; }
}
.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; }
.eyebrow, .kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px;
  border: 1px solid rgba(74, 217, 255, 0.28);
  border-radius: 999px;
  background: rgba(74, 217, 255, 0.06);
  letter-spacing: 0.24em;
  font-size: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.03;
  letter-spacing: 0.01em;
  font-weight: 800;
  margin: 8px 0 26px;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #8ef0ff 0%, #4ad9ff 34%, #9d8cff 68%, #ffa06b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 38px rgba(74, 217, 255, 0.25));
}
.hero-sub {
  max-width: 620px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: #b6c4d8;
  line-height: 1.85;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 20px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(46px, 7vh, 78px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats dt {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff, #9fb4cc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats dd { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; margin-top: 7px; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  width: 26px; height: 42px;
  border: 1px solid rgba(160, 200, 240, 0.32);
  border-radius: 14px;
  transform: translateX(-50%);
  display: grid; justify-items: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) 28px;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2, .about h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 15px; max-width: 640px; }

/* ---------- Game cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.85), rgba(9, 13, 22, 0.9));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.game-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(600px 260px at 50% 0%, rgba(74, 217, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.game-card:hover {
  transform: translateY(-7px);
  border-color: rgba(74, 217, 255, 0.34);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(74, 217, 255, 0.08) inset;
}
.game-card:hover::after { opacity: 1; }
.game-card--ice:hover {
  border-color: rgba(255, 138, 61, 0.38);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 138, 61, 0.1) inset;
}
.game-card--ice::after {
  background: radial-gradient(600px 260px at 50% 0%, rgba(255, 138, 61, 0.13), transparent 70%);
}
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
}
.card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.06) 0%, rgba(5, 7, 13, 0.12) 55%, rgba(9, 13, 22, 0.96) 100%);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s;
  filter: saturate(0.95);
}
.game-card:hover .card-media img { transform: scale(1.055); filter: saturate(1.1); }
.card-index {
  position: absolute; top: 18px; left: 20px;
  z-index: 2;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(230, 245, 255, 0.72);
  padding: 5px 10px;
  border: 1px solid rgba(200, 230, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 8, 14, 0.45);
  backdrop-filter: blur(8px);
}
.card-play {
  position: absolute;
  right: 20px; bottom: 18px;
  z-index: 2;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(74, 217, 255, 0.94);
  color: #04121a;
  box-shadow: 0 0 0 0 rgba(74, 217, 255, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-play svg { width: 20px; height: 20px; margin-left: 2px; }
.game-card--ice .card-play { background: rgba(255, 138, 61, 0.95); }
.game-card:hover .card-play { transform: scale(1.08); box-shadow: 0 0 0 9px rgba(74, 217, 255, 0.08); }
.game-card--ice:hover .card-play { box-shadow: 0 0 0 9px rgba(255, 138, 61, 0.1); }

.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.card-head h3 { font-size: clamp(21px, 2.1vw, 26px); font-weight: 800; letter-spacing: 0.01em; }
.card-type { font-size: 11.5px; color: var(--cyan); letter-spacing: 0.1em; white-space: nowrap; }
.game-card--ice .card-type { color: var(--fire); }
.card-body > p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: 11.5px; padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: #a9b8cd;
  letter-spacing: 0.04em;
}
.card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }
.card-actions .btn { flex: 1; }

/* ---------- Detail ---------- */
.detail { position: relative; }
.detail::before {
  content: "";
  position: absolute;
  top: 8%; left: -10%; right: -10%;
  height: 520px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(74, 217, 255, 0.07), transparent);
  pointer-events: none;
}
.detail--ice::before { background: radial-gradient(closest-side, rgba(255, 138, 61, 0.07), transparent); }
.detail + .detail { border-top: 1px solid var(--line); }
.detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}
.detail-inner--reverse .detail-media { order: 2; }
.detail-inner--reverse .detail-body { order: 1; }

.detail-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9.6;
  background: #070b12;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.media-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 20px 14px;
  font-size: 11.5px; letter-spacing: 0.1em;
  color: rgba(220, 236, 252, 0.78);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 14, 0.9));
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.gallery[data-gallery="ice"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shot {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
  transition: border-color 0.25s, transform 0.25s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; opacity: 0.82; }
.shot:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.shot:hover img { transform: scale(1.06); opacity: 1; }

.detail-title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; }
.detail--ring .detail-title { background: linear-gradient(100deg, #dff7ff, #4ad9ff 60%, #8a9bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail--ice .detail-title { background: linear-gradient(100deg, #ffe0bd, #ff8a3d 52%, #42c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-en {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--dim); margin-top: 8px;
}
.detail--ring .kicker { color: var(--cyan); }
.detail--ice .kicker { color: var(--fire); }
.lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 600;
  color: #dfeaf7;
  line-height: 1.6;
}
.detail-body > p[data-i18n]:not(.lede):not(.micro) {
  margin-top: 14px;
  font-size: 14.8px;
  color: var(--muted);
  line-height: 1.9;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 30px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-grid dt { font-size: 10.5px; color: var(--dim); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 5px; }
.meta-grid dd { font-size: 13.5px; color: #d5e2f1; font-weight: 600; line-height: 1.5; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.micro { margin-top: 16px; font-size: 12px; color: var(--dim); letter-spacing: 0.03em; }

/* ---------- Feature grid ---------- */
.feature-head {
  margin: clamp(56px, 7vw, 90px) 0 30px;
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
}
.feature-head h3 { font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; }
.detail--ring .feature-head h3::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--cyan); vertical-align: middle; margin-right: 14px;
}
.detail--ice .feature-head h3::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--fire); vertical-align: middle; margin-right: 14px;
}
.feature-head p { color: var(--dim); font-size: 13.5px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); }
.f-num {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 18px;
}
.detail--ring .f-num { color: rgba(74, 217, 255, 0.6); }
.detail--ice .f-num { color: rgba(255, 138, 61, 0.62); }
.feature h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- How to play ---------- */
.howto {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
  margin-top: 20px;
}
.howto-col {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 15, 26, 0.55);
}
.howto-col h3 { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 22px; }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  font-size: 14px;
  color: #c2d0e2;
  line-height: 1.75;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--cyan);
  border: 1px solid rgba(74, 217, 255, 0.28);
  border-radius: 6px;
  padding: 1px 5px;
  background: rgba(74, 217, 255, 0.06);
}
.detail--ice .steps li::before { color: var(--fire); border-color: rgba(255, 138, 61, 0.3); background: rgba(255, 138, 61, 0.07); }
.keylist { display: flex; flex-direction: column; gap: 12px; }
.keylist li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.keylist li span { margin-left: 5px; color: #c2d0e2; }
kbd {
  display: inline-block;
  min-width: 28px;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  color: #dbe9f8;
  border: 1px solid rgba(160, 195, 230, 0.3);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.about-copy p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-copy .about-note { margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.about-links { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 11, 0.6);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-mark svg { width: 23px; height: 23px; }
.footer-brand b { display: block; font-size: 14px; letter-spacing: 0.1em; }
.footer-brand small { display: block; font-size: 11px; color: var(--dim); margin-top: 3px; }
.footer-copy { font-size: 12.5px; color: var(--dim); margin-left: auto; }
.footer-links { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--cyan); }
.footer-links .lang-btn { height: 32px; padding: 0 12px; font-size: 12px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 5vh 4vw;
  background: rgba(3, 5, 9, 0.92);
  backdrop-filter: blur(14px);
  animation: fadeIn 0.25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1200px, 92vw); max-height: 88vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox img {
  max-width: 100%; max-height: 80vh;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  object-fit: contain;
  background: #05070d;
}
.lightbox figcaption { font-size: 12.5px; color: var(--muted); text-align: center; letter-spacing: 0.08em; }
.lb-close {
  position: absolute; top: 22px; right: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lb-close:hover { background: rgba(74, 217, 255, 0.12); border-color: var(--cyan); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .detail-inner { grid-template-columns: 1fr; }
  .detail-inner--reverse .detail-media { order: 0; }
  .detail-inner--reverse .detail-body { order: 0; }
  .detail-media { max-width: 760px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 62px; --radius: 16px; }
  .nav-inner { padding: 0 18px; gap: 14px; }
  .brand-text small { display: none; }
  .brand-text b { font-size: 14px; }
  .nav-actions .btn { display: none; }
  .section { padding: 64px 18px; }
  .hero { padding: calc(var(--nav-h) + 28px) 18px 96px; min-height: 92svh; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.86) 0%, rgba(5, 7, 13, 0.55) 38%, rgba(5, 7, 13, 0.92) 82%, var(--bg) 100%);
  }
  .hero-bg { background-position: 62% center; filter: brightness(0.5); }
  .hero-stats { gap: 24px 34px; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery[data-gallery="ice"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .shot:last-child:nth-child(odd) { grid-column: span 2; }
  .hero-actions .btn { flex: 1; min-width: 0; }
  .card-actions { flex-direction: column; }
  .footer-inner { gap: 18px; }
  .footer-copy { margin-left: 0; width: 100%; order: 3; }
  .footer-links { margin-left: auto; }
  .detail-actions .btn { flex: 1; }
  .lb-close { top: 12px; right: 12px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 40px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.16em; }
  .hero-stats dt { font-size: 26px; }
  .brand-mark { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}