/* ============================================================
   neonprizeclub.com — Canada — Master Stylesheet
   "Arcade night": blue-black, cyan / hot pink / lime
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink-950: #070a14;
  --ink-900: #0b1020;
  --ink-850: #101831;
  --ink-800: #16213f;
  --ink-700: #213058;
  --line: #26355f;
  --line-soft: rgba(255, 62, 165, 0.18);

  --teal: #2bf0ff;
  --violet: #ff3ea5;
  --magenta: #b06bff;
  --gold: #c8ff2e;
  --gold-soft: #e6ff8a;
  --gold-deep: #9fd400;

  --text: #f4f0ff;
  --text-2: #c3bbe3;
  --text-3: #8f87b5;

  --neon-grad: linear-gradient(100deg, var(--teal) 0%, var(--violet) 48%, var(--gold) 100%);

  /* Legacy names used by game pages */
  --color-bg-dark: var(--ink-950);
  --color-bg-deep: var(--ink-900);
  --color-bg-card: var(--ink-850);
  --color-bg-card-hover: var(--ink-800);
  --color-bg-surface: var(--ink-800);
  --color-bg-elevated: var(--ink-700);
  --color-bg-overlay: rgba(7, 10, 20, 0.97);
  --color-gold: var(--gold);
  --color-gold-light: var(--gold-soft);
  --color-gold-dark: var(--gold-deep);
  --color-accent: var(--gold);
  --color-accent-dim: rgba(200, 255, 46, 0.1);
  --color-text-primary: var(--text);
  --color-text-secondary: var(--text-2);
  --color-text-muted: var(--text-3);
  --color-border: var(--line);
  --color-border-gold: rgba(200, 255, 46, 0.4);
  --color-success: #2fd59a;
  --color-danger: #ff4d6d;
  --color-warning: #ffb02e;

  --font-primary: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Space Grotesk', 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  --shadow-sm: 0 4px 14px rgba(2, 4, 12, 0.45);
  --shadow-md: 0 12px 36px rgba(2, 4, 12, 0.55);
  --shadow-lg: 0 28px 70px rgba(2, 4, 12, 0.65);
  --shadow-gold: 0 0 0 1px rgba(200, 255, 46, 0.25), 0 18px 50px rgba(255, 62, 165, 0.18);
  --glow-teal: 0 0 24px rgba(43, 240, 255, 0.35);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(.2, .7, .2, 1);
  --max-width: 1200px;
  --ribbon-h: 32px;
  --header-h: 100px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-primary);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 62, 165, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(43, 240, 255, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fine dot grid, echoes the logo's LED dots */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

#site-content { position: relative; z-index: 1; }

a { color: var(--teal); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold-soft); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 6000;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink-950);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--ink-950); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; color: var(--text-2); }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

.section-header--left { text-align: left; }
.section-header--left p { margin: 0; }

.gold-line {
  width: 72px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 3px;
  background: var(--neon-grad);
  box-shadow: var(--glow-teal);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), background var(--transition-normal), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #1b1030;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 28px rgba(200, 255, 46, 0.28);
}
.btn-primary:hover {
  color: #1b1030;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 36px rgba(200, 255, 46, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--text-3); color: var(--text); background: rgba(255, 255, 255, 0.07); }

.btn-outline-gold {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(43, 240, 255, 0.6);
}
.btn-outline-gold:hover {
  color: var(--ink-950);
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: var(--glow-teal);
}

.btn-danger { background: var(--color-danger); color: #fff; }
.btn-danger:hover { background: #e23a59; color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Compliance ribbon + header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: rgba(7, 10, 20, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 10, 20, 0.96);
  box-shadow: 0 10px 30px rgba(2, 4, 12, 0.5);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--neon-grad);
  opacity: 0.55;
}

.compliance-ribbon {
  height: var(--ribbon-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  background: linear-gradient(90deg, rgba(43, 240, 255, 0.08), rgba(255, 62, 165, 0.12), rgba(200, 255, 46, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  overflow: hidden;
}

.compliance-ribbon span { display: inline-flex; align-items: center; gap: 6px; }
.compliance-ribbon span + span::before,
.compliance-ribbon a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
  margin-right: 16px;
}
.compliance-ribbon strong {
  color: #fff;
  background: var(--color-danger);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
}
.compliance-ribbon a { color: var(--teal); display: inline-flex; align-items: center; }
.compliance-ribbon a:hover { color: var(--gold-soft); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-h) - var(--ribbon-h));
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.site-logo:hover { color: var(--text); }

.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(255, 62, 165, 0.3);
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 38%, var(--gold) 62%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-word span { -webkit-text-fill-color: var(--text); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
  color: var(--text-2);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--ink-950);
  background: var(--teal);
  box-shadow: var(--glow-teal);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.mobile-menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}
.mobile-menu-btn span:nth-child(1) { top: 14px; }
.mobile-menu-btn span:nth-child(2) { top: 21px; }
.mobile-menu-btn span:nth-child(3) { top: 28px; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4999;
  background: var(--color-bg-overlay);
  padding: calc(var(--header-h) + 20px) 20px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 15px 18px;
  color: var(--text-2);
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--ink-800);
  border-color: var(--line);
  color: var(--teal);
}

