/* Mars Colony - Custom styles on top of layout primitives.
   Design tokens:
   - Mars ochre:    #b85438  (primary, headlines, accents)
   - Deep space:    #080812  (background)
   - Starship silver: #c8cdd6 (UI lines, borders — used sparingly, never as large surface)
   - Tech blue:     #2986ff  (links, hover, focus)
*/

:root {
  --mars-ochre: #b85438;
  --mars-ochre-deep: #8a3a26;
  --mars-dust: #d9926e;
  --deep-space: #080812;
  --deep-space-2: #0d0e1c;
  --panel: rgba(13, 14, 28, 0.78);
  --panel-border: rgba(200, 205, 214, 0.18);
  --starship-silver: #c8cdd6;
  --tech-blue: #2986ff;
  --text-primary: #f3f4f8;
  --text-secondary: #aab0c0;
  --warn: #ffb84d;
  --verified: #4ade80;
  --speculative: #ffb84d;
  /* Mystery upgrade palette */
  --mystic-violet: #7c3aed;
  --aurora-cyan:    #0ea5e9;
  --warm-gold:      #d4a574;
  --void-black:     #050510;
}

* { box-sizing: border-box; }

html, body {
  background: var(--void-black);
  color: var(--text-primary);
  font-family: 'Inter', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* === Mystery upgrade: aurora + vignette + grain (page-wide ambient) === */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(184, 84, 56, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: aurora-drift 30s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 201;
  background:
    radial-gradient(ellipse 100% 90% at 50% 50%, transparent 50%, rgba(0,0,0,0.55) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: cover, 200px 200px;
  mix-blend-mode: normal;
  opacity: 0.85;
}
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0); filter: hue-rotate(0deg); }
  to   { transform: translate3d(2%, -1%, 0); filter: hue-rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}

.font-display { font-family: 'Orbitron', 'Inter', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', 'Courier New', monospace; }

a { color: inherit; }

/* ====================== HEADER + NAV (polarseries-like) ====================== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(8, 8, 18, 0.94), rgba(8, 8, 18, 0.55));
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: padding 0.25s ease, background 0.25s ease;
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.8rem;
  max-width: 1480px; margin: 0 auto;
  gap: 1.5rem;
}
.header.is-scrolled {
  background: linear-gradient(180deg, rgba(8, 8, 18, 0.98), rgba(8, 8, 18, 0.88));
}
.header.is-scrolled .header__row { padding-top: 0.6rem; padding-bottom: 0.6rem; }

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mars-ochre);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo__cn { display: inline-block; }

.menu {
  display: flex;
  gap: 1.6rem;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}
.menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding: 0.3rem 0;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 2px;
  background: var(--mars-ochre);
  transition: width 0.25s ease, left 0.25s ease;
}
.menu a:hover { color: var(--mars-ochre); }
.menu a:hover::after { width: 100%; left: 0; }
.menu a.is-active { color: var(--mars-ochre); }
.menu a.is-active::after { width: 100%; left: 0; }

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  width: 38px; height: 38px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.burger__line {
  display: block;
  width: 18px; height: 2px;
  background: var(--starship-silver);
  transition: transform 0.25s ease, opacity 0.2s;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: collapse menu behind burger */
@media (max-width: 760px) {
  .header__row { padding: 0.7rem 1rem; gap: 0.8rem; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 8, 18, 0.98);
    border-bottom: 1px solid var(--panel-border);
    padding: 0.5rem 1rem 1rem;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .menu.is-open { max-height: 320px; }
  .menu a { padding: 0.7rem 0; border-bottom: 1px solid rgba(200,205,214,0.06); }
  .menu a:last-child { border-bottom: none; }
  .menu a::after { display: none; }
  .burger { display: flex; }
}

/* ====================== HERO SCENE (landing) ====================== */
.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.scene::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(184, 84, 56, 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(41, 134, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #020210 0%, #0d0e1c 40%, #1a0e0a 100%);
  z-index: -3;
}
.scene::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../assets/mars/mars-surface-gravel.jpg');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.55;
  z-index: -2;
  filter: sepia(0.25) saturate(1.1) hue-rotate(-8deg) brightness(0.85);
}

.scene-deep-space {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 30%, #fff 0.5px, transparent 1px),
    radial-gradient(circle at 70% 60%, #fff 0.5px, transparent 1px),
    radial-gradient(circle at 30% 80%, #fff 0.5px, transparent 1px),
    radial-gradient(circle at 90% 20%, #fff 0.5px, transparent 1px),
    radial-gradient(circle at 50% 40%, #fff 0.5px, transparent 1px);
  background-size: 400px 400px, 600px 600px, 800px 800px, 500px 500px, 700px 700px;
  z-index: -1;
  opacity: 0.6;
  animation: drift 90s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: -400px 200px, 600px -300px, -800px 400px, 500px -200px, 700px -350px; }
}

.star-field-fixed {
  position: absolute; inset: 0;
  z-index: -1;
}

@keyframes starship-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}
.starship-silhouette {
  position: absolute;
  right: 8vw; top: 22vh;
  width: clamp(180px, 22vw, 360px);
  height: clamp(280px, 32vw, 540px);
  background: radial-gradient(ellipse at 50% 20%, rgba(200, 205, 214, 0.25), transparent 60%);
  filter: drop-shadow(0 8px 24px rgba(184, 84, 56, 0.35));
  animation: starship-float 8s ease-in-out infinite;
  opacity: 0.85;
}

/* === IGMARS Logo (header / hero / footer) === */
.logo__img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(184, 84, 56, 0.4));
}

@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-logo {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 36vw, 480px);
  height: auto;
  filter:
    drop-shadow(0 8px 32px rgba(184, 84, 56, 0.45))
    drop-shadow(0 0 60px rgba(184, 84, 56, 0.2));
  animation: hero-logo-float 10s ease-in-out infinite;
  z-index: 1;
}

