/* ============================================================
   spincelebratehub.com — United Kingdom — Master Stylesheet
   "Festival Bento": light cream canvas, chunky ink outlines,
   offset "pop" shadows, confetti colour, bento-grid layouts
   ============================================================ */

:root {
  --cream: #fff8ef;
  --paper: #ffffff;
  --sand: #fcefdc;
  --ink: #1d1a2f;
  --ink-2: #47425c;
  --ink-3: #6a6580;
  --line-soft: #eadfce;

  --coral: #ff5b45;
  --sun: #ffc233;
  --teal: #11a39c;
  --berry: #d6336c;
  --sky: #5b8def;

  --bw: 2.5px;
  --pop: 4px 4px 0 var(--ink);
  --pop-md: 6px 6px 0 var(--ink);
  --pop-lg: 10px 10px 0 var(--ink);

  /* Legacy names: used only inside the dark game stage */
  --color-bg-dark: #14121f;
  --color-bg-deep: #1d1a2f;
  --color-bg-card: #2a2640;
  --color-bg-card-hover: #343050;
  --color-bg-surface: #2a2640;
  --color-bg-elevated: #3a3557;
  --color-bg-overlay: rgba(29, 26, 47, 0.97);
  --color-gold: #ffc233;
  --color-gold-light: #ffe08c;
  --color-gold-dark: #e09a00;
  --color-accent: #ffc233;
  --color-accent-dim: rgba(255, 194, 51, 0.12);
  --color-text-primary: #fff8ef;
  --color-text-secondary: #ddd6ea;
  --color-text-muted: #a9a2bd;
  --color-border: #474163;
  --color-border-gold: rgba(255, 194, 51, 0.45);
  --color-success: #2fcf8f;
  --color-danger: #ff5b45;
  --color-warning: #ffb02e;

  --font-primary: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: var(--pop);
  --shadow-md: var(--pop-md);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 0 0 2px #ffc233, 0 16px 40px rgba(255, 194, 51, 0.25);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(.2, .8, .2, 1);
  --max-width: 1200px;
  --ribbon-h: 34px;
  --header-h: 124px;
}