/* ---------- Age gate ---------- */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(255, 62, 165, 0.28), transparent 70%),
    radial-gradient(600px 400px at 50% 100%, rgba(43, 240, 255, 0.14), transparent 70%),
    var(--ink-950);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
#age-gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.age-gate-inner {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 40px 36px 32px;
  text-align: center;
  background: linear-gradient(170deg, rgba(42, 34, 99, 0.85) 0%, rgba(19, 15, 46, 0.95) 100%);
  border: 1px solid rgba(255, 62, 165, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(255, 62, 165, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.age-gate-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(255, 62, 165, 0.35);
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 30px;
  padding: 0 12px;
  margin: 0 auto 14px;
  background: var(--color-danger);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.age-gate-inner h1 { font-size: 1.6rem; margin-bottom: 12px; }

.age-gate-inner p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.age-gate-note {
  font-size: 0.85rem !important;
  color: var(--text-3) !important;
}

.age-gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.age-gate-buttons .btn { width: 100%; }

.age-gate-inner .disclaimer-mini {
  font-size: 0.78rem;
  color: var(--text-3);
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.age-denied-help {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
}

.hero--inner { padding-bottom: 56px; text-align: center; }

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 380px at 78% 45%, rgba(255, 62, 165, 0.32), transparent 70%),
    radial-gradient(420px 300px at 64% 70%, rgba(43, 240, 255, 0.18), transparent 70%),
    radial-gradient(500px 300px at 92% 20%, rgba(255, 95, 210, 0.12), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
}
.hero-badge b {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #fff;
  background: var(--color-danger);
  padding: 3px 9px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 13em;
  color: #fff;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.4), 0 0 28px rgba(255, 62, 165, 0.45), 0 0 60px rgba(43, 240, 255, 0.18);
}

.hero p.hero-lede {
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 34em;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-fineprint {
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--text-3);
  max-width: 38em;
}

/* The card fan: six game artworks dealt like a hand */
.card-fan {
  position: relative;
  height: 470px;
  isolation: isolate;
}

.card-fan::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 440px;
  height: 440px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--teal), var(--violet), var(--magenta), var(--gold), var(--teal));
  filter: blur(60px);
  opacity: 0.38;
  z-index: -1;
}

.fan-card {
  --r: 0deg;
  --x: 0px;
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 176px;
  height: 250px;
  margin-left: -88px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px rgba(2, 4, 12, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform-origin: 50% 120%;
  transform: translateX(var(--x)) rotate(var(--r));
  transition: transform 0.45s cubic-bezier(.2, .8, .2, 1), box-shadow var(--transition-normal);
  color: var(--text);
}

.fan-card img { width: 100%; height: 100%; object-fit: cover; }

.fan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 10, 20, 0.92) 100%);
}

.fan-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.fan-card::after { opacity: 0; transition: opacity var(--transition-fast); }
.fan-card:hover span, .fan-card:focus-visible span,
.fan-card:hover::after, .fan-card:focus-visible::after { opacity: 1; transform: none; }

.fan-card:nth-child(1) { --r: -24deg; --x: -118px; z-index: 1; }
.fan-card:nth-child(2) { --r: -14deg; --x: -72px;  z-index: 2; }
.fan-card:nth-child(3) { --r: -5deg;  --x: -24px;  z-index: 3; }
.fan-card:nth-child(4) { --r: 5deg;   --x: 24px;   z-index: 4; }
.fan-card:nth-child(5) { --r: 14deg;  --x: 72px;   z-index: 5; }
.fan-card:nth-child(6) { --r: 24deg;  --x: 118px;  z-index: 6; }

