    :root{
      --bg:#05060a;
      --bg-alt:#080b11;
      --panel:#0e1119;
      --panel-soft:#101320;
      --ink:#e6ecff;
      --muted:#8d99b8;
      --brand:#46d4ff;
      --brand-soft:#1f6cff;
      --accent:#ff4fd8;
      --accent-alt:#8c7ff;
      --danger:#ff6b4a;
      --border-subtle:rgba(255,255,255,.06);
      --radius-lg:18px;
      --radius-md:12px;
      --shadow-soft:0 18px 45px rgba(0,0,0,.8);
      --grid-gap:1.5rem;
    }
    *{box-sizing:border-box;margin:0;padding:0;}
    body{
      font-family:system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;
      background:radial-gradient(circle at top,#10152b 0,#05060a 55%,#020309 100%);
      color:var(--ink);
      min-height:100vh;
    }
    a{text-decoration:none;color:inherit;}
    img{max-width:100%;display:block;}
    main{max-width:1100px;margin:0 auto;padding:1.5rem 1.25rem 4rem;}

    header{
      position:sticky;top:0;z-index:20;
      backdrop-filter:blur(18px);
      background:linear-gradient(to bottom,rgba(5,6,10,.96),rgba(5,6,10,.88),transparent);
      border-bottom:1px solid rgba(255,255,255,.04);
    }
    .nav-inner{
      max-width:1100px;margin:0 auto;
      padding:.75rem 1.25rem;
      display:flex;align-items:center;justify-content:space-between;gap:1rem;
    }
    .logo-mark{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo-img{
  height:56px;
  width:auto;
  display:block;
}

    .nav-links{
      display:flex;align-items:center;gap:1rem;
      font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;
      color:var(--muted);
    }
    .nav-links a{
      padding:.25rem .4rem;border-radius:999px;
      transition:color .16s ease,background .16s ease;
    }
    .nav-links a:hover{
      color:var(--ink);
      background:rgba(70,212,255,.08);
    }
    .nav-cta{
      padding:.5rem .95rem;border-radius:999px;
      border:1px solid rgba(255,255,255,.16);
      background:radial-gradient(circle at top,rgba(70,212,255,.22),rgba(5,6,10,1));
      font-size:.78rem;text-transform:uppercase;letter-spacing:.16em;
      display:flex;align-items:center;gap:.4rem;
      color:var(--ink);
      box-shadow:0 0 18px rgba(70,212,255,.3);
    }
    .nav-cta span.icon{
      width:12px;height:12px;border-radius:50%;
      background:radial-gradient(circle at center,#46d4ff 0,#1f6cff 40%,transparent 72%);
    }

    /* HERO */
    .hero{
      margin-top:1.25rem;
      display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2.3fr);
      gap:2rem;
      align-items:stretch;
    }
    @media (max-width:900px){
      .hero{grid-template-columns:1fr;}
    }
    .hero-main{
      padding:1.75rem 1.5rem 1.75rem;
      border-radius:var(--radius-lg);
      background:radial-gradient(circle at top left,rgba(70,212,255,.2),transparent 45%),
                  radial-gradient(circle at bottom,rgba(140,125,255,.18),transparent 55%),
                  linear-gradient(to bottom,var(--panel),var(--panel-soft));
      border:1px solid rgba(255,255,255,.09);
      box-shadow:var(--shadow-soft);
      position:relative;
      overflow:hidden;
    }
    .hero-pill{
      display:inline-flex;align-items:center;gap:.45rem;
      font-size:.7rem;text-transform:uppercase;letter-spacing:.24em;
      color:var(--muted);
      padding:.25rem .8rem;border-radius:999px;
      background:rgba(5,6,10,.8);
      border:1px solid rgba(255,255,255,.06);
    }
    .hero-pill-dot{
      width:8px;height:8px;border-radius:999px;
      background:radial-gradient(circle at center,#1cff88,#46d4ff);
      box-shadow:0 0 9px rgba(31,255,136,.9);
    }
    .hero h1{
      margin-top:1rem;
      font-size:clamp(2.2rem,3.1vw,2.8rem);
      letter-spacing:.04em;
      text-transform:uppercase;
    }
    .hero h1 span{
      color:var(--brand);
      text-shadow:0 0 24px rgba(70,212,255,.75);
    }
    .hero-sub{
      margin-top:.75rem;
      color:var(--muted);
      font-size:.95rem;
      max-width:34rem;
    }
    .hero-buttons{
      margin-top:1.5rem;
      display:flex;flex-wrap:wrap;gap:.75rem;
    }
    .btn-primary,.btn-ghost{
      border-radius:999px;
      padding:.7rem 1.3rem;
      font-size:.8rem;text-transform:uppercase;letter-spacing:.16em;
      display:inline-flex;align-items:center;gap:.5rem;
      border:1px solid transparent;cursor:pointer;
    }
    .btn-primary{
      background:radial-gradient(circle at top,#46d4ff,#1f6cff 55%,#151623 100%);
      border-color:rgba(255,255,255,.22);
      box-shadow:0 0 26px rgba(70,212,255,.6);
    }
    .btn-primary span.icon{
      font-size:1rem;transform:translateY(1px);
    }
    .btn-ghost{
      border-color:rgba(255,255,255,.2);
      background:rgba(5,6,10,.9);
      color:var(--muted);
    }
    .btn-ghost:hover{background:rgba(70,212,255,.08);color:var(--ink);}
    .hero-meta{
      margin-top:1.35rem;
      display:flex;flex-wrap:wrap;gap:1.25rem;
      font-size:.75rem;color:var(--muted);
    }
    .hero-meta span strong{
      color:var(--ink);font-weight:600;
    }
    .hero-term{
      position:absolute;right:1.5rem;bottom:1.25rem;
      font-family:"SF Mono",ui-monospace,Menlo,monospace;
      font-size:.7rem;color:rgba(141,153,184,.9);
      opacity:.9;
    }
    .hero-term span{color:#46d4ff;}

    .hero-map{
      border-radius:var(--radius-lg);
      background:radial-gradient(circle at top,#233b6a,#05060a 62%);
      border:1px solid rgba(110,144,255,.5);
      padding:1.1rem 1.1rem 1.2rem;
      box-shadow:0 18px 40px rgba(6,12,30,.9);
      position:relative;
      overflow:hidden;
    }
    .hero-map-title{
      font-size:.75rem;text-transform:uppercase;letter-spacing:.18em;
      color:var(--muted);margin-bottom:.75rem;
      display:flex;align-items:center;justify-content:space-between;
    }
    .hero-map-orbit{
      width:78%;aspect-ratio:1/1;
      border-radius:999px;
      border:1px dashed rgba(99,123,214,.6);
      margin:1.4rem auto 0;
      position:relative;
      box-shadow:0 0 40px rgba(25,45,107,.8);
    }
    .hero-map-orbit::before{
      content:"";position:absolute;inset:15%;
      border-radius:999px;border:1px solid rgba(70,212,255,.3);
    }
    .halo-node{
      position:absolute;
      width:10px;height:10px;border-radius:999px;
      background:#46d4ff;
      box-shadow:0 0 12px rgba(70,212,255,.9);
    }
    .halo-node--1{top:4%;left:47%;}
    .halo-node--2{bottom:10%;left:16%;background:#ff4fd8;box-shadow:0 0 12px rgba(255,79,216,.9);}
    .halo-node--3{bottom:14%;right:15%;background:#8c7dff;box-shadow:0 0 12px rgba(140,125,255,.9);}
    .halo-node--4{top:22%;right:8%;background:#ff6b4a;box-shadow:0 0 12px rgba(255,107,74,.9);}
    .hero-map-labels{
      position:absolute;inset:1.4rem;pointer-events:none;
      font-size:.7rem;text-transform:uppercase;letter-spacing:.16em;
      color:var(--muted);
    }
    .hero-map-labels span{
      position:absolute;background:rgba(5,6,10,.85);
      padding:.25rem .5rem;border-radius:999px;
      border:1px solid rgba(255,255,255,.06);
      backdrop-filter:blur(12px);
    }
    .map-lbl-1{top:3%;left:6%;}
    .map-lbl-2{bottom:8%;left:3%;}
    .map-lbl-3{bottom:5%;right:5%;}
    .map-lbl-4{top:8%;right:4%;}
    .hero-map-footer{
      margin-top:1.6rem;
      display:flex;justify-content:space-between;align-items:center;
      font-size:.7rem;color:var(--muted);
    }
    .tag-pill{
      padding:.2rem .6rem;border-radius:999px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(5,6,10,.9);
      text-transform:uppercase;letter-spacing:.18em;
      font-size:.64rem;
    }

    /* Sections */
    section{margin-top:3rem;}
    .section-label{
      font-size:.75rem;text-transform:uppercase;letter-spacing:.2em;
      color:var(--muted);margin-bottom:.4rem;
    }
    .section-title{
      font-size:1.4rem;font-weight:650;
      letter-spacing:.06em;text-transform:uppercase;
      margin-bottom:1rem;
    }
    .section-body{
      color:var(--muted);font-size:.95rem;max-width:40rem;
    }

    /* What Is */
    .what-grid{
      margin-top:1.75rem;
      display:grid;grid-template-columns:1.7fr 1.3fr;
      gap:1.75rem;
    }
    @media (max-width:900px){
      .what-grid{grid-template-columns:1fr;}
    }
    .pill-row{
      display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem;
    }
    .mini-pill{
      padding:.2rem .7rem;border-radius:999px;
      border:1px solid rgba(255,255,255,.1);
      font-size:.72rem;color:var(--muted);
      background:rgba(7,9,18,.9);
    }
    .what-card{
      border-radius:var(--radius-md);
      background:linear-gradient(to bottom,#111423,#0a0b12);
      border:1px solid var(--border-subtle);
      padding:1rem .9rem 1.1rem;
      box-shadow:0 12px 30px rgba(0,0,0,.6);
      display:grid;gap:.5rem;
      font-size:.85rem;color:var(--muted);
    }
    .what-badge{
      font-size:.7rem;text-transform:uppercase;letter-spacing:.18em;
      color:var(--brand);
    }

    /* Galaxy Grid */
    .galaxy-grid{
      margin-top:1.75rem;
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:var(--grid-gap);
    }
    @media (max-width:1024px){
      .galaxy-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    }
    @media (max-width:640px){
      .galaxy-grid{grid-template-columns:1fr;}
    }
    .galaxy-card{
      border-radius:var(--radius-md);
      background:radial-gradient(circle at top,var(--panel-soft),var(--panel));
      border:1px solid rgba(255,255,255,.09);
      padding:1rem .9rem 1rem;
      box-shadow:0 14px 28px rgba(0,0,0,.7);
      position:relative;
      overflow:hidden;
      cursor:pointer;
      transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease;
      display:block;
    }
    .galaxy-card:hover{
      transform:translateY(-3px);
      box-shadow:0 18px 40px rgba(3,7,19,.95);
      border-color:rgba(70,212,255,.7);
    }
    .galaxy-name{
      font-size:.8rem;text-transform:uppercase;letter-spacing:.2em;
      color:var(--muted);
    }
    .galaxy-title{
      margin-top:.35rem;font-size:1.05rem;font-weight:600;
    }
    .galaxy-tagline{
      margin-top:.3rem;font-size:.82rem;color:var(--muted);
    }
    .planet-chips{
      margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.35rem;
    }
    .planet-chip{
      font-size:.7rem;padding:.18rem .55rem;border-radius:999px;
      background:rgba(5,6,10,.95);
      border:1px solid rgba(255,255,255,.12);
      color:var(--muted);
    }
    .galaxy-cta{
      margin-top:.9rem;font-size:.72rem;
      text-transform:uppercase;letter-spacing:.16em;
      color:var(--brand);
      display:flex;align-items:center;gap:.4rem;
    }
    .halo-ring{
      position:absolute;inset:auto;right:-18px;bottom:-18px;
      width:80px;height:80px;border-radius:999px;
      border:1px solid rgba(70,212,255,.4);
      box-shadow:0 0 24px rgba(70,212,255,.7);
      opacity:.7;
    }
    .galaxy-card[data-theme="oblivara"]{border-color:rgba(255,79,216,.5);}
    .galaxy-card[data-theme="drakthos"]{border-color:rgba(255,107,74,.5);}
    .galaxy-card[data-theme="veyra"]{border-color:rgba(140,125,255,.5);}

    /* Spotlight planets */
    .spotlight-grid{
      margin-top:1.6rem;
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
      gap:var(--grid-gap);
    }
    @media (max-width:980px){
      .spotlight-grid{grid-template-columns:1fr;}
    }
    .spotlight-card{
      border-radius:var(--radius-md);
      background:linear-gradient(to bottom,#151827,#070810);
      border:1px solid rgba(255,255,255,.08);
      padding:1rem .9rem 1.1rem;
      box-shadow:0 16px 34px rgba(0,0,0,.75);
      display:grid;gap:.45rem;
      font-size:.86rem;color:var(--muted);
    }
    .spotlight-tag{
      font-size:.7rem;text-transform:uppercase;letter-spacing:.18em;
      color:var(--brand);
    }
    .spotlight-title{
      font-size:1rem;font-weight:600;
    }
    .spotlight-meta{
      font-size:.78rem;color:var(--muted);
    }

    /* Teams */
    .teams-grid{
      margin-top:1.75rem;
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
      gap:var(--grid-gap);
    }
    @media (max-width:980px){
      .teams-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    }
    @media (max-width:640px){
      .teams-grid{grid-template-columns:1fr;}
    }
    .team-card{
      border-radius:var(--radius-md);
      background:linear-gradient(135deg,#111423,#080910);
      border:1px solid rgba(255,255,255,.08);
      padding:.85rem .8rem 1rem;
      font-size:.82rem;color:var(--muted);
      display:grid;gap:.3rem;
    }
    .team-tag{
      font-size:.68rem;text-transform:uppercase;letter-spacing:.18em;
      color:var(--accent-alt);
    }
    .team-name{
      font-size:.98rem;font-weight:600;color:var(--ink);
    }
    .team-company{
      font-size:.78rem;color:var(--muted);
    }
    .team-style{
      font-size:.8rem;color:var(--muted);
    }

    /* Lore cards */
    .lore-grid{
      margin-top:1.4rem;
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
      gap:var(--grid-gap);
    }
    @media (max-width:900px){
      .lore-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    }
    @media (max-width:640px){
      .lore-grid{grid-template-columns:1fr;}
    }
    .lore-card{
      border-radius:var(--radius-md);
      background:linear-gradient(to bottom,#101221,#080910);
      border:1px solid rgba(255,255,255,.08);
      padding:.9rem .8rem 1rem;
      font-size:.85rem;color:var(--muted);
      display:grid;gap:.35rem;
    }
    .lore-type{
      font-size:.68rem;text-transform:uppercase;letter-spacing:.18em;
      color:var(--brand);
    }
    .lore-title{
      font-size:.98rem;font-weight:600;color:var(--ink);
    }
    .lore-meta{
      font-size:.78rem;color:var(--muted);
    }

    /* CTA footer */
    .cta{
      margin-top:3rem;
      border-radius:var(--radius-lg);
      background:radial-gradient(circle at top,#22305e,#05060a 70%);
      border:1px solid rgba(255,255,255,.08);
      padding:1.6rem 1.4rem 1.7rem;
      text-align:center;
      box-shadow:var(--shadow-soft);
    }
    .cta h3{
      font-size:1.3rem;text-transform:uppercase;letter-spacing:.14em;
      margin-bottom:.5rem;
    }
    .cta p{
      font-size:.92rem;color:var(--muted);max-width:30rem;
      margin:0 auto 1.25rem;
    }
    .cta-actions{
      display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;
    }




/* Base layout */
.igh-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1c2750 0, #050811 55%, #020308 100%);
  color: #f9fafb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Header */
.igh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at top, rgba(37,99,235,.35), transparent 55%),
              rgba(2,6,23,.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148,163,184,.35);
}

.igh-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.igh-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.igh-brand-logo {
  width: 40px;
  height: auto;
}

.igh-brand-text {
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 13px;
  text-transform: uppercase;
  color: #e5e7eb;
}

.igh-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.igh-nav-link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.igh-nav-link.is-active::after,
.igh-nav-link:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #60a5fa, #f97316);
}

.igh-nav-cta {
  position: relative;
  padding: 10px 26px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #22d3ee, #2563eb);
  color: white;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  box-shadow: 0 0 30px rgba(56,189,248,.65);
}

.igh-nav-cta .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #bbf7d0;
  box-shadow: 0 0 10px #bbf7d0;
  margin-right: 6px;
}

/* Main container */
.igh-main {
  max-width: 1160px;
  margin: 40px auto 80px;
  padding: 0 24px 80px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at top left, #22d3ee, #2563eb);
  color: #0b1020;
  box-shadow: 0 0 24px rgba(56,189,248,.6);
}

.btn-ghost {
  border: 1px solid rgba(148,163,184,.7);
  color: #e5e7eb;
}



 .igh-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(20, 27, 43, 1);
  background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.16), transparent 55%)
              radial-gradient(circle at 100% 0, rgba(16, 185, 129, 0.1), transparent 50%)
              #020617;
  padding: 2.5rem 1.5rem 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.igh-footer-inner {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.igh-footer-left {
  max-width: 360px;
}

.igh-footer-brand {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.igh-footer-copy {
  line-height: 1.6;
  color: #9ca3af;
}

.igh-footer-cols {
  display: flex;
  gap: 2.5rem;
}

.igh-footer-col {
  min-width: 160px;
}

.igh-footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.igh-footer-link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.igh-footer-link:hover {
  color: #e5e7eb;
  transform: translateX(2px);
}

.igh-footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.igh-footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
}

.igh-footer-bottom a:hover {
  color: #e5e7eb;
}

.igh-footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* mobile */
@media (max-width: 768px) {
  .igh-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .igh-footer-cols {
    width: 100%;
  }

  .igh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================
   Universe page
   =========================== */

.page-universe {
  margin-top: 2.5rem;
}

/* Hero text on universe page */
.page-universe .page-hero {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.page-universe .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-universe .h1 .grad {
  background: linear-gradient(120deg, #46d4ff, #8c7dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-universe .sub {
  margin-top: .6rem;
  color: #9ca9cf;
  font-size: .95rem;
}

.page-universe .sub-soft {
  color: #7f8bad;
}

/* Pills / tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .28rem .9rem;
  border-radius: 999px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  border: 1px solid rgba(148,163,184,.45);
  background: rgba(15,23,42,.92);
}

.pill-muted {
  color: #9ca3af;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}

.pill-row-tight {
  gap: .45rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .26rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,.5);
  background: radial-gradient(circle at top, rgba(37,99,235,.25), rgba(15,23,42,.96));
  color: #e5e7eb;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.pill-link:hover {
  transform: translateY(-1px);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56,189,248,.55);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #22c55e, #38bdf8);
  box-shadow: 0 0 9px rgba(34,197,94,.85);
}

/* Two-column grid for the universe cards */
.grid-2.universe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .grid-2.universe-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared card style for this page */
.page-universe .card {
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.14), transparent 55%),
    linear-gradient(145deg, #0b1020, #020617);
  border: 1px solid rgba(148,163,184,.45);
  box-shadow: 0 20px 45px rgba(15,23,42,.95);
  padding: 1.5rem 1.45rem 1.6rem;
}

/* Slight highlight on the right-hand "how it ties" panel */
.universe-card--right {
  background:
    radial-gradient(circle at top right, rgba(236,72,153,.18), transparent 55%),
    linear-gradient(145deg, #080c19, #020617);
}

/* Bullet list styling */
.bullet-list {
  list-style: none;
  margin: 1rem 0 1.1rem;
  padding: 0;
  color: #c7d2fe;
  font-size: .92rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .45rem;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: .2rem;
  top: .55rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  box-shadow: 0 0 8px rgba(129,140,248,.9);
}

.bullet-list strong {
  color: #e5e7eb;
}

/* Meta text under the galaxy list */
.page-universe .meta {
  margin-top: 1.1rem;
  font-size: .78rem;
  color: #6b7280;
}
.page-universe .meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,"Liberation Mono","Courier New",monospace;
  font-size: .75rem;
  padding: .08rem .35rem;
  border-radius: 999px;
  background: rgba(15,23,42,.95);
  border: 1px solid rgba(55,65,81,.8);
  color: #e5e7eb;
}

/* ============================
   Teams page
   =========================== */

.page-teams {
  margin-top: 2.5rem;
}

.page-teams .page-hero {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.page-teams .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-teams .h1 .grad {
  background: linear-gradient(120deg, #46d4ff, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-teams .sub {
  margin-top: .6rem;
  color: #9ca9cf;
  font-size: .95rem;
}

/* 3-column grid of cards */
.grid-3.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-3.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid-3.card-grid {
    grid-template-columns: 1fr;
  }
}

/* Team cards */
.page-teams .card.team-card {
  position: relative;
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.2), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148,163,184,.55);
  box-shadow: 0 22px 45px rgba(15,23,42,.95);
  overflow: hidden;
}

/* Slight variant glows per column */
.page-teams .team-card--middle {
  background:
    radial-gradient(circle at top, rgba(236,72,153,.22), transparent 60%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

.page-teams .team-card--right {
  background:
    radial-gradient(circle at top right, rgba(45,212,191,.2), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

/* Accent ring in the corner */
.page-teams .team-card::after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.55);
  box-shadow: 0 0 26px rgba(56,189,248,.6);
  opacity: .7;
}

/* Label + title */
.card-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #6b7280;
  margin-bottom: .4rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

/* Subcopy inside cards */
.page-teams .sub-soft {
  margin-top: .2rem;
  color: #a5b4fc;
}

/* Reuse bullet-list but tweak for this page */
.page-teams .bullet-list {
  margin-top: .9rem;
  color: #d1d5ff;
}

.page-teams .bullet-list li {
  margin-bottom: .4rem;
}

.page-teams .bullet-list strong {
  color: #e5e7eb;
}

/* ============================
   Lore page
   =========================== */

.page-lore {
  margin-top: 2.5rem;
}

.page-lore .page-hero {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.page-lore .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-lore .h1 .grad {
  background: linear-gradient(120deg, #f97316, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-lore .sub {
  margin-top: .6rem;
  color: #9ca9cf;
  font-size: .95rem;
}

/* Vertical stack of lore cards */
.card-stack {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Lore cards inherit global .card styles per page */
.page-lore .card.lore-card {
  position: relative;
  border-radius: 18px;
  padding: 1.5rem 1.45rem 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(168,85,247,.22), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148,163,184,.6);
  box-shadow: 0 22px 45px rgba(15,23,42,.95);
}

/* Slight variants to keep the stack from feeling flat */
.page-lore .lore-card--mid {
  background:
    radial-gradient(circle at top, rgba(56,189,248,.22), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

.page-lore .lore-card--low {
  background:
    radial-gradient(circle at bottom right, rgba(244,114,182,.22), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

/* Small accent ring at the corner */
.page-lore .lore-card::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: 1px solid rgba(168,85,247,.55);
  box-shadow: 0 0 24px rgba(168,85,247,.7);
  opacity: .75;
}

/* Card labels reuse teams styles */
.page-lore .card-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #6b7280;
  margin-bottom: .45rem;
}

/* Titles */
.page-lore .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

/* Body text tweaks */
.page-lore .sub-soft {
  color: #a5b4fc;
  margin-bottom: .4rem;
}
.page-lore p {
  font-size: .93rem;
  color: #d1d5ff;
  line-height: 1.55;
}


/* ============================
   Join / Get Transmission page
   =========================== */

.page-join {
  margin-top: 2.5rem;
}

.page-join .page-hero {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.page-join .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-join .h1 .grad {
  background: linear-gradient(120deg, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-join .sub {
  margin-top: .6rem;
  color: #9ca9cf;
  font-size: .95rem;
}

/* Layout */
.grid-2.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .grid-2.join-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.page-join .card.join-card {
  position: relative;
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.7rem;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.2), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148,163,184,.55);
  box-shadow: 0 22px 45px rgba(15,23,42,.95);
}

.page-join .join-card--right {
  background:
    radial-gradient(circle at top right, rgba(236,72,153,.22), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

/* Accent ring */
.page-join .join-card::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.55);
  box-shadow: 0 0 24px rgba(56,189,248,.7);
  opacity: .75;
}

/* Labels + titles */
.page-join .card-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #6b7280;
  margin-bottom: .45rem;
}

.page-join .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.page-join .sub-soft {
  color: #a5b4fc;
  margin-bottom: .6rem;
}

/* Form */
.join-form {
  margin-top: 1rem;
  display: grid;
  gap: .9rem;
}

.join-form .field {
  display: grid;
  gap: .35rem;
  font-size: .8rem;
}

.join-form .field span {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
}

.join-form input[type="email"],
.join-form input[type="text"] {
  border-radius: 999px;
  border: 1px solid rgba(30,64,175,.9);
  background: rgba(15,23,42,.95);
  padding: .55rem .9rem;
  color: #e5e7eb;
  font-size: .86rem;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}

.join-form input::placeholder {
  color: #64748b;
}

.join-form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56,189,248,.5), 0 0 18px rgba(56,189,248,.5);
  background: rgba(15,23,42,1);
}

/* Button */
.join-btn {
  margin-top: .4rem;
  border: 1px solid rgba(148,163,184,.7);
  opacity: .6;
  cursor: not-allowed;
  width: 100%;
  justify-content: center;
}

/* Meta copy */
.page-join .meta {
  margin-top: .6rem;
  font-size: .78rem;
  color: #6b7280;
}

.page-join .meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
  font-size: .76rem;
}

/* ============================
   Planet page
   =========================== */

.page-planet {
  margin-top: 2.5rem;
}

.crumbs-wrap {
  margin-bottom: .75rem;
}

.crumbs {
  font-size: .8rem;
  color: #9ca3af;
}

.crumbs a {
  color: #9ca3af;
  text-decoration: none;
}

.crumbs a:hover {
  color: #38bdf8;
}

.page-planet .page-hero {
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.page-planet .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-planet .sub {
  margin-top: .6rem;
  color: #9ca9cf;
  font-size: .95rem;
}

.page-planet .sub-tagline {
  color: #a5b4fc;
}

/* Layout for planet panels */
.planet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .planet-layout {
    grid-template-columns: 1fr;
  }
}

/* Panels reuse card look but a bit simpler */
.page-planet .panel {
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148,163,184,.55);
  box-shadow: 0 22px 45px rgba(15,23,42,.95);
  font-size: .94rem;
  color: #d1d5ff;
}

.page-planet .panel-notes {
  background:
    radial-gradient(circle at top right, rgba(236,72,153,.2), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

.page-planet .panel-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: .75rem;
  color: #e5e7eb;
}

/* Planet / galaxy chip lists (for error state & galaxy view) */
.planet-list,
.galaxy-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.planet-chip-link,
.galaxy-chip-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.6);
  background: radial-gradient(circle at top, rgba(15,23,42,.9), rgba(2,6,23,1));
  text-decoration: none;
  font-size: .8rem;
  color: #e5e7eb;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.planet-chip-link:hover,
.galaxy-chip-link:hover {
  transform: translateY(-1px);
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56,189,248,.6);
}

.planet-chip-name,
.galaxy-chip-name {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
}

.planet-chip-tagline,
.galaxy-chip-tagline {
  font-size: .78rem;
  color: #9ca3af;
}

/* ============================
   Galaxy page
   =========================== */

.page-galaxy {
  margin-top: 2.5rem;
}

.page-galaxy .page-hero {
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.page-galaxy .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-galaxy .sub {
  margin-top: .6rem;
  color: #9ca9cf;
  font-size: .95rem;
}

.page-galaxy .sub-tagline {
  color: #a5b4fc;
}

/* Layout: three stacked panels, first two in a grid */
.galaxy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  grid-auto-rows: minmax(0, auto);
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .galaxy-layout {
    grid-template-columns: 1fr;
  }
}

/* Reuse planet panels look */
.page-galaxy .panel {
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.18), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148,163,184,.55);
  box-shadow: 0 22px 45px rgba(15,23,42,.95);
  font-size: .94rem;
  color: #d1d5ff;
}

.page-galaxy .panel-planets {
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.2), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

.page-galaxy .panel-teams {
  grid-column: 1 / -1;
  margin-top: .5rem;
  background:
    radial-gradient(circle at bottom, rgba(244,114,182,.22), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
}

.page-galaxy .panel-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: .75rem;
  color: #e5e7eb;
}

/* Team list */
.team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.team-line {
  display: grid;
  gap: .2rem;
}

.team-name {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.team-meta {
  font-size: .8rem;
  color: #9ca3af;
}

.team-style {
  font-size: .8rem;
  color: #a5b4fc;
}

/* ============================
   Interactive galaxy map
   =========================== */

@keyframes ih-map-fade-in {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes ih-map-fade-out {
  to { opacity: 0; transform: scale(0.97); }
}

.page-map {
  margin-top: 2.5rem;
  animation: ih-map-fade-in 0.9s ease-out;
}

.map-fade-out {
  animation: ih-map-fade-out 0.35s ease-in forwards;
}

.page-map .page-hero {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.page-map .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-map .sub {
  margin-top: .6rem;
  color: #9ca9cf;
}

/* Map frame */
.universe-map-shell {
  margin-top: 1.4rem;
}

.universe-map-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.65);
  box-shadow: 0 26px 60px rgba(15,23,42,.95);
  background: radial-gradient(circle at top, #020617 0, #000 55%);
  /* 16:9 aspect */
  padding-bottom: 56.25%;
}

.universe-map-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Hotspots */
.universe-map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.8);
  background:
    radial-gradient(circle at top, rgba(56,189,248,.85), rgba(15,23,42,.95));
  color: #e5f4ff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56,189,248,.75);
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    border-color .12s ease,
    background .12s ease;
}

.universe-map-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 30px rgba(56,189,248,.9);
  border-color: #f97316;
  background:
    radial-gradient(circle at top, rgba(56,189,248,1), rgba(15,23,42,1));
}

.universe-map-hotspot .hotspot-name {
  white-space: nowrap;
}

/* Map meta text */
.map-meta {
  margin: .9rem auto 0;
  max-width: 720px;
  font-size: .8rem;
  color: #6b7280;
}

.map-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
  font-size: .76rem;
}

/* ============================
   Galaxy detail map
   =========================== */

.galaxy-map-shell {
  margin: 1.6rem auto 2.2rem;
}

.galaxy-map-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.65);
  box-shadow: 0 26px 60px rgba(15,23,42,.95);
  background: radial-gradient(circle at top, #020617 0, #000 55%);
}

.galaxy-map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56,189,248,.18), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.galaxy-map-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Planet markers on galaxy */
.galaxy-planet-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.8);
  background:
    radial-gradient(circle at top, rgba(56,189,248,.9), rgba(15,23,42,.98));
  color: #e5f4ff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56,189,248,.75);
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    border-color .12s ease,
    background .12s ease;
  min-width: 150px;
  text-align: center;
  white-space: nowrap;
}

.galaxy-planet-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 30px rgba(56,189,248,.9);
  border-color: #f97316;
  background:
    radial-gradient(circle at top, rgba(56,189,248,1), rgba(15,23,42,1));
}

.galaxy-planet-hotspot .hotspot-name {
  pointer-events: none;
}

/* ============================
   Interactive galaxy map
   =========================== */

@keyframes ih-map-fade-in {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes ih-map-fade-out {
  to { opacity: 0; transform: scale(0.97); }
}

.page-map {
  margin-top: 2.5rem;
  animation: ih-map-fade-in 0.9s ease-out;
}

.map-fade-out {
  animation: ih-map-fade-out 0.35s ease-in forwards;
}

.page-map .page-hero {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.page-map .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-map .sub {
  margin-top: .6rem;
  color: #9ca9cf;
}

/* Map frame */
.universe-map-shell {
  margin-top: 1.4rem;
}

.universe-map-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.65);
  box-shadow: 0 26px 60px rgba(15,23,42,.95);
  background: radial-gradient(circle at top, #020617 0, #000 55%);
  /* 16:9 aspect on desktop */
  padding-bottom: 56.25%;
}

.universe-map-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Hotspots */
.universe-map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.8);
  background:
    radial-gradient(circle at top, rgba(56,189,248,.85), rgba(15,23,42,.95));
  color: #e5f4ff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56,189,248,.75);
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    border-color .12s ease,
    background .12s ease;
  min-width: 150px;
  text-align: center;
  white-space: nowrap;
}

.universe-map-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 30px rgba(56,189,248,.9);
  border-color: #f97316;
  background:
    radial-gradient(circle at top, rgba(56,189,248,1), rgba(15,23,42,1));
}

