:root {
  --bg-1: #0b1020;
  --bg-2: #130f2f;
  --bg-3: #1a3b5c;
  --panel: rgba(11, 16, 32, 0.7);
  --panel-strong: rgba(16, 22, 42, 0.88);
  --line: rgba(138, 111, 255, 0.22);
  --line-soft: rgba(115, 230, 255, 0.15);
  --text: #f5f7ff;
  --muted: #a8b5db;
  --accent: #73e6ff;
  --accent-2: #b68cff;
  --accent-3: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(182, 140, 255, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(115, 230, 255, 0.18), transparent 25%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));
  min-height: 100vh;
  overflow-x: hidden;
}
.aurora, .noise { position: fixed; inset: 0; pointer-events: none; }
.aurora {
  background: radial-gradient(circle at 20% 20%, rgba(115, 230, 255, 0.12), transparent 20%), radial-gradient(circle at 80% 10%, rgba(182, 140, 255, 0.12), transparent 24%);
  filter: blur(30px);
}
.noise { opacity: 0.08; background-image: radial-gradient(#fff 0.7px, transparent 0.7px); background-size: 18px 18px; }
.shell { width: min(1240px, calc(100% - 24px)); margin: 0 auto; padding: 28px 0 72px; position: relative; z-index: 1; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 28px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 20px;
  padding: 28px;
}
.hero-copy, .status-panel { padding: 4px; }
.eyebrow {
  color: var(--accent);
  font: 700 12px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1, h2, h3, p { margin: 0; }
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 0.95;
  max-width: 10ch;
  margin-bottom: 14px;
}
h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 10px;
}
p { color: var(--muted); line-height: 1.65; }
.lead { font-size: 1.04rem; max-width: 62ch; }
.hero-actions, .stats, .section-head, .gallery-tools { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions { margin-top: 22px; }
.button, .section-nav a {
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover, .section-nav a:hover { transform: translateY(-1px); }
.button { border: 1px solid transparent; }
.button.primary { background: linear-gradient(135deg, var(--accent), #52b8ff); color: #08111f; }
.button.ghost, .section-nav a { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line-soft); }
.button.small { padding: 10px 14px; font-size: .92rem; }
.section-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  margin: 16px 0;
}
.stats { margin-top: 10px; }
.stat {
  flex: 1 1 160px;
  min-width: 150px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}
.stat span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
.stat strong { font-size: 1.15rem; }
.mission-copy { margin-top: 14px; }
.meter { margin-top: 16px; height: 12px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
#meterFill { height: 100%; width: 12%; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3)); }
.layout { display: grid; gap: 18px; }
.section-block { padding: 24px; }
.section-head { justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.decode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.decode-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.07);
}
.decode-card strong { display: block; margin-bottom: 8px; color: var(--text); }
.decode-card span { color: var(--muted); line-height: 1.55; }
.search {
  min-width: 220px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding: 12px 16px;
}
.collapsible {
  margin-top: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background: var(--panel-strong);
  padding: 0 16px 16px;
}
.collapsible summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--text);
}
.collapsible summary::-webkit-details-marker { display: none; }
.note { color: var(--muted); font-size: .95rem; }
.mt-16 { margin-top: 16px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 12px;
}
.gallery.dense { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.thumb {
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #11182e; }
.thumb .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}
.mini-grid { display: grid; gap: 8px; }
.compact-highlights { min-width: 260px; max-width: 360px; }
.mini-item, .chip {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  font-size: .95rem;
}
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.track-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.07);
}
.track-card strong { display: block; margin-bottom: 8px; color: var(--text); }
.track-card span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.play-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.play-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(115, 230, 255, 0.28);
  background: rgba(115, 230, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}
.play-btn.active { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #08111f; }
.play-meta { color: var(--muted); font-size: .84rem; }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.78); display: grid; place-items: center; padding: 18px; }
.modal.hidden { display: none; }
.modal-inner { width: min(1040px, 100%); display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; }
.modal-image-wrap { background: #05070f; display: grid; place-items: center; min-height: 420px; }
.modal-image-wrap img { max-width: 100%; max-height: 76vh; display: block; }
.modal-copy { padding: 24px; }
.close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: rgba(10, 13, 24, 0.88);
  color: white;
  font-size: 28px;
  cursor: pointer;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; }
  .compact-highlights { max-width: none; width: 100%; }
}
@media (max-width: 820px) {
  .modal-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 16px, 1240px); padding-top: 18px; }
  .hero, .section-block { padding: 18px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
}