.fan-card:hover,
.fan-card:focus-visible {
  z-index: 10;
  transform: translateX(var(--x)) rotate(var(--r)) translateY(-34px) scale(1.04);
  box-shadow: 0 30px 60px rgba(2, 4, 12, 0.7), 0 0 0 2px var(--teal), var(--glow-teal);
  color: var(--text);
}

/* Single orchestrated moment: the hand is dealt on load */
.card-fan.is-dealing .fan-card {
  animation: deal 0.9s cubic-bezier(.2, .8, .2, 1) backwards;
}
.card-fan.is-dealing .fan-card:nth-child(1) { animation-delay: 0.05s; }
.card-fan.is-dealing .fan-card:nth-child(2) { animation-delay: 0.12s; }
.card-fan.is-dealing .fan-card:nth-child(3) { animation-delay: 0.19s; }
.card-fan.is-dealing .fan-card:nth-child(4) { animation-delay: 0.26s; }
.card-fan.is-dealing .fan-card:nth-child(5) { animation-delay: 0.33s; }
.card-fan.is-dealing .fan-card:nth-child(6) { animation-delay: 0.40s; }

@keyframes deal {
  from { transform: translateX(0) translateY(60px) rotate(0deg); opacity: 0; }
  to   { transform: translateX(var(--x)) rotate(var(--r)); opacity: 1; }
}

/* ---------- House rules strip ---------- */
.house-rules {
  position: relative;
  z-index: 2;
  padding: 0 0 24px;
}

.rules-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(42, 34, 99, 0.55), rgba(23, 18, 58, 0.75));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.rules-title {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  padding: 18px 26px;
  background: rgba(43, 240, 255, 0.06);
  border-bottom: 1px solid var(--line);
}
.rules-title h2 { font-size: 1.2rem; line-height: 1.25; }

.rule {
  display: flex;
  gap: 14px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}
.rule:last-child { border-right: none; }

.rule-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--teal);
  background: rgba(43, 240, 255, 0.1);
  border: 1px solid rgba(43, 240, 255, 0.3);
}
.rule-icon svg { width: 20px; height: 20px; }
.rule-icon--age { color: #fff; background: var(--color-danger); border-color: transparent; font: 700 0.78rem var(--font-display); }

.rule h3 { font-family: var(--font-primary); font-size: 0.98rem; font-weight: 800; margin-bottom: 4px; }
.rule p { font-size: 0.86rem; line-height: 1.5; margin: 0; }

/* ---------- Bands & dividers ---------- */
.section--band {
  background: linear-gradient(180deg, rgba(29, 23, 71, 0.55), rgba(19, 15, 46, 0.4));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.surface-divider { display: none; }

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

a.game-card { color: inherit; text-decoration: none; }

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(43, 240, 255, 0.55);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(43, 240, 255, 0.35), 0 0 40px rgba(43, 240, 255, 0.12);
  color: inherit;
}

.game-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-800);
}
.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}
.game-card:hover .game-card-image img { transform: scale(1.06); }
.game-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--ink-850) 100%);
}

.game-kind {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(7, 10, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.game-card-body { padding: 6px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.game-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.game-card-body p { font-size: 0.92rem; margin-bottom: 18px; flex: 1; }

.game-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(43, 240, 255, 0.08);
  border: 1px solid rgba(43, 240, 255, 0.35);
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.game-card:hover .game-tag { background: var(--teal); color: var(--ink-950); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  border: 1px solid var(--line);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-950);
  background: var(--neon-grad);
  box-shadow: var(--glow-teal);
}

.step h3 { font-family: var(--font-primary); font-weight: 800; font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; margin: 0; }

/* ---------- Responsible play band (home) ---------- */
.rg-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}

.rg-copy h2 { margin-bottom: 14px; }
.rg-copy > p { font-size: 1.04rem; max-width: 36em; }

.rg-list { margin: 24px 0 28px; display: grid; gap: 14px; }
.rg-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.97rem;
}
.rg-list li strong { color: var(--text); }
.rg-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }

