/* ============================================================
   WABO static clone — design system
   Mobile-first. Breakpoints: 480 / 640 / 768 / 1024
   ============================================================ */

/* Native cross-fade between same-origin page loads (Chrome 126+; no-op elsewhere) */
@view-transition {
  navigation: auto;
}

@font-face {
  font-family: 'Lexend';
  src: url('../assets/fonts/Lexend.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/roboto-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/roboto-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-bg-top: #4a1f7a;
  --color-bg-bottom: #221039;
  --color-primary: #6a2fa8;
  --color-primary-dark: #2d1150;
  --color-primary-light: #9b5fd6;
  --color-accent: #f0c674;
  --color-accent-dark: #d9a94a;
  --color-cream: #f3ead9;
  --color-text-light: #ffffff;
  --color-text-dim: #d9c9f0;
  --color-text-dark: #2a1140;
  --color-card: rgba(255, 255, 255, 0.08);
  --color-card-border: rgba(255, 255, 255, 0.14);
  --shell-width: 480px;
  --content-max-width: 860px;
  --header-inner-max: 1280px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-heading: 'Lexend', 'Bahnschrift', sans-serif;
  --font-body: 'Roboto', 'Bahnschrift', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-light);
  background: var(--color-primary-dark);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- App shell: full-bleed background; content column is capped by main ---------- */

.app-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--color-bg-top) 0%, var(--color-bg-bottom) 60%);
  position: relative;
  padding-bottom: 76px; /* space for fixed tab bar */
}

main {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-top: 129px; /* reserves space for the fixed header before shared.js measures its real height, so content doesn't jump on load */
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 14px 16px 10px;
}

.header-inner {
  max-width: var(--header-inner-max);
  margin: 0 auto;
}

.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.logo img {
  height: 44px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.auth-btn-pair {
  display: inline-grid;
  grid-template-columns: minmax(48px, 1fr) minmax(48px, 1fr);
  gap: 8px;
  min-width: 0;
}

.auth-btn-pair .btn {
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text-light);
}

/* ---------- Side menu drawer (utility links) ---------- */

.side-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 20, 0.6);
  display: none;
  z-index: 60;
}

.side-menu.is-open {
  display: block;
}

.side-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 78%;
  max-width: 300px;
  background: var(--color-primary-dark);
  padding: 14px 16px;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
}

.side-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.side-menu-head img {
  height: 28px;
}

.side-menu-close {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 22px;
  line-height: 1;
  padding: 4px;
}

.side-menu-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  opacity: 0.7;
  margin: 12px 6px 2px;
}

.side-menu-label:first-of-type {
  margin-top: 0;
}

.side-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-menu-links button,
.side-menu-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  width: 100%;
}

.side-menu-links a.is-active {
  color: var(--color-accent);
}

.side-menu-links img {
  width: 17px;
  height: 17px;
}

.btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-text-dark);
}

.btn-accent:hover {
  box-shadow: 0 4px 14px rgba(240, 198, 116, 0.4);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--color-cream);
  color: var(--color-text-dark);
}

.btn-white:hover {
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-switch-btn img {
  width: 14px;
  height: 14px;
}

.top-nav {
  container-type: inline-size;
  display: flex;
  gap: clamp(2px, 1.5cqw, 18px);
  margin-top: 14px;
  padding-bottom: 4px;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  max-height: 64px;
  opacity: 1;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease, padding-bottom 0.25s ease;
}

.top-nav.is-hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-bottom: 0;
}

.top-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-size: clamp(7px, 2cqw, 11px);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-nav-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav-item img {
  width: clamp(14px, 4cqw, 26px);
  height: clamp(14px, 4cqw, 26px);
  flex-shrink: 0;
}

.top-nav-item.is-active {
  color: var(--color-text-light);
}

.utility-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-text-dim);
}

.utility-row button {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: inherit;
  font-size: 11px;
}

.utility-row img {
  width: 16px;
  height: 16px;
}

/* ---------- Hero carousel ---------- */

.hero {
  position: relative;
  margin: 12px 16px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }

.hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 690 / 300;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 4, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  z-index: 2;
}

.hero-arrow-prev {
  left: 10px;
}

.hero-arrow-next {
  right: 10px;
}

/* ---------- Promo ticker ---------- */

.promo-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 16px 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-card-border);
  background: var(--color-card);
  font-size: 12px;
  color: var(--color-text-dim);
}

.promo-ticker .ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.promo-ticker .ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 14s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.promo-ticker .btn {
  padding: 6px 14px;
  font-size: 11px;
}

/* ---------- Section heading ---------- */

