/* VOX Casino — Design System Tokens + Lobby IA */

:root {
  --brand-primary: #d67414;
  --brand-primary-hover: #ff9832;
  --brand-background: #171a28;
  --brand-tab-bar: #1b1f2e;
  --brand-bage-primary: #2b2f42;
  --sidebar-w: 228px;
  --sidebar-w-closed: 72px;
  --neutral-1000: #0d1520;
  --neutral-900: #212535;
  --neutral-900-85: #212535d8;
  --neutral-800: #33374c;
  --neutral-700: #3d4353;
  --neutral-600: #6a7e8b;
  --neutral-500: #a7b4d5;
  --neutral-400: #95b6c9;
  --white: #fff;
  --black: #000;
  --system-red: #fb4b4b;
  --system-green: #06b85a;
  --system-blue: #00a0ff;
  --system-orange: #d67414;
  --bg-main: var(--brand-background);
  --bg-tabbar: var(--brand-tab-bar);
  --bg-surface: var(--brand-bage-primary);
  --bg-surface-2: var(--neutral-900);
  --bg-tooltip: var(--neutral-800);
  --bg-hover: var(--neutral-700);
  --bg-input: var(--neutral-1000);
  --bg-light-opacity: #ffffff1a;
  --bg-tag: rgba(255, 255, 255, .15);
  --backdrop: #000000b3;
  --text-primary: var(--white);
  --text-secondary: var(--neutral-400);
  --text-brand: var(--brand-primary);
  --text-success: var(--system-green);
  --text-error: var(--system-red);
  --text-warning: var(--system-orange);
  --text-link: var(--system-blue);
  --input-placeholder: color-mix(in srgb, var(--text-secondary), #0000 50%);
  --icon-default: var(--neutral-500);
  --icon-brand: var(--brand-primary);
  --border-default: var(--brand-bage-primary);
  --border-secondary: var(--neutral-700);
  --border-tertiary: var(--neutral-500);
  --border-input: var(--brand-bage-primary);
  --border-input-focused: var(--neutral-600);
  --border-input-error: var(--system-red);
  --border-ghost-hover: var(--white);
  --gradient-hero: linear-gradient(180deg, #1b244c, #171a28);
  --gradient-purple: linear-gradient(180deg, #48358d, #302162);
  --gradient-purple-h: linear-gradient(90deg, #48358d, #302162);
  --gradient-bonus-blue: linear-gradient(90deg, #001745, #2a6acb 50%, #001745);
  --gradient-bonus-welcome: linear-gradient(90deg, #2a0132, #ae29ba 50%, #2a0132);
  --gradient-gold: linear-gradient(270deg, #f3e700, #c38300 6%, #aa4f00 22%, #c78b00 43%, #f5eb00 60%, #c28000 86%, #c78b00);
  --gradient-progress: linear-gradient(90deg, #875726, #fbefa5);
  --gradient-popup: linear-gradient(180deg, #101625, #171631 25%, #25122a 65%, #0d1520);
  --gradient-vip: linear-gradient(180deg, #101625, #25122a 50%, #0d1520);
  --gradient-fade-right: linear-gradient(270deg, #171a28 0, rgba(23, 26, 40, .75) 50%, transparent 100%);
  --vip-gold: #d3d77c;
  --vip-platinum: #e8e8e8;
  --vip-diamond: #38d5f8;
  --font-primary: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-secondary: "Rubik", "Roboto", system-ui, sans-serif;
  --fs-promo: 48px;
  --fs-display: 40px;
  --fs-modal-title: 24px;
  --fs-h2: 22px;
  --fs-lg: 18px;
  --fs-input: 16px;
  --fs-md: 15px;
  --fs-base: 14px;
  --fs-sm: 12px;
  --fs-xs: 10px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-input: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-pill: 99px;
  --radius-round: 50%;
  --shadow-popover: 0 8px 16px rgba(0, 0, 0, .25);
  --header-h: 74px;
  --sidebar-w-closed: 72px;
  --content-pad: 74px 16px 40px 88px;
  --content-max: 1104px;
  --game-card: 164px;
  --grid-gap: 24px;
  --tabbar-h: 73px;
  --t-fast: .2s;
  --t-base: .3s;
  --ease-sidebar: .24s ease-in-out .2s;
  --secondary-alt: #2b2f42;
  --tertiary: #6a7e8b;
  --cashier-small: #d67414;
  --radius: 14px;
  --font-heading: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Lobby IA aliases */
  --bg: var(--bg-main);
  --surface: var(--bg-surface);
  --surface-2: var(--bg-surface-2);
  --border: var(--border-default);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --accent: var(--brand-primary);
  --accent-2: var(--bg-surface);
  --container: var(--content-max);
}

@media (max-width: 768px) {
  :root {
    --header-h: 61px;
    --content-pad: 76px 16px 28px;
    --game-card: 124px;
    --grid-gap: 8px;
    --fs-display: 28px;
    --fs-h2: 18px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text-link);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand-primary);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: 16px;
}

/* ---------- App Shell & Left Sidebar ---------- */
body.has-sidebar {
  --sidebar-current: var(--sidebar-w);
}

body.has-sidebar.is-sidebar-collapsed {
  --sidebar-current: var(--sidebar-w-closed);
}

.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 75;
  width: var(--sidebar-current);
  background: var(--bg-main);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  transition: width var(--t-fast) ease;
  overflow: hidden;
}

.site-sidebar__top {
  height: var(--header-h);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border-default);
  flex-shrink: 0;
}

body.is-sidebar-collapsed .site-sidebar__top {
  justify-content: center;
  padding: 0 10px;
}

body.is-sidebar-collapsed .site-sidebar__top .brand {
  display: none;
}

.sidebar-toggle {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--icon-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.sidebar-toggle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.site-sidebar__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
}

.site-sidebar__body::-webkit-scrollbar {
  display: none;
}

.sidebar-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--gradient-purple);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform var(--t-fast), filter var(--t-fast);
  overflow: hidden;
}

.sidebar-promo:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.sidebar-promo__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-input);
  background: var(--brand-primary);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.sidebar-promo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.sidebar-promo__text strong {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.sidebar-promo__text small {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
}

body.is-sidebar-collapsed .sidebar-promo {
  justify-content: center;
  padding: 8px;
}

body.is-sidebar-collapsed .sidebar-promo__text {
  display: none;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-group + .sidebar-group {
  padding-top: 10px;
  border-top: 1px solid var(--border-default);
}

.sidebar-group__label {
  padding: 0 10px 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-600);
  white-space: nowrap;
}

body.is-sidebar-collapsed .sidebar-group__label {
  display: none;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-base);
  font-weight: 400;
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.sidebar-link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: var(--icon-default);
  flex-shrink: 0;
  transition: color var(--t-fast);
}

.sidebar-link:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.sidebar-link:hover i {
  color: var(--brand-primary);
}

.sidebar-link--accent {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.sidebar-link--accent i {
  color: var(--brand-primary);
}

.sidebar-link--accent:hover {
  background: var(--bg-surface);
  border-color: var(--brand-primary);
}

body.is-sidebar-collapsed .sidebar-link {
  justify-content: center;
  padding: 0;
}

body.is-sidebar-collapsed .sidebar-link span {
  display: none;
}

.site-sidebar__foot {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  white-space: nowrap;
  overflow: hidden;
}

.lang-pill__flag {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-round);
  background: var(--brand-primary);
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

body.is-sidebar-collapsed .site-sidebar__foot {
  padding: 10px 8px;
  justify-content: center;
}

body.is-sidebar-collapsed .lang-pill {
  width: auto;
  padding: 6px;
}

body.is-sidebar-collapsed .lang-pill__text {
  display: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-left: var(--sidebar-current, 0px);
  transition: margin-left var(--t-fast) ease;
}

@media (max-width: 980px) {
  .site-sidebar {
    display: none;
  }

  .app-shell {
    margin-left: 0;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--bg-main);
  border-bottom: 1px solid rgba(43, 47, 66, 0.55);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

@media (min-width: 981px) {
  body.has-sidebar:not(.is-sidebar-collapsed) .site-header .brand {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand__accent {
  color: var(--brand-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-base);
  font-weight: 400;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.header-nav__link:hover {
  color: var(--text-primary);
}

.header-nav__link.is-active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 16px;
}

.mobile-drawer {
  background: var(--bg-tabbar);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 12px 16px 16px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-input);
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-md);
}

.mobile-drawer__link i {
  width: 18px;
  text-align: center;
  color: var(--icon-default);
}

.mobile-drawer__link.is-active {
  background: var(--bg-surface);
  color: var(--brand-primary);
}

.mobile-drawer__section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-default);
}

.mobile-drawer__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-600);
  padding: 0 12px 6px;
}

/* Mobile 5-item tab bar (Vox Casino design system) */
.tabbar {
  display: none;
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .site-header .btn {
    height: 34px;
    padding: 8px 14px;
    font-size: var(--fs-md);
  }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    height: var(--tabbar-h);
    background: var(--bg-tabbar);
    border-top: 1px solid var(--border-default);
    padding: 6px 4px 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
  }

  .tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-primary);
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-primary);
  }

  .tabbar__item i {
    font-size: 18px;
    color: var(--icon-default);
  }

  .tabbar__item.is-active i,
  .tabbar__item.is-active span {
    color: var(--brand-primary);
  }

  .tabbar__plus {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-pill);
    background: var(--brand-primary);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    font-size: 14px;
  }

  .tabbar__plus i {
    color: var(--text-primary);
    font-size: 14px;
  }

  body.has-sidebar {
    padding-bottom: var(--tabbar-h);
  }
}