.helpline-card {
  padding: 30px 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(43, 240, 255, 0.16), transparent 70%),
    linear-gradient(170deg, var(--ink-700), var(--ink-850));
  border: 1px solid rgba(43, 240, 255, 0.3);
  box-shadow: var(--shadow-md);
}
.helpline-card h3 { font-family: var(--font-primary); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.helpline-card p { font-size: 0.93rem; }
.helpline-number {
  display: block;
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.helpline-number:hover { color: var(--gold-soft); }
.helpline-meta { font-size: 0.85rem; color: var(--text-3); margin-bottom: 18px; }
.helpline-links { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.helpline-links a { font-weight: 700; font-size: 0.93rem; }

/* ---------- Features (kept for other pages) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: left;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: rgba(43, 240, 255, 0.08);
  border: 1px solid rgba(43, 240, 255, 0.3);
}
.feature-card h3 { font-family: var(--font-primary); font-weight: 800; font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Disclaimer block ---------- */
.disclaimer-block {
  position: relative;
  margin: 40px 0;
  padding: 24px 28px 24px 30px;
  border-radius: var(--radius-md);
  background: rgba(200, 255, 46, 0.05);
  border: 1px solid rgba(200, 255, 46, 0.28);
  overflow: hidden;
}
.disclaimer-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--violet));
}
.disclaimer-block h4 { font-family: var(--font-primary); font-weight: 800; color: var(--gold); margin-bottom: 8px; font-size: 1rem; }
.disclaimer-block p { font-size: 0.92rem; line-height: 1.75; margin-bottom: 0; }

/* ---------- Virtual store ---------- */
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 30px 22px 22px;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.store-card:hover { transform: translateY(-4px); border-color: rgba(200, 255, 46, 0.45); box-shadow: var(--shadow-gold); }

.store-card.featured { border-color: rgba(255, 62, 165, 0.6); box-shadow: 0 0 0 1px rgba(255, 62, 165, 0.35), 0 18px 50px rgba(255, 62, 165, 0.2); }

.store-coin-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 227, 154, 0.35), rgba(200, 255, 46, 0.06) 70%);
  border: 1px solid rgba(200, 255, 46, 0.35);
  font-size: 2.1rem;
}
.store-coin-icon svg { width: 52px; height: 52px; }

.store-card h3 { font-family: var(--font-primary); font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.store-card .coin-amount { color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.store-card .coin-price { font-size: 1.75rem; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.store-card .coin-note { font-size: 0.82rem; color: var(--text-3); margin-bottom: 18px; flex: 1; }
.store-card .btn { width: 100%; }
.store-card .store-fine { display: block; margin-top: 10px; font-size: 0.74rem; color: var(--text-3); }

.store-disclosure {
  margin-top: 28px;
  padding: 18px 22px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.store-disclosure p { font-size: 0.88rem; color: var(--text-2); margin-bottom: 0; }

.free-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 32px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(43, 240, 255, 0.1), rgba(255, 62, 165, 0.08));
  border: 1px solid rgba(43, 240, 255, 0.35);
}
.free-callout svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--teal); }
.free-callout p { margin: 0; color: var(--text); font-size: 0.98rem; }
.free-callout strong { color: var(--teal); }

/* ---------- Inner pages ---------- */
.legal-page {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 88px;
  min-height: 100vh;
}

.page-intro-card {
  position: relative;
  margin-bottom: 48px;
  padding: 48px 36px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 220px at 50% -20%, rgba(255, 62, 165, 0.28), transparent 70%),
    linear-gradient(170deg, rgba(42, 34, 99, 0.6), rgba(23, 18, 58, 0.8));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.page-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon-grad);
}
.page-intro-card .section-header { margin-bottom: 0; }
.page-intro-card h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }

.legal-intro { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-intro .legal-date { margin-bottom: 0; }

.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal-content .legal-date { color: var(--text-3); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h2 {
  font-size: 1.35rem;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-content h3 { font-family: var(--font-primary); font-weight: 800; font-size: 1.1rem; margin: 28px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }
.legal-content strong { color: var(--text); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 18px; }
.legal-content ul li { list-style: none; position: relative; }
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--teal);
}
.legal-content ol li { list-style: decimal; }
.legal-content ol li::marker { color: var(--teal); font-weight: 700; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content a.btn { text-decoration: none; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--ink-950);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font: 500 1rem var(--font-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43, 240, 255, 0.18); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ---------- Self-exclusion ---------- */
.exclusion-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 40px 0; }
.exclusion-step {
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  border: 1px solid var(--line);
}
.step-number {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-950);
  background: var(--neon-grad);
}