/* ---------- 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) + 12px); }

body {
  font-family: var(--font-primary);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 91, 69, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 60%, rgba(17, 163, 156, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 45% 85%, rgba(255, 194, 51, 0.3) 0 3px, transparent 4px),
    radial-gradient(circle at 85% 15%, rgba(91, 141, 239, 0.16) 0 3px, transparent 4px);
  background-size: 220px 220px, 260px 260px, 240px 240px, 300px 300px;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#site-content { position: relative; }

a { color: var(--berry); text-decoration: none; font-weight: 600; transition: color var(--transition-fast); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; color: var(--ink-2); }
.text-gold { color: var(--coral); }
.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--tight { padding-top: 40px; }
.section--band { background: var(--sand); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.surface-divider { display: none; }

.section-header { margin-bottom: 48px; max-width: 720px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.1rem; margin: 0; }
.section-header--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; }
.section-header--left { text-align: left; }
.text-center .section-header, .section-header.text-center { margin-left: auto; margin-right: auto; }

.gold-line { width: 84px; height: 10px; margin: 22px 0 0; border: var(--bw) solid var(--ink); border-radius: 999px; background: repeating-linear-gradient(90deg, var(--coral) 0 14px, var(--sun) 14px 28px, var(--teal) 28px 42px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--pop);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--sun); }
.btn-secondary { background: var(--paper); }
.btn-outline-gold { background: transparent; }
.btn-outline-gold:hover { background: var(--paper); }
.btn-danger { background: var(--coral); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.06rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: var(--pop); }

/* ---------- Header: ticker + floating pill ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(255, 248, 239, 0.94) 70%, rgba(255, 248, 239, 0));
  padding-bottom: 12px;
}

.compliance-ribbon {
  height: var(--ribbon-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.ticker { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.compliance-ribbon:hover .ticker { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.ticker-group > * { display: inline-flex; align-items: center; gap: 8px; }
.ticker-group > * + *::before, .ticker-group > :first-child::before { content: '\2726'; color: var(--sun); margin-right: 22px; }
.compliance-ribbon strong { background: var(--berry); color: #fff; padding: 1px 8px; border-radius: 999px; font-size: 0.74rem; }
.compliance-ribbon a { color: var(--sun); }
@keyframes ticker { to { transform: translateX(-50%); } }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  max-width: calc(var(--max-width) - 48px);
  margin: 12px auto 0;
  padding: 0 10px 0 16px;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--pop);
  transition: box-shadow var(--transition-normal);
}
.site-header.scrolled .header-inner { box-shadow: var(--pop-md); }

.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); margin-right: auto; }
.site-logo:hover { color: var(--ink); }
.site-logo img { width: 44px; height: 44px; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.logo-word b { display: inline-block; margin-left: 3px; padding: 0 7px; background: var(--sun); border: 2px solid var(--ink); border-radius: 8px; transform: rotate(-4deg); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 14px; font-size: 0.92rem; font-weight: 700; color: var(--ink); border-radius: 999px; transition: background var(--transition-fast); }
.nav-links a:hover { background: var(--sand); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--cream); }

.mobile-menu-btn { display: none; width: 46px; height: 46px; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 50%; cursor: pointer; position: relative; flex-shrink: 0; }
.mobile-menu-btn span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform var(--transition-normal), opacity var(--transition-fast); }
.mobile-menu-btn span:nth-child(1) { top: 13px; }
.mobile-menu-btn span:nth-child(2) { top: 19.5px; }
.mobile-menu-btn span:nth-child(3) { top: 26px; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) 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(-6.5px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 4999; background: var(--cream); padding: calc(var(--header-h) + 8px) 20px 40px; flex-direction: column; gap: 10px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; padding: 14px 20px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: var(--pop); }
.mobile-nav a:nth-child(4n+1):hover, .mobile-nav a[aria-current="page"] { background: var(--sun); }
.mobile-nav a:hover { background: var(--sand); color: var(--ink); }

/* ---------- 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-color: var(--teal);
  background-image:
    radial-gradient(circle at 20% 30%, var(--sun) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 60%, var(--coral) 0 5px, transparent 6px),
    radial-gradient(circle at 40% 80%, var(--cream) 0 4px, transparent 5px),
    radial-gradient(circle at 85% 20%, var(--berry) 0 5px, transparent 6px);
  background-size: 180px 180px, 220px 220px, 160px 160px, 240px 240px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#age-gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-gate-inner { width: 100%; max-width: 500px; margin: auto; padding: 40px 36px 30px; text-align: center; background: var(--cream); border: 3px solid var(--ink); border-radius: 32px; box-shadow: var(--pop-lg); }
.age-gate-logo { width: 92px; height: 92px; margin: 0 auto 16px; transform: rotate(-6deg); }
.age-gate-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 34px; padding: 0 14px; margin-bottom: 14px; background: var(--berry); color: #fff; border: var(--bw) solid var(--ink); border-radius: 999px; font-family: var(--font-display); font-weight: 800; }
.age-gate-inner h1 { font-size: 2.1rem; margin-bottom: 12px; }
.age-gate-inner p { font-size: 0.97rem; margin-bottom: 14px; }
.age-gate-note { font-size: 0.86rem !important; color: var(--ink-3) !important; }
.age-gate-buttons { display: flex; gap: 14px; justify-content: center; margin-top: 22px; }
.age-gate-buttons .btn { width: 100%; }
.age-gate-inner .disclaimer-mini { font-size: 0.8rem; color: var(--ink-3); margin: 22px 0 0; padding-top: 16px; border-top: 2px dashed var(--line-soft); }
.age-denied-help { margin-top: 18px; padding: 16px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 16px; font-size: 0.92rem; }

/* ---------- Home hero: bento ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 20px) 0 24px; }
.hero--inner { padding-bottom: 48px; }
.hero--inner .hero-content { max-width: 860px; margin: 0 auto; padding: 48px 32px; text-align: center; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: var(--radius-xl); box-shadow: var(--pop-md); }
.hero__bg { display: none; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.tile { position: relative; border: var(--bw) solid var(--ink); border-radius: var(--radius-xl); box-shadow: var(--pop-md); overflow: hidden; }
.tile--intro { grid-column: 1 / 8; grid-row: 1 / 3; padding: 44px 44px 36px; background: var(--paper); }
.tile--wheel { grid-column: 8 / 13; grid-row: 1 / 3; display: grid; place-items: center; padding: 48px 28px 64px; background: var(--teal); }
.tile--coins, .tile--age { min-height: 180px; padding: 26px 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile--coins { grid-column: 1 / 4; background: var(--sun); }
.tile--age { grid-column: 4 / 7; background: var(--berry); color: #fff; }
.tile--coins b, .tile--age b { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.tile--coins span, .tile--age span { font-weight: 700; font-size: 0.98rem; }
.tile--age span { color: #fff; }
.tile--game { grid-column: span 3; min-height: 180px; display: block; background: var(--ink); color: var(--ink); }
.tile--game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile--game span { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: 0.88rem; }
.tile--game:hover img { transform: scale(1.08) rotate(1deg); }
.tile--game:hover { color: var(--ink); }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 6px 16px 6px 6px; background: var(--sand); border: 2px solid var(--ink); border-radius: 999px; font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.hero-badge b { background: var(--berry); color: #fff; padding: 2px 10px; border-radius: 999px; font-family: var(--font-display); }
.hero h1 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); line-height: 1.02; margin-bottom: 22px; }
.hl { color: var(--ink); white-space: nowrap; padding: 0 4px; margin: 0 -4px; background: linear-gradient(180deg, transparent 58%, rgba(255, 91, 69, 0.85) 58%, rgba(255, 91, 69, 0.85) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero p.hero-lede { font-size: 1.14rem; max-width: 34em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero--inner .hero-cta { justify-content: center; }
.hero-fineprint { margin: 22px 0 0; font-size: 0.82rem; color: var(--ink-3); max-width: 40em; }

.wheel { width: min(100%, 360px); height: auto; filter: drop-shadow(6px 6px 0 var(--ink)); }
.wheel-spin { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel-pointer { position: absolute; top: 26px; left: 50%; width: 34px; height: 40px; margin-left: -17px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.wheel-pointer::after { content: ''; position: absolute; left: 5px; top: 3px; width: 24px; height: 29px; background: var(--coral); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tile-note { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 6px 14px; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; font-size: 0.82rem; font-weight: 800; white-space: nowrap; }

/* ---------- Stickers (house rules) ---------- */
.stickers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sticker { padding: 28px 24px; border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--pop-md); transition: transform var(--transition-normal); }
.sticker:nth-child(1) { transform: rotate(-2deg); }
.sticker:nth-child(2) { transform: rotate(1.5deg); }
.sticker:nth-child(3) { transform: rotate(-1deg); }
.sticker:nth-child(4) { transform: rotate(2deg); }
.sticker:hover { transform: rotate(0) translateY(-6px); }
.sticker--berry { background: var(--berry); color: #fff; }
.sticker--sun { background: var(--sun); }
.sticker--sky { background: var(--sky); }
.sticker--teal { background: var(--teal); }
.sticker h3 { font-size: 1.3rem; margin-bottom: 8px; color: inherit; }
.sticker p { font-size: 0.95rem; margin: 0; color: inherit; font-weight: 500; }
.sticker-icon { width: 54px; height: 54px; margin-bottom: 18px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 50%; font-family: var(--font-display); font-weight: 800; }
.sticker-icon svg { width: 24px; height: 24px; }

/* Older home markup */
.rules-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rules-title { grid-column: 1 / -1; }
.rule { display: flex; gap: 14px; padding: 22px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--pop); }
.rule-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); border-radius: 50%; }
.rule-icon svg { width: 20px; height: 20px; }
.rule-icon--age { background: var(--berry); color: #fff; font-weight: 800; font-size: 0.8rem; }
.rule h3 { font-size: 1.05rem; margin-bottom: 4px; }
.rule p { font-size: 0.88rem; margin: 0; }

/* ---------- Games mosaic ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--pop-md);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
a.game-card { color: inherit; }
.game-card:hover, .game-card:focus-visible { transform: translate(-4px, -4px); box-shadow: var(--pop-lg); color: inherit; }
.game-card--feature { grid-column: span 2; grid-row: span 2; }
.game-card-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); border-bottom: var(--bw) solid var(--ink); }
.game-card--feature .game-card-image { aspect-ratio: auto; flex: 1; min-height: 300px; }
.game-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.game-card:hover .game-card-image img { transform: scale(1.06); }
.game-kind { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 12px; font-size: 0.76rem; font-weight: 800; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; }
.game-card-body { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 18px 22px 20px; }
.game-card-body h3 { flex: 1 1 100%; font-size: 1.28rem; }
.game-card-body p { flex: 1 1 100%; font-size: 0.92rem; margin-bottom: 12px; }
.game-card--feature .game-card-body { padding: 24px 28px 26px; }
.game-card--feature .game-card-body h3 { font-size: 2rem; }
.game-card--feature .game-card-body p { font-size: 1.02rem; }
.game-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; font-size: 0.86rem; font-weight: 800; color: var(--cream); background: var(--ink); border-radius: 999px; transition: background var(--transition-fast), color var(--transition-fast); }
.game-tag::after { content: '\2192'; }
.game-card:hover .game-tag { background: var(--coral); color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 28px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--pop); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -26px; width: 28px; border-top: 3px dashed var(--ink); }
.step-num { display: block; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 0.9; color: var(--sun); -webkit-text-stroke: 2.5px var(--ink); letter-spacing: -0.04em; }
.step:nth-child(2) .step-num { color: var(--coral); }
.step:nth-child(3) .step-num { color: var(--teal); }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { font-size: 0.96rem; margin: 0; }

/* ---------- Responsible play (dark band) ---------- */
.rg-band { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 52px; background: var(--ink); border: var(--bw) solid var(--ink); border-radius: 36px; box-shadow: 10px 10px 0 var(--coral); }
.rg-copy h2 { color: var(--cream); margin-bottom: 14px; }
.rg-copy > p { color: #d8d2e6; font-size: 1.05rem; max-width: 34em; }
.rg-list { margin: 24px 0 30px; display: grid; gap: 14px; }
.rg-list li { display: flex; gap: 14px; align-items: flex-start; color: #d8d2e6; }
.rg-list li strong { color: var(--cream); }
.rg-list svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--sun); margin-top: 1px; }
.rg-band .btn-outline-gold { color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--sun); }
.rg-band .btn-outline-gold:hover { background: var(--cream); color: var(--ink); }