@media (max-width: 440px) {
  .header-actions .btn--secondary {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-primary);
  padding: 12px 28px;
  height: 44px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--t-base), border-color var(--t-base), opacity var(--t-fast);
  white-space: nowrap;
}

.btn--md {
  font-size: var(--fs-md);
  padding: 9px 22px;
  height: 36px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--brand-primary);
  color: var(--text-primary);
}

.btn--primary:hover:not([disabled]) {
  background: var(--brand-primary-hover);
}

.btn--secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.btn--secondary:hover:not([disabled]) {
  background: var(--bg-hover);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-input-focused);
  color: var(--text-primary);
}

.btn--ghost:hover:not([disabled]) {
  border-color: var(--border-ghost-hover);
}

.btn[disabled] {
  opacity: .6;
  cursor: default;
}

/* ---------- Promo Hero Stage (Vox Casino) ---------- */
.hero {
  width: 100%;
  padding: 20px 0 8px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 340px);
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background:
    radial-gradient(circle at 84% 25%, rgba(214, 116, 20, 0.22), transparent 52%),
    radial-gradient(circle at 12% 90%, rgba(72, 53, 141, 0.35), transparent 55%),
    var(--gradient-hero);
}

.hero__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-tag);
  color: var(--text-primary);
  font-size: var(--fs-base);
  margin-bottom: 12px;
}