.universe-map-hotspot .hotspot-name {
  white-space: nowrap;
}

/* Map meta text */
.map-meta {
  margin: .9rem auto 0;
  max-width: 720px;
  font-size: .8rem;
  color: #6b7280;
}

.map-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
  font-size: .76rem;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 768px) {
  .page-map {
    margin-top: 1.5rem;
  }

  .page-map .h1 {
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

  .page-map .sub {
    font-size: .9rem;
  }

  .universe-map-frame {
    border-radius: 18px;
    /* make it a bit taller so labels breathe but scale better */
    padding-bottom: 70%;
  }

  .universe-map-hotspot {
    min-width: 96px;
    padding: .35rem .7rem;
    font-size: .68rem;
    letter-spacing: .12em;
    box-shadow: 0 0 14px rgba(56,189,248,.65);
  }

  .map-meta {
    font-size: .75rem;
  }
}

@media (max-width: 480px) {
  .page-map .h1 {
    font-size: 1.35rem;
  }

  .universe-map-frame {
    padding-bottom: 78%;
  }

  .universe-map-hotspot {
    min-width: 88px;
    font-size: .64rem;
    letter-spacing: .1em;
  }
}

/* ============================
   Nav – mobile behavior
   =========================== */

/* Toggle button (hidden on desktop) */
.igh-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 6px 4px;
  margin-left: auto;
  cursor: pointer;
}