.site-footer-logo {
  display: block;
  margin: 0 auto 1rem;
  width: 48px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(184, 84, 56, 0.4));
  opacity: 0.85;
}

/* ====================== GLASS PANEL ====================== */
.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 4px;
}

.glass-thin {
  background: rgba(13, 14, 28, 0.5);
  border: 1px solid var(--panel-border);
  border-radius: 2px;
}

/* ====================== HEADLINES / EYEBROWS ====================== */
.headline-xl {
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff 0%, #d9926e 55%, #b85438 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  filter: drop-shadow(0 0 32px rgba(184, 84, 56, 0.35));
  font-weight: 800;
}

.headline-md {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff 0%, #c8cdd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.4em;
  font-size: 0.85rem;
  color: var(--starship-silver);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}
.eyebrow-thin { letter-spacing: 0.4em; font-size: 0.75rem; margin: 0 0 0.8rem 0; }
.accent-ochre  { color: var(--mars-ochre); }
.accent-silver { color: var(--starship-silver); }
.accent-blue   { color: var(--tech-blue); }

/* Inline emphasis helpers */
.warn   { color: var(--warn); }
.dust   { color: var(--mars-dust); }
.silver { color: var(--starship-silver); }
.ochre  { color: var(--mars-ochre); }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--mars-ochre);
  color: var(--mars-ochre);
  background: rgba(184, 84, 56, 0.08);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
  text-decoration: none;
}
.btn:hover {
  background: var(--mars-ochre);
  color: #fff;
  box-shadow: 0 0 24px rgba(184, 84, 56, 0.45);
}
.btn-ghost {
  border-color: var(--starship-silver);
  color: var(--starship-silver);
  background: rgba(200, 205, 214, 0.04);
}
.btn-ghost:hover {
  background: var(--starship-silver);
  color: var(--deep-space);
  box-shadow: 0 0 24px rgba(200, 205, 214, 0.3);
}

