/* =========================================================
   Wowpromo — Retro Arcade Revival
   Global stylesheet
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --bg-primary: #11111B;
  --bg-secondary: #1A1A2E;
  --surface: #252541;
  --text-primary: #F5F5F7;
  --text-secondary: #B5BDD1;

  --accent-blue: #45B8FF;
  --accent-pink: #FF4DA6;
  --accent-orange: #FF9F1C;
  --accent-mint: #52E3A4;
  --accent-purple: #7B61FF;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.35);

  --font-display: "Segoe UI", "Verdana", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-height: 84px;
  --container-w: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-secondary); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- CRT / scanline global background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  animation: scanline-drift 10s linear infinite;
}

@keyframes scanline-drift {
  0% { background-position: 0 0; }
  100% { background-position: 0 40px; }
}

.crt-flicker {
  animation: crt-flicker 6s infinite;
}
@keyframes crt-flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.94; }
  98% { opacity: 1; }
  99% { opacity: 0.97; }
}

/* ---------- Decorative geometry ---------- */
.deco-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 184, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 184, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  z-index: 0;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.deco-triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.deco-checker {
  position: absolute;
  background-image:
    linear-gradient(45deg, var(--surface) 25%, transparent 25%),
    linear-gradient(-45deg, var(--surface) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--surface) 75%),
    linear-gradient(-45deg, transparent 75%, var(--surface) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout utilities ---------- */
.panel--narrow { max-width: 820px; margin: 0 auto; }
.grid--center-gap-lg { align-items: center; gap: 56px; }
.grid--start-gap-lg { align-items: flex-start; gap: 56px; }
.deco-checker--corner-sm { width: 220px; height: 220px; top: 40px; right: 0; }
.panel__note { color: var(--text-primary); font-size: 1.05rem; margin: 0; }
.panel--center { text-align: center; }
.prop--coin-alt { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--accent-orange); top: 16%; left: 8%; }
.package-card--neutral-border { border-color: var(--surface); }
.package-card__stripe--purple-pink { background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink)); }
.contact-list li { padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.contact-list li:last-child { border-bottom: none; }
.contact-list a { color: var(--accent-blue); }
.contact-list a:hover { color: var(--accent-mint); }

.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; color: var(--accent-blue); font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { margin: 0 0 1em; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 8px; color: var(--text-secondary); }
.legal-content a { color: var(--accent-mint); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-blue);
  color: #08131c;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 128px;
  display: flex;
  align-items: center;
  background: rgba(17, 17, 27, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--accent-purple);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 128px;
  height: 128px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-blue);
  background: var(--surface);
  object-fit: cover;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.brand__name span { color: var(--accent-pink); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text-primary);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.nav__link.is-active {
  color: var(--bg-primary);
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-blue);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger__bar {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform .25s ease, opacity .25s ease;
}
.burger.is-open .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__bar:nth-child(2) { opacity: 0; }
.burger.is-open .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: var(--shadow-hard);
}
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 rgba(0,0,0,0.45); }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-pink), #d63b85);
  color: #fff;
  border-color: #ffb3d9;
}
.btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 0 4px rgba(255, 77, 166, 0.25), var(--shadow-hard);
  animation: btn-bounce .4s ease;
}
.btn--secondary {
  background: linear-gradient(180deg, var(--accent-blue), #1c8fd6);
  color: #06131d;
  border-color: #bfe8ff;
}
.btn--secondary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 0 4px rgba(69, 184, 255, 0.25), var(--shadow-hard);
  animation: btn-bounce .4s ease;
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--accent-mint);
}
.btn--outline:hover {
  background: rgba(82, 227, 164, 0.12);
  box-shadow: 0 0 0 4px rgba(82, 227, 164, 0.2);
}
.btn--block { width: 100%; }

@keyframes btn-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* =========================================================
   LABELS / HEADINGS
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--blue   { color: var(--accent-blue);   background: rgba(69, 184, 255, 0.12); border: 1px solid rgba(69,184,255,0.4); }
.eyebrow--pink   { color: var(--accent-pink);   background: rgba(255, 77, 166, 0.12); border: 1px solid rgba(255,77,166,0.4); }
.eyebrow--orange { color: var(--accent-orange); background: rgba(255, 159, 28, 0.12); border: 1px solid rgba(255,159,28,0.4); }
.eyebrow--mint   { color: var(--accent-mint);   background: rgba(82, 227, 164, 0.12); border: 1px solid rgba(82,227,164,0.4); }
.eyebrow--purple { color: var(--accent-purple); background: rgba(123, 97, 255, 0.12); border: 1px solid rgba(123,97,255,0.4); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.section--alt { background: var(--bg-secondary); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(123, 97, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(69, 184, 255, 0.16), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255, 77, 166, 0.12), transparent 50%),
    var(--bg-primary);
  border-bottom: 4px double var(--accent-purple);
}
.hero__frame {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 70px auto;
  text-align: center;
  padding: 56px 40px;
  background: var(--surface);
  border: 3px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), inset 0 0 0 6px rgba(69, 184, 255, 0.08);
}
.hero__frame::before,
.hero__frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-orange);
  top: 14px;
}
.hero__frame::before { left: 14px; }
.hero__frame::after { right: 14px; }

