/* ============================================================
   PRESS START MOBILE ARCADE — "ATTRACT MODE" design system
   Dark arcade room. Neon signage. CRT scanlines. Zero rounded
   corners. Type set in Press Start 2P + Space Grotesk.
   ============================================================ */

:root {
  --bg:     #07070d;
  --panel:  #0e0e1a;
  --panel2: #131324;
  --line:   #23233a;
  --ink:    #eaeaf4;
  --dim:    #9494ae;
  --cyan:   #00e5ff;
  --pink:   #ff2e7a;
  --yellow: #ffd60a;
  --green:  #39ff88;
  --violet: #7c4dff;
  --hard:   6px 6px 0 rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
::selection { background: var(--pink); color: #000; }

h1, h2 { font-family: 'Press Start 2P', monospace; font-weight: 400; line-height: 1.5; }
h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
img { max-width: 100%; }
a { color: var(--cyan); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; position: relative; }

/* pixel grid backdrop for feature sections */
.gridbg {
  background-image:
    linear-gradient(rgba(124, 77, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 13, .95); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
  font-family: 'Press Start 2P', monospace; font-size: .72rem; letter-spacing: .04em;
  text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 12px;
  text-transform: uppercase;
}
.logo .mark {
  width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px;
  background: var(--pink); color: #000; font-size: 1rem;
  border: 2px solid #000; box-shadow: 3px 3px 0 var(--cyan);
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--dim); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.nav-links a:hover { color: var(--cyan); }

/* ---------- buttons: arcade buttons, hard shadows ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font-family: 'Press Start 2P', monospace; font-size: .7rem; line-height: 1.4;
  padding: 16px 24px; border-radius: 0; text-transform: uppercase; letter-spacing: .02em;
  transition: transform .08s, box-shadow .08s;
}
.btn-primary {
  background: var(--yellow); color: #000; border: 2px solid #000;
  box-shadow: 5px 5px 0 var(--pink);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--pink); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pink); }
.btn-ghost { background: transparent; color: var(--cyan); border: 2px solid var(--cyan); }
.btn-ghost:hover { background: var(--cyan); color: #000; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- attract-mode ticker ---------- */
.ticker {
  overflow: hidden; border-bottom: 2px solid var(--line); background: var(--panel);
  font-family: 'Press Start 2P', monospace; font-size: .6rem; color: var(--yellow);
  padding: 10px 0; white-space: nowrap;
}
.ticker span { display: inline-block; padding-left: 100%; animation: tick 28s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- hero: CRT screen ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 96px 0 84px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(124, 77, 255, .22), transparent 65%),
    radial-gradient(700px 380px at 85% 110%, rgba(0, 229, 255, .10), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(255, 46, 122, .10), transparent 60%),
    var(--bg);
}
/* scanlines */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
}
.hero h1 {
  font-size: clamp(1.3rem, 4.2vw, 2.6rem); color: #fff; margin-bottom: 26px;
  text-shadow: 0 0 18px rgba(0, 229, 255, .65), 3px 3px 0 var(--pink);
}
.hero h1 .alt { color: var(--yellow); text-shadow: 0 0 18px rgba(255, 214, 10, .5), 3px 3px 0 var(--violet); }
.hero p.lead { font-size: 1.15rem; color: var(--dim); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.press-start {
  margin-top: 44px; font-family: 'Press Start 2P', monospace; font-size: .65rem;
  color: var(--green); letter-spacing: .1em; animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-badges { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.badge {
  border: 1px solid var(--line); background: var(--panel); color: var(--dim);
  padding: 8px 16px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- section headers: marquee strips ---------- */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head .kicker {
  display: inline-block; font-family: 'Press Start 2P', monospace; font-size: .55rem;
  color: var(--yellow); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px;
}
.sec-head .kicker::before { content: '▚▚ '; color: var(--pink); }
.sec-head .kicker::after  { content: ' ▞▞'; color: var(--cyan); }
.sec-head h2 { font-size: clamp(1rem, 2.6vw, 1.5rem); color: #fff; margin-bottom: 14px; text-shadow: 0 0 12px rgba(124, 77, 255, .55); }
.sec-head p { color: var(--dim); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--panel); border: 2px solid var(--line); border-radius: 0;
  padding: 28px; position: relative;
}
.card h3 { margin-bottom: 8px; font-size: 1.1rem; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.card p { color: var(--dim); font-size: .95rem; }

/* level cards (how it works) */
.level-tag {
  display: inline-block; font-family: 'Press Start 2P', monospace; font-size: .55rem;
  background: var(--violet); color: #fff; border: 2px solid #000; box-shadow: 3px 3px 0 #000;
  padding: 8px 10px; margin-bottom: 18px;
}
.card.lv:hover { border-color: var(--violet); }

/* ---------- pricing: SELECT YOUR MODE ---------- */
.price-card { display: flex; flex-direction: column; text-align: left; padding-top: 24px; }
.price-card .p-tag {
  font-family: 'Press Start 2P', monospace; font-size: .55rem; letter-spacing: .05em;
  margin-bottom: 18px;
}
.price-card[data-p="1"] .p-tag { color: var(--cyan); }
.price-card[data-p="2"] .p-tag { color: var(--yellow); }
.price-card[data-p="3"] .p-tag { color: var(--green); }
.price-card h3 { font-size: 1.15rem; }
.price-card .amount {
  font-family: 'Press Start 2P', monospace; font-size: 1.7rem; color: #fff; margin: 14px 0 4px;
}
.price-card .per { color: var(--dim); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 0 0 24px; flex: 1; }
.price-card li { padding: 7px 0 7px 24px; position: relative; color: var(--ink); font-size: .93rem; border-bottom: 1px solid var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: '»'; position: absolute; left: 2px; color: var(--pink); font-weight: 700; }
.price-card:hover { border-color: var(--cyan); }
.price-card.popular { border-color: var(--yellow); box-shadow: var(--hard); }
.price-card.popular .amount { color: var(--yellow); }
.pop-tag {
  position: absolute; top: -13px; left: 22px;
  background: var(--yellow); color: #000; border: 2px solid #000;
  font-family: 'Press Start 2P', monospace; font-size: .5rem; padding: 6px 10px;
}
.addon-note {
  margin-top: 30px; border: 2px dashed var(--line); background: var(--panel);
  padding: 18px 22px; font-size: .93rem; color: var(--dim); text-align: center;
}
.addon-note b { color: var(--ink); }

/* ---------- games ---------- */
.shelf-title {
  font-family: 'Press Start 2P', monospace; font-size: .7rem; color: #fff;
  margin: 40px 0 6px; letter-spacing: .05em;
}
.shelf-title:first-of-type { margin-top: 8px; }
.shelf-title .tag { color: var(--green); }
.shelf-title .tag.warn { color: var(--yellow); }
.shelf-sub { color: var(--dim); font-size: .85rem; margin-bottom: 16px; }
.game-tile {
  background: var(--panel2); border: 2px solid var(--line); padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; min-height: 76px;
}
.game-tile:hover { border-color: var(--pink); }
.game-ico {
  width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center;
  background: #000; border: 1px solid var(--line);
  font-family: 'Press Start 2P', monospace; font-size: .8rem; color: var(--cyan);
}
.game-tile img.game-art { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; background: #000; border: 1px solid var(--line); }
.game-tile .g-name { font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--ink); }
.game-tile .g-meta { color: var(--dim); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.g-premium { color: var(--yellow); font-weight: 700; }

/* ---------- audience ---------- */
.audience { background: var(--panel); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.aud-ico { font-family: 'Press Start 2P', monospace; font-size: .9rem; margin-bottom: 14px; }
.aud-c1 { color: var(--pink); } .aud-c2 { color: var(--cyan); } .aud-c3 { color: var(--yellow); } .aud-c4 { color: var(--green); }
.audience .card { background: var(--bg); }
.audience .card:hover { border-color: var(--green); }

/* ---------- FAQ: terminal ---------- */
.faq details {
  background: var(--panel); border: 2px solid var(--line); border-left: 4px solid var(--green);
  padding: 16px 22px; margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; color: var(--ink); list-style: none; }
.faq summary::before { content: '> '; color: var(--green); font-family: monospace; }
.faq details[open] { border-left-color: var(--pink); }
.faq details p { margin-top: 10px; color: var(--dim); }

/* ---------- final CTA marquee ---------- */
.cta-box {
  border: 3px solid var(--yellow); background: var(--panel); text-align: center;
  padding: 56px 28px; position: relative; box-shadow: var(--hard);
}
.cta-box::before, .cta-box::after {
  content: '★ ★ ★'; font-size: .8rem; color: var(--yellow); letter-spacing: 1.2em;
  display: block;
}
.cta-box::before { margin-bottom: 18px; }
.cta-box::after { margin-top: 22px; }
.cta-box h2 { font-size: clamp(.95rem, 2.4vw, 1.4rem); color: #fff; margin-bottom: 12px; text-shadow: 0 0 14px rgba(255, 214, 10, .5); }
.cta-box p { color: var(--dim); margin-bottom: 28px; }

/* ---------- footer ---------- */
footer { background: #04040a; border-top: 2px solid var(--line); color: var(--dim); padding: 48px 0 34px; font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
footer b { color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
footer a { color: var(--cyan); text-decoration: none; }
footer .logo { color: var(--ink); }
.gameover { font-family: 'Press Start 2P', monospace; font-size: .55rem; color: var(--line); margin-top: 30px; text-align: center; letter-spacing: .1em; }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.book-layout { display: grid; grid-template-columns: 1fr 350px; gap: 26px; align-items: start; padding: 44px 0 90px; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } }
.book-title { font-family: 'Press Start 2P', monospace; font-size: clamp(1rem, 3vw, 1.5rem); color: #fff; margin: 14px 0 8px; text-shadow: 0 0 14px rgba(0, 229, 255, .5); }
.book-step { margin-bottom: 24px; }
.book-step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1rem; }
.book-step h3 .n {
  font-family: 'Press Start 2P', monospace; font-size: .65rem; color: #000;
  background: var(--cyan); border: 2px solid #000; box-shadow: 2px 2px 0 #000;
  width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px;
}

/* calendar */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { font-family: 'Press Start 2P', monospace; font-size: .7rem; color: var(--yellow); }
.cal-nav {
  background: var(--panel2); border: 2px solid var(--line); color: var(--cyan);
  width: 36px; height: 36px; cursor: pointer; font-size: 1rem; border-radius: 0;
}
.cal-nav:hover { border-color: var(--cyan); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .dow { text-align: center; font-size: .68rem; font-weight: 700; color: var(--dim); padding: 4px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 2px solid var(--line); background: var(--panel2);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink);
}
.cal-day.off { visibility: hidden; }
.cal-day.past, .cal-day.blocked, .cal-day.booked {
  background: transparent; border-color: #17172a; color: #3c3c58; cursor: not-allowed; text-decoration: line-through;
}
.cal-day.booked { text-decoration: none; }
.cal-day.available:hover, .cal-day.partial:hover { border-color: var(--cyan); color: var(--cyan); }
.cal-day.selected { background: var(--yellow); color: #000; border-color: var(--yellow); box-shadow: 3px 3px 0 var(--pink); }
.cal-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .75rem; color: var(--dim); flex-wrap: wrap; text-transform: uppercase; letter-spacing: .05em; }
.cal-legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; }

/* option rows */
.opt-row { display: grid; gap: 12px; }
.opt {
  border: 2px solid var(--line); background: var(--panel2); padding: 16px 18px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.opt:hover { border-color: var(--violet); }
.opt.selected { border-color: var(--cyan); background: rgba(0, 229, 255, .06); box-shadow: 4px 4px 0 rgba(0, 229, 255, .25); }
.opt .o-title { font-weight: 700; color: var(--ink); }
.opt .o-sub { color: var(--dim); font-size: .84rem; }
.opt .o-price { font-family: 'Press Start 2P', monospace; font-size: .75rem; color: var(--yellow); white-space: nowrap; }

.game-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.game-check {
  display: flex; gap: 10px; align-items: center; background: var(--panel2);
  border: 2px solid var(--line); padding: 11px 14px; cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--ink);
}
.game-check:hover { border-color: var(--violet); }
.game-check.checked { border-color: var(--green); background: rgba(57, 255, 136, .07); }
.game-check input { accent-color: var(--green); width: 16px; height: 16px; }
.picker-count { font-size: .8rem; color: var(--dim); margin-top: 10px; text-transform: uppercase; letter-spacing: .06em; }

/* form fields */
label.f { display: block; font-weight: 700; font-size: .78rem; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
input.f, select.f, textarea.f {
  width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 0;
  font-family: inherit; font-size: 1rem; background: var(--panel2); color: var(--ink);
}
input.f:focus, select.f:focus, textarea.f:focus { outline: none; border-color: var(--cyan); }
select.f option { background: var(--panel2); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .f2 { grid-template-columns: 1fr; } }

/* summary sidebar */
.summary { position: sticky; top: 92px; border-color: var(--violet); }
.summary h3 { font-family: 'Press Start 2P', monospace; font-size: .7rem; color: var(--cyan); margin-bottom: 16px; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.sum-line span:first-child { color: var(--dim); }
.sum-line span:last-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0 4px; font-weight: 700; color: #fff; }
.sum-total span:last-child { font-family: 'Press Start 2P', monospace; font-size: .85rem; color: var(--green); }
.sum-deposit { display: flex; justify-content: space-between; color: var(--yellow); font-weight: 700; padding-bottom: 14px; }
.alert { border-radius: 0; padding: 12px 16px; margin: 12px 0; font-size: .9rem; font-weight: 700; }
.alert-err { background: rgba(255, 46, 122, .1); color: var(--pink); border: 2px solid var(--pink); }
.alert-ok { background: rgba(57, 255, 136, .08); color: var(--green); border: 2px solid var(--green); }
.success-box { text-align: center; padding: 70px 24px; }
.success-box .big { font-family: 'Press Start 2P', monospace; font-size: 1.6rem; color: var(--yellow); text-shadow: 0 0 16px rgba(255, 214, 10, .6); margin-bottom: 10px; }
.success-box h2 { font-size: 1.1rem; color: #fff; margin: 18px 0 4px; }
.hp { position: absolute; left: -9999px; }
.small-muted { font-size: .8rem; color: var(--dim); }