/* ====================== BUY CTA (token section) ====================== */
.buy-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: stretch;
}
.btn-buy {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--mars-ochre);
  color: #fff;
  background: linear-gradient(135deg, rgba(184, 84, 56, 0.85), rgba(184, 84, 56, 0.55));
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-buy:hover {
  background: linear-gradient(135deg, var(--mars-ochre), #d66b4f);
  color: #fff;
  box-shadow: 0 0 28px rgba(184, 84, 56, 0.55);
  transform: translateY(-1px);
}
.btn-buy-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--info-blue);
  color: var(--info-blue);
  background: rgba(41, 134, 255, 0.06);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-buy-secondary:hover {
  background: var(--info-blue);
  color: #fff;
  box-shadow: 0 0 28px rgba(41, 134, 255, 0.5);
  transform: translateY(-1px);
}
.ca-full {
  word-break: break-all;
  font-size: 0.78rem;
  background: rgba(41, 134, 255, 0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  border: 1px solid rgba(41, 134, 255, 0.18);
  display: inline-block;
  max-width: 100%;
}
.disclaimer-text {
  font-size: 0.8rem;
  color: var(--starship-silver);
  opacity: 0.85;
  border-left: 2px solid rgba(255, 200, 80, 0.4);
  padding-left: 0.6rem;
}
.inline-disclaimer {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px dashed rgba(255, 200, 80, 0.35);
  border-radius: 2px;
  background: rgba(255, 200, 80, 0.03);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--starship-silver);
}
.inline-disclaimer p {
  margin: 0.25rem 0;
}
.inline-disclaimer p:first-child { margin-top: 0; }
.inline-disclaimer p:last-child  { margin-bottom: 0; }
.inline-disclaimer strong.warn { color: #ffc850; }
.site-footer-compliance p {
  margin: 0.45rem 0;
  line-height: 1.6;
  font-size: 0.82rem;
  color: var(--starship-silver);
  opacity: 0.9;
}
.site-footer-compliance p code {
  font-size: 0.75rem;
  background: rgba(41, 134, 255, 0.08);
  padding: 0.05rem 0.35rem;
  border-radius: 2px;
  color: var(--info-blue);
}

/* ====================== HERO INNER ====================== */
.hero-section { padding-top: 0; }
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: 6rem;
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 780px; }
.hero-subtitle { margin-top: 0.5rem; }
.hero-rule { height: 1px; width: 120px; background: var(--mars-ochre); margin: 2rem 0; }
.hero-tagline {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--starship-silver);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0;
}
.hero-attribution {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.6rem 0 0 0;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}
.scroll-cue-line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--mars-ochre), transparent);
  margin: 0.5rem auto 0;
}

/* ====================== SECTION / LAYOUT PRIMITIVES ====================== */
.section { padding: 10rem 1.5rem; max-width: 1280px; margin: 0 auto; position: relative; }
.section-tight { padding: 6rem 1.5rem; max-width: 1280px; margin: 0 auto; position: relative; }

.section-anchor-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  max-width: 980px;
}
.section-title { margin-top: 0.5rem; }
.section-rule { height: 1px; width: 120px; background: var(--mars-ochre); margin: 1.5rem 0; }
.section-lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 3rem;
}
.section-sub {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Subtle tinted backgrounds behind certain sections */
.section-tinted-warm {
  background: linear-gradient(180deg, transparent, rgba(184,84,56,0.04), transparent);
}
.section-tinted-cool {
  background: linear-gradient(180deg, transparent, rgba(41,134,255,0.04), transparent);
}

/* ====================== ENTRY CARDS (home → deep sections) ====================== */
.entry-cards-section { padding-top: 6rem; }
.entry-header {
  text-align: center;
  margin-bottom: 3rem;
}
.entry-card { display: block; text-decoration: none; }
.entry-card-no {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--mars-ochre);
  line-height: 1;
}
.entry-card-link {
  color: var(--tech-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ====================== CARD GRID ====================== */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.card-grid.cols-1 {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.card {
  position: relative;
  padding: 1.6rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--mars-ochre);
}
.card .card-glow {
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, transparent 40%, rgba(184, 84, 56, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }
.card .card-img {
  width: 100%; height: 180px;
  object-fit: cover;
  border: 1px solid var(--panel-border);
  margin-bottom: 1rem;
  filter: brightness(0.92) saturate(1.05);
}
.card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--starship-silver);
}
.card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.popover {
  position: absolute;
  bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px; max-width: 280px;
  padding: 0.8rem 1rem;
  background: var(--panel);
  border: 1px solid var(--mars-ochre);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-primary);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
}
.card:hover .popover {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

.prose {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}
.prose + .prose { margin-top: 1rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.grid-2-tight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .grid-2-tight { grid-template-columns: 1fr; }
}

.mt-2 { margin-top: 1rem; }

/* ====================== PANELS (vision/starship content blocks) ====================== */
.panel { padding: 2rem; }
.panel-accent { border-left: 3px solid var(--mars-ochre); }
.panel-blue { border-top: 2px solid var(--tech-blue); padding: 2rem; }
.silver-heading {
  font-family: 'Orbitron', sans-serif;
  color: var(--starship-silver);
  margin-top: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: none;
}
.specs-table {
  width: 100%;
  margin-top: 1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  border-collapse: collapse;
}
.specs-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--panel-border);
  vertical-align: top;
}
.specs-table td:first-child {
  color: var(--text-secondary);
  width: 35%;
}
.specs-table .mono {
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
}
.specs-table .mono.ochre { color: var(--mars-ochre); }