.igh-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 3px 0;
  transition: transform .15s ease, opacity .15s ease;
}

/* Base nav layout stays as you already had on desktop */

/* Mobile tweaks */
@media (max-width: 768px) {
  .igh-header-inner {
    padding: 10px 16px;
  }

  .igh-brand-logo {
    width: 32px;
  }

  .igh-brand-text {
    font-size: 11px;
    letter-spacing: .14em;
  }

  .igh-nav-cta {
    font-size: 10px;
    padding: 6px 14px;
    letter-spacing: .14em;
  }

  /* Show burger, hide full nav by default */
  .igh-nav-toggle {
    display: inline-block;
  }

  .igh-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 10px;
    background:
      radial-gradient(circle at top, rgba(15,23,42,.98), rgba(15,23,42,.96));
    border-bottom: 1px solid rgba(148,163,184,.35);
  }

  .igh-nav-link {
    padding: 8px 0;
    font-size: 11px;
    letter-spacing: .16em;
  }

  /* When header has nav-open, show menu */
  .igh-header.nav-open .igh-nav {
    display: flex;
  }

  /* Optional: animate burger into an X */
  .igh-header.nav-open .igh-nav-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .igh-header.nav-open .igh-nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .igh-header.nav-open .igh-nav-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}


/* ============================
   Interactive galaxy map
   =========================== */