.hero__content {
  max-width: 640px;
}

.hero__title {
  margin: 0 0 10px;
  font-family: var(--font-secondary);
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-primary);
}

.hero__promo-sub {
  margin: 0 0 10px;
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-primary-hover);
}

.hero__desc {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-promo-card {
  background: var(--gradient-purple);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-promo-card__badge {
  align-self: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-tag);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.hero-promo-card__amount {
  font-family: var(--font-secondary);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
}

.hero-promo-card__spins {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--vip-gold);
}

.hero-promo-card__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.hero-promo-card__pills span {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(13, 21, 32, 0.55);
  font-size: 11px;
  color: var(--text-secondary);
}

@media (max-width: 880px) {
  .hero-stage {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 16px 0 4px;
  }

  .hero-promo-card {
    padding: 18px 16px;
  }

  .hero-promo-card__amount {
    font-size: 26px;
  }
}

/* ---------- Continuous Lobby Flow ---------- */
.lobby-main {
  padding-top: 24px;
  padding-bottom: 48px;
}

.flow-block {
  margin-top: 34px;
}

.flow-block:first-child {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section-title,
.flow-block h2,
.article-prose h2 {
  margin: 0 0 12px;
  font-family: var(--font-primary);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
}

.section-head .section-title {
  margin-bottom: 0;
}

.muted-link {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.muted-link:hover {
  color: var(--text-primary);
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  margin: 0 0 10px;
  font-family: var(--font-secondary);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ---------- Games Lobby Pill Chips & Visual Tiles ---------- */
.game-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.game-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  height: 36px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: 400;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
}

.tab-btn i {
  color: var(--icon-default);
}

.tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.tab-btn.is-active {
  background: var(--brand-primary);
  color: var(--text-primary);
}

.tab-btn.is-active i {
  color: var(--text-primary);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1180px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--t-fast);
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-card[hidden] {
  display: none;
}

.game-card__cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
}

.game-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.game-card__cat {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(13, 21, 32, 0.78);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-primary);
}

.game-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.game-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__provider {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.game-card__play span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: var(--text-primary);
  font-size: var(--fs-md);
  font-weight: 500;
}

.game-card:hover .game-card__play,
.game-card:focus-visible .game-card__play {
  opacity: 1;
}

/* ---------- Data Tables ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface-2);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--fs-base);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  vertical-align: top;
}

.data-table thead th {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 500;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table th[scope="row"] {
  color: var(--text-secondary);
  font-weight: 400;
  width: 34%;
}

/* ---------- Provider & Payment Nameplate Strips ---------- */
.strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-plate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-weight: 500;
}