.mission-card { padding: 1.5rem; }
.mission-no {
  font-family: 'Orbitron', sans-serif;
  color: var(--mars-ochre);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.check-list {
  margin-top: 1rem; padding-left: 1.2rem;
  color: var(--text-secondary); line-height: 1.7;
}
.check-list li strong {
  color: #f3a583;
  font-weight: 600;
}

/* ====================== CHIPS ====================== */
.chip {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: rgba(255,255,255,0.03);
}
.chip-verified   { color: var(--verified); }
.chip-official   { color: var(--tech-blue); }
.chip-speculative { color: var(--speculative); }
.chip-vision     { color: var(--mars-dust); border-style: dashed; }
.chip-media      { color: var(--starship-silver); }
.chip-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.5rem;
}
.inline-chip { margin-left: 0.4rem; }

/* ====================== TIMELINE ====================== */
.timeline-rail { position: relative; padding: 2rem 0; }
.timeline-rail::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--mars-ochre) 8%, var(--mars-ochre) 92%, transparent);
  transform: translateX(-50%);
}
.timeline-node {
  position: relative;
  width: 50%;
  padding: 1.2rem 2rem;
}
.timeline-node.left  { left: 0; text-align: right; }
.timeline-node.right { left: 50%; text-align: left; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: 2rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mars-ochre);
  box-shadow: 0 0 12px rgba(184, 84, 56, 0.6);
}
.timeline-node.left::before  { right: -8px; }
.timeline-node.right::before { left: -8px; }

.timeline-card {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--mars-ochre);
}
.timeline-card.vision {
  border-left-style: dashed;
  border-left-color: var(--mars-dust);
  opacity: 0.78;
  background: rgba(217, 146, 110, 0.05);
}
.timeline-year {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mars-ochre);
}
.timeline-node.vision .timeline-year,
.dust-heading {
  color: var(--mars-dust);
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  margin-top: 0.3rem;
}

.timeline-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.timeline-node.left .timeline-chips { justify-content: flex-end; }
.timeline-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

@media (max-width: 768px) {
  .timeline-rail::before { left: 16px; }
  .timeline-node { width: 100%; padding-left: 2.5rem; padding-right: 0.5rem; text-align: left; }
  .timeline-node.left, .timeline-node.right { left: 0; text-align: left; }
  .timeline-node::before, .timeline-node.left::before, .timeline-node.right::before { left: 8px; right: auto; }
  .timeline-node.left .timeline-chips { justify-content: flex-start; }
}