@keyframes ih-map-fade-in {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes ih-map-fade-out {
  to { opacity: 0; transform: scale(0.97); }
}

.page-map {
  margin-top: 2.5rem;
  animation: ih-map-fade-in 0.9s ease-out;
}

.map-fade-out {
  animation: ih-map-fade-out 0.35s ease-in forwards;
}

.page-map .page-hero {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.page-map .h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-map .sub {
  margin-top: .6rem;
  color: #9ca9cf;
}

/* Map frame */
.universe-map-shell {
  margin-top: 1.4rem;
}

.universe-map-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.65);
  box-shadow: 0 26px 60px rgba(15,23,42,.95);
  background: radial-gradient(circle at top, #020617 0, #000 55%);
  /* KEEP 16:9 EVERYWHERE so map_x/map_y stay accurate */
  padding-bottom: 56.25%;
}

.universe-map-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Hotspots */
.universe-map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,.8);
  background:
    radial-gradient(circle at top, rgba(56,189,248,.85), rgba(15,23,42,.95));
  color: #e5f4ff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56,189,248,.75);
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    border-color .12s ease,
    background .12s ease;
  min-width: 150px;
  text-align: center;
  white-space: nowrap;
}

.universe-map-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 30px rgba(56,189,248,.9);
  border-color: #f97316;
  background:
    radial-gradient(circle at top, rgba(56,189,248,1), rgba(15,23,42,1));
}

