/* ==========================================================================
   VivaSpain Games — Social casino entertainment (18+, free, no real money)
   Main stylesheet
   Palette: midnight ink, plum, navy, electric cyan, soft violet, muted gold
   ========================================================================== */

/* ----------------------------------------------------------------- tokens */
:root {
  --ink-900: #05070f;
  --ink-800: #080b17;
  --ink-700: #0c1122;
  --navy-700: #0e1530;
  --plum-800: #150e2b;
  --plum-700: #1e1440;

  --cyan: #3ee8f2;
  --cyan-deep: #14a8bd;
  --violet: #8b6cf7;
  --violet-deep: #5a3fd6;
  --gold: #e4c77b;

  --text: #edf0fa;
  --muted: #9aa5c4;
  --dim: #6f7a99;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-soft: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
  --shadow-lift: 0 34px 90px -34px rgba(20, 168, 189, 0.45);

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

  --wrap: 1180px;
  --gutter: 22px;
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--text);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 12% -8%, rgba(139, 108, 247, 0.22), transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(62, 232, 242, 0.14), transparent 60%),
    radial-gradient(1200px 700px at 50% 118%, rgba(30, 20, 64, 0.85), transparent 68%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: #fff;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.85rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.14rem, 1.02rem + 0.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #9df4f9; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }

strong { color: #fff; font-weight: 600; }
small { font-size: 0.83rem; }

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

::selection { background: rgba(139, 108, 247, 0.45); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: #05070f;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { left: 12px; color: #05070f; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- age-gate locking */
html:not(.vsg-age-ok) body { overflow: hidden; }
html:not(.vsg-age-ok) .site-shell { display: none; }
html.vsg-age-ok .age-gate { display: none; }

/* ----------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding: clamp(58px, 7vw, 104px) 0; }
.section--tight { padding: clamp(42px, 5vw, 70px) 0; }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.lead { font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem); color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------------- tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.tag--gold { border-color: rgba(228, 199, 123, 0.4); color: var(--gold); }
.tag--cyan { border-color: rgba(62, 232, 242, 0.38); color: var(--cyan); }

.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
  flex: none;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--text);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(118deg, #4ff0f7 0%, #57c8f0 42%, #8b6cf7 100%);
  color: #06081a;
  box-shadow: 0 16px 38px -18px rgba(62, 232, 242, 0.75);
}
.btn--primary:hover {
  color: #06081a;
  box-shadow: 0 20px 46px -16px rgba(139, 108, 247, 0.85);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(62, 232, 242, 0.5); background: rgba(62, 232, 242, 0.08); color: #fff; }

.btn--quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
}
.btn--quiet:hover { color: #fff; }

.btn--gold {
  border-color: rgba(228, 199, 123, 0.45);
  background: rgba(228, 199, 123, 0.08);
  color: var(--gold);
}
.btn--gold:hover { background: rgba(228, 199, 123, 0.16); color: #f4dda1; }

.btn--full { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }
.btn--sm { padding: 10px 18px; font-size: 0.86rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ----------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 8, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; flex: none; }
.logo:hover { color: #fff; }
.logo__mark {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(62, 232, 242, 0.22), rgba(139, 108, 247, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.logo__mark svg { width: 18px; height: 18px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav__link[aria-current="page"] { color: #fff; background: rgba(139, 108, 247, 0.16); }

.header__tools { display: flex; align-items: center; gap: 10px; flex: none; }

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang a {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.lang a:hover { color: #fff; }
.lang a.is-active { background: rgba(255, 255, 255, 0.1); color: #fff; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* drawer (mobile) */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  z-index: 90;
  background: linear-gradient(170deg, #0d1024, #120c26 65%, #0a0d1c);
  border-left: 1px solid var(--line);
  padding: 22px 22px 34px;
  transform: translateX(102%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drawer__list li { margin: 0; }
.drawer__list a {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
}
.drawer__list a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__note {
  font-size: 0.8rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 4, 10, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background-color: #04050c;
  background-image:
    radial-gradient(760px 460px at 50% 0%, rgba(139, 108, 247, 0.3), transparent 62%),
    radial-gradient(620px 420px at 80% 100%, rgba(62, 232, 242, 0.16), transparent 60%);
}
.age-gate__card {
  width: min(560px, 100%);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(26, 20, 52, 0.92), rgba(8, 10, 22, 0.96));
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.age-gate__emblem {
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border-radius: 26px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--gold);
  border: 1px solid rgba(228, 199, 123, 0.4);
  background: radial-gradient(circle at 50% 30%, rgba(228, 199, 123, 0.18), rgba(228, 199, 123, 0.03));
}
.age-gate h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 14px; }
.age-gate__text { color: var(--muted); font-size: 0.99rem; }
.age-gate__facts {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.age-gate__facts p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.age-gate__actions { display: grid; gap: 12px; }
.age-gate__small { margin-top: 20px; color: var(--dim); font-size: 0.8rem; line-height: 1.55; }
.age-gate__small a { color: var(--muted); text-decoration: underline; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(46px, 6vw, 86px) 0 clamp(40px, 5vw, 72px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
.hero__badge { margin-bottom: 22px; }
.hero h1 { margin-bottom: 20px; max-width: 14ch; }
.hero__sub { max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.16rem); }
.hero__cta { margin-top: 28px; }
.hero__disclosure {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--dim);
  max-width: 48ch;
}

/* reel device — the one bold element of the page */
.reel-device {
  position: relative;
  border-radius: var(--r-xl);
  padding: 22px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(41, 26, 78, 0.72), rgba(9, 12, 26, 0.9));
  box-shadow: var(--shadow-lift), var(--shadow-soft);
}
.reel-device::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(228, 199, 123, 0.5), transparent 38%, rgba(62, 232, 242, 0.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.reel-device__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.reel-device__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
}
.reel-device__title span { display: block; font-size: 0.78rem; font-weight: 400; color: var(--dim); }

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 0%, rgba(62, 232, 242, 0.1), transparent 70%), rgba(4, 6, 14, 0.82);
  border: 1px solid var(--line);
}
.reel {
  aspect-ratio: 1 / 1.12;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: clamp(1.8rem, 1rem + 3.4vw, 2.9rem);
  line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 14, 0.6), transparent 26%, transparent 74%, rgba(4, 6, 14, 0.6));
  pointer-events: none;
}
.reel.is-spinning { animation: reel-tumble 0.42s linear infinite; }
@keyframes reel-tumble {
  0% { transform: translateY(0); filter: blur(0); }
  45% { transform: translateY(-9%); filter: blur(2.5px); }
  55% { transform: translateY(9%); filter: blur(2.5px); }
  100% { transform: translateY(0); filter: blur(0); }
}
.reel.is-landed { animation: reel-land 0.34s var(--ease); }
@keyframes reel-land {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.reel-device__foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.reel-device__foot strong { font-family: var(--font-display); }

/* ----------------------------------------------------------------- panels */
.panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(22px, 2.6vw, 30px);
}
.panel--flush { padding: 0; overflow: hidden; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--muted); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(62, 232, 242, 0.18), rgba(139, 108, 247, 0.22));
  border: 1px solid var(--line);
  font-size: 1.15rem;
}