.hero__logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  border: 3px solid var(--accent-pink);
  background: var(--bg-secondary);
  object-fit: cover;
}
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}
.hero__title .hl { color: var(--accent-orange); }
.hero__subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-mint);
  color: var(--accent-mint);
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

/* Hero decorative arcade props */
.hero-props { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.prop {
  position: absolute;
  opacity: 0.5;
}
.prop--joystick {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 4px solid var(--accent-purple);
  top: 12%; left: 6%;
}
.prop--dpad {
  width: 46px; height: 46px;
  border: 3px solid var(--accent-blue);
  top: 70%; left: 10%;
  transform: rotate(45deg);
}
.prop--abxy {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  gap: 8px;
  top: 18%; right: 8%;
}
.prop--abxy span {
  width: 22px; height: 22px; border-radius: 50%;
}
.prop--abxy span:nth-child(1) { background: var(--accent-pink); }
.prop--abxy span:nth-child(2) { background: var(--accent-blue); }
.prop--abxy span:nth-child(3) { background: var(--accent-orange); }
.prop--abxy span:nth-child(4) { background: var(--accent-mint); }
.prop--coin {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--accent-orange);
  bottom: 14%; right: 10%;
}
.hero-counter {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent-mint);
  border: 1px solid rgba(82,227,164,0.4);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(82,227,164,0.06);
}
.hero-counter--score { top: 8%; left: 50%; transform: translateX(-50%); }
.hero-counter--level { bottom: 6%; left: 24%; }
.hero-counter--ready { bottom: 6%; right: 24%; }

/* Callout panel (offline disclaimer) */
.callout {
  position: relative;
  z-index: 1;
  margin: 56px auto 0;
  max-width: 820px;
  padding: 28px 32px;
  background: var(--surface);
  border-left: 6px solid var(--accent-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  transform: rotate(-1deg);
}
.callout h3 {
  color: var(--accent-orange);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.callout p { margin-bottom: 0; color: var(--text-primary); }

/* =========================================================
   PANELS / CARDS (arcade cabinet look)
   ========================================================= */
.panel {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 245, 247, 0.08);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.panel--bolts::after,
.panel--bolts::before { display: none; }
.panel--bolts .bolt {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6, #0006);
  border: 1px solid rgba(0,0,0,0.4);
}
.panel--bolts .bolt:nth-child(1) { top: 10px; left: 10px; }
.panel--bolts .bolt:nth-child(2) { top: 10px; right: 10px; }
.panel--bolts .bolt:nth-child(3) { bottom: 10px; left: 10px; }
.panel--bolts .bolt:nth-child(4) { bottom: 10px; right: 10px; }

.panel--tilt-l { transform: rotate(-2deg); }
.panel--tilt-r { transform: rotate(2deg); }

.panel--top-bar { border-top: 10px solid var(--accent-pink); }
.panel--top-bar.top-blue   { border-top-color: var(--accent-blue); }
.panel--top-bar.top-orange { border-top-color: var(--accent-orange); }
.panel--top-bar.top-mint   { border-top-color: var(--accent-mint); }
.panel--top-bar.top-purple { border-top-color: var(--accent-purple); }

.panel--cut-corner {
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.panel--double {
  border: 3px solid var(--accent-mint);
  box-shadow: 0 0 0 6px rgba(82,227,164,0.15), var(--shadow-soft);
}

.big-number {
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(245,245,247,0.05);
  line-height: 1;
  pointer-events: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   GRID UTILITIES
   ========================================================= */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* =========================================================
   ABOUT / FEATURE CARDS
   ========================================================= */
.feature-card {
  background: var(--bg-secondary);
  border: 2px solid rgba(69,184,255,0.35);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--accent-blue); }
.feature-card__icon {
  width: 52px; height: 52px;
  margin-bottom: 16px;
  color: var(--accent-mint);
}
.feature-card h3 { font-size: 1.15rem; }

.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--accent-purple);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* =========================================================
   PACKAGES (game box cards)
   ========================================================= */
.package-card {
  position: relative;
  background: var(--bg-secondary);
  border: 3px solid var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-hard);
}
.package-card__stripe {
  height: 14px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
}
.package-card.top-blue .package-card__stripe { background: linear-gradient(90deg, var(--accent-blue), var(--accent-mint)); }
.package-card.top-orange .package-card__stripe { background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink)); }
.package-card.top-mint .package-card__stripe { background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue)); }