.universe-map-hotspot .hotspot-name {
  pointer-events: none;
}

.map-meta {
  margin: .9rem auto 0;
  max-width: 720px;
  font-size: .8rem;
  color: #6b7280;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 768px) {
  .page-map {
    margin-top: 1.5rem;
  }

  .page-map .h1 {
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

  .page-map .sub {
    font-size: .9rem;
  }

  /* keep 16:9; no padding-bottom change so positions stay correct */
  .universe-map-frame {
    border-radius: 18px;
  }

  .universe-map-hotspot {
    min-width: 90px;
    max-width: 46%;
    padding: .32rem .6rem;
    font-size: .64rem;
    letter-spacing: .12em;
    box-shadow: 0 0 14px rgba(56,189,248,.65);
    white-space: normal;      /* allow wrap on tiny screens */
  }

  .map-meta {
    font-size: .75rem;
  }
}

@media (max-width: 480px) {
  .page-map .h1 {
    font-size: 1.35rem;
  }

  .universe-map-hotspot {
    min-width: 80px;
    max-width: 60%;
    font-size: .6rem;
    letter-spacing: .1em;
  }
}


/* Map actions below galaxy map */
.map-actions {
  margin: 1rem auto 0;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.8);
  background: rgba(15,23,42,.98);
  color: #e5e7eb;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background .15s ease,
    border-color .15s ease,
    transform .12s ease,
    box-shadow .12s ease;
}