.section {
  margin: 26px 16px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-heading img {
  width: 20px;
  height: 20px;
}

/* ---------- Homepage intro (H1 + description + auth buttons) ---------- */

.home-intro {
  text-align: center;
}

.home-intro h1 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.home-intro p {
  font-size: 12.5px;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin: 0 0 14px;
}

.home-intro-actions {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  max-width: 100%;
}

.home-intro-actions .btn {
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Games grid ---------- */

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

@media (min-width: 480px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
}

.game-card {
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  aspect-ratio: 125 / 170;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.game-card span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text-dark);
  letter-spacing: 0.03em;
}

.game-card.has-image {
  padding: 0;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.game-card.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Provider filter chips ---------- */

.provider-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
}
.provider-chips::-webkit-scrollbar { display: none; }
.provider-chips.is-dragging { cursor: grabbing; }

.provider-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  color: var(--color-text-dim);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.provider-chip.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-dark);
}

/* ---------- Category game list (landscape, layered cards) ---------- */

.games-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 1024px) {
  .games-list { grid-template-columns: repeat(2, 1fr); }
}

.games-list .game-card-lg.is-hidden {
  display: none;
}

.game-card-lg {
  display: block;
  position: relative;
  aspect-ratio: 605 / 173;
  border-radius: var(--radius-sm);
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Why join (homepage) ---------- */

.why-join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 480px) {
  .why-join-grid { grid-template-columns: repeat(2, 1fr); }
}

.why-join-item {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-join-item .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-join-item .icon svg {
  width: 16px;
  height: 16px;
}

.why-join-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--color-text-light);
}

.why-join-item span {
  font-size: 10.5px;
  color: var(--color-text-dim);
  line-height: 1.4;
}

/* ---------- Individual game tiles (provider drill-down page) ---------- */

.game-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (min-width: 1024px) {
  .game-tile-grid { grid-template-columns: repeat(6, 1fr); }
}

.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--color-card-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.game-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.game-tile .tile-title {
  font-size: 10.5px;
  font-weight: 700;
  padding: 6px 7px 8px;
  color: var(--color-text-light);
  line-height: 1.3;
}

.game-tile .tile-hot {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #e0453c;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 1;
}

.gc-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}

.gc-watermark {
  position: absolute;
  left: 5%;
  top: 28%;
  width: 38%;
  z-index: 1;
}

.gc-logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 24%;
  padding: 5% 4%;
  z-index: 3;
}

.gc-logo img {
  width: 100%;
  display: block;
}

.gc-art {
  position: absolute;
  right: 0;
  top: -4%;
  width: 62%;
  height: 108%;
  z-index: 2;
}

.gc-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

/* ---------- Sign-in CTA bar ---------- */

#site-footer {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.signin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 16px 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 30px;
  padding: 20px 16px 24px;
  background: var(--color-bg-bottom);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--color-text-dim);
}

.site-footer .footer-license {
  opacity: 0.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 14px 0;
  font-size: 12px;
}

.footer-links a {
  color: var(--color-text-light);
  font-weight: 700;
}

/* ---------- Bottom tab bar ---------- */

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: linear-gradient(180deg, #3a1a63 0%, #221039 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0 10px;
  z-index: 20;
}

.tab-bar-inner {
  display: flex;
  width: 100%;
  max-width: var(--header-inner-max);
  margin: 0 auto;
}

.tab-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--color-text-dim);
  background: none;
  border: none;
}

.tab-bar-item img {
  width: 22px;
  height: 22px;
}

.tab-bar-item.is-active {
  color: var(--color-text-light);
}

/* ---------- Language switcher modal ---------- */

.lang-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 20, 0.7);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 70;
}
.lang-modal.is-open {
  display: flex;
}

.lang-modal-panel {
  width: 100%;
  max-width: var(--shell-width);
  background: var(--color-primary-dark);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px;
}

.lang-modal-panel h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.lang-option.is-current {
  color: var(--color-accent);
}

/* ---------- Generic page hero (interior pages) ---------- */

