/* fantasinolla.fi — styles. Built to site/styles.css by tools/build.py (icons are injected at the marker below). */

/* ---------- Fonts (self-hosted Google Fonts, Latin subset) ---------- */
@font-face {
  font-family: "Dela Gothic One";
  src: url("fonts/dela-gothic-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("fonts/m-plus-rounded-1c-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("fonts/m-plus-rounded-1c-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched local fallbacks keep text from reflowing when the web fonts swap in. */
@font-face {
  font-family: "Dela Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 124.7%;
  ascent-override: 93%;
  descent-override: 23%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Rounded Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 106.1%;
  ascent-override: 101%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #2D0645;
  --violet: #610D94;
  --blue: #6349FF;
  --yellow: #EADB2B;
  --accent: #FF5631;
  --light: #E6E7ED;
  --link: #B9AEFF;          /* lighter tint of --blue: passes AA on --bg */
  --muted: #CBC4DD;
  --card: linear-gradient(150deg, rgba(97, 13, 148, .92) 0%, rgba(78, 40, 190, .62) 100%);
  --card-soft: rgba(97, 13, 148, .42);
  --radius: 18px;
  --wrap: 1160px;
  --prose: 720px;
  --font-head: "Dela Gothic One", "Dela Fallback", Arial, sans-serif;
  --font-body: "M PLUS Rounded 1c", "Rounded Fallback", Arial, sans-serif;
  --header-h: 60px;
  --ic-rebate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12a8.5 8.5 0 1 0 2.6-6.1'/%3E%3Cpath d='M3.5 3.8v4.4h4.4'/%3E%3Cpath d='M14.8 9.4a3 3 0 1 0 0 5.2'/%3E%3Cpath d='M9.6 11.2h4M9.6 12.9h4'/%3E%3C/svg%3E");
  --ic-daily: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3.5 10h17'/%3E%3Cpath d='m12 12.6 1.05 2.1 2.3.35-1.67 1.62.4 2.3L12 17.9l-2.08 1.07.4-2.3-1.67-1.62 2.3-.35z'/%3E%3C/svg%3E");
  --ic-cashback: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14.5a1.5 1.5 0 0 1 1.5 1.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5V8z'/%3E%3Cpath d='M4 8l11-4v4'/%3E%3Cpath d='M20 12.2h-3.6a1.8 1.8 0 0 0 0 3.6H20'/%3E%3C/svg%3E");
  --ic-levelup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 5.5-5.5 5.5 5.5'/%3E%3Cpath d='m6.5 18.5 5.5-5.5 5.5 5.5'/%3E%3Cpath d='M12 2.8v.4'/%3E%3C/svg%3E");
  --ic-wheel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 3.5V10M12 14v6.5M3.5 12H10M14 12h6.5M6 6l4.6 4.6M13.4 13.4 18 18M18 6l-4.6 4.6M10.6 13.4 6 18'/%3E%3C/svg%3E");
  --ic-reload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12a7.5 7.5 0 0 1-13.1 5'/%3E%3Cpath d='M4.5 12a7.5 7.5 0 0 1 13.1-5'/%3E%3Cpath d='M17.9 3.4v3.9H14M6.1 20.6v-3.9H10'/%3E%3Cpath d='M12 9.2v5.6M9.2 12h5.6'/%3E%3C/svg%3E");
  --ic-gift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4.2' rx='1'/%3E%3Cpath d='M5 12.2V20h14v-7.8M12 8v12'/%3E%3Cpath d='M12 8C10.6 5 7 4.4 7 6.6 7 8 9.3 8 12 8zM12 8c1.4-3 5-3.6 5-1.4C17 8 14.7 8 12 8z'/%3E%3C/svg%3E");
  --ic-trophy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4'/%3E%3Cpath d='M12 13v3.5M8.5 20h7M10 20l.4-3.5h3.2L14 20'/%3E%3C/svg%3E");
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ic-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CBC4DD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  --ic-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EADB2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: none;
  color: #fff;
  line-height: 1.22;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 { font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p, ul, ol { margin: 0 0 1.1em; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #fff; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.ell { font-family: Arial, "Liberation Sans", sans-serif; }
.num { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--prose); margin-inline: auto; }
.prose > :last-child { margin-bottom: 0; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8em 1.7em;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; border-radius: 999px;
  box-shadow: 0 10px 28px -8px rgba(255, 86, 49, .65);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { color: var(--bg); background: #ff6a49; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(255, 86, 49, .8); }
.btn:focus-visible { outline-color: var(--yellow); outline-offset: 4px; border-radius: 999px; }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .92rem; box-shadow: none; }
.btn-lg {
  color: #fff; text-transform: uppercase; text-align: center;
  font-size: 1.2rem; letter-spacing: .02em; padding: .75em 1.6em; min-height: 56px;
}
.btn-lg:hover { color: #fff; }
@media (min-width: 700px) {
  .btn-lg { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; letter-spacing: -.02em; padding: .55em 1.5em; min-height: 68px; }
}
.btn-ghost {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--blue);
}
.btn-ghost:hover { color: #fff; background: rgba(99, 73, 255, .35); box-shadow: inset 0 0 0 2px var(--blue); }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(45, 6, 69, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(230, 231, 237, .07);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.logo { display: block; margin-right: auto; line-height: 0; border-radius: 6px; }
.logo-svg { display: block; width: auto; height: 26px; }
@media (min-width: 768px) { .logo-svg { height: 30px; } }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--light); text-decoration: none; font-weight: 700; }
.site-nav a:hover { color: var(--yellow); }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -8px; padding: 0;
  background: transparent; border: 0; border-radius: 12px; cursor: pointer; color: var(--light);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; margin: auto; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .header-inner .btn-sm { order: 2; }
  .menu-toggle { order: 3; }
  .site-nav { display: none; }
  .js .menu-toggle { display: grid; place-items: center; }
  .js.menu-open .site-nav {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #2a0541; box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .6);
    padding: 8px 20px 20px;
  }
  .site-nav a { display: flex; align-items: center; min-height: 52px; font-size: 1.1rem; border-bottom: 1px solid rgba(230, 231, 237, .08); }
}
@media (min-width: 1024px) {
  .site-nav ul { display: flex; gap: 28px; margin-right: 18px; }
  .site-nav a { font-size: .95rem; padding: 8px 0; }
}

/* ---------- Section rhythm ---------- */
.section { position: relative; padding: 56px 0; }
.glow { isolation: isolate; }
.glow::after {
  content: ""; position: absolute; inset: -120px 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 48% 36% at 8% 34%, rgba(99, 73, 255, .22), transparent 70%),
    radial-gradient(ellipse 46% 38% at 94% 66%, rgba(97, 13, 148, .62), transparent 70%);
}
@media (min-width: 1024px) { .section { padding: 104px 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 28px 0 56px; isolation: isolate;
}
.hero::after { /* glow */
  content: ""; position: absolute; inset: -60px 0 -180px; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 40% at 78% 32%, rgba(99, 73, 255, .36), transparent 70%),
    radial-gradient(ellipse 48% 36% at 8% 68%, rgba(97, 13, 148, .66), transparent 70%);
}
.hero::before { /* sparkles */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 14%, rgba(255, 255, 255, .8), transparent 70%),
    radial-gradient(1.2px 1.2px at 22% 62%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(2px 2px at 46% 8%, rgba(234, 219, 43, .7), transparent 70%),
    radial-gradient(1.4px 1.4px at 61% 46%, rgba(255, 255, 255, .6), transparent 70%),
    radial-gradient(1.8px 1.8px at 88% 12%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(1.3px 1.3px at 94% 58%, rgba(234, 219, 43, .6), transparent 70%),
    radial-gradient(1.5px 1.5px at 34% 90%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(1.2px 1.2px at 74% 86%, rgba(255, 255, 255, .55), transparent 70%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
/* Header pattern from the Fantasino Figma page examples:
   rounded cat banner → centred two-tone title with sparkles → gradient intro panel → pill CTA */
.hero-banner {
  position: relative; overflow: hidden;
  border-radius: clamp(22px, 3.8vw, 44px);
  background: linear-gradient(-10.36deg, #6349FF 19.6%, #2D0645 68.3%);
  box-shadow: 0 30px 80px -40px rgba(99, 73, 255, .9);
}
.hero-banner img { width: 100%; height: auto; }
.hero-title {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-title h1 {
  margin: 0; text-align: center;
  font-size: clamp(2rem, 1rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -.02em;
  text-wrap: balance; max-width: 10.2em; flex: 0 1 auto;
}
.hero-title .hl { display: block; color: var(--yellow); margin-top: .08em; }
.sparkle { flex: none; width: clamp(36px, 5vw, 72px); height: auto; color: #fff; }
@media (max-width: 559px) { .sparkle { display: none; } }
.updated { font-size: .85rem; color: var(--muted); margin: 20px 0 0; text-align: center; }
.hero-panel {
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(22px, 4vw, 48px) clamp(18px, 4vw, 48px);
  border-radius: clamp(24px, 3.8vw, 44px);
  background: linear-gradient(180deg, rgba(99, 73, 255, .5), rgba(99, 73, 255, 0));
  text-align: center;
}
.lead {
  max-width: 900px; margin: 0 auto; color: #fff; font-weight: 700;
  font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); line-height: 1.45;
}
.cta-row--hero { margin-top: clamp(24px, 3vw, 40px); }

/* Intro paragraphs + stat tiles directly under the header */
.intro { padding-top: 8px; }
.stats-panel {
  margin-top: 40px; padding: clamp(14px, 4vw, 48px);
  border-radius: clamp(24px, 3.8vw, 44px);
  background: linear-gradient(180deg, rgba(99, 73, 255, .5), rgba(99, 73, 255, 0));
}
.stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.stat {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  min-height: 128px; padding: 18px 12px; text-align: center;
  background: var(--bg); border: 1px solid var(--blue); border-radius: clamp(20px, 3vw, 40px);
}
.stat-big {
  font-family: var(--font-head); color: var(--yellow);
  font-size: clamp(1.2rem, .7rem + 2.4vw, 2.6rem); line-height: 1.1;
}
.stat-big small { font-size: .5em; color: var(--yellow); }
.stat-big--long { font-size: clamp(1rem, .7rem + 1.3vw, 1.55rem); }
.stat-label { font-weight: 700; color: #fff; font-size: .95rem; line-height: 1.35; }

@media (min-width: 900px) {
  .hero { padding: 32px 0 64px; }
  .intro { padding-top: 16px; }
  .stats-panel { margin-top: 56px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .stat { min-height: 170px; padding: 24px 18px; }
}

/* ---------- Icons (yellow line icons) ---------- */
.ico::before {
  content: ""; flex: none; display: block; width: 44px; height: 44px; border-radius: 14px;
  background: var(--icon) center / 26px 26px no-repeat, rgba(234, 219, 43, .12);
}
.i-rebate { --icon: var(--ic-rebate); }
.i-daily { --icon: var(--ic-daily); }
.i-cashback { --icon: var(--ic-cashback); }
.i-levelup { --icon: var(--ic-levelup); }
.i-wheel { --icon: var(--ic-wheel); }
.i-reload { --icon: var(--ic-reload); }
.i-gift { --icon: var(--ic-gift); }
.i-trophy { --icon: var(--ic-trophy); }

/* ---------- Card tables (shared) ---------- */
.t-cards { display: block; width: 100%; border-collapse: separate; }
.t-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.t-cards tbody, .t-cards tr, .t-cards th, .t-cards td { display: block; text-align: left; }
.t-cards th, .t-cards td { padding: 0; font-weight: 400; }
.t-cards [data-label]::before { content: attr(data-label); content: attr(data-label) / ""; }

/* Summary: stacked list (mobile) → card grid (desktop) */
.t-summary { margin-top: 36px; }
.t-summary tbody { display: grid; gap: 12px; }
.t-summary tr {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px;
  padding: 16px; background: var(--card); border-radius: var(--radius);
}
.t-summary tr::before { grid-row: 1 / span 3; }
.t-summary th { font-weight: 700; color: #fff; font-size: 1.05rem; line-height: 1.3; }
.t-summary .what { color: var(--yellow); font-weight: 700; line-height: 1.4; }
.t-summary .wr { font-size: .9rem; color: var(--muted); }
.t-summary .wr::before { content: attr(data-label) ":"; content: attr(data-label) ":" / ""; margin-right: .35em; }
.t-summary .wr.zero { color: #fff; }
@media (min-width: 640px) {
  .t-summary tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .t-summary { margin-top: 56px; }
  .t-summary tbody { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .t-summary tr { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 26px; align-content: start; }
  .t-summary tr::before { grid-row: auto; margin-bottom: 6px; }
  .t-summary .what { font-size: 1.15rem; }
}

/* Tier cards */
.tier-scroll {
  margin: 36px -20px 0; padding: 6px 20px 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  scrollbar-width: thin; scrollbar-color: rgba(234, 219, 43, .5) transparent;
  overscroll-behavior-x: contain;
}
.tier-scroll:focus-visible { outline-offset: -3px; }
.t-tiers tbody { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80%); gap: 14px; }
.t-tiers tr {
  display: flex; flex-direction: column; scroll-snap-align: start;
  padding: 24px 22px 18px; border-radius: 20px; background: var(--card);
  border: 2px solid transparent;
}
.t-tiers tr.tier-diamond { border-color: var(--yellow); box-shadow: 0 0 44px -10px rgba(234, 219, 43, .45); }
.t-tiers th { font-family: var(--font-head); font-size: 1.3rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.t-tiers th::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--tier); box-shadow: 0 0 12px var(--tier); }
.tier-bronze { --tier: #D9925E; }
.tier-silver { --tier: #D5DBE8; }
.tier-gold { --tier: #EADB2B; }
.tier-diamond { --tier: #8FE6FF; }
.t-tiers .total { margin: 16px 0 14px; color: var(--yellow); }
.t-tiers .total::before { display: block; font-size: .85rem; color: var(--muted); font-weight: 700; }
.t-tiers .total small { font-size: 1.05rem; font-weight: 700; margin-right: .1em; }
.t-tiers .total b { font-family: var(--font-head); font-weight: 400; font-size: 3.1rem; line-height: 1.05; }
.t-tiers .rate {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-top: 1px solid rgba(230, 231, 237, .14); font-weight: 700; color: #fff;
  white-space: nowrap;
}
.t-tiers .rate::before { font-weight: 400; color: var(--muted); font-size: .92rem; white-space: normal; flex: 1 1 auto; }
@media (min-width: 640px) { .t-tiers tbody { grid-auto-columns: minmax(250px, 44%); } }
@media (min-width: 1024px) {
  .tier-scroll { margin: 56px 0 0; padding: 0; overflow: visible; }
  .t-tiers tbody { grid-auto-columns: minmax(0, 1fr); gap: 20px; }
}

/* Feature (H3) cards */
.feature-grid { display: grid; gap: 16px; margin-top: 40px; }
.feature { background: var(--card-soft); border-radius: var(--radius); padding: 24px 22px; }
.feature::before { margin-bottom: 16px; }
.feature p { font-size: .97rem; }
.feature > :last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
  .feature { padding: 30px 28px; }
}

.icon-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.icon-list li { display: flex; align-items: center; gap: 14px; font-weight: 700; color: #fff; padding: 10px 14px 10px 10px; background: var(--card-soft); border-radius: 16px; }
.icon-list li::before { width: 40px; height: 40px; border-radius: 12px; background-size: 24px 24px; }

/* Cashback ladder */
.t-ladder { margin: 36px auto 40px; max-width: 880px; }
.t-ladder thead {
  position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal;
  display: block; margin-bottom: 16px;
}
.t-ladder thead tr { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.t-ladder thead th { font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.t-ladder thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.t-ladder thead th::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.t-ladder .lg-rate::before { background: var(--yellow); }
.t-ladder .lg-eur::before { background: var(--light); }
.t-ladder tbody {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: clamp(250px, 46vw, 340px);
  align-items: end; gap: 8px;
  padding-bottom: 4px; box-shadow: inset 0 -2px 0 rgba(234, 219, 43, .35);
}
.t-ladder tbody tr {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  height: var(--h); padding: 14px 4px; border-radius: 16px 16px 4px 4px;
  background: linear-gradient(180deg, rgba(99, 73, 255, .78) 0%, rgba(97, 13, 148, .75) 100%);
}
.t-ladder tbody tr:nth-child(1) { --h: 46%; }
.t-ladder tbody tr:nth-child(2) { --h: 62%; }
.t-ladder tbody tr:nth-child(3) { --h: 80%; }
.t-ladder tbody tr:nth-child(4) { --h: 100%; background: linear-gradient(180deg, rgba(234, 219, 43, .32) 0%, rgba(99, 73, 255, .7) 34%, rgba(97, 13, 148, .75) 100%); box-shadow: 0 0 40px -12px rgba(234, 219, 43, .5); }
.t-ladder tbody th, .t-ladder tbody td { text-align: center; }
.t-ladder tbody th { font-weight: 700; color: #fff; font-size: .88rem; }
.t-ladder .rate { color: var(--yellow); line-height: 1.05; }
.t-ladder .rate small { display: block; font-size: .78rem; font-weight: 700; }
.t-ladder .rate b { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.2rem, .8rem + 2vw, 2.2rem); white-space: nowrap; }
.t-ladder .eur { font-size: .85rem; color: var(--light); line-height: 1.3; }
@media (min-width: 640px) {
  .t-ladder tbody { gap: 18px; }
  .t-ladder tbody tr { padding: 20px 10px; }
  .t-ladder tbody th { font-size: 1rem; }
  .t-ladder .eur { font-size: .98rem; }
}
@media (min-width: 1024px) { .t-ladder { margin: 56px auto; } }

.calc {
  font-weight: 700; font-size: clamp(1.1rem, .95rem + .8vw, 1.4rem); line-height: 1.75; color: #fff; font-variant-numeric: tabular-nums;
  text-align: center; padding: 22px 18px; border-radius: var(--radius);
  background: rgba(234, 219, 43, .09); box-shadow: inset 0 0 0 1px rgba(234, 219, 43, .22);
}

/* Callout (0x vs 35x example) */
.callout {
  margin: 32px 0; padding: 22px 18px; border-radius: 20px;
  background: linear-gradient(150deg, rgba(234, 219, 43, .14), rgba(99, 73, 255, .16));
  box-shadow: inset 0 0 0 1px rgba(234, 219, 43, .25);
}
.callout-title { font-weight: 700; color: #fff; }
.compare { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare li { position: relative; padding: 16px 16px 16px 56px; border-radius: 14px; background: rgba(45, 6, 69, .55); }
.compare li::before {
  content: ""; position: absolute; left: 14px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ic-check) center / 18px no-repeat, rgba(234, 219, 43, .16);
}
.compare-bad::before { background: var(--ic-cross) center / 16px no-repeat, rgba(230, 231, 237, .1) !important; }
.compare-good { box-shadow: inset 0 0 0 1px rgba(234, 219, 43, .35); }
.num-warn { color: #fff; }
@media (min-width: 768px) {
  .callout { padding: 28px; }
  .compare { grid-template-columns: 1fr 1fr; }
}

/* Wheel cards */
.t-wheels { margin: 28px 0 48px; }
.t-wheels tbody { display: grid; gap: 14px; }
.t-wheels tr {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 22px 14px; border-radius: 20px; background: var(--card); overflow: hidden;
}
.t-wheels tr::after { /* faint wheel motif */
  content: ""; position: absolute; right: -36px; top: -36px; width: 150px; height: 150px; opacity: .14;
  background: var(--ic-wheel) center / contain no-repeat; pointer-events: none;
}
.t-wheels th { order: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-head); font-size: 1.35rem; color: #fff; }
.t-wheels th::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--ic-wheel) center / 22px no-repeat, rgba(234, 219, 43, .14); }
.wheel-bronze th::after {
  content: "Ilmainen"; font-family: var(--font-body); font-weight: 700; font-size: .78rem; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: var(--yellow); color: var(--bg);
}
.t-wheels .prize { order: 1; margin: 14px 0 12px; font-family: var(--font-head); font-size: 2.7rem; line-height: 1.05; color: var(--yellow); white-space: nowrap; }
.t-wheels .prize::before { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.t-wheels td:not(.prize) {
  order: 2; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0;
  border-top: 1px solid rgba(230, 231, 237, .14); font-weight: 700; color: #fff;
  white-space: nowrap;
}
.t-wheels td:not(.prize)::before { font-weight: 400; color: var(--muted); font-size: .92rem; white-space: normal; flex: 1 1 auto; }
.t-wheels td.zero { color: var(--yellow); }
.wheel-gold { box-shadow: 0 0 46px -14px rgba(234, 219, 43, .5); }
@media (min-width: 900px) {
  .t-wheels { margin: 24px 0 64px; }
  .t-wheels tbody { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.prize-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.prize-list li { position: relative; padding: 10px 14px 10px 36px; border-radius: 12px; background: rgba(97, 13, 148, .38); font-size: .97rem; }
.prize-list li::before { content: ""; position: absolute; left: 14px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--light); opacity: .7; }
.prize-list .cash::before { background: var(--yellow); opacity: 1; }
.prize-list .jackpot { background: linear-gradient(90deg, rgba(234, 219, 43, .2), rgba(97, 13, 148, .38)); font-weight: 700; color: #fff; }

/* Daily Reload / birthday / tournaments */
.card-stack { display: grid; gap: 20px; }
.card-section {
  display: grid; gap: 16px; padding: 28px 22px; border-radius: 22px; background: var(--card-soft);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.card-section::before { width: 52px; height: 52px; border-radius: 16px; background-size: 30px 30px; }
.card-section .prose { margin: 0; max-width: none; }
.card-section h2 { font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2rem); }
.example-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.example-list li { padding: 12px 16px; border-radius: 12px; background: rgba(45, 6, 69, .55); }
@media (min-width: 768px) {
  .card-section { grid-template-columns: 52px minmax(0, 1fr); gap: 28px; padding: 40px 44px; }
  .card-section .prose { max-width: var(--prose); }
}
@media (min-width: 1024px) {
  .card-stack { gap: 28px; max-width: 980px; }
}

/* Welcome bonus: deliberately quiet */
.section--quiet { padding-block: 48px; }
.section--quiet h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); color: var(--light); }
.section--quiet p { color: var(--muted); }
@media (min-width: 1024px) { .section--quiet { padding-block: 80px; } }

/* Stepper */
.stepper { list-style: none; padding: 0; margin: 32px auto; max-width: var(--prose); display: grid; gap: 18px; counter-reset: step; }
.stepper li {
  position: relative; counter-increment: step; min-height: 48px;
  padding: 10px 0 0 64px; font-weight: 700; color: #fff;
}
.stepper li::before {
  content: counter(step); content: counter(step) / "";
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.2rem; font-weight: 400;
  color: var(--bg); background: var(--yellow); box-shadow: 0 0 24px -4px rgba(234, 219, 43, .6);
}
.stepper li:not(:last-child)::after {
  content: ""; position: absolute; left: 22px; top: 52px; bottom: -16px; width: 2px;
  background: linear-gradient(rgba(234, 219, 43, .55), rgba(234, 219, 43, .1));
}
@media (min-width: 900px) {
  .stepper { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 48px 0; }
  .stepper li { padding: 72px 18px 22px; min-height: 0; background: var(--card-soft); border-radius: var(--radius); }
  .stepper li::before { left: 18px; top: 18px; }
  .stepper li:not(:last-child)::after { left: 74px; right: -22px; top: 40px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, rgba(234, 219, 43, .55), rgba(234, 219, 43, .1)); }
}
.cta-row--mascot { flex-wrap: wrap; }
.cta-row--mascot img { width: 150px; height: auto; filter: drop-shadow(0 12px 22px rgba(99, 73, 255, .45)); }

/* Facts table */
.t-facts { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: .97rem; }
.t-facts th, .t-facts td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(230, 231, 237, .14); }
.t-facts th { width: 42%; font-weight: 700; color: var(--muted); }
.t-facts td { color: #fff; overflow-wrap: anywhere; padding-right: 0; }
.t-facts tr:first-child th, .t-facts tr:first-child td { border-top: 1px solid rgba(230, 231, 237, .14); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { border-radius: var(--radius); background: var(--card-soft); }
.faq-item[open] { background: var(--card); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px 20px; cursor: pointer; list-style: none;
  font-weight: 700; color: #fff; font-size: 1.04rem; line-height: 1.4; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ic-chevron) center / 18px no-repeat, rgba(234, 219, 43, .14);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--yellow); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; }

/* Footer */
.site-footer { padding: 40px 0 48px; background: #25043a; font-size: .92rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer p { margin: 0; }
.rg { display: flex; align-items: center; gap: 14px; }
.age {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--font-head); font-size: .8rem; color: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.site-footer a { color: var(--yellow); }
.footer-legal { min-height: 0; flex: 1 1 auto; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: clamp(56px, 10vw, 120px); }
.notfound .code { margin: 0 0 8px; font-family: var(--font-head); font-size: clamp(4rem, 2rem + 10vw, 9rem); line-height: 1; color: var(--yellow); letter-spacing: -.02em; }
.notfound h1 { margin-top: 0; }
.notfound p { color: var(--muted); }

/* Desktop type scale */
@media (min-width: 768px) { body { font-size: 17px; } }
@media (min-width: 1280px) { body { font-size: 18px; } }

/* Motion preferences */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