.map-btn:hover {
  background: rgba(15,23,42,1);
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(56,189,248,.65);
}

.map-btn-ghost {
  border-color: rgba(148,163,184,.5);
  background: transparent;
  color: #9ca3af;
}

.map-btn-ghost:hover {
  background: rgba(15,23,42,.85);
  color: #e5e7eb;
}

@media (max-width: 640px) {
  .map-actions {
    flex-direction: column;
    align-items: flex-start;
  }

.map-btn {
  width: 100%;
   justify-content: flex-start;
  }
}

.back-strip{
  margin: 1rem 0 1.2rem;
  font-size: .85rem;
  color:#9ca3af;
}
.back-strip a{
  color:#e5e7eb;
  text-decoration:none;
  border-bottom:1px solid rgba(148,163,184,.5);
  padding-bottom:2px;
}
.back-strip a:hover{
  color:#38bdf8;
  border-color:#38bdf8;
}


/* Breadcrumbs */
.crumbs-wrap {
  margin-bottom: 1rem;
}

.crumbs {
  font-size: .8rem;
  color: #9ca3af;
}

.crumbs a {
  color: #9ca3af;
  text-decoration: none;
}

.crumbs a:hover {
  color: #38bdf8;
}

/* Breadcrumbs */
.crumbs-wrap {
  margin-bottom: 0.75rem;
}

.crumbs {
  font-size: 0.8rem;
  color: #9ca3af;
}

.crumbs a {
  color: #9ca3af;
  text-decoration: none;
}

.crumbs a:hover {
  color: #38bdf8;
}

/* Planet back strip */
.page-planet .back-strip {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.page-planet .back-strip a {
  color: #e5e7eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(148,163,184,.5);
  padding-bottom: 2px;
}

.page-planet .back-strip a:hover {
  color: #38bdf8;
  border-color: #38bdf8;
}