.package-card__body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.package-card__name { font-size: 1.4rem; margin-bottom: 6px; }
.package-card__desc { font-size: 0.92rem; }
.package-card__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin: 12px 0 20px;
}
.package-card__price span { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.package-card__list { margin-bottom: 24px; flex: 1; }
.package-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.package-card__list li:last-child { border-bottom: none; }
.package-card__list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent-mint); margin-top: 2px; }

.package-card--featured {
  border-color: var(--accent-orange);
  transform: scale(1.03);
}
.package-card--featured .package-card__ribbon {
  position: absolute;
  top: 18px;
  right: -34px;
  background: var(--accent-orange);
  color: #1a1206;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(38deg);
  box-shadow: 0 3px 6px rgba(0,0,0,0.35);
}

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 2px solid var(--surface); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--bg-secondary);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.94rem;
}
.compare-table thead th {
  background: var(--surface);
  color: var(--accent-blue);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}
.compare-table tbody th { color: var(--text-primary); font-weight: 700; }
.compare-table tbody tr:hover { background: rgba(69,184,255,0.06); }

/* =========================================================
   STATS (scoreboard)
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-tile {
  background: var(--bg-secondary);
  border: 2px solid var(--accent-purple);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}
.stat-tile__value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-mint);
  text-shadow: 0 0 14px rgba(82,227,164,0.4);
}
.stat-tile__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-panel {
  background: var(--bg-secondary);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(82,227,164,0.18);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-error {
  display: none;
  color: var(--accent-pink);
  font-size: 0.8rem;
  margin-top: 6px;
}
.form-row.has-error .form-control { border-color: var(--accent-pink); }
.form-row.has-error .form-error { display: block; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 14, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--surface);
  border: 3px solid var(--accent-mint);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 420px;
  text-align: center;
  transform: scale(0.9);
  transition: transform .25s ease;
  box-shadow: var(--shadow-soft);
}
.modal-overlay.is-open .modal-box { transform: scale(1); }
.modal-box__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  color: var(--accent-mint);
}
.modal-box h3 { font-size: 1.3rem; margin-bottom: 12px; }
.modal-close {
  margin-top: 20px;
}

/* =========================================================
   ANCHOR NAV (Game page)
   ========================================================= */
.anchor-nav {
  position: sticky;
  top: calc(var(--header-height) + 1px);
  z-index: 50;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--accent-purple);
  overflow-x: auto;
}
.anchor-nav__list {
  display: flex;
  gap: 6px;
  padding: 12px 24px;
  min-width: max-content;
}
.anchor-nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.14);
  white-space: nowrap;
  transition: all .2s ease;
}
.anchor-nav__link:hover, .anchor-nav__link.is-active {
  color: var(--bg-primary);
  background: var(--accent-mint);
  border-color: var(--accent-mint);
}

/* Game blocks */
.game-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.game-block:last-child { border-bottom: none; }
.game-block__rules { margin-top: 16px; }
.game-block__rules li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.game-block__rules li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--accent-orange);
}
.game-block__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 6px solid var(--accent-purple);
  padding: 64px 0 28px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-blue) 0 40px,
    var(--accent-pink) 40px 80px,
    var(--accent-orange) 80px 120px,
    var(--accent-mint) 120px 160px
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-mint); }
.footer-knobs {
  display: flex;
  gap: 12px;
  margin: 28px 0 8px;
  position: relative;
  z-index: 1;
}
.footer-knob {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.25);
}
.footer-knob--blue   { background: var(--accent-blue); }
.footer-knob--pink   { background: var(--accent-pink); }
.footer-knob--orange { background: var(--accent-orange); }
.footer-knob--mint   { background: var(--accent-mint); }
.footer-knob--purple { background: var(--accent-purple); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}
.footer-model {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: rgba(245,245,247,0.3);
  font-size: 0.72rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .game-block { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .nav.is-mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 3px solid var(--accent-purple);
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    animation: menu-drop .3s ease;
  }
  .nav.is-mobile-open .nav__list { flex-direction: column; align-items: stretch; }
  .nav.is-mobile-open .nav__link { text-align: center; }
  @keyframes menu-drop {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__frame { padding: 40px 22px; }
  .section { padding: 64px 0; }
  .package-card--featured { transform: none; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 3px solid var(--accent-orange);
  padding: 20px 24px;
  z-index: 200;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(110%);
  transition: transform .4s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner__content {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-banner__text {
  margin: 0;
  flex: 1 1 260px;
  font-size: 0.92rem;
}
.cookie-banner__text a {
  color: var(--accent-mint);
  text-decoration: underline;
}
.cookie-banner__text a:hover { color: var(--accent-blue); }
.cookie-banner__btn { flex: 0 0 auto; }
@media (max-width: 720px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner__text { text-align: center; }
}