/* ====================== FACTS STRIP ====================== */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  border-top: 2px solid var(--mars-ochre);
}
.fact-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--mars-ochre);
}
.fact-label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}
.fact-sub {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ====================== SCROLL-DRIVEN PARALLAX (mars surface) ====================== */
.parallax-mars {
  position: fixed;
  left: 50%; bottom: 0;
  width: 180vw; height: 80vh;
  background-image: url('../assets/mars/mars-surface-gravel.jpg');
  background-size: cover;
  background-position: center;
  transform: translateX(-50%) translateY(-40vh);
  filter: brightness(0.7) saturate(1.2) sepia(0.15);
  z-index: -1;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

/* ====================== AUDIO TOGGLE ====================== */
.audio-toggle {
  position: fixed; right: 1.2rem; bottom: 1.2rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.6s ease, border-color 0.2s;
}
.audio-toggle.shown { opacity: 0.85; }
.audio-toggle:hover { border-color: var(--mars-ochre); }
.audio-toggle.on    { border-color: var(--mars-ochre); box-shadow: 0 0 12px rgba(184,84,56,0.4); }
.audio-toggle svg   { width: 20px; height: 20px; }

/* ====================== SCANLINES OVERLAY ====================== */
.scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, transparent 0, transparent 2px, rgba(255,255,255,0.025) 2px, rgba(255,255,255,0.025) 3px),
    repeating-linear-gradient(90deg, transparent 0, transparent 4px, rgba(255,255,255,0.008) 4px, rgba(255,255,255,0.008) 5px);
  z-index: 200;
  opacity: 0.7;
  mix-blend-mode: overlay;
}

/* ====================== MYSTERY UPGRADE · EDITORIAL TAG ====================== */
.editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--starship-silver);
  background: rgba(13, 14, 28, 0.5);
  backdrop-filter: blur(6px);
}
.editorial-tag__num { color: var(--mars-ochre); font-weight: 700; }
.editorial-tag__sep { opacity: 0.4; }

.section-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-marker__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--mars-ochre) 0%, transparent 100%);
  max-width: 240px;
}
.section-marker__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mars-ochre);
  white-space: nowrap;
}
.section-marker__rule--right {
  background: linear-gradient(270deg, var(--mars-ochre) 0%, transparent 100%);
}

.section-anchor-header {
  padding-top: 12rem;
  padding-bottom: 5rem;
  max-width: 1080px;
  text-align: center;
  position: relative;
}
.section-anchor-header::before {
  content: "";
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--mars-ochre));
  opacity: 0.4;
}
.section-title {
  margin-top: 1rem;
  filter: drop-shadow(0 0 24px rgba(184, 84, 56, 0.25));
}
.section-rule {
  height: 1px;
  width: 120px;
  background: var(--mars-ochre);
  margin: 2rem auto;
  box-shadow: 0 0 12px rgba(184, 84, 56, 0.5);
}
.section-lede {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto;
  letter-spacing: 0.015em;
}

/* Subtle tinted backgrounds behind certain sections */
.tinted-warm {
  background: linear-gradient(180deg, transparent, rgba(184,84,56,0.05), transparent);
}
.tinted-cool {
  background: linear-gradient(180deg, transparent, rgba(14,165,233,0.04), transparent);
}
.tinted-mystic {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.05), transparent);
}

.section-heading-center {
  text-align: center;
  margin-bottom: 4rem;
}

/* ====================== DISCLAIMER ====================== */
.disclaimer {
  border-left: 2px solid var(--warn);
  background: rgba(255, 184, 77, 0.06);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ====================== FOOTER ====================== */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 2rem 1.5rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.65;
}
.site-footer-brand {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.22em;
  color: var(--mars-ochre);
  font-size: 0.95rem;
}
.site-footer-compliance {
  max-width: 720px;
  margin: 0.7rem auto 0;
  font-size: 0.82rem;
  opacity: 0.85;
}
.site-footer-meta {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  opacity: 0.65;
}

/* ====================== REVEAL ANIMATIONS ====================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal].is-vision {
  background: rgba(217, 146, 110, 0.05);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  .starship-silhouette { animation: none; }
  .scene-deep-space { animation: none; }
}

/* ====================== META PILLS (hero launch/chain/role chips) ====================== */
.hero-meta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(13, 14, 28, 0.55);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}
.meta-pill__k { color: var(--text-secondary); text-transform: uppercase; }
.meta-pill__v { color: var(--starship-silver); font-weight: 700; text-transform: uppercase; }
.meta-pill--launch { border-color: rgba(184, 84, 56, 0.45); }
.meta-pill--launch .meta-pill__v { color: var(--mars-ochre); }
.meta-pill--chain  { border-color: rgba(41, 134, 255, 0.45); }
.meta-pill--chain  .meta-pill__v { color: var(--tech-blue); }
.meta-pill--role   { border-color: rgba(200, 205, 214, 0.3); }