.brand-plate--logo {
  padding: 10px 14px;
  min-height: 46px;
  border-radius: var(--radius-input);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.brand-plate--logo:hover {
  border-color: var(--brand-primary);
  background: var(--bg-surface);
}

.brand-plate--logo img {
  display: block;
  width: auto;
  height: 26px;
  max-width: 112px;
  object-fit: contain;
}

.table-logo {
  display: block;
  width: auto;
  height: 26px;
  max-width: 110px;
  object-fit: contain;
}

.pay-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pay-cell img {
  display: block;
  width: 48px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- Prose / Article Continuous Flow ---------- */
.article-prose p,
.flow-block p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.article-prose section + section,
.article-section + .article-section {
  margin-top: 26px;
}

.steps-list {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.steps-list li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--fs-base);
}

/* ---------- Bonus Offer Cards (only /bonuses/) ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
}

.offer-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.offer-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-tag);
  color: var(--text-primary);
  font-size: var(--fs-sm);
}

.offer-card__title {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.offer-card__terms {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.offer-card__terms li {
  margin-bottom: 6px;
}

/* ---------- Mobile App Phone Frame + Store Badges ---------- */
.app-showcase {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.app-showcase--compact {
  gap: 22px;
}

.phone-mock {
  width: 200px;
  flex-shrink: 0;
  background: var(--neutral-1000);
  border: 2px solid var(--border-secondary);
  border-radius: 26px;
  padding: 12px;
}

.phone-mock--sm {
  width: 172px;
}

.phone-mock__screen {
  background: var(--gradient-hero);
  border-radius: 18px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-mock__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.phone-mock__pill {
  background: var(--brand-primary);
  color: var(--text-primary);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
}

.phone-mock__banner {
  background: var(--bg-surface);
  border-radius: var(--radius-input);
  padding: 10px;
  font-size: 12px;
  color: var(--text-primary);
}

.phone-mock__banner span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.phone-mock__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-mock__tile {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
}

.app-showcase__info {
  flex: 1;
  min-width: 240px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--neutral-1000);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-input);
  padding: 10px 18px;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.store-badge:hover {
  border-color: var(--brand-primary);
  background: var(--bg-surface-2);
}

.store-badge i {
  font-size: 24px;
  color: var(--text-primary);
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge small {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ---------- Mobile App Landing Showcase (/app/) ---------- */
.app-stage {
  margin-top: 24px;
  background:
    radial-gradient(circle at 82% 22%, rgba(214, 116, 20, 0.22), transparent 52%),
    radial-gradient(circle at 18% 85%, rgba(72, 53, 141, 0.32), transparent 55%),
    var(--gradient-hero);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 300px);
  gap: 36px;
  align-items: center;
}

@media (max-width: 860px) {
  .app-stage {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 28px;
  }
}

.app-stage__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-tag);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.app-stage__title {
  margin: 14px 0 10px;
  font-family: var(--font-secondary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .app-stage__title {
    font-size: 24px;
  }
}

.app-stage__lead {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.app-checklist {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.app-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: var(--fs-base);
}

.app-checklist i {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: rgba(214, 116, 20, 0.18);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.app-stage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

/* Detailed phone mockup for /app/ */
.phone-device {
  width: 280px;
  margin: 0 auto;
  background: var(--neutral-1000);
  border: 3px solid var(--border-secondary);
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.phone-device__screen {
  background: var(--bg-main);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
}

.phone-device__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 10px;
  color: var(--text-secondary);
}

.phone-device__notch {
  width: 64px;
  height: 14px;
  background: var(--neutral-1000);
  border-radius: var(--radius-pill);
}

.phone-device__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
}

.phone-device__brand {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.phone-device__brand span {
  color: var(--brand-primary);
}

.phone-device__btns {
  display: flex;
  gap: 4px;
}

.phone-device__btn {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-surface);
}

.phone-device__btn--primary {
  background: var(--brand-primary);
}

.phone-device__cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px 12px 10px;
}

.phone-device__cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--text-secondary);
}

.phone-device__cat-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--icon-default);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.phone-device__cat:first-child .phone-device__cat-icon {
  background: var(--brand-primary);
  color: var(--text-primary);
}