/* ---------- Info cards ---------- */
.info-card {
  padding: 30px;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  background: var(--ink-850);
  border: 1px solid var(--line);
  transition: border-color var(--transition-fast);
}
.info-card:hover { border-color: rgba(43, 240, 255, 0.35); }
.info-card h3 { font-family: var(--font-primary); font-weight: 800; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  padding-top: 64px;
  background: linear-gradient(180deg, var(--ink-900), #0a0819);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--neon-grad);
  opacity: 0.6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.footer-brand p { font-size: 0.92rem; margin-top: 16px; max-width: 30em; }
.footer-brand .footer-contact { font-size: 0.88rem; color: var(--text-3); }

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 0.92rem; color: var(--text-2); }
.footer-col a:hover { color: var(--teal); }

.footer-responsible {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 24px 40px;
  border-top: 1px solid var(--line);
}

.responsible-header { text-align: center; margin-bottom: 26px; }
.responsible-header h2,
.responsible-header h3 { font-size: 1.25rem; margin-bottom: 8px; }
.responsible-header p { font-size: 0.95rem; max-width: 640px; margin: 0 auto; }

.responsible-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.badge-18plus {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-danger);
  border: 3px solid #fff;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.partner-logo,
.rgc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.partner-logo:hover,
.rgc-logo:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.partner-logo img { height: 34px; width: auto; max-width: none; }

.partner-logo.connexontario-logo { background: #0a0a0a; border: 1px solid #333; }

.rgc-logo-text { font-size: 0.92rem; font-weight: 800; color: #0b4f2e; line-height: 1.2; text-align: left; }
.rgc-logo-text span { display: block; font-weight: 500; font-size: 0.74rem; color: #555; }

.helpline-tile { flex-direction: column; text-align: center; line-height: 1.25; }
.helpline-tile b { color: #1a1a1a; font-size: 0.86rem; }
.helpline-tile span { color: #444; font-size: 0.8rem; font-weight: 700; }

.footer-disclaimer {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 26px;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.75;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.footer-disclaimer p { font-size: 0.86rem; color: var(--text-2); margin-bottom: 10px; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: var(--text); }

.footer-operator {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-3);
  border-top: 1px solid var(--line);
}
.footer-operator strong { color: var(--text-2); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-3);
  border-top: 1px solid var(--line);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-3); font-size: 0.82rem; }
.footer-bottom-links a:hover { color: var(--teal); }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  display: none;
  border-radius: var(--radius-lg);
  background: rgba(23, 18, 58, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
#cookie-banner.visible { display: block; animation: rise 0.35s ease both; }

.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { flex: 1; min-width: 260px; margin: 0; font-size: 0.9rem; }
.cookie-inner p a { text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Play-session tools (reality check + free refill) ---------- */
.session-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  width: min(380px, calc(100vw - 32px));
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--ink-700), var(--ink-850));
  border: 1px solid rgba(43, 240, 255, 0.45);
  box-shadow: var(--shadow-lg), var(--glow-teal);
  animation: rise 0.35s ease both;
}
.session-toast h2 { font-family: var(--font-primary); font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.session-toast p { font-size: 0.9rem; margin-bottom: 14px; }
.session-toast .toast-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.refill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 8px 14px;
  font: 700 0.82rem var(--font-primary);
  color: var(--teal);
  background: rgba(43, 240, 255, 0.08);
  border: 1px solid rgba(43, 240, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
  vertical-align: middle;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.refill-btn:hover:not(:disabled) { background: var(--teal); color: var(--ink-950); }
.refill-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.coin-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* Game pages: clear the fixed header */
body .game-page { padding-top: calc(var(--header-h) + 28px); }

.game-notice {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.7;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.game-notice p { margin: 0; font-size: 0.84rem; color: var(--text-2); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Legacy helpers ---------- */
.fade-in-up { animation: rise 0.6s ease both; }
.hero-cta .btn { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rules-panel { grid-template-columns: repeat(2, 1fr); }
  .rule:nth-child(3) { border-right: none; }
  .rule:nth-child(2), .rule:nth-child(3) { border-bottom: 1px solid var(--line); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-content { text-align: center; }
  .hero p.hero-lede, .hero-fineprint { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .card-fan { height: 360px; }
  .fan-card { width: 150px; height: 214px; margin-left: -75px; }
  .fan-card:nth-child(1) { --x: -120px; }
  .fan-card:nth-child(2) { --x: -74px; }
  .fan-card:nth-child(3) { --x: -24px; }
  .fan-card:nth-child(4) { --x: 24px; }
  .fan-card:nth-child(5) { --x: 74px; }
  .fan-card:nth-child(6) { --x: 120px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .rg-band { grid-template-columns: 1fr; }
  .nav-links a { padding: 8px 10px; font-size: 0.88rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 96px; --ribbon-h: 28px; }
  .compliance-ribbon { font-size: 0.72rem; gap: 14px; }
  .compliance-ribbon span:nth-child(3) { display: none; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-grid { padding: 0 16px; }
  .card-fan { height: 280px; }
  .card-fan::before { width: 300px; height: 300px; }
  .fan-card { width: 112px; height: 160px; margin-left: -56px; border-radius: 14px; }
  .fan-card span { font-size: 0.68rem; left: 10px; bottom: 8px; }
  .fan-card:nth-child(1) { --x: -96px; --r: -26deg; }
  .fan-card:nth-child(2) { --x: -58px; --r: -16deg; }
  .fan-card:nth-child(3) { --x: -19px; --r: -5deg; }
  .fan-card:nth-child(4) { --x: 19px;  --r: 5deg; }
  .fan-card:nth-child(5) { --x: 58px;  --r: 16deg; }
  .fan-card:nth-child(6) { --x: 96px;  --r: 26deg; }
  .rules-panel { grid-template-columns: 1fr; }
  .rule { border-right: none; border-bottom: 1px solid var(--line); }
  .rule:last-child { border-bottom: none; }
  .games-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-buttons .btn { flex: 1; }
  .age-gate-inner { padding: 30px 20px 24px; }
  .age-gate-buttons { flex-direction: column; }
  .page-intro-card { padding: 36px 20px 30px; }
  .free-callout { flex-direction: column; text-align: center; }
  .compliance-ribbon span:nth-child(2) { display: none; }
  .logo-word { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-950); }
::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 6px; border: 2px solid var(--ink-950); }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* ---- Polish: motion, glow and footer address ---- */
.footer-operator address { display: inline; font-style: normal; }
.hero__bg { animation: heroGlow 14s ease-in-out infinite alternate; }
@keyframes heroGlow { from { filter: hue-rotate(0deg) brightness(1); } to { filter: hue-rotate(18deg) brightness(1.12); } }
.hero-content > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }
.hero-content > *:nth-child(5) { animation-delay: .32s; }
.fan-card, .game-card, .step, .rule { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.fan-card:hover { transform: translateY(-10px) scale(1.04); z-index: 5; box-shadow: 0 22px 50px rgba(0,0,0,.5), 0 0 30px rgba(255,200,87,.25); }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 34px rgba(255,200,87,.2); border-color: rgba(255,200,87,.5); }
.game-card-image { overflow: hidden; }
.game-card-image img { transition: transform .6s ease; }
.game-card:hover .game-card-image img { transform: scale(1.07); }
.step:hover, .rule:hover { transform: translateY(-4px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-primary:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero-content > * { animation: none; }
  .fan-card:hover, .game-card:hover, .step:hover, .rule:hover { transform: none; }
}

/* ---- Arcade night redesign: sharp edges, grid backdrop, hard shadows ---- */
body { background-image: linear-gradient(rgba(43,240,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(43,240,255,.04) 1px, transparent 1px), radial-gradient(1000px 500px at 85% -5%, rgba(255,62,165,.16), transparent 60%); background-size: 48px 48px, 48px 48px, auto; background-attachment: fixed; }
h1, h2 { text-transform: uppercase; letter-spacing: -0.01em; }
h1 em, h1 span { font-style: normal; }
.btn { border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-left: 32px; padding-right: 32px; }
.btn-sm { padding-left: 22px; padding-right: 22px; }
.btn-primary { box-shadow: 0 0 22px rgba(200,255,46,.35); }
.btn-outline-gold, .btn-secondary { clip-path: none; border-radius: 4px; }
.section-header { text-align: left; border-left: 4px solid var(--gold); padding-left: 18px; }
.section-header p { margin: 0; }
.hero-badge { border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.hero h1 { text-shadow: 0 0 40px rgba(255,62,165,.35); }
.game-card, .step, .rule, .rg-band, .helpline-card, .rules-panel { border-radius: 6px; }
.game-card { box-shadow: 6px 6px 0 rgba(255,62,165,.35); }
.game-card:hover { box-shadow: 10px 10px 0 var(--violet); border-color: var(--violet); }
.game-tag { border-radius: 2px; text-transform: uppercase; letter-spacing: .08em; }
.compliance-ribbon { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.site-footer { border-top: 3px solid var(--violet); }
