/* =====================================================================
   STARSEED COLLECTIVE — "STARSEED ARCADE" theme
   Retro video-game styling: neon, pixel headings, starfield, XP bars.
   Colors live in :root below — change them there to re-skin the site.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Rubik:wght@400;600;800&display=swap');

:root {
  --bg: #070512;
  --panel: #120e24;
  --panel2: #0d0a1c;
  --ink: #f2eeff;
  --muted: #9d94c4;
  --neon: #22e6c8;          /* teal neon   */
  --pink: #ff2e88;          /* arcade pink */
  --gold: #ffd94d;          /* coin gold   */
  --violet: #8b6cf0;
  --line: #2c2650;
  --pixelfont: 'Press Start 2P', monospace;
  --bodyfont: 'Rubik', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--bodyfont);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- starfield layers (pure CSS, animated) --- */
.starfield, .starfield2 {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 130px 80px, var(--neon), transparent),
    radial-gradient(1.5px 1.5px at 250px 160px, #fff, transparent),
    radial-gradient(2px 2px at 320px 40px, var(--pink), transparent),
    radial-gradient(1.5px 1.5px at 60px 200px, #fff, transparent),
    radial-gradient(1px 1px at 180px 260px, var(--gold), transparent),
    radial-gradient(2px 2px at 380px 140px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 90px 120px, #fff, transparent);
  background-size: 420px 320px;
  animation: drift 90s linear infinite;
  opacity: .55;
}
.starfield2 { background-size: 640px 480px; animation-duration: 140s; opacity: .3; }
@keyframes drift { from { background-position: 0 0; } to { background-position: -840px 640px; } }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 1.25rem; }

/* ============ HEADER / NAV ============ */
.site-header {
  border-bottom: 3px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: rgba(7,5,18,.94); backdrop-filter: blur(6px);
  box-shadow: 0 3px 0 rgba(34,230,200,.15);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.25rem; flex-wrap: wrap; gap: .5rem; }
.logo {
  font-family: var(--pixelfont); font-size: .82rem; letter-spacing: .02em;
  color: var(--ink); text-decoration: none; text-shadow: 2px 2px 0 var(--pink);
}
.logo .star { color: var(--gold); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
nav a {
  color: var(--muted); text-decoration: none; margin-left: 1.2rem; font-size: .95rem;
  font-weight: 600; transition: color .15s;
}
nav a:hover { color: var(--neon); }
nav a.nav-cta {
  font-family: var(--pixelfont); font-size: .55rem;
  color: #071410; background: var(--neon);
  padding: .6rem .9rem; border-radius: 6px;
  box-shadow: 0 4px 0 #0e8f7c;
  transition: transform .08s, box-shadow .08s;
}
nav a.nav-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 #0e8f7c; color: #071410; }

/* ============ HERO ============ */
.hero { text-align: center; padding: 4.5rem 1.25rem 3rem; position: relative; }
.hero p.tag {
  font-family: var(--pixelfont); color: var(--pink);
  font-size: .6rem; letter-spacing: .25em; margin-bottom: 1.4rem;
  animation: blink 1.8s steps(2) infinite;
}
.hero h1 {
  font-family: var(--pixelfont);
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: 1.7; margin-bottom: 1.4rem;
  text-shadow: 3px 3px 0 rgba(255,46,136,.45), 0 0 24px rgba(34,230,200,.35);
}
.hero h1 em { color: var(--neon); font-style: normal; }
.hero p.lede { max-width: 620px; margin: 0 auto 2rem; color: var(--muted); font-size: 1.08rem; }

/* pixel divider */
.px-divider {
  height: 6px; margin: 0 auto; max-width: 1000px; border: 0;
  background: repeating-linear-gradient(90deg,
    var(--pink) 0 24px, var(--gold) 24px 48px, var(--neon) 48px 72px, var(--violet) 72px 96px);
  image-rendering: pixelated; opacity: .8;
}

/* ============ ARCADE BUTTONS ============ */
.btn {
  display: inline-block; font-family: var(--pixelfont); font-size: .62rem;
  background: var(--pink); color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,.4);
  padding: .95rem 1.5rem; border-radius: 8px; border: 0; cursor: pointer;
  text-decoration: none; letter-spacing: .04em;
  box-shadow: 0 5px 0 #a3144f, 0 8px 18px rgba(255,46,136,.25);
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 #a3144f; filter: brightness(1.12); }
.btn.ghost {
  background: transparent; color: var(--neon); text-shadow: none;
  border: 2px solid var(--neon); box-shadow: 0 5px 0 rgba(34,230,200,.25); margin-left: .6rem;
}
.btn.ghost:hover { box-shadow: 0 2px 0 rgba(34,230,200,.25); background: rgba(34,230,200,.08); }
.btn.big { font-size: .75rem; padding: 1.15rem 2rem; }
.btn.coin { background: var(--gold); color: #3a2c00; text-shadow: none; box-shadow: 0 5px 0 #b3922a, 0 8px 18px rgba(255,217,77,.25); }
.btn.coin:hover { box-shadow: 0 2px 0 #b3922a; }

/* ============ SECTIONS ============ */
section { padding: 3.2rem 0; }
h2 {
  font-family: var(--pixelfont); font-size: 1.05rem; margin-bottom: .8rem;
  color: var(--ink); text-shadow: 2px 2px 0 rgba(139,108,240,.5);
}
h2::before { content: "\25B6  "; color: var(--neon); }
.sub { color: var(--muted); margin-bottom: 2rem; }

/* XP progress bar (booking steps / flavor) */
.xpbar { height: 14px; background: var(--panel2); border: 2px solid var(--line); border-radius: 7px; overflow: hidden; margin: .8rem 0 2rem; }
.xpbar > span {
  display: block; height: 100%;
  background: repeating-linear-gradient(90deg, var(--neon) 0 12px, #17b39b 12px 24px);
  box-shadow: 0 0 12px rgba(34,230,200,.6);
  transition: width .4s steps(8);
}

/* ============ CARDS ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--panel); border: 2px solid var(--line); border-radius: 12px;
  padding: 1.5rem; position: relative;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(34,230,200,.25), 0 10px 30px rgba(0,0,0,.45), 0 0 24px rgba(34,230,200,.12);
}
.card .icon { font-size: 1.9rem; display: block; margin-bottom: .6rem; filter: drop-shadow(0 0 8px rgba(255,217,77,.5)); }
.card h3 { font-family: var(--pixelfont); font-size: .68rem; line-height: 1.7; margin-bottom: .5rem; color: var(--gold); }
.card .price {
  color: var(--neon); font-family: var(--pixelfont); font-size: .95rem;
  margin: .7rem 0; text-shadow: 0 0 14px rgba(34,230,200,.5);
}
.card .price small { color: var(--muted); font-family: var(--bodyfont); font-size: .8rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .btn { margin-top: 1.1rem; font-size: .55rem; padding: .7rem 1rem; }

/* ============ RATES TABLE ============ */
table.rates { width: 100%; border-collapse: collapse; background: var(--panel); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
table.rates th, table.rates td { padding: 1rem 1.1rem; text-align: left; border-bottom: 2px solid var(--line); }
table.rates th {
  font-family: var(--pixelfont); font-size: .55rem; color: var(--neon);
  letter-spacing: .1em; background: var(--panel2);
}
table.rates tr:last-child td { border-bottom: 0; }
table.rates tr:hover td { background: rgba(139,108,240,.08); }
table.rates .price-cell { color: var(--gold); font-weight: 800; white-space: nowrap; }

/* ============ FORMS (booking = quest form) ============ */
form.booking {
  background: var(--panel); border: 2px solid var(--line); border-radius: 14px;
  padding: 2rem; max-width: 640px; margin: 0 auto;
  box-shadow: 0 0 40px rgba(139,108,240,.12);
}
.quest-step {
  font-family: var(--pixelfont); font-size: .6rem; color: var(--pink);
  display: block; margin: 1.4rem 0 .4rem; letter-spacing: .06em;
}
.quest-step:first-of-type { margin-top: 0; }
label { display: block; margin: .2rem 0 .35rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
input, select, textarea {
  width: 100%; padding: .75rem .85rem; border-radius: 8px;
  border: 2px solid var(--line); background: var(--panel2); color: var(--ink);
  font-size: 1rem; font-family: var(--bodyfont);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(34,230,200,.2), 0 0 16px rgba(34,230,200,.25);
}
.error {
  background: #2a0e1c; border: 2px solid var(--pink); color: #ff9ec4;
  padding: .9rem 1rem; border-radius: 8px; margin-bottom: 1.2rem;
  font-family: var(--pixelfont); font-size: .6rem; line-height: 1.8;
}
.summary {
  background: var(--panel2); border: 2px dashed var(--line); border-radius: 10px;
  padding: 1.1rem; margin: 1.4rem 0; font-size: .98rem;
}
.summary .total { color: var(--gold); font-weight: 800; }
.hint { color: var(--muted); font-size: .85rem; margin-top: .5rem; }
code { color: var(--neon); background: var(--panel2); padding: .1em .4em; border-radius: 4px; }

/* ============ TEST-MODE BANNER ============ */
.test-banner {
  background: #2b2106; border: 2px solid var(--gold); color: var(--gold);
  padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.6rem; font-size: .92rem;
}

/* ============ FAQ ============ */
details {
  background: var(--panel); border: 2px solid var(--line); border-radius: 10px;
  padding: 1.05rem 1.25rem; margin-bottom: .9rem; transition: border-color .15s;
}
details[open] { border-color: var(--violet); }
details summary { cursor: pointer; font-weight: 600; }
details summary::before { content: "+  "; color: var(--neon); font-weight: 800; }
details[open] summary::before { content: "-  "; }
details p { color: var(--muted); margin-top: .7rem; }

/* ============ SUCCESS ============ */
.success-box {
  text-align: center; max-width: 580px; margin: 4rem auto;
  background: var(--panel); border: 2px solid var(--neon); border-radius: 16px;
  padding: 2.6rem; box-shadow: 0 0 40px rgba(34,230,200,.25);
}
.success-box .check {
  font-family: var(--pixelfont); font-size: 1.6rem; color: var(--gold);
  display: inline-block; border: 3px solid var(--gold); border-radius: 12px;
  padding: .8rem 1.2rem; margin-bottom: 1.4rem;
  text-shadow: 0 0 16px rgba(255,217,77,.7);
  box-shadow: 0 0 24px rgba(255,217,77,.35);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); } }
.success-box h2::before { content: ""; }

/* ============ FOOTER ============ */
.site-footer { border-top: 3px solid var(--line); margin-top: 3rem; padding: 2.2rem 0; color: var(--muted); font-size: .9rem; }
.site-footer .fine { font-size: .78rem; margin-top: .6rem; opacity: .7; }
.site-footer .pixel-sig { font-family: var(--pixelfont); font-size: .5rem; color: var(--line); margin-top: 1.2rem; }

@media (max-width: 640px) {
  nav a { margin-left: .7rem; font-size: .85rem; }
  .hero h1 { font-size: 1.05rem; }
}

/* ---- deals, tiers & bundle add-on ---- */
.deal {
  color: var(--gold, #ffd24a);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.addon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.75rem 0 0.25rem;
  padding: 0.7rem 0.9rem;
  border: 2px dashed var(--gold, #ffd24a);
  border-radius: 6px;
  cursor: pointer;
  background: rgba(255, 210, 74, 0.06);
}
.addon input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--gold, #ffd24a);
  cursor: pointer;
}
