/* ==========================================================================
   SerenadeField — Emerald Jungle Temple design system
   Mobile-first: base styles target the smallest viewport; all breakpoints
   below use min-width media queries only (never max-width for layout).
   ========================================================================== */

:root {
  --wd-bg: #07130e;
  --wd-bg-deep: #030805;
  --wd-emerald: #0f6b4f;
  --wd-emerald-bright: #1cae7f;
  --wd-jade: #35d999;
  --wd-gold: #e8c15a;
  --wd-gold-deep: #b8892a;
  --wd-obsidian: #0a0f0c;
  --wd-white: #f4f7f2;
  --wd-text-dim: #a9c2b4;
  --wd-danger: #ff5a5a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wd-bg);
  color: var(--wd-white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Jungle-canopy backdrop: layered radial glows, no photographic texture. */
.canopy-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(53, 217, 153, .14), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(232, 193, 90, .10), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(15, 107, 79, .18), transparent 50%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14.5px;
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--gold {
  background: linear-gradient(135deg, #ffe9a8 0%, var(--wd-gold) 50%, var(--wd-gold-deep) 100%);
  color: #241a04;
  box-shadow: 0 8px 24px rgba(184, 137, 42, .4), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--gold:hover { box-shadow: 0 10px 30px rgba(184, 137, 42, .55); }
.btn--ghost {
  border-color: rgba(244, 247, 242, .3);
  color: var(--wd-white);
  background: rgba(244, 247, 242, .06);
}
.btn--ghost:hover { border-color: var(--wd-jade); background: rgba(244, 247, 242, .12); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--card {
  width: 100%;
  background: linear-gradient(135deg, var(--wd-emerald-bright), var(--wd-emerald));
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 174, 127, .4);
}
.btn--card:hover { filter: brightness(1.1); }

/* game-ui */
.eyebrow {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wd-jade);
  margin-bottom: 6px;
}
.wd-section-head { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.wd-section-head h2 { font-family: 'Baloo 2', sans-serif; font-size: clamp(24px, 5vw, 34px); margin: 0 0 10px; }
.wd-section-head p { color: var(--wd-text-dim); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.wd-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; display: flex; flex-direction: column; padding: 0 16px 16px; }
.wd-cookie[hidden] { display: none; }
.wd-cookie__bar {
  background: var(--wd-obsidian);
  border: 1px solid rgba(53, 217, 153, .25);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
}
.wd-cookie__text { margin: 0; font-size: 12.5px; color: var(--wd-text-dim); }
.wd-cookie__text a { color: var(--wd-jade); text-decoration: underline; }
.wd-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-cookie__panel {
  background: var(--wd-obsidian);
  border: 1px solid rgba(53, 217, 153, .25);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 10px;
}
.wd-cookie__panel[hidden] { display: none; }
.wd-cookie__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wd-cookie__panel-head h3 { margin: 0; font-family: 'Baloo 2', sans-serif; font-size: 17px; }
.wd-cookie__panel-intro { font-size: 12.5px; color: var(--wd-text-dim); margin: 0 0 14px; }
.wd-cookie__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.wd-cookie__row-copy strong { display: block; font-size: 13.5px; }
.wd-cookie__row-copy span { font-size: 12px; color: var(--wd-text-dim); }
.wd-cookie__locked-badge { flex: none; font-size: 11px; font-weight: 700; color: var(--wd-jade); border: 1px solid var(--wd-jade); border-radius: 999px; padding: 3px 10px; }
.wd-cookie__toggle { flex: none; width: 42px; height: 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); position: relative; cursor: pointer; }
.wd-cookie__toggle-dot { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.wd-cookie__toggle[aria-checked="true"] { background: var(--wd-emerald-bright); border-color: transparent; }
.wd-cookie__toggle[aria-checked="true"] .wd-cookie__toggle-dot { transform: translateX(18px); }
.wd-cookie__panel-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

@media (min-width: 640px) {
  .wd-cookie__bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ==========================================================================
   Nav shell — "bottom-tab-hybrid" archetype: fixed bottom tab bar on
   mobile (native-app pattern), the SAME items become a top bar on
   desktop. Deliberately different interaction from sidebar-persistent
   (Glimmo) and top-bar-persistent (Luxio).

   Desktop header construction — "centered masthead + floating capsule":
   the brand mark/wordmark stands alone, centered, on its own row (like a
   magazine masthead) — NOT sharing a single horizontal bar with the nav
   links and auth buttons the way a conventional "logo-left, links-center,
   buttons-right" header does. Navigation + auth controls live together in
   one small floating pill BELOW the brand, detached from the viewport
   edges with visible background between it and the masthead row — a
   different information architecture, not just a recolored bar.
   ========================================================================== */
.wd-shell { position: relative; z-index: 1; min-height: 100vh; padding-bottom: 76px; }
.wd-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(7,19,14,.97) 0%, rgba(7,19,14,.9) 75%, rgba(7,19,14,.7) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(53, 217, 153, .1);
}
.wd-masthead__brand { display: flex; align-items: center; gap: 8px; }
.wd-brand__mark { width: 30px; height: 30px; color: var(--wd-gold); flex: none; }
.wd-brand__mark svg { width: 100%; height: 100%; }
.wd-brand__name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .01em; background: linear-gradient(90deg, var(--wd-gold), #fff3c9, var(--wd-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wd-masthead__capsule {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(232,193,90,.18);
  border-radius: 999px;
  padding: 7px 8px 7px 18px;
}
.wd-masthead__nav { display: none; }
.wd-masthead__nav a { font-size: 13px; font-weight: 700; color: var(--wd-text-dim); }
.wd-masthead__nav a[aria-current="page"] { color: var(--wd-white); }
.wd-masthead__divider { display: none; width: 1px; height: 18px; background: rgba(255,255,255,.16); }
.wd-masthead__login { font-size: 13px; font-weight: 700; color: var(--wd-text-dim); padding: 6px 4px; }
.wd-masthead__authgroup { display: flex; align-items: center; gap: 14px; }
.wd-masthead__account-email {
  font-size: 12.5px;
  color: var(--wd-text-dim);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 860px) {
  .wd-masthead { flex-direction: row; justify-content: center; padding: 16px 24px; }
  .wd-masthead__brand { position: absolute; left: 24px; }
  .wd-masthead__nav { display: flex; gap: 20px; }
  .wd-masthead__divider { display: block; }
}

.wd-announce {
  background: linear-gradient(90deg, rgba(53, 217, 153, .14), rgba(232, 193, 90, .1));
  border-bottom: 1px solid rgba(53, 217, 153, .12);
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
}
.wd-announce strong { color: var(--wd-gold); }

/* Fixed bottom tab bar — mobile only. */
.wd-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  background: rgba(7, 19, 14, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(53, 217, 153, .16);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.wd-tabbar__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  min-height: 44px;
  justify-content: center;
  color: var(--wd-text-dim);
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
}
.wd-tabbar__item[aria-current="page"] { color: var(--wd-gold); background: rgba(232, 193, 90, .1); }
.wd-tabbar__item svg { width: 20px; height: 20px; }

@media (min-width: 860px) {
  .wd-tabbar { display: none; }
  .wd-shell { padding-bottom: 0; }
}

/* ---------- Hero (fullbleed photo) ---------- */
.wd-hero { position: relative; z-index: 5; padding: 18px 0 46px; }
.wd-hero__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.wd-hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wd-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,8,5,.15) 0%, rgba(3,8,5,.55) 55%, rgba(3,8,5,.94) 100%); }
.wd-hero__content { position: relative; padding: 30px 20px 32px; width: 100%; }
.wd-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(53, 217, 153, .16); border: 1px solid rgba(53, 217, 153, .5); color: var(--wd-jade); font-weight: 800; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; }
.wd-hero__badge--age { color: var(--wd-gold); border-color: rgba(232, 193, 90, .5); background: rgba(232, 193, 90, .12); }
.wd-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wd-hero__badges .wd-hero__badge { margin-bottom: 0; }
.wd-hero h1 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(28px, 6vw, 46px); line-height: 1.08; margin: 0 0 12px; }
.wd-hero h1 .grad { background: linear-gradient(90deg, var(--wd-jade), var(--wd-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wd-hero p.lead { color: var(--wd-text-dim); font-size: 15px; max-width: 520px; margin: 0 0 20px; }
.wd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.wd-hero__stats { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.wd-hero__stats .stat strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 20px; color: var(--wd-gold); }
.wd-hero__stats .stat span { font-size: 11px; color: var(--wd-text-dim); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Testimonial strip ---------- */
.wd-testimonials { padding: 40px 0; position: relative; z-index: 5; }
.wd-testimonials__row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.wd-testimonial { background: rgba(255,255,255,.04); border: 1px solid rgba(53,217,153,.16); border-radius: 14px; padding: 18px; }
.wd-testimonial p { margin: 0 0 10px; font-size: 14px; font-style: italic; color: var(--wd-white); }
.wd-testimonial__stars { color: var(--wd-gold); font-size: 13px; margin-bottom: 6px; }
.wd-testimonial__name { font-size: 12px; color: var(--wd-text-dim); font-weight: 700; }
@media (min-width: 700px) { .wd-testimonials__row { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Game tiles — "shelf-icon" archetype: NOT a uniform grid. Games are
   grouped into horizontally-scrolling genre shelves (Netflix-row style),
   each tile is small/square with a minimal caption strip BELOW the art
   (not overlaid on top of it, unlike the overlay-caption pattern this
   replaces) and NO visible button — the entire tile is the click target,
   with a small icon-only play affordance instead of "Play Free" text.
   ========================================================================== */
.wd-shelf { margin-bottom: 30px; }
.wd-shelf__title { font-family: 'Baloo 2', sans-serif; font-size: 15px; margin: 0 0 12px; padding-left: 2px; color: var(--wd-white); }

/* game-ui */
.wd-shelf__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.wd-tile { flex: 0 0 122px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; color: inherit; }
.wd-tile__media { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.4); background: #04130c; }
.wd-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.wd-tile:hover .wd-tile__media img { transform: scale(1.06); }
.wd-tile__play {
  position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--card-accent, var(--wd-gold)); color: #14100a; display: flex; align-items: center; justify-content: center;
  font-size: 10px; box-shadow: 0 4px 10px rgba(0,0,0,.45);
}
.wd-tile__title { font-size: 12px; font-weight: 700; line-height: 1.25; }
.wd-tile__meta { font-size: 10.5px; color: var(--wd-text-dim); }
.wd-tile__details { font-size: 10.5px; font-weight: 700; color: var(--wd-gold); }

@media (min-width: 640px) { .wd-tile { flex-basis: 148px; } }

/* ---------- Game detail hero (per-game pages) ---------- */
.wd-game-hero { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
@media (min-width: 760px) { .wd-game-hero { grid-template-columns: 1fr 1.2fr; gap: 36px; } }
.wd-game-hero__media { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); aspect-ratio: 1 / 1; }
.wd-game-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-game-hero__copy h1 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(24px, 5vw, 34px); margin: 6px 0 8px; }
.wd-game-hero__meta { color: var(--wd-gold); font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.wd-game-hero__copy p.lead { color: var(--wd-text-dim); font-size: 15px; margin: 0 0 20px; max-width: 480px; }
.wd-game-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Recommended games row (per-game pages) — reuses .wd-tile in a
   grid instead of the horizontal-scroll shelf, so all five sit flush. ---------- */
.wd-recs__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .wd-recs__row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .wd-recs__row { grid-template-columns: repeat(5, 1fr); } }
.wd-recs__row .wd-tile { flex: none; width: auto; }

/* ==========================================================================
   Flagship slot machine — "split-console" chrome. Genuinely different
   layout axis from Glimmo's reels-cabinet-badge (vertical stack: title,
   reels, HUD row, controls row, badge below) and Luxio's console-deck
   (also a vertical stack, just denser): here the reels and the entire
   control surface live SIDE BY SIDE as two visually separate panels —
   a wide reel viewport on one side, a narrow bordered "control console"
   box on the other — on desktop. On mobile they stack, but the console
   panel keeps its own distinct bordered/background treatment so it still
   reads as a separate physical panel, not just the next thing in a
   single column. Required functional classes (.wd-slot__stage,
   .wd-slot__cabinet, .wd-slot__cell, .wd-slot__reels, .wd-slot__stat,
   .wd-slot__bet-control/btn, .wd-slot__win) are kept as secondary classes
   for JS/engine compatibility — .wd-console__* layer new positioning on
   top of them.
   ========================================================================== */
.wd-slot { position: relative; z-index: 5; padding-bottom: 60px; }
.wd-slot__stage { position: relative; border-radius: 26px; overflow: hidden; background-size: cover; background-position: center; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.wd-slot__scrim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(11, 61, 46, .3), rgba(3, 8, 5, .88) 78%); }
.wd-slot__cabinet.wd-console { position: relative; z-index: 2; width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 14px; }

.wd-console__reelzone { display: flex; flex-direction: column; gap: 12px; }
.wd-console__title-row { text-align: center; }
.wd-slot__title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(15px, 2.8vw, 20px); background: linear-gradient(90deg, var(--wd-gold), #fff3c9, var(--wd-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* game-ui */
.wd-slot__reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; padding: 10px; border-radius: 18px; background: linear-gradient(160deg, rgba(10,25,18,.94), rgba(3,8,5,.97)); border: 3px solid var(--wd-gold); box-shadow: inset 0 0 40px rgba(0,0,0,.7); }
.wd-slot__cell { position: relative; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #04130c; }
.wd-slot__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-slot__cell.is-win { box-shadow: 0 0 0 3px var(--wd-gold), 0 0 20px 5px rgba(232,193,90,.75); animation: wdWinPulse 1s ease-in-out infinite; }
@keyframes wdWinPulse { 0%,100% { box-shadow: 0 0 0 3px var(--wd-gold), 0 0 14px 3px rgba(232,193,90,.5); } 50% { box-shadow: 0 0 0 3px var(--wd-gold), 0 0 26px 8px rgba(232,193,90,.95); } }
.wd-slot__cell.is-win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.6) 48%, transparent 64%); background-size: 250% 250%; background-position: 130% 0%; animation: wdShine 1.7s ease-in-out infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes wdShine { 0% { background-position: 130% 0%; } 100% { background-position: -30% 0%; } }
.wd-slot__reels.is-spinning .wd-slot__cell img { filter: blur(2.5px) brightness(1.25) saturate(1.1); }
@media (prefers-reduced-motion: reduce) { .wd-slot__cell.is-win { animation: none; } .wd-slot__cell.is-win::after { display: none; } .wd-slot__reels.is-spinning .wd-slot__cell img { filter: none; } }

/* The control console — a visually distinct bordered panel, not just the
   next block in the same column. */
.wd-console__panel {
  display: flex; flex-direction: column; gap: 12px; width: 100%;
  background: rgba(3,8,5,.55); border: 1px solid rgba(232,193,90,.22); border-radius: 18px; padding: 16px;
}
.wd-console__info-btn { align-self: flex-end; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(232,193,90,.45); background: rgba(232,193,90,.1); color: var(--wd-gold); font-size: 11.5px; font-weight: 800; cursor: pointer; }

.wd-console__stat { flex-direction: row !important; align-items: center; justify-content: space-between; width: 100%; background: rgba(0,0,0,.3); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.wd-slot__stat span { font-size: 10.5px; text-transform: uppercase; color: var(--wd-text-dim); }
.wd-slot__stat strong { font-family: 'Baloo 2', sans-serif; font-size: 17px; color: #fff; }
.wd-slot__stat strong em { font-style: normal; font-size: 11px; color: var(--wd-gold); margin-left: 4px; }
.wd-slot__stat.is-pulsing strong { animation: wdStatPulse .7s ease-out; }
@keyframes wdStatPulse { 0% { transform: scale(1); } 35% { transform: scale(1.3); color: var(--wd-gold); } 100% { transform: scale(1); color: #fff; } }
@media (prefers-reduced-motion: reduce) { .wd-slot__stat.is-pulsing strong { animation: none; } }

.wd-slot__bet-control { display: flex; align-items: center; gap: 8px; }
.wd-slot__bet-control strong { font-family: 'Baloo 2', sans-serif; font-size: 16px; min-width: 30px; text-align: center; }
.wd-slot__bet-btn { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.wd-slot__bet-btn:hover:not(:disabled) { background: rgba(255,255,255,.18); }
.wd-slot__bet-btn:disabled { opacity: .3; }

.wd-console__auto-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.wd-console__auto-btn:hover { background: rgba(255,255,255,.12); }
.wd-console__auto-btn.is-active { background: linear-gradient(135deg, var(--wd-gold), var(--wd-gold-deep)); color: #241a04; border-color: transparent; }
.wd-console__auto-btn.is-active span:first-child { animation: wdAutoSpin 1s linear infinite; display: inline-block; }
@keyframes wdAutoSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wd-console__auto-btn.is-active span:first-child { animation: none; } }

.wd-console__spin-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; border-radius: 14px; border: none; padding: 0 16px; cursor: pointer; background: linear-gradient(135deg, var(--wd-gold), var(--wd-gold-deep)); box-shadow: 0 10px 26px rgba(184,137,42,.4); transition: transform .15s ease; }
.wd-console__spin-btn:active { transform: scale(.98); }
.wd-console__spin-btn img { width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(0,0,0,.2); }
.wd-console__spin-btn span { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: #241a04; white-space: nowrap; }
.wd-console__spin-btn.is-spinning img { animation: wdSpinRing 1s linear infinite; }
@keyframes wdSpinRing { to { transform: rotate(360deg); } }

.wd-slot__win.wd-console__win { position: static; text-align: center; width: 100%; box-sizing: border-box; }
.wd-slot__win { opacity: 0; transform: translateY(8px) scale(.4); background: linear-gradient(135deg, var(--wd-gold), var(--wd-gold-deep)); color: #241a04; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13.5px; padding: 9px 14px; border-radius: 14px; box-shadow: 0 10px 30px rgba(184,137,42,.5); pointer-events: none; }
.wd-slot__win.is-visible { animation: wdWinBadgeIn .6s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes wdWinBadgeIn { 0% { opacity: 0; transform: translateY(8px) scale(.4); } 55% { opacity: 1; transform: translateY(-5px) scale(1.12); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .wd-slot__win.is-visible { animation: none; opacity: 1; transform: none; } }

.wd-slot__stage::before { content: ""; position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at 50% 45%, rgba(53,217,153,.55), transparent 62%); opacity: 0; pointer-events: none; }
.wd-slot__stage.is-flash::before { animation: wdFlash .7s ease-out; }
@keyframes wdFlash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wd-slot__stage.is-flash::before { animation: none; } }

.wd-slot__note { text-align: center; color: var(--wd-text-dim); font-size: 12px; margin-top: 14px; }
.wd-slot__note--legal { max-width: 560px; margin: 6px auto 0; line-height: 1.5; }
.wd-slot__note--legal a { color: inherit; text-decoration: underline; }
.wd-slot__note--legal a:hover, .wd-slot__note--legal a:focus-visible { color: var(--wd-white); }

@media (min-width: 780px) {
  .wd-slot__cabinet.wd-console { flex-direction: row; align-items: stretch; gap: 20px; }
  .wd-console__reelzone { flex: 1 1 60%; justify-content: center; }
  .wd-console__panel { flex: 0 0 240px; justify-content: center; }
}

/* ---------- Win animation — "confetti ribbon" variant ---------- */
.wd-confetti {
  position: absolute; top: 50%; left: 50%; width: 6px; height: 14px; border-radius: 2px;
  pointer-events: none; z-index: 6; opacity: 0; box-shadow: 0 1px 3px rgba(0,0,0,.35);
  animation: wdConfettiFall var(--wd-confetti-dur, 1300ms) cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: var(--wd-confetti-delay, 0ms);
}
@keyframes wdConfettiFall {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.5) rotate(0deg); }
  30% { opacity: 1; transform: translate(calc(-50% + var(--wd-confetti-tx, 0px) * 0.6), calc(-50% + var(--wd-confetti-ty-up, -60px))) scale(1) rotate(calc(var(--wd-confetti-wobble, 200deg) * 0.4)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--wd-confetti-tx, 0px)), calc(-50% + var(--wd-confetti-fall, 120px))) scale(.85) rotate(var(--wd-confetti-wobble, 200deg)); }
}
@media (prefers-reduced-motion: reduce) { .wd-confetti { animation: none; display: none; } }

@media (min-width: 620px) {
  .wd-slot__stage { padding: 26px; }
  .wd-slot__reels { gap: 8px; padding: 12px; border-radius: 20px; }
}

/* ---------- Paytable dialog ---------- */
.wd-paytable { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.wd-paytable[hidden] { display: none; }
.wd-paytable__backdrop { position: absolute; inset: 0; background: rgba(3,8,5,.74); backdrop-filter: blur(2px); }
.wd-paytable__sheet { position: relative; z-index: 1; width: 100%; max-width: 480px; max-height: 84vh; overflow-y: auto; background: linear-gradient(180deg, #0d2b20 0%, #030805 100%); border: 1px solid rgba(255,255,255,.12); border-bottom: none; border-top-left-radius: 22px; border-top-right-radius: 22px; padding: 8px 20px 26px; box-shadow: 0 -20px 60px rgba(0,0,0,.6); animation: wdSheetUp .28s ease-out; }
@keyframes wdSheetUp { from { transform: translateY(28px); opacity: .3; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wd-paytable__sheet { animation: none; } }
.wd-paytable__handle { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: 10px auto 12px; }
.wd-paytable__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.wd-paytable__header h3 { font-family: 'Baloo 2', sans-serif; font-size: 16px; margin: 0; }
.wd-paytable__close { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 14px; cursor: pointer; }
.wd-paytable__rule { font-size: 12.5px; color: var(--wd-text-dim); line-height: 1.55; margin: 0 0 16px; }
.wd-paytable__rule strong { color: var(--wd-gold); }

/* game-ui */
.wd-paytable__cols { display: grid; grid-template-columns: 44px 1fr 40px 40px 40px; gap: 8px; padding: 0 4px 6px; }
.wd-paytable__cols span { font-size: 10px; text-transform: uppercase; color: var(--wd-text-dim); text-align: center; }
/* game-ui */
.wd-paytable__row { display: grid; grid-template-columns: 44px 1fr 40px 40px 40px; align-items: center; gap: 8px; padding: 8px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.wd-paytable__row img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.wd-paytable__row .name { font-size: 13px; font-weight: 700; }
.wd-paytable__row .name em { font-style: normal; color: var(--wd-gold); font-size: 11px; }
.wd-paytable__row .val { text-align: center; font-weight: 800; font-size: 12.5px; color: var(--wd-gold); }

.wd-paytable__lines-title { font-family: 'Baloo 2', sans-serif; font-size: 14px; margin: 18px 0 10px; }
.wd-paytable__lines { display: flex; flex-direction: column; gap: 10px; }
.wd-paytable__line { display: flex; align-items: center; gap: 12px; }
/* game-ui */
.wd-paytable__line-grid { flex: none; display: grid; grid-template-columns: repeat(5, 6px); grid-template-rows: repeat(3, 6px); gap: 3px; }
.wd-paytable__line-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.16); }
.wd-paytable__line-dot.is-on { background: var(--wd-gold); box-shadow: 0 0 5px rgba(232,193,90,.8); }
.wd-paytable__line-name { font-size: 12.5px; color: var(--wd-text-dim); }
.wd-paytable__line-name strong { color: #fff; }

@media (min-width: 620px) {
  .wd-paytable { align-items: center; }
  .wd-paytable__sheet { border-radius: 22px; border-bottom: 1px solid rgba(255,255,255,.12); max-height: 78vh; }
  .wd-paytable__handle { display: none; }
}

/* ==========================================================================
   Sign-in panel — "split-panel drawer" variant. Genuinely different shape
   from Glimmo's bottom-sheet (slides up from the bottom edge, full-width)
   and Luxio's centered-tile-grid (floats centered, 2x2 icon grid): this
   one slides in from the RIGHT edge of the viewport as a tall vertical
   drawer, with providers rendered as a single row of icon-circle buttons
   instead of a stacked list or a square grid. IDs/data-attributes the JS
   binds to are unchanged — only the markup/class vocabulary is new.
   ========================================================================== */
.wd-signin { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; }
.wd-signin[hidden] { display: none; }
.wd-signin__backdrop { position: absolute; inset: 0; background: rgba(3,8,5,.72); backdrop-filter: blur(3px); }
.wd-signin__panel {
  position: relative; z-index: 1; width: 100%; max-width: 420px; height: 100%; overflow-y: auto;
  background: linear-gradient(180deg, #0d2b20 0%, #030805 100%);
  border-left: 1px solid rgba(232,193,90,.22);
  padding: 64px 26px 32px;
  box-shadow: -24px 0 60px rgba(0,0,0,.55);
  animation: wdPanelSlide .3s ease-out;
}
@keyframes wdPanelSlide { from { transform: translateX(24px); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wd-signin__panel { animation: none; } }
.wd-signin__close { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.wd-signin__crest {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(232,193,90,.18), transparent 70%);
  border: 1px solid rgba(232,193,90,.35); color: var(--wd-gold);
}
.wd-signin__crest svg { width: 26px; height: 26px; }
.wd-signin__title { text-align: center; font-family: 'Baloo 2', sans-serif; font-size: 20px; margin: 0 0 6px; }
.wd-signin__lead { font-size: 13px; color: var(--wd-text-dim); text-align: center; margin: 0 0 24px; line-height: 1.5; }
.wd-signin__lead strong { color: var(--wd-gold); }

.wd-signin__icon-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 20px; }
.wd-signin__icon-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: none; color: var(--wd-text-dim); font-size: 11px; font-weight: 700; cursor: pointer; }
.wd-signin__icon-circle {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.wd-signin__icon-circle svg { width: 22px; height: 22px; }
.wd-signin__icon-btn:hover .wd-signin__icon-circle { background: rgba(232,193,90,.12); border-color: rgba(232,193,90,.4); transform: translateY(-2px); }

/* Provider-unavailable notice: bespoke mechanism, no floating toast/banner
   at all (unlike Glimmo's persistent banner or a toast component) — the
   clicked button itself morphs in place (icon swaps to a clock glyph,
   label swaps to "Soon") and reverts on its own timer. Full message text
   only reaches an aria-live region, for screen readers. */
.wd-signin__icon-btn--pending { pointer-events: none; }
.wd-signin__icon-btn--pending .wd-signin__icon-circle {
  background: rgba(232,193,90,.14);
  border-color: rgba(232,193,90,.5);
  animation: wdIconPulse 1.1s ease-in-out infinite;
}
@keyframes wdIconPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.wd-signin__sr-announce {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wd-signin__error {
  font-size: 12px;
  color: #ff6b8b;
  background: rgba(255, 107, 139, .1);
  border: 1px solid rgba(255, 107, 139, .3);
  border-radius: 10px;
  padding: 9px 12px;
  margin: 0 0 14px;
  text-align: center;
}

.wd-signin__fine { font-size: 11px; color: var(--wd-text-dim); line-height: 1.5; text-align: center; }
.wd-signin__back { display: block; background: none; border: none; color: var(--wd-jade); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0 0 14px; }
.wd-signin__form-title { text-align: center; font-family: 'Baloo 2', sans-serif; font-size: 16px; margin: 0 0 18px; }
.wd-signin__field { display: block; margin-bottom: 14px; }
.wd-signin__field span { display: block; font-size: 12px; color: var(--wd-text-dim); margin-bottom: 6px; }
.wd-signin__field input {
  width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05); color: #fff; padding: 12px 14px; font-size: 16px; font-family: inherit;
}
.wd-signin__submit { width: 100%; margin-top: 4px; margin-bottom: 16px; }

/* Reusable form styling for the contact page (unrelated to the sign-in
   panel, but needs the same input treatment). */
.wd-form__field { display: block; margin-bottom: 14px; }
.wd-form__field span { display: block; font-size: 12px; color: var(--wd-text-dim); margin-bottom: 6px; }
.wd-form__field input, .wd-form__field textarea {
  width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05); color: #fff; padding: 12px 14px; font-size: 16px; font-family: inherit;
}
.wd-form__submit { width: 100%; margin-top: 4px; }
.wd-form__fine { font-size: 11px; color: var(--wd-text-dim); line-height: 1.5; margin-top: 14px; }

.wd-cookie__close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }

/* ==========================================================================
   Footer — "minimal-single-row" archetype: no column grid, brand mark +
   all nav links flatten into one inline row, responsible-gaming content
   collapses into a compact strip.
   ========================================================================== */
.wd-footer { position: relative; z-index: 5; margin-top: 20px; background: linear-gradient(180deg, rgba(3,8,5,0) 0%, rgba(3,8,5,.6) 40%, #030805 100%); border-top: 1px solid rgba(53,217,153,.14); padding: 30px 0 90px; }
.wd-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 18px; }
.wd-footer__mark { display: flex; align-items: center; gap: 8px; }
.wd-footer__mark svg { width: 24px; height: 24px; color: var(--wd-gold); }
.wd-footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; flex: 1 1 auto; }
.wd-footer__links a { font-size: 12.5px; color: var(--wd-text-dim); }
.wd-footer__links a:hover, .wd-footer__links a[aria-current="page"] { color: var(--wd-white); }
.wd-footer__age-chip { flex: none; font-family: 'Baloo 2', sans-serif; font-size: 14px; font-weight: 800; background: linear-gradient(135deg, var(--wd-gold), var(--wd-gold-deep)); color: #241a04; border-radius: 999px; padding: 5px 14px; margin-left: 4px; box-shadow: 0 3px 10px rgba(184,137,42,.4); }
.wd-footer__responsible { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.wd-footer__responsible p { font-size: 11.5px; color: var(--wd-text-dim); margin: 0; max-width: 620px; }
.wd-footer__orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wd-footer__org { display: flex; align-items: center; justify-content: center; height: 40px; padding: 6px 12px; background: var(--wd-obsidian); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.wd-footer__org img { max-height: 20px; width: auto; }
.wd-footer__org--text { font-size: 11px; font-weight: 700; white-space: nowrap; }
.wd-footer__bottom { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11.5px; color: var(--wd-text-dim); display: flex; flex-direction: column; gap: 6px; }
.wd-footer__disclaimer { font-size: 11.5px; color: var(--wd-text-dim); max-width: 720px; margin: 0 0 14px; }
@media (min-width: 640px) { .wd-footer__bottom { flex-direction: row; flex-wrap: wrap; row-gap: 6px; justify-content: space-between; } }

/* ---------- Prose (legal pages) ---------- */
.wd-prose h2 { font-family: 'Baloo 2', sans-serif; font-size: 19px; margin: 26px 0 10px; }
.wd-prose h2:first-child { margin-top: 0; }
.wd-prose p, .wd-prose li { font-size: 14px; color: var(--wd-text-dim); line-height: 1.7; }
.wd-prose ul { padding-left: 20px; }
/* ---------- Legal pages — sticky sidebar TOC + anchor-jump sections.
   Genuinely different structural presentation from a linear H2-per-section
   blog-style stack: a persistent table of contents lets a reader jump
   straight to any clause instead of scrolling past everything before it. */
html { scroll-behavior: smooth; }
.wd-legal { display: flex; flex-direction: column; gap: 24px; max-width: 860px; margin: 0 auto; }
.wd-legal__toc { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(53,217,153,.14); border-radius: 14px; }
.wd-legal__toc-label { font-family: 'Baloo 2', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--wd-jade); margin-bottom: 6px; }
.wd-legal__toc a { font-size: 13px; color: var(--wd-text-dim); padding: 5px 0; }
.wd-legal__toc a:hover { color: var(--wd-white); }
.wd-legal__body section { scroll-margin-top: 96px; margin-bottom: 26px; }
.wd-legal__body section:last-child { margin-bottom: 0; }
.wd-legal__body h2 { font-family: 'Baloo 2', sans-serif; font-size: 18px; margin: 0 0 10px; }
.wd-legal__body p, .wd-legal__body li { font-size: 14px; color: var(--wd-text-dim); line-height: 1.7; }
.wd-legal__body ul { padding-left: 20px; margin: 0; }
@media (min-width: 860px) {
  .wd-legal { flex-direction: row; align-items: flex-start; gap: 40px; }
  .wd-legal__toc { flex: 0 0 200px; position: sticky; top: 100px; }
  .wd-legal__body { flex: 1 1 auto; min-width: 0; }
}

.wd-page-intro { padding: 34px 0 8px; text-align: center; }
.wd-page-intro h2 { font-family: 'Baloo 2', sans-serif; font-size: clamp(24px, 5vw, 32px); margin: 0 0 8px; }
.wd-page-intro p { color: var(--wd-text-dim); max-width: 520px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.wd-faq details { background: rgba(255,255,255,.04); border: 1px solid rgba(53,217,153,.14); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.wd-faq summary { font-weight: 800; font-size: 14px; cursor: pointer; }
.wd-faq p { margin: 10px 0 0; color: var(--wd-text-dim); font-size: 13.5px; }

/* ---------- Contact form ---------- */
.wd-contact__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 780px) { .wd-contact__grid { grid-template-columns: 1.2fr 1fr; } }
.wd-contact-form { display: flex; flex-direction: column; }
.wd-contact-info > div { margin-bottom: 20px; }
.wd-contact-info h3 { font-family: 'Baloo 2', sans-serif; font-size: 15px; margin: 0 0 6px; }
.wd-contact-info p { color: var(--wd-text-dim); font-size: 13.5px; }
.wd-contact-info a { color: var(--wd-jade); text-decoration: underline; }

/* ---------- VIP teaser band (homepage) ---------- */
.wd-vip-teaser__row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .wd-vip-teaser__row { grid-template-columns: repeat(3, 1fr); } }
.wd-vip-tier { background: linear-gradient(160deg, rgba(232,193,90,.1), rgba(255,255,255,.02)); border: 1px solid rgba(232,193,90,.25); border-radius: 14px; padding: 18px; text-align: center; }
.wd-vip-tier__icon { font-size: 26px; margin-bottom: 8px; }
.wd-vip-tier h3 { font-family: 'Baloo 2', sans-serif; font-size: 15px; margin: 0 0 4px; }
.wd-vip-tier p { font-size: 12.5px; color: var(--wd-text-dim); margin: 0; }
.wd-vip-teaser__cta { text-align: center; margin-top: 18px; }

/* ---------- FAQ teaser band (homepage) ---------- */
.wd-faq-teaser__list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 0 auto; }
.wd-faq-teaser__cta { text-align: center; margin-top: 18px; }

/* ---------- Article cards (Articles hub) ---------- */
.wd-articles__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .wd-articles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .wd-articles__grid { grid-template-columns: repeat(3, 1fr); } }
.wd-article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(160deg, rgba(232,193,90,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(232,193,90,.22);
  border-radius: 14px;
  padding: 20px;
}
.wd-article-card__icon { font-size: 26px; }
.wd-article-card h3 { font-family: 'Baloo 2', sans-serif; font-size: 16px; margin: 0; }
.wd-article-card p { font-size: 13.5px; color: var(--wd-text-dim); margin: 0; flex: 1; }
.wd-article-card__link { font-size: 13px; font-weight: 700; color: var(--wd-gold); }

/* ---------- Sections generic ---------- */
section { position: relative; z-index: 5; padding: 34px 0; }

/* Utility */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