.phone-device__promo {
  margin: 0 12px 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--gradient-purple);
  color: var(--text-primary);
}

.phone-device__promo small {
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--bg-tag);
  font-size: 9px;
  margin-bottom: 6px;
}

.phone-device__promo strong {
  display: block;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.phone-device__promo span {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.phone-device__games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 12px 12px;
}

.phone-device__tile {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  padding: 8px;
}

.phone-device__tile strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-primary);
}

.phone-device__tile span {
  display: block;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.phone-device__tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: var(--bg-tabbar);
  border-top: 1px solid var(--border-default);
  padding: 6px 4px;
  text-align: center;
  font-size: 8px;
  color: var(--icon-default);
}

.phone-device__tabbar i {
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
}

.phone-device__plus {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* App feature cards + PWA shortcut guides */
.app-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 820px) {
  .app-features-grid {
    grid-template-columns: 1fr;
  }
}

.app-feature-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
}

.app-feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(214, 116, 20, 0.16);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 12px;
}

.app-feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}

.app-feature-card p {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.5;
}

.os-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .os-guides-grid {
    grid-template-columns: 1fr;
  }
}

.os-guide-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
}

.os-guide-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.os-guide-card h3 i {
  color: var(--brand-primary);
}

.os-guide-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.os-guide-card li {
  margin-bottom: 6px;
}

/* ---------- Auth / Contact Forms ---------- */
.form-panel {
  max-width: 460px;
  margin-top: 24px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.form-panel__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-base);
  color: var(--text-secondary);
}

.input,
.textarea {
  width: 100%;
  height: 46px;
  padding: 12px;
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  font-family: var(--font-primary);
  font-size: var(--fs-input);
  outline: none;
  transition: border-color var(--t-base);
}

.textarea {
  height: auto;
  min-height: 110px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--input-placeholder);
}

.input:focus,
.textarea:focus {
  border-color: var(--border-input-focused);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: var(--fs-base);
  color: var(--text-secondary);
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--brand-primary);
}

.form-note {
  margin: 12px 0 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-input);
  background: rgba(6, 184, 90, 0.14);
  border: 1px solid var(--system-green);
  color: var(--text-primary);
  font-size: var(--fs-base);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--brand-primary);
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-tabbar);
  border-top: 1px solid var(--border-default);
  padding: 28px 0 36px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-base);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.trust-row img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.footer-meta {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.5;
}

.footer-meta + .footer-meta {
  margin-top: 6px;
}

.end-cta {
  margin-top: 24px;
}

/* ---------- Internal /go/ Redirect Screen ---------- */
.go-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(214, 116, 20, 0.16), transparent 55%),
    var(--bg-main);
}

.go-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
}

.go-card__spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: var(--radius-round);
  border: 3px solid var(--bg-surface);
  border-top-color: var(--brand-primary);
  animation: voxSpin 0.8s linear infinite;
}

@keyframes voxSpin {
  to {
    transform: rotate(360deg);
  }
}

.go-card h1 {
  margin: 0 0 10px;
  font-family: var(--font-secondary);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.go-card p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: var(--fs-base);
}