.helpline-card { padding: 34px 30px; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 26px; transform: rotate(1.5deg); box-shadow: 6px 6px 0 var(--cream); }
.helpline-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.helpline-card p { color: var(--ink); font-size: 0.95rem; }
.helpline-number { display: block; margin: 14px 0 4px; font-family: var(--font-display); font-size: clamp(1.5rem, 2.3vw, 1.9rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.helpline-number:hover { color: var(--berry); }
.helpline-meta { font-size: 0.86rem; font-weight: 700; margin-bottom: 16px; }
.helpline-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 2px dashed var(--ink); }
.helpline-links a { padding: 5px 12px; font-size: 0.86rem; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; }
.helpline-links a:hover { background: var(--ink); color: var(--cream); }

/* ---------- Features (about) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature-card { padding: 30px 26px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--pop); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.feature-card:hover { transform: translate(-3px, -3px); box-shadow: var(--pop-md); }
.feature-icon { width: 58px; height: 58px; margin-bottom: 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 18px; transform: rotate(-4deg); }
.features-grid .feature-card:nth-child(3n+2) .feature-icon { background: var(--teal); transform: rotate(3deg); }
.features-grid .feature-card:nth-child(3n) .feature-icon { background: var(--coral); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.94rem; margin: 0; }

/* ---------- Disclaimer ---------- */
.disclaimer-block { margin: 40px 0; padding: 26px 30px; background: var(--paper); border: var(--bw) dashed var(--ink); border-radius: 22px; }
.disclaimer-block h4 { display: inline-block; margin-bottom: 10px; padding: 3px 12px; font-size: 0.9rem; background: var(--coral); border: 2px solid var(--ink); border-radius: 999px; }
.disclaimer-block p { font-size: 0.94rem; margin: 0; color: var(--ink-2); }

/* ---------- Store ---------- */
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.store-card { position: relative; display: flex; flex-direction: column; padding: 30px 22px 22px; text-align: center; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 26px; box-shadow: var(--pop-md); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.store-card:hover { transform: translate(-3px, -3px); box-shadow: var(--pop-lg); }
.store-card:nth-child(2) { background: var(--sand); }
.store-coin-icon { width: 88px; height: 88px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 50%; }
.store-coin-icon svg { width: 54px; height: 54px; }
.store-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.store-card .coin-amount { font-weight: 800; color: var(--berry); margin-bottom: 6px; }
.store-card .coin-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.store-card .coin-note { font-size: 0.86rem; color: var(--ink-3); flex: 1; margin-bottom: 18px; }
.store-card .btn { width: 100%; }
.store-card .store-fine { display: block; margin-top: 12px; font-size: 0.74rem; color: var(--ink-3); }
.store-disclosure { margin-top: 30px; padding: 18px 22px; text-align: center; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; }
.store-disclosure p { font-size: 0.9rem; margin: 0; }
.free-callout { display: flex; align-items: center; gap: 18px; margin: 0 0 32px; padding: 22px 26px; background: var(--teal); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--pop); }
.free-callout svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--ink); }
.free-callout p { margin: 0; color: var(--ink); font-weight: 600; }
.free-callout strong { font-weight: 800; }

