/* Press Start Mobile Arcade — public styles */
:root {
  --purple: #6c2bd9;
  --purple-dark: #4c1d95;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --yellow: #facc15;
  --ink: #1e1b31;
  --muted: #6b6885;
  --bg: #faf9ff;
  --card: #ffffff;
  --line: #e9e6f7;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(76, 29, 149, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; line-height: 1.2; }
img { max-width: 100%; }
a { color: var(--purple); }

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

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Fredoka', sans-serif; font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; font-size: 1.1rem;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--purple); }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem;
  padding: 13px 28px; border-radius: 999px; transition: transform .12s, box-shadow .12s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff;
  box-shadow: 0 6px 18px rgba(236, 72, 153, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(236, 72, 153, .45); }
.btn-ghost { background: #fff; color: var(--purple); border: 2px solid var(--purple); }
.btn-ghost:hover { background: var(--purple); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(6,182,212,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(236,72,153,.15), transparent 60%),
    linear-gradient(160deg, #f6f2ff 0%, #fdf3fb 100%);
  padding: 84px 0 72px;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700;
  background: linear-gradient(120deg, var(--purple-dark), var(--pink) 65%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.hero p.lead { font-size: 1.25rem; color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { margin-top: 42px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-weight: 800; font-size: .9rem; box-shadow: var(--shadow);
}

/* ---------- section headers ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head .kicker {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 8px;
}
.sec-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.sec-head p { color: var(--muted); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--purple)); margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; text-align: center; }
.price-card.popular { border: 2px solid var(--pink); transform: scale(1.02); }
.pop-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
}
.price-card .amount { font-family: 'Fredoka', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--purple-dark); }
.price-card .per { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.price-card ul { list-style: none; text-align: left; margin: 14px 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 30px; position: relative; color: var(--ink); font-size: .95rem; }
.price-card li::before {
  content: '✓'; position: absolute; left: 4px; top: 7px;
  color: var(--cyan); font-weight: 900;
}
.addon-note {
  margin-top: 26px; text-align: center; background: #fffbe8; border: 1px solid #f5e6a4;
  border-radius: var(--radius); padding: 18px 22px; font-size: .98rem;
}

/* ---------- games ---------- */
.game-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 3px 12px rgba(76,29,149,.06);
}
.game-ico {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1.2rem; background: linear-gradient(135deg, #ede9fe, #fce7f3);
}
.game-tile .g-name { font-weight: 800; font-size: .95rem; line-height: 1.3; }
.game-tile .g-meta { color: var(--muted); font-size: .8rem; }

/* ---------- audience strip ---------- */
.audience { background: linear-gradient(135deg, var(--purple-dark), var(--purple) 55%, var(--pink)); color: #fff; }
.audience .sec-head h2, .audience .sec-head p { color: #fff; }
.audience .sec-head .kicker { color: var(--yellow); }
.audience .card { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); box-shadow: none; }
.audience .card h3 { color: #fff; }
.audience .card p { color: rgba(255,255,255,.85); }
.aud-emoji { font-size: 1.9rem; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #cfcbe8; padding: 44px 0; font-size: .95rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #fff; }
footer .logo { color: #fff; }

/* ---------- booking page ---------- */
.book-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding: 40px 0 80px; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } }
.book-step { margin-bottom: 26px; }
.book-step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.2rem; }
.book-step h3 .n {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; flex: 0 0 32px;
}

/* calendar */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: 'Fredoka', sans-serif; font-size: 1.05rem; }
.cal-nav { background: #fff; border: 1px solid var(--line); border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: .75rem; font-weight: 800; color: var(--muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; cursor: pointer;
}
.cal-day.off { visibility: hidden; }
.cal-day.past, .cal-day.blocked, .cal-day.booked { background: #f1f0f7; color: #b6b3cc; cursor: not-allowed; text-decoration: line-through; }
.cal-day.booked { text-decoration: none; }
.cal-day.available:hover, .cal-day.partial:hover { border-color: var(--purple); }
.cal-day.selected { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; border-color: transparent; }
.cal-legend { display: flex; gap: 16px; margin-top: 10px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* option cards */
.opt-row { display: grid; gap: 12px; }
.opt {
  border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer;
  background: #fff; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.opt:hover { border-color: #c8bdf0; }
.opt.selected { border-color: var(--purple); background: #f6f2ff; }
.opt .o-title { font-weight: 800; }
.opt .o-sub { color: var(--muted); font-size: .85rem; }
.opt .o-price { font-family: 'Fredoka', sans-serif; font-weight: 700; color: var(--purple-dark); 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: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; font-size: .9rem; font-weight: 700; }
.game-check.checked { border-color: var(--cyan); background: #effcff; }
.game-check input { accent-color: var(--cyan); }
.picker-count { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* form fields */
label.f { display: block; font-weight: 800; font-size: .9rem; margin: 14px 0 6px; }
input.f, select.f, textarea.f {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: #fff;
}
input.f:focus, select.f:focus, textarea.f:focus { outline: none; border-color: var(--purple); }
.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: 88px; }
.summary h3 { margin-bottom: 14px; }
.sum-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: .93rem; border-bottom: 1px dashed var(--line); }
.sum-line span:first-child { color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; padding: 12px 0 4px; font-weight: 900; font-size: 1.1rem; }
.sum-deposit { display: flex; justify-content: space-between; color: var(--purple-dark); font-weight: 800; padding-bottom: 12px; }
.alert { border-radius: 12px; padding: 12px 16px; margin: 12px 0; font-size: .92rem; font-weight: 700; }
.alert-err { background: #fdecec; color: #b91c1c; border: 1px solid #f5c2c2; }
.alert-ok { background: #eafaf1; color: #067647; border: 1px solid #b7e5cd; }
.success-box { text-align: center; padding: 60px 24px; }
.success-box .big { font-size: 3rem; }
.hp { position: absolute; left: -9999px; }
.small-muted { font-size: .82rem; color: var(--muted); }