/* ====================== CA PILL (copy-to-clipboard address chip) ====================== */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--mars-ochre);
  border-radius: 6px;
  background: rgba(184, 84, 56, 0.08);
  color: var(--mars-ochre);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.ca-pill:hover { background: rgba(184, 84, 56, 0.18); box-shadow: 0 0 16px rgba(184, 84, 56, 0.35); }
.ca-pill:active { transform: translateY(1px); }
.ca-pill.is-copied { background: rgba(74, 222, 128, 0.15); border-color: var(--verified); color: var(--verified); }
.ca-pill__k {
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.4rem;
  background: rgba(184, 84, 56, 0.18);
  border-radius: 2px;
}
.ca-pill__v { font-weight: 600; letter-spacing: 0.04em; }
.ca-pill__i { width: 14px; height: 14px; opacity: 0.7; }

/* ====================== INFO TABLE (key-value rows) ====================== */
.info-table {
  width: 100%;
  margin-top: 1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  border-collapse: collapse;
}
.info-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--panel-border);
  vertical-align: top;
}
.info-table td:first-child {
  color: var(--text-secondary);
  width: 30%;
  white-space: nowrap;
}
.info-table.compact td:first-child { width: 35%; font-size: 0.85rem; }
.info-table .mono { font-family: 'JetBrains Mono', monospace; }
.info-table .mono.ochre { color: var(--mars-ochre); font-weight: 700; }

/* ====================== ECO CARD (mechanic 4-step) ====================== */
.eco-card { padding: 1.5rem; }
.eco-no {
  font-family: 'Orbitron', sans-serif;
  color: var(--mars-ochre);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

/* ====================== PILLARS STRIP (top-level value props) ====================== */
.pillars-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  border-top: 2px solid var(--mars-ochre);
}
.pillar { text-align: center; }
.pillar-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--mars-ochre);
}
.pillar-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--starship-silver);
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  text-transform: uppercase;
}
.pillar-sub {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
  opacity: 0.85;
}

/* ====================== NARRATIVE PROSE (full-narrative card) ====================== */
.narrative-prose {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-primary);
  margin: 0.8rem 0 0 0;
  max-width: 780px;
}

/* ====================== MOBILE TWEAKS ====================== */
@media (max-width: 760px) {
  .section { padding: 6rem 1rem; }
  .section-tight { padding: 4rem 1rem; }
  .section-anchor-header { padding-top: 7rem; padding-bottom: 3rem; }
  .section-anchor-header::before { top: 2rem; height: 36px; }
  .section-marker { gap: 0.6rem; }
  .section-marker__rule { max-width: 80px; }
  .section-marker__label { font-size: 0.62rem; letter-spacing: 0.24em; }
  .starship-silhouette { display: none; }
  .hero-text { max-width: 100%; }
  .hero-tagline { font-size: 1.05rem; }
  .hero-meta { gap: 0.4rem; }
  .meta-pill { font-size: 0.65rem; padding: 0.3rem 0.6rem; }
  .editorial-tag { font-size: 0.62rem; letter-spacing: 0.24em; padding: 0.3rem 0.7rem; }
  .pillars-strip { padding: 1.8rem; gap: 1.4rem; }
  .pillar-num { font-size: 1.8rem; }
  .pillar-name { font-size: 0.95rem; }
  .facts-strip { padding: 1.5rem; gap: 1.2rem; }
  .fact-num { font-size: 1.8rem; }
  .headline-xl { letter-spacing: 0.04em; }
}
/* ============================================================
   V2 视觉强化（2026-10-02）
   科幻电影 UI + 加密项目官网科技感
   火星赭石主色保留 + 深空黑背景 + 网格 + 扫描线 + 发光 + 视差
   ============================================================ */