/* ---------- Inner pages ---------- */
.legal-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 96px; min-height: 100vh; }
.page-intro-card {
  position: relative;
  margin-bottom: 48px;
  padding: 52px 40px 44px;
  background-color: var(--sun);
  background-image:
    radial-gradient(circle at 15% 25%, var(--coral) 0 5px, transparent 6px),
    radial-gradient(circle at 80% 70%, var(--teal) 0 5px, transparent 6px),
    radial-gradient(circle at 60% 15%, var(--paper) 0 4px, transparent 5px);
  background-size: 160px 160px, 200px 200px, 140px 140px;
  border: var(--bw) solid var(--ink);
  border-radius: 32px;
  box-shadow: var(--pop-md);
}
.page-intro-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--sun); -webkit-mask-image: radial-gradient(ellipse 46% 52% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 46% 52% at 50% 50%, #000 55%, transparent 100%); }
.page-intro-card .section-header { position: relative; margin: 0 auto; text-align: center; }
.page-intro-card .section-header p { color: var(--ink); font-weight: 500; }
.page-intro-card .gold-line { margin: 22px auto 0; }
.page-intro-card h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }

.legal-intro { margin-bottom: 36px; padding: 40px 32px; text-align: center; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 28px; box-shadow: var(--pop-md); }
.legal-intro .legal-date { margin-bottom: 0; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 8px; }
.legal-content .legal-date { display: inline-block; padding: 3px 12px; font-size: 0.84rem; font-weight: 700; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; }
.legal-content h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.legal-content h2::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 12px; background: var(--coral); border: 2px solid var(--ink); border-radius: 50%; vertical-align: 0.1em; }
.legal-content h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.legal-content p, .legal-content li { line-height: 1.8; margin-bottom: 12px; color: var(--ink-2); }
.legal-content strong { color: var(--ink); }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 18px; }
.legal-content ul li { position: relative; list-style: none; }
.legal-content ul li::before { content: ''; position: absolute; left: -20px; top: 0.62em; width: 9px; height: 9px; background: var(--sun); border: 2px solid var(--ink); border-radius: 3px; transform: rotate(45deg); }
.legal-content ol li { list-style: decimal; }
.legal-content ol li::marker { font-weight: 800; color: var(--berry); }
.legal-content a { text-decoration: underline; text-decoration-thickness: 2px; 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.92rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 16px; background: var(--cream); border: var(--bw) solid var(--ink); border-radius: 14px; color: var(--ink); font: 500 1rem var(--font-primary); transition: box-shadow var(--transition-fast); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; box-shadow: var(--pop); background: var(--paper); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ---------- Self-exclusion ---------- */
.exclusion-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin: 40px 0; }
.exclusion-step { padding: 28px 24px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--pop); }
.exclusion-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.exclusion-step p { font-size: 0.92rem; margin: 0; }
.step-number { width: 50px; height: 50px; margin-bottom: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 50%; }
.exclusion-step:nth-child(2) .step-number { background: var(--coral); }
.exclusion-step:nth-child(3) .step-number { background: var(--teal); }
.exclusion-step:nth-child(4) .step-number { background: var(--sky); }