.page-hero {
  margin: 16px 16px 0;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.page-hero h1 {
  font-size: 20px;
  margin-bottom: 6px;
}

.page-hero p {
  font-size: 12px;
  color: var(--color-text-dim);
  margin: 0;
}

.breadcrumb {
  font-size: 11px;
  color: var(--color-text-dim);
  margin: 12px 16px 0;
}
.breadcrumb a { font-weight: 700; color: var(--color-text-light); }

/* ---------- Auth landing (Login / Register) ---------- */

.auth-card {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  margin-bottom: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.auth-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.auth-card-sub {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.welcome-bonus {
  background: rgba(240, 198, 116, 0.12);
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 18px;
  line-height: 1.6;
  text-align: left;
}

.welcome-bonus strong {
  color: var(--color-accent);
  display: block;
  margin-bottom: 2px;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  color: var(--color-text-dim);
  margin-bottom: 18px;
}

.btn-auth-primary {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
  border-radius: 999px;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-auth-primary:hover {
  box-shadow: 0 4px 14px rgba(240, 198, 116, 0.4);
  transform: translateY(-1px);
}

.btn-auth-outline {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-auth-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--color-text-dim);
  font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-card-border);
}

.steps-card {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin-bottom: 14px;
}

.steps-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 2px;
  display: inline-block;
}

.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-text {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.6;
}

.step-text strong {
  color: var(--color-text-light);
}

.info-box {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}

.info-box strong {
  color: var(--color-accent);
}

.req-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 5px;
}

.req-list li::before {
  content: '\2713';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-card {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
}

.faq-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-light);
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 2px;
  display: inline-block;
}

.faq-item {
  border-top: 1px solid var(--color-card-border);
}

.faq-q {
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.faq-a {
  padding: 0 16px 13px;
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q {
  color: var(--color-accent);
}

.faq-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ---------- Account overview (My Account page) ---------- */

.account-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  padding: 18px;
}

.account-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-dim);
  margin-bottom: 6px;
}

.account-card-row strong {
  color: var(--color-text-light);
  font-weight: 700;
}

.account-balance {
  margin: 14px 0;
}

.account-balance span {
  display: block;
  font-size: 11px;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}

.account-balance strong {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-accent);
}

.account-actions {
  display: flex;
  gap: 10px;
}

.account-actions .btn {
  flex: 1;
  text-align: center;
}

/* ---------- Account menu (My Account page) ---------- */

.account-login-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.account-login-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.account-login-card strong {
  font-size: 15px;
}

.account-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 6px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 18px 8px;
}

.account-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.account-menu-item .icon {
  width: 30px;
  height: 30px;
  display: block;
}

.account-menu-item span {
  font-size: 10.5px;
  color: var(--color-text-dim);
  line-height: 1.3;
}

/* ---------- Contact / form-style page ---------- */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.contact-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-dark);
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 19px;
  height: 19px;
}

.contact-item .icon.icon-img {
  background: rgba(255, 255, 255, 0.12);
  padding: 8px;
}

.contact-item .icon.icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-item strong {
  display: block;
  font-size: 13px;
}
.contact-item span {
  font-size: 11px;
  color: var(--color-text-dim);
}

.contact-item .chevron {
  margin-left: auto;
  color: var(--color-text-dim);
  font-size: 16px;
  flex-shrink: 0;
}

/* ---------- Promo cards (promotions page) ---------- */

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 1024px) {
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}

.promo-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-card-border);
}

.promo-card img {
  width: 100%;
  aspect-ratio: 464 / 198;
  object-fit: cover;
  display: block;
}

.promo-card.is-hidden {
  display: none;
}

.promo-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
}
.promo-tabs.is-dragging { cursor: grabbing; }
.promo-tabs::-webkit-scrollbar { display: none; }

.promo-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  color: var(--color-text-dim);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.promo-tab.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-dark);
}

/* ---------- Download page ---------- */

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin: 24px 16px 0;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
}

.download-card img.logo-mark {
  width: 72px;
}

.download-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text-light);
}

.app-download-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.app-download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
}

.app-download-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-download-item .icon svg {
  width: 22px;
  height: 22px;
}

.app-download-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-download-item strong {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
}

.app-download-item span {
  font-size: 11px;
  color: var(--color-text-dim);
}

.app-download-item .chevron {
  margin-left: auto;
  color: var(--color-text-dim);
  font-size: 16px;
  flex-shrink: 0;
}

/* ---------- Utility ---------- */

/* ---------- Legal / prose content pages (About, Privacy, Terms, Disclaimer, Responsible Gaming) ---------- */

.placeholder-note {
  display: block;
  font-size: 11px;
  color: var(--color-accent);
  opacity: 0.85;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 15px;
  margin: 22px 0 8px;
  color: var(--color-text-light);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-text-dim);
  margin: 0 0 10px;
}

.legal-content ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.legal-content li {
  list-style: disc;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-text-dim);
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--color-text-light);
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .games-grid { grid-template-columns: repeat(5, 1fr); }
  .games-grid.home-games-grid { grid-template-columns: repeat(4, 1fr); }
}