/* ---------- 1. 根级变量补充 ---------- */
:root {
  --grid-line: rgba(184, 84, 56, 0.06);
  --scanline-color: rgba(184, 84, 56, 0.5);
  --glow-ochre-soft: 0 0 24px rgba(184, 84, 56, 0.35);
  --glow-ochre-strong: 0 0 48px rgba(184, 84, 56, 0.55);
  --glow-blue-soft: 0 0 24px rgba(41, 134, 255, 0.35);
}

/* ---------- 2. 全局细网格背景 ---------- */
body {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
}

/* ---------- 3. 顶部导航强化（覆盖 L88 的 position: fixed → 保留 fixed + z-index: 100 + 强化背景） ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 84, 56, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.header.is-scrolled {
  background: rgba(8, 8, 18, 0.92);
  border-bottom-color: rgba(184, 84, 56, 0.35);
  box-shadow: 0 2px 24px rgba(184, 84, 56, 0.12);
}
.header::after {
  /* 扫描线：从左到右 */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--scanline-color), transparent);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  animation: header-scan 5s linear infinite;
  pointer-events: none;
}
@keyframes header-scan {
  0%   { background-position: -30% 0; }
  100% { background-position: 130% 0; }
}

/* Logo 发光 */
.logo__cn {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--mars-ochre);
  text-shadow:
    0 0 12px rgba(184, 84, 56, 0.5),
    0 0 24px rgba(184, 84, 56, 0.3);
  transition: text-shadow 0.3s ease;
}
.logo:hover .logo__cn {
  text-shadow:
    0 0 18px rgba(184, 84, 56, 0.7),
    0 0 36px rgba(184, 84, 56, 0.45);
}

/* 菜单 hover：下划线从中间展开 */
.menu a {
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: color 0.2s ease;
}
.menu a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--mars-ochre);
  transition: all 0.25s ease;
  box-shadow: 0 0 8px var(--mars-ochre);
}
.menu a:hover {
  color: var(--mars-ochre);
}
.menu a:hover::after {
  left: 0;
  width: 100%;
}

/* ---------- 4. Hero 强化 ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
}
/* 底部向上光晕 */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(184, 84, 56, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(41, 134, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
/* 顶部扫描线 */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--scanline-color), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: hero-scan 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes hero-scan {
  0%   { background-position: -50% 0; opacity: 0.4; }
  50%  { opacity: 1; }
  100% { background-position: 150% 0; opacity: 0.4; }
}
.hero-inner {
  position: relative;
  z-index: 3;
}

/* 标题 IGMARS：渐变 + 描边 + 发光 + glitch */
.headline-xl.section-title,
h1.headline-xl {
  background: linear-gradient(180deg, #fff 0%, #ffc8a0 35%, #b85438 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 200, 160, 0.4);
  text-shadow:
    0 0 32px rgba(184, 84, 56, 0.45),
    0 0 64px rgba(184, 84, 56, 0.25);
  filter: drop-shadow(0 0 24px rgba(184, 84, 56, 0.35));
  transition: filter 0.3s ease;
  animation: hero-glitch 12s steps(1) infinite;
}
h1.headline-xl:hover {
  filter: drop-shadow(0 0 36px rgba(184, 84, 56, 0.6));
  animation: hero-glitch-hover 0.4s steps(2) 2;
}
@keyframes hero-glitch {
  0%, 96%, 100% { transform: translate(0, 0); filter: drop-shadow(0 0 24px rgba(184, 84, 56, 0.35)); }
  97% { transform: translate(-1px, 0); filter: drop-shadow(2px 0 24px rgba(41, 134, 255, 0.4)); }
  98% { transform: translate(1px, 0); filter: drop-shadow(-2px 0 24px rgba(184, 84, 56, 0.6)); }
}
@keyframes hero-glitch-hover {
  0% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  100% { transform: translate(0, 0); }
}

/* 顶部 editorial tag 行：终端风格 */
.editorial-tag {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.18em;
  color: var(--starship-silver);
  font-size: 0.78rem;
}
.editorial-tag__num,
.editorial-tag__sep,
.editorial-tag__chain {
  position: relative;
  padding-left: 0;
  opacity: 0.85;
}
.editorial-tag::before {
  content: '> ';
  color: var(--mars-ochre);
  animation: cursor-blink 1.2s steps(2) infinite;
}
@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.3; }
}