/* ---------- Info cards ---------- */
.info-card { padding: 30px; margin-bottom: 22px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--pop); }
.info-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* ---------- Footer (dark) ---------- */
.site-footer { position: relative; margin-top: 24px; padding-top: 72px; overflow: hidden; background: var(--ink); color: var(--cream); border-radius: 44px 44px 0 0; }
.site-footer p { color: #cfc8de; }
.site-footer .logo-word { color: var(--cream); }
.site-footer .logo-word b { color: var(--ink); border-color: var(--cream); }
.site-footer .site-logo, .site-footer .site-logo:hover { color: var(--cream); }
.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.94rem; margin-top: 16px; max-width: 30em; }
.footer-contact { font-size: 0.9rem; }
.footer-contact a, .footer-disclaimer a { color: var(--sun); }
.footer-col h4 { display: inline-block; margin-bottom: 14px; padding: 2px 10px; font-size: 0.9rem; color: var(--ink); background: var(--sun); border-radius: 999px; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.94rem; font-weight: 500; color: #d8d2e6; }
.footer-col a:hover { color: var(--sun); }

.footer-responsible { max-width: var(--max-width); margin: 0 auto; padding: 44px 24px 40px; border-top: 2px dashed #474163; }
.responsible-header { text-align: center; margin-bottom: 26px; }
.responsible-header h2, .responsible-header h3 { font-size: 1.6rem; margin-bottom: 8px; color: var(--cream); }
.responsible-header p { font-size: 0.95rem; max-width: 660px; margin: 0 auto; }
.responsible-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.badge-18plus { width: 62px; height: 62px; flex-shrink: 0; display: grid; place-items: center; background: var(--berry); color: #fff; border: 3px solid var(--cream); border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.partner-logo, .rgc-logo { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 10px 18px; background: #fff; border-radius: 16px; transition: transform var(--transition-fast); }
.partner-logo:hover, .rgc-logo:hover { transform: translateY(-3px) rotate(-1deg); }
.partner-logo img { height: 34px; width: auto; max-width: none; }
.partner-logo--gamstop { padding: 0 6px; overflow: hidden; }
.partner-logo--gamstop img { height: 66px; margin: -4px 0; }
.partner-logo.connexontario-logo { background: #0a0a0a; }
.rgc-logo-text { font-size: 0.9rem; font-weight: 800; color: #1d1a2f; line-height: 1.2; text-align: left; }
.rgc-logo-text span { display: block; font-weight: 600; 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: 860px; margin: 0 auto; padding: 22px 26px; text-align: center; background: rgba(255, 248, 239, 0.05); border: 2px solid #474163; border-radius: 20px; }
.footer-disclaimer p { font-size: 0.86rem; line-height: 1.75; margin-bottom: 10px; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: var(--cream); }

.footer-mega { padding: 0 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 8.4vw, 8.6rem); line-height: 0.95; letter-spacing: -0.05em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 194, 51, 0.45); user-select: none; margin-top: 18px; }

.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 20px 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.84rem; color: #a9a2bd; border-top: 2px dashed #474163; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: #a9a2bd; font-size: 0.84rem; }
.footer-bottom-links a:hover { color: var(--sun); }

/* ---------- 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; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--pop-md); }
#cookie-banner.visible { display: block; animation: pop-in 0.35s cubic-bezier(.2, 1.4, .4, 1) 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.92rem; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Session tools ---------- */
.session-toast { position: fixed; right: 20px; bottom: 20px; z-index: 9998; width: min(380px, calc(100vw - 32px)); padding: 22px; background: var(--sun); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--pop-md); animation: pop-in 0.35s cubic-bezier(.2, 1.4, .4, 1) both; }
.session-toast h2 { font-size: 1.3rem; margin-bottom: 6px; }
.session-toast p { font-size: 0.92rem; margin-bottom: 14px; color: var(--ink); }
.session-toast .toast-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Game stage: dark, so the game UIs keep their contrast ---------- */
body .game-page {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 64px;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(255, 194, 51, 0.12), transparent 70%),
    #1d1a2f;
  color: var(--color-text-primary);
}
body:has(.game-page) .site-header { background: var(--cream); border-bottom: var(--bw) solid var(--ink); }
.game-page :is(h2, h3, h4) { color: var(--color-text-primary); }
.game-page p { color: var(--color-text-secondary); }
.game-page a:not(.btn) { color: var(--sun); }
.game-page .site-logo, .game-page .logo-word { color: var(--cream); }
.game-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.game-page + .site-footer, .game-page ~ .site-footer { margin-top: 0; border-radius: 0; border-top: 2px dashed #474163; }

.refill-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 8px 16px; font: 800 0.84rem var(--font-primary); color: var(--ink); background: var(--sun); border: 2px solid var(--cream); border-radius: 999px; cursor: pointer; transition: transform var(--transition-fast); }
.refill-btn:hover:not(:disabled) { transform: translateY(-2px); }
.refill-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.coin-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.game-notice { max-width: 760px; margin: 48px auto 0; padding: 16px 20px; text-align: center; border: 2px dashed #474163; border-radius: 16px; }
.game-notice p { margin: 0; font-size: 0.86rem; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.92) translateY(12px); } to { opacity: 1; transform: none; } }
.fade-in-up { animation: rise 0.6s ease both; }
.bento > .tile { animation: pop-in 0.6s cubic-bezier(.2, 1.3, .4, 1) both; }
.bento > .tile:nth-child(2) { animation-delay: 0.08s; }
.bento > .tile:nth-child(3) { animation-delay: 0.16s; }
.bento > .tile:nth-child(4) { animation-delay: 0.22s; }
.bento > .tile:nth-child(5) { animation-delay: 0.28s; }
.bento > .tile:nth-child(6) { animation-delay: 0.34s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 10px; font-size: 0.88rem; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .stickers { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-links, .header-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .tile--intro, .tile--wheel { grid-column: 1 / -1; grid-row: auto; }
  .tile--wheel { padding: 64px 28px 70px; }
  .wheel { width: min(70%, 320px); }
  .tile--coins { grid-column: 1 / 7; }
  .tile--age { grid-column: 7 / 13; }
  .tile--game { grid-column: span 6; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card--feature { grid-column: 1 / -1; grid-row: auto; }
  .game-card--feature .game-card-image { min-height: 260px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -26px; right: auto; left: 50%; width: 0; height: 28px; border-top: none; border-left: 3px dashed var(--ink); }
  .rg-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .section-header--split { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  :root { --header-h: 112px; --ribbon-h: 30px; }
  .section { padding: 72px 0; }
  .container, .bento { padding: 0 16px; }
  .bento { gap: 14px; }
  .header-inner { margin: 10px 12px 0; height: 62px; }
  .logo-word { font-size: 0.9rem; }
  .logo-word b { padding: 0 5px; border-width: 1.5px; }
  .site-logo { gap: 7px; }
  .site-logo img { width: 34px; height: 34px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hl { white-space: normal; }
  .compliance-ribbon { font-size: 0.74rem; }
  .tile--intro { padding: 30px 22px 26px; }
  .tile--coins, .tile--age { min-height: 140px; padding: 20px; }
  .tile--game { min-height: 150px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stickers, .games-grid, .store-grid { grid-template-columns: 1fr; }
  .sticker { transform: none !important; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-buttons .btn { flex: 1; }
  .age-gate-inner { padding: 32px 22px 24px; }
  .age-gate-buttons { flex-direction: column; }
  .page-intro-card, .legal-intro { padding: 36px 20px 30px; }
  .free-callout { flex-direction: column; text-align: center; }
  .rg-band { padding: 32px 20px; border-radius: 28px; }
  .helpline-card { transform: none; }
  .site-footer { border-radius: 28px 28px 0 0; }
}

@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; }
  .ticker { animation: none; }
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--cream); border-radius: 999px; }