/* featured game */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: center;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(139, 108, 247, 0.18), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  padding: clamp(24px, 3.2vw, 44px);
}
.feature__kicker {
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.feature h2 { margin-bottom: 6px; }
.feature__sub { color: var(--cyan); font-family: var(--font-display); font-size: 1rem; margin-bottom: 16px; }
.feature__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.feature__list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--muted); font-size: 0.94rem; margin: 0;
}
.feature__list li::before { content: "◆"; color: var(--cyan); font-size: 0.7rem; line-height: 1.8; }
.feature__note {
  margin-top: 20px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(228, 199, 123, 0.28);
  background: rgba(228, 199, 123, 0.06);
  color: var(--gold);
  font-size: 0.87rem;
  line-height: 1.55;
}

/* steps — a real sequence, so numbering is meaningful */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative;
  padding: 26px 26px 26px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--glass);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* disclaimer strip */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding: 20px 26px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(228, 199, 123, 0.24);
  background: linear-gradient(120deg, rgba(228, 199, 123, 0.08), rgba(139, 108, 247, 0.06));
}
.strip p { margin: 0; color: var(--text); font-size: 0.94rem; }
.strip__items { display: flex; flex-wrap: wrap; gap: 10px; }

/* responsible play */
.respo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.respo__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.respo__list li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}
.respo__list li span:first-child { color: var(--cyan); flex: none; font-size: 0.9rem; line-height: 1.7; }

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}
.faq__q:hover { background: rgba(255, 255, 255, 0.035); }
.faq__q .faq__sign {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-size: 0.95rem;
  transition: transform 0.28s var(--ease);
}
.faq__q[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }
.faq__a.is-open { display: block; }
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ prose */
.page-head { padding: clamp(46px, 5.5vw, 80px) 0 clamp(20px, 2vw, 30px); }
.page-head h1 { max-width: 20ch; }
.page-head p { max-width: 62ch; color: var(--muted); }
.breadcrumb { font-size: 0.83rem; color: var(--dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.72rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose p, .prose li { color: var(--muted); }
.prose li::marker { color: var(--cyan); }
.prose__updated { font-size: 0.85rem; color: var(--dim); margin-bottom: 2em; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--r-md); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 0.9rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--muted); }
th { color: #fff; font-family: var(--font-display); font-weight: 600; background: rgba(255, 255, 255, 0.04); }
tr:last-child td { border-bottom: 0; }

.callout {
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(62, 232, 242, 0.28);
  background: rgba(62, 232, 242, 0.06);
  margin: 0 0 1.6em;
}
.callout p { color: var(--text); margin: 0; font-size: 0.94rem; }
.callout--gold { border-color: rgba(228, 199, 123, 0.3); background: rgba(228, 199, 123, 0.06); }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.87rem; font-weight: 500; color: var(--text); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(4, 6, 14, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5d6684; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(62, 232, 242, 0.7);
  box-shadow: 0 0 0 3px rgba(62, 232, 242, 0.14);
}
.field--error input, .field--error textarea { border-color: #f07a8f; }
.field__error { font-size: 0.8rem; color: #f89aa9; min-height: 0; }
.field__hint { font-size: 0.8rem; color: var(--dim); }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 0.87rem; color: var(--muted); }
.check input {
  width: 19px; height: 19px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
  flex: none;
}
.check a { text-decoration: underline; }

.form__note { font-size: 0.82rem; color: var(--dim); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { margin: 0; }
.contact-list dt { font-size: 0.8rem; color: var(--dim); margin-bottom: 3px; }
.contact-list dd { margin: 0; color: var(--text); font-size: 0.95rem; word-break: break-word; }

/* ----------------------------------------------------------------- modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 11, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  width: 100%;
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  width: min(460px, 100%);
  margin: auto;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(24, 18, 48, 0.97), rgba(8, 10, 22, 0.99));
  box-shadow: var(--shadow-soft);
  animation: modal-in 0.28s var(--ease);
}
.modal__dialog--wide { width: min(620px, 100%); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.modal__close:hover { color: #fff; border-color: var(--line-strong); }
.modal__head { margin-bottom: 20px; padding-right: 44px; }
.modal__head h2 { font-size: 1.42rem; margin-bottom: 6px; }
.modal__head p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.modal__foot { margin-top: 18px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.modal__foot button {
  background: none; border: 0; padding: 0;
  color: var(--cyan); font: inherit; cursor: pointer; text-decoration: underline;
}
.modal__disclaimer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.55;
}

/* success state */
.success { text-align: center; }
.success__mark {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.7rem;
  color: var(--cyan);
  border: 1px solid rgba(62, 232, 242, 0.4);
  background: radial-gradient(circle at 50% 35%, rgba(62, 232, 242, 0.2), rgba(62, 232, 242, 0.03));
}
.success h2 { font-size: 1.5rem; margin-bottom: 10px; }
.success p { color: var(--muted); }
.success .btn { margin-top: 8px; }

/* ------------------------------------------------------------- game modal */
.game__head { margin-bottom: 18px; padding-right: 44px; }
.game__head h2 { font-size: 1.44rem; margin-bottom: 4px; }
.game__head p { margin: 0; color: var(--cyan); font-family: var(--font-display); font-size: 0.92rem; }

.game__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: var(--muted);
}
.game__count {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.game__result {
  margin: 16px 0 0;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px dashed var(--line-strong);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #fff;
  min-height: 62px;
  display: grid;
  place-items: center;
}
.game__actions { margin-top: 18px; display: grid; gap: 12px; }
.game__legal {
  margin-top: 16px;
  font-size: 0.79rem;
  color: var(--dim);
  text-align: center;
  line-height: 1.55;
}
.game__end { display: none; text-align: center; }
.game__end.is-visible { display: block; }
.game.is-finished .game__play { display: none; }

/* ----------------------------------------------------------------- toasts */
.toasts {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  right: 18px;
  z-index: 200;
  display: grid;
  gap: 10px;
  width: min(330px, calc(100vw - 36px));
  pointer-events: none;
}
.toast {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(14, 12, 32, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  color: var(--text);
  animation: toast-in 0.3s var(--ease);
  pointer-events: auto;
}
.toast--out { animation: toast-out 0.3s var(--ease) forwards; }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-top: 7px; flex: none; }
.toast--warn .toast__dot { background: var(--gold); }
@keyframes toast-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(16px); } }

/* --------------------------------------------------------- cookie banner */
.cookie {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 110;
  display: none;
  gap: 18px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: rgba(10, 12, 26, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.cookie.is-open { display: flex; }
.cookie p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cookie p a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex: none; }

.cookie-prefs { display: grid; gap: 14px; }
.cookie-prefs__row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.cookie-prefs__row h3 { font-size: 0.98rem; margin-bottom: 4px; }
.cookie-prefs__row p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.cookie-prefs__row input { margin-top: 4px; width: 19px; height: 19px; accent-color: var(--cyan); flex: none; }

/* ----------------------------------------------------------------- footer */
.footer {
  margin-top: clamp(50px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 10, 22, 0.4), rgba(4, 5, 12, 0.9));
  padding: clamp(42px, 5vw, 66px) 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 52px);
}
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 38ch; margin: 14px 0 18px; }
.footer__flags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__flags span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.footer__flags span:first-child { border-color: rgba(228, 199, 123, 0.45); color: var(--gold); }
.footer__col h3 { font-size: 0.86rem; color: var(--dim); font-weight: 500; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col li { margin: 0; }
.footer__col a { color: var(--muted); font-size: 0.91rem; }
.footer__col a:hover { color: #fff; }

.footer__disclaimer {
  margin-top: clamp(30px, 4vw, 44px);
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--muted);
}
.footer__disclaimer strong { color: #fff; }

.footer__bottom {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--dim);
}
.footer__bottom a { color: var(--dim); }
.footer__bottom a:hover { color: var(--muted); }

/* -------------------------------------------------------------------- 404 */
.error-page { padding: clamp(60px, 9vw, 130px) 0; text-align: center; }
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 2rem + 14vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, #4ff0f7, #8b6cf7 60%, #e4c77b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.error-page p { max-width: 46ch; margin-left: auto; margin-right: auto; color: var(--muted); }
.error-page .btn-row { justify-content: center; margin-top: 26px; }

/* -------------------------------------------------------------- offer card */
.offer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--r-xl);
  border: 1px solid rgba(228, 199, 123, 0.3);
  background:
    radial-gradient(560px 260px at 50% 0%, rgba(228, 199, 123, 0.12), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: clamp(28px, 4vw, 48px);
}
.offer__count {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.offer__label { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; margin-bottom: 18px; }
.offer p { color: var(--muted); max-width: 46ch; margin-left: auto; margin-right: auto; }
.offer .btn-row { justify-content: center; margin-top: 24px; }

.dont-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dont-list li {
  display: flex; gap: 11px; align-items: flex-start;
  color: var(--muted); font-size: 0.93rem; margin: 0;
}
.dont-list li::before { content: "✕"; color: #f07a8f; font-size: 0.82rem; line-height: 1.75; flex: none; }
.do-list li::before { content: "✓"; color: var(--cyan); }

/* ------------------------------------------------------------ motion prefs */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reel.is-spinning { animation: none; opacity: 0.75; }
}

/* ------------------------------------------------------------- utilities */
[hidden] { display: none !important; }

.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }

.steps--3 { grid-template-columns: repeat(3, 1fr); }

.drawer { visibility: hidden; }
.drawer.is-open { visibility: visible; }

.split-lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .split-lists { grid-template-columns: 1fr; } }

/* ------------------------------------------------- polish pass additions */
/* Headings focused programmatically (age gate, form success states) get the
   focus for screen readers without drawing a ring around the text. */
h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus,
h3[tabindex="-1"]:focus { outline: none; }

/* Anchor targets clear the sticky header. */
section[id], #main { scroll-margin-top: calc(var(--header-h) + 18px); }

.hero__disclosure { max-width: 60ch; }

.card-icon svg { width: 22px; height: 22px; }

/* The "what social casino means" list reads better in two columns on wide
   panels than as one long single-column stack. */
@media (min-width: 900px) {
  .respo__list--grid { grid-template-columns: repeat(2, 1fr); }
  .respo__list--grid li:last-child { grid-column: 1 / -1; }
}

/* --------------------------------------------------- VivaSpain Games mark */
/* The two-tone wordmark keeps the longer brand legible in the header and
   drawer: "VivaSpain" carries the weight, "Games" sits back as the descriptor. */
.logo__text { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.logo__sub { font-weight: 400; color: var(--muted); letter-spacing: -0.02em; }
.logo:hover .logo__sub { color: var(--text); }

@media (max-width: 400px) {
  .logo__text { gap: 5px; }
  .logo__sub { font-size: 0.92em; }
}
@media (max-width: 340px) {
  .logo__sub { display: none; }
}