/* 火箭 / SVG：光晕 + 浮动 */
.starship-silhouette {
  filter: drop-shadow(0 0 32px rgba(184, 84, 56, 0.4)) drop-shadow(0 0 8px rgba(255, 200, 160, 0.3));
  animation: rocket-float 6s ease-in-out infinite;
}
@keyframes rocket-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* 主 CTA 按钮：火星橙渐变 + 发光 + hover 亮度 */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 84, 56, 0.85), rgba(255, 140, 90, 0.65));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn:hover {
  background: transparent;
  color: #fff;
  box-shadow: var(--glow-ochre-strong);
}
.btn:hover::before {
  opacity: 1;
}

/* 次 CTA 按钮：边框发光 + hover 填充 */
.btn-ghost {
  border-color: var(--starship-silver);
  color: var(--starship-silver);
  background: rgba(200, 205, 214, 0.04);
}
.btn-ghost:hover {
  background: rgba(200, 205, 214, 0.12);
  box-shadow: 0 0 24px rgba(200, 205, 214, 0.4);
}

/* ---------- 5. token 卡片 hero 化 ---------- */
.grid-1-hero {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 1.5rem;
}
.panel-hero {
  position: relative;
  padding: 2.5rem;
  border: 1px solid rgba(184, 84, 56, 0.25);
  background: linear-gradient(135deg, rgba(13, 14, 28, 0.85), rgba(20, 22, 42, 0.7));
  box-shadow:
    0 0 0 1px rgba(184, 84, 56, 0.08),
    var(--glow-ochre-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.panel-hero:hover {
  box-shadow:
    0 0 0 1px rgba(184, 84, 56, 0.2),
    var(--glow-ochre-strong),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.panel-hero__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--mars-ochre);
  pointer-events: none;
}
.panel-hero__corner--tl { top: -1px; left: -1px;  border-right: 0; border-bottom: 0; }
.panel-hero__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.panel-hero__corner--bl { bottom: -1px; left: -1px;  border-right: 0; border-top: 0; }
.panel-hero__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel-hero__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.18em;
  background: linear-gradient(90deg, #fff 0%, #ffc8a0 50%, var(--mars-ochre) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 32px rgba(184, 84, 56, 0.5);
  margin-bottom: 1.2rem;
}
.ca-pill--large {
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
}
.ca-pill--large .ca-pill__v {
  font-size: 1rem;
}

/* ---------- 6. 通用卡片发光边框 ---------- */
.glass {
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.glass:hover {
  box-shadow: var(--glow-ochre-soft);
  border-color: rgba(184, 84, 56, 0.3);
}
.glass.panel-blue:hover {
  box-shadow: var(--glow-blue-soft);
  border-color: rgba(41, 134, 255, 0.3);
}

/* ---------- 7. 滚动 reveal 强化 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 8. 鼠标跟随光晕 ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(184, 84, 56, 0.12), transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-glow.is-active {
  opacity: 1;
}

/* ====================== LANGUAGE TOGGLE (zh / en) ====================== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.8rem;
  padding: 0.25rem;
  border: 1px solid rgba(184, 84, 56, 0.3);
  border-radius: 2px;
  background: rgba(184, 84, 56, 0.05);
  font-family: 'JetBrains Mono', monospace;
}
.lang-btn {
  padding: 0.3rem 0.7rem;
  background: transparent;
  border: 0;
  color: var(--starship-silver);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  color: var(--mars-ochre);
}
.lang-btn.is-active {
  background: var(--mars-ochre);
  color: #fff;
  box-shadow: 0 0 12px rgba(184, 84, 56, 0.5);
}
@media (max-width: 720px) {
  .lang-toggle { margin-left: 0; }
}
