/* ==========================================================================
   Teen Patti Master — Homepage
   Design system: deep navy/black · metallic gold · subtle cyan accents
   ========================================================================== */

/* Metric-matched fallback so the Poppins swap causes no layout shift */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
  size-adjust: 112.16%;
}

:root {
  /* Surfaces */
  --bg-0: #03060d;
  --bg-1: #050a15;
  --bg-2: #081225;
  --surface: linear-gradient(180deg, rgba(18, 30, 55, .58), rgba(7, 12, 24, .86));

  /* Gold */
  --gold-100: #ffe9a8;
  --gold-300: #f5cd6e;
  --gold-500: #d9a441;
  --gold-text: linear-gradient(180deg, #fff2c6 0%, #f8d57f 38%, #e0a83f 72%, #f3cf7c 100%);
  --gold-fill: linear-gradient(180deg, #ffe7a0 0%, #f5c965 42%, #dca03b 80%, #c8892a 100%);
  --gold-ring: conic-gradient(from 210deg, #fff0bd, #b07a24, #f6d27c, #6f4912, #f9e0a0, #a8741f, #fff0bd);

  /* Lines */
  --line: rgba(236, 196, 110, .16);
  --line-strong: rgba(236, 196, 110, .45);
  --cyan: #43d5f2;

  /* Text */
  --text: #f1f4fa;
  --text-2: #c3cad8;
  --muted: #8e99ae;
  --ink: #241704;

  /* Shape & motion */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-card: 0 18px 40px -18px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .05);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --section-y: clamp(56px, 6vw, 88px);

  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg-1);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg-1);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { color: var(--text); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  padding: 10px 16px; border-radius: 10px;
  background: var(--gold-fill); color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Primitives ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 20px; height: 20px; flex: none; }
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }

.text-gold {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.text-gold-solid { color: var(--gold-300); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(236, 196, 110, .38);
  background: linear-gradient(90deg, rgba(217, 164, 65, .16), rgba(217, 164, 65, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--gold-100);
  font-size: .78rem; font-weight: 500; letter-spacing: .02em; line-height: 1.4;
}
.eyebrow__icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-fill); color: var(--ink);
}
.eyebrow__icon .icon { width: 12px; height: 12px; }

.section { position: relative; padding-block: var(--section-y); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 52px);
  text-align: center;
}
.section-title { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.625rem); }
.section-lead { margin-top: 14px; color: var(--muted); }
.section-head .section-lead { max-width: 540px; margin-inline: auto; }

/* Metallic medal (icon frame) */
.medal {
  position: relative;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border: 2px solid transparent;
  border-radius: 50%;
  color: var(--gold-300);
  background:
    radial-gradient(circle at 50% 28%, #1f2f50 0%, #0a1224 72%) padding-box,
    var(--gold-ring) border-box;
  box-shadow:
    0 10px 24px -8px rgba(0, 0, 0, .85),
    inset 0 2px 6px rgba(255, 255, 255, .08),
    0 0 24px -6px rgba(245, 205, 110, .35);
}
.medal::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(245, 205, 110, .22);
}
.medal .icon { filter: drop-shadow(0 0 6px rgba(245, 205, 110, .35)); }

.mini-medal {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--gold-300);
  background: radial-gradient(circle at 50% 30%, #1c2a46, #0a1222);
  border: 1px solid rgba(236, 196, 110, .5);
}

/* Decorative light streak */
.streak {
  position: absolute; left: 0;
  width: 100%; height: 140px;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 14px;
  font-size: .9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--pill { border-radius: 999px; }
.btn--block { width: 100%; }

.btn--gold {
  color: var(--ink);
  background: var(--gold-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 -2px 0 rgba(122, 78, 12, .35),
    0 0 0 1px rgba(255, 226, 150, .45),
    0 10px 26px -8px rgba(226, 168, 62, .55);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -2px 0 rgba(122, 78, 12, .35),
    0 0 0 1px rgba(255, 226, 150, .6),
    0 16px 34px -10px rgba(236, 178, 70, .7);
}
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--gold-100);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(217, 164, 65, .1);
  border-color: var(--gold-300);
}

.btn__disc {
  width: 26px; height: 26px; margin-left: -10px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #1a1206; color: var(--gold-300);
}
.btn__disc .icon { margin-left: 2px; }

.btn--chip {
  --h: 32px;
  gap: 4px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  font-size: .78rem;
  color: var(--gold-100);
  background: rgba(8, 13, 25, .6);
  border: 1px solid rgba(236, 196, 110, .4);
}
.btn--chip:hover,
.game-card:hover .btn--chip {
  color: var(--ink);
  background: var(--gold-fill);
  border-color: transparent;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(4, 8, 17, .92), rgba(5, 10, 21, .8));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .3s, box-shadow .3s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 205, 110, .5) 30%, rgba(67, 213, 242, .3) 70%, transparent);
}
.site-header.is-scrolled { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8); }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { flex: none; }
.brand img { width: 96px; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }

.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: #cfd6e4;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.nav__link:hover { color: var(--gold-100); }
.nav__link.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(67, 213, 242, .12), rgba(67, 213, 242, .02));
  border-color: rgba(67, 213, 242, .38);
  box-shadow: 0 0 18px -6px rgba(67, 213, 242, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.nav__trigger .icon { transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 200px; padding: 8px;
  border-radius: var(--radius);
  background: rgba(8, 14, 28, .98);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px #000;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s, transform .2s var(--ease), visibility 0s;
}
@media (hover: hover) {
  .nav__dropdown:hover .dropdown {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s, transform .2s var(--ease), visibility 0s;
  }
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: .875rem; color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.dropdown a .icon { color: var(--gold-300); }
.dropdown a:hover { background: rgba(217, 164, 65, .1); color: var(--gold-100); }

.site-header__cta {
  --h: 44px;
  flex: none;
  padding: 0 18px 0 22px;
  font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  color: var(--gold-100);
}

/* ---------- Drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(2, 4, 10, .65);
  opacity: 0; transition: opacity .3s;
}
.drawer-overlay.is-visible { opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(340px, 88vw);
  display: flex; flex-direction: column; gap: 20px;
  padding: 16px 20px 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0a1324, #050a15);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -20px #000;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { width: 88px; }
.drawer__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line-strong); color: var(--gold-100);
}
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-weight: 500; color: var(--text);
}
.drawer__nav a::after { content: "›"; font-size: 1.25rem; line-height: 1; color: var(--gold-300); }
.drawer__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: -8px; }
.drawer .btn { margin-top: auto; }
.drawer__nav--sub a { padding: 11px 4px; font-size: .9375rem; color: var(--text-2); }

/* ---------- Social ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--gold-300);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
  border: 1px solid rgba(236, 196, 110, .25);
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.social a:hover { color: #fff; transform: translateY(-2px); border-color: var(--gold-300); background-color: rgba(217, 164, 65, .18); }

/* ==========================================================================
   Live ticker
   ========================================================================== */
.ticker {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  height: 42px;
  padding-left: var(--gutter);
  background: linear-gradient(90deg, #060c19, #0a1426 50%, #060c19);
  border-bottom: 1px solid rgba(236, 196, 110, .12);
}
.ticker__live {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  background: rgba(229, 57, 70, .14);
  border: 1px solid rgba(229, 57, 70, .45);
  color: #ffd9dc;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
}
.ticker__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff4d5a;
  animation: pulse 1.8s ease-out infinite;
}
.ticker__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
}
.ticker__track { display: flex; width: max-content; }
.ticker__track.is-animated { animation: ticker var(--ticker-dur, 45s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track li {
  display: inline-flex; align-items: center; gap: 8px;
  padding-right: 44px;
  font-size: .8125rem; color: #c9d0dd; white-space: nowrap;
}
.ticker__track li .icon { color: var(--gold-300); }
.ticker__track b { color: var(--gold-300); font-weight: 600; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(560px, 51.2vw, 820px);
  background: var(--bg-1);
}
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: -2;
  width: min(100%, 1600px);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-1) 0%, rgba(5, 10, 21, .82) 20%, rgba(5, 10, 21, .3) 42%, rgba(5, 10, 21, 0) 58%),
    linear-gradient(0deg, var(--bg-1) 0%, rgba(5, 10, 21, 0) 20%);
}

.hero__sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__sparks span {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: #ffe39a;
  box-shadow: 0 0 10px 2px rgba(255, 210, 110, .7);
  opacity: 0;
  animation: twinkle 5s var(--d) ease-in-out infinite;
}

.hero__inner { position: relative; padding-block: clamp(48px, 5vw, 80px); }
.hero__content { max-width: 610px; }
.hero__title {
  font-size: clamp(2.125rem, 1.1rem + 2.9vw, 3.375rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
}
.hero__lead { margin-top: 20px; max-width: 520px; color: #b9c2d3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgba(10, 18, 34, .62);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem; font-weight: 500; color: var(--text-2);
}
.hero__streak { bottom: -48px; z-index: 1; }

/* ==========================================================================
   Trust / Why choose
   ========================================================================== */
.trust {
  overflow: hidden;
  padding-top: calc(var(--section-y) * .6);
  background:
    radial-gradient(40% 40% at 84% 46%, rgba(67, 213, 242, .07), transparent),
    radial-gradient(34% 34% at 14% 62%, rgba(217, 164, 65, .08), transparent),
    var(--bg-1);
}
.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.trust__intro { position: relative; padding-bottom: 150px; }
.trust__intro .section-lead { max-width: 460px; margin: 16px 0 28px; }
.trust__deco {
  position: absolute; left: 34%; bottom: -24px;
  width: 140px; height: auto;
  rotate: -16deg;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 26px rgba(217, 164, 65, .22));
  animation: float 7s ease-in-out infinite;
}
.deco-rank { font-family: var(--font); font-weight: 700; font-size: 26px; fill: #f3c65f; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 28px;
}
.feature {
  --offset: 0px;
  --lift: 0px;
  position: relative;
  padding: 28px 18px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .14);
  box-shadow: var(--shadow-card);
  transform: translateY(calc(var(--offset) - var(--lift)));
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.feature:nth-child(3n + 2) { --offset: 28px; }
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(245, 205, 110, .13), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.feature:hover {
  --lift: 6px;
  border-color: rgba(236, 196, 110, .45);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 40px -22px rgba(245, 205, 110, .5);
}
.feature:hover::before { opacity: 1; }
.feature__title { font-size: 1rem; line-height: 1.3; }
.feature__text { margin-top: 8px; font-size: .8125rem; line-height: 1.55; color: var(--muted); }

/* ==========================================================================
   Popular games
   ========================================================================== */
.games { background: linear-gradient(180deg, var(--bg-1) 0%, #071022 50%, var(--bg-1) 100%); }
.games__streak { top: -36px; }

.games__panel {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(245, 205, 110, .07), transparent 70%),
    linear-gradient(180deg, rgba(16, 27, 50, .55), rgba(6, 11, 22, .82));
  border: 1px solid rgba(236, 196, 110, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.games__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 16px) / 6);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 18px 4px 8px;
  margin: -18px -4px -8px;
}
.games__track::-webkit-scrollbar { display: none; }

.game-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  scroll-snap-align: start;
  padding: 12px 12px 18px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(var(--tint), .12) 0%, rgba(10, 17, 33, .92) 55%);
  border: 1px solid rgba(var(--tint), .3);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 196, 110, .6);
  box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .9), 0 0 36px -12px rgba(var(--tint), .6);
}
.game-card__art {
  position: relative;
  width: 100%; aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(var(--tint), .4), rgba(var(--tint), .06) 60%, transparent 82%),
    linear-gradient(180deg, #0e1a31, #070d1a);
  border: 1px solid rgba(255, 255, 255, .05);
}
.game-card__art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), transparent 38%);
}
.game-art {
  width: 94%; height: auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45));
  transition: transform .5s var(--ease);
}
.game-card:hover .game-art { transform: scale(1.07) rotate(-2deg); }
.game-card__name { margin-top: 14px; font-size: 1rem; }
.game-card__meta { margin: 2px 0 14px; font-size: .75rem; color: var(--muted); }
.game-card .btn--chip { margin-top: auto; }
.game-card__tag {
  position: absolute; top: 0; left: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .625rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4;
  color: var(--ink);
  background: var(--gold-fill);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, .6);
}
.game-card__tag .icon { width: 10px; height: 10px; }
.game-card__tag--hot { color: #e9fbff; background: linear-gradient(180deg, #3fbfdf, #17799b); }

.game-art .rank { font-family: var(--font); font-weight: 700; font-size: 11px; }
.game-art .rank--sm { font-size: 9px; }
.game-art .slot7 { font-family: var(--font); font-weight: 700; font-size: 19px; fill: url(#g-red); }
.game-art .multiplier { font-family: var(--font); font-weight: 700; font-size: 15px; fill: #f5cd6e; }
.game-art .dt-letter { font-family: var(--font); font-weight: 700; font-size: 24px; fill: #fff6db; paint-order: stroke; stroke: rgba(0, 0, 0, .35); stroke-width: 3px; }
.game-art .dt-vs { font-family: var(--font); font-weight: 700; font-size: 10px; fill: #f5cd6e; }

.carousel-btn {
  position: absolute; top: 50%; z-index: 3;
  width: 44px; height: 44px; margin-top: -22px;
  display: none; place-items: center;
  border-radius: 50%;
  color: var(--gold-100);
  background: #0a1224;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 20px -6px #000;
  transition: background-color .25s, color .25s, opacity .25s;
}
.carousel-btn--prev { left: -22px; }
.carousel-btn--next { right: -22px; }
.has-overflow > .carousel-btn { display: grid; }
.carousel-btn:hover:not(:disabled) { color: var(--ink); background: var(--gold-fill); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-section {
  background:
    radial-gradient(45% 40% at 50% 55%, rgba(67, 213, 242, .05), transparent),
    var(--bg-1);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-top: 34px;
}
.steps::before {
  content: ""; position: absolute; top: 33px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(245, 205, 110, .75) 0 8px, transparent 8px 14px);
  opacity: .55;
}
.step {
  position: relative; z-index: 1;
  padding: 50px 20px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .14);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(236, 196, 110, .45); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -23px;
  width: 9px; height: 9px;
  border-top: 2px solid var(--gold-300);
  border-right: 2px solid var(--gold-300);
  transform: translateY(-50%) rotate(45deg);
  opacity: .7;
}
.medal--step {
  position: absolute; top: 0; left: 50%;
  width: 64px; height: 64px; margin: 0;
  transform: translate(-50%, -50%);
}
.step__num {
  display: block;
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.step__title { margin-top: 10px; font-size: 1.0625rem; color: var(--gold-100); }
.step__text { margin-top: 8px; font-size: .8125rem; color: var(--muted); }

/* ==========================================================================
   Promo banner
   ========================================================================== */
.promo__panel {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr) minmax(0, 24%);
  align-items: center;
  gap: 24px;
  min-height: 400px;
  padding: 44px 28px 48px 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(236, 196, 110, .32);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.promo__bg {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
  border-radius: inherit;
  background: #060d1b;
}
/* Anchored right so the artwork's gift & coins sit behind the bonus plate */
.promo__bg img {
  position: absolute; top: 0; right: 0;
  width: 88%; height: 100%;
  object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 24%, #000 58%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 24%, #000 58%);
}
.promo__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(30% 62% at 19% 68%, rgba(245, 190, 90, .24), transparent),
    radial-gradient(26% 58% at 51% 50%, rgba(5, 10, 21, .72), transparent);
}
.promo__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 10, 21, .5), transparent 35%);
}

.promo__art {
  position: absolute; left: 1%; bottom: 0;
  width: 36%;
  pointer-events: none;
}
.promo__art img { width: 100%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }

.promo__copy { grid-column: 2; }
.promo__copy .eyebrow { margin-bottom: 14px; }
.promo__title { font-size: clamp(1.5rem, .9rem + 1.1vw, 1.875rem); font-weight: 700; line-height: 1.22; }
.promo__text { margin-top: 12px; max-width: 400px; color: #c0c8d6; }
.promo__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.promo__note { padding-left: 6px; font-size: .75rem; color: #9aa5b8; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }

.bonus-plate {
  grid-column: 3;
  justify-self: center;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  min-width: 220px;
  padding: 32px 22px 20px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 20, 38, .94), rgba(5, 9, 18, .96));
  box-shadow:
    0 0 0 1px rgba(245, 205, 110, .75),
    0 0 0 5px rgba(5, 9, 18, .85),
    0 0 0 6px rgba(245, 205, 110, .35),
    0 24px 50px -16px rgba(0, 0, 0, .9),
    0 0 60px -10px rgba(245, 205, 110, .35);
  animation: float 6s ease-in-out infinite;
}
.bonus-plate__crown {
  position: absolute; top: -24px; left: 50%;
  width: 46px; height: 46px; margin-left: -23px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-fill);
  box-shadow: 0 0 0 4px #070d1b, 0 0 0 5px rgba(245, 205, 110, .4), 0 8px 18px rgba(0, 0, 0, .6);
}
.bonus-plate__top { font-size: .8125rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-100); }
.bonus-plate__amount {
  font-size: clamp(2.25rem, 1.4rem + 2vw, 3.25rem);
  font-weight: 700; line-height: 1.1;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(245, 205, 110, .3));
}
.bonus-plate__label {
  margin-top: 10px; padding: 5px 14px;
  border-radius: 999px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-fill);
}
.promo__terms {
  position: absolute; right: 24px; bottom: 14px;
  font-size: .6875rem; color: rgba(200, 208, 222, .6);
}

/* ==========================================================================
   Video guides
   ========================================================================== */
.guides { background: linear-gradient(180deg, var(--bg-1), #07101f 60%, var(--bg-1)); }
.guides__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 14px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(236, 196, 110, .22);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(236, 196, 110, .5); }

.video-card__thumb {
  position: relative; display: block;
  width: 100%; aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0a1224;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 13, .1) 30%, rgba(3, 6, 13, .7));
}
.thumb-tutorial { object-position: 66% center; }
.thumb-strategy { object-position: 82% center; }
.video-card:hover .video-card__thumb img { transform: scale(1.05); }

.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-fill);
  box-shadow: 0 0 0 6px rgba(245, 205, 110, .2), 0 10px 24px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease);
}
.play-btn .icon { width: 22px; height: 22px; margin-left: 3px; }
.play-btn::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(245, 205, 110, .6);
  animation: ring 2.6s ease-out infinite;
}
.play-btn--static { position: relative; left: auto; top: auto; margin: 0; }
.video-card:hover .play-btn { transform: scale(1.08); }

.video-card__level {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .6875rem; font-weight: 600; line-height: 1.5;
  color: var(--gold-100);
  background: rgba(5, 9, 18, .78);
  border: 1px solid rgba(236, 196, 110, .4);
}
.video-card__level--pro { color: #d8f7ff; border-color: rgba(67, 213, 242, .5); }

.video-card__body { padding: 6px 10px 6px 0; }
.video-card__title { font-size: 1.125rem; line-height: 1.3; }
.video-card__text { margin-top: 8px; font-size: .875rem; color: var(--muted); }

.link-gold {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: .875rem; font-weight: 600; color: var(--gold-300);
  transition: color .2s;
}
.link-gold__disc {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(236, 196, 110, .55);
  transition: background-color .25s, color .25s, border-color .25s;
}
.link-gold__disc .icon { margin-left: 2px; }
.link-gold:hover { color: var(--gold-100); }
.link-gold:hover .link-gold__disc { color: var(--ink); background: var(--gold-fill); border-color: transparent; }

/* ==========================================================================
   About
   ========================================================================== */
.about {
  overflow: hidden;
  background:
    radial-gradient(32% 38% at 76% 52%, rgba(245, 190, 90, .07), transparent),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
}
.about::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: min(1200px, 90%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(236, 196, 110, .3), transparent);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about__title { font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem); max-width: 520px; }
.about__lead {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--gold-300), var(--cyan)) 1;
  font-size: 1.125rem; line-height: 1.6; color: var(--text);
}
.about__text { margin-top: 16px; max-width: 520px; color: var(--muted); }

.about__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px; padding-top: 26px;
  border-top: 1px solid rgba(236, 196, 110, .14);
}
.about__facts li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-inline: 6px;
  text-align: center;
  font-size: .8125rem; font-weight: 500; line-height: 1.3; color: var(--text-2);
}
.about__facts li + li::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(236, 196, 110, .35), transparent);
}
.facet {
  width: 48px; height: 54px;
  display: grid; place-items: center;
  color: var(--gold-300);
  background: linear-gradient(180deg, rgba(245, 205, 110, .22), rgba(245, 205, 110, .04));
  clip-path: polygon(50% 0, 100% 24%, 100% 72%, 50% 100%, 0 72%, 0 24%);
}

.about__art { position: relative; aspect-ratio: 1.12; }
.about__art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 100% center;
  border-radius: var(--radius-xl);
  -webkit-mask-image: radial-gradient(120% 100% at 72% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 72% 50%, #000 55%, transparent 100%);
}
.about__corner { position: absolute; width: 56px; height: 56px; border: 2px solid var(--gold-300); opacity: .65; pointer-events: none; }
.about__corner--tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; border-top-left-radius: 20px; }
.about__corner--br { right: -10px; bottom: -10px; border-left: 0; border-top: 0; border-bottom-right-radius: 20px; }

.about__chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: rgba(7, 12, 24, .86);
  border: 1px solid rgba(236, 196, 110, .32);
  box-shadow: 0 18px 40px -16px #000;
  animation: float 7s ease-in-out infinite;
}
.about__chip b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.25; color: var(--text); }
.about__chip small { display: block; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.about__chip--a { left: -20px; top: 16%; }
.about__chip--b { right: 8%; bottom: -18px; animation-delay: 1.8s; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative; overflow: hidden;
  padding: 80px 0 28px;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(67, 213, 242, .05), transparent 70%),
    var(--bg-0);
}
.footer__streak { top: -56px; }
.footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(236, 196, 110, .12);
}
.footer__brand img { width: 160px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer__nav a { font-size: .875rem; color: var(--text-2); transition: color .2s; }
.footer__nav a:hover { color: var(--gold-100); }
.footer__label { margin-bottom: 10px; text-align: right; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: .8125rem; color: var(--muted);
}
.age-badge {
  display: inline-block;
  margin: 0 4px 0 8px; padding: 0 6px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  font-size: .6875rem; font-weight: 700; line-height: 1.6; color: var(--gold-300);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { transition: color .2s; }
.footer__legal a:hover { color: var(--gold-100); }

/* ==========================================================================
   Video modal
   ========================================================================== */
.video-modal {
  width: min(880px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(236, 196, 110, .35);
  border-radius: var(--radius-lg);
  background: #070d1b;
  color: var(--text);
  box-shadow: 0 40px 100px -20px #000;
  overflow: hidden;
}
.video-modal::backdrop { background: rgba(2, 4, 10, .8); }
.video-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.video-modal__title { font-size: 1rem; }
.video-modal__close {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--gold-100);
}
.video-modal__frame { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #03060d; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__soon { display: grid; justify-items: center; gap: 16px; max-width: 440px; padding: 24px; text-align: center; color: var(--muted); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity .7s var(--ease) var(--rd, 0s),
    translate .7s var(--ease) var(--rd, 0s),
    transform .35s var(--ease),
    border-color .35s,
    box-shadow .35s;
}
.js [data-reveal].is-visible { opacity: 1; translate: none; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 90, .6); }
  100% { box-shadow: 0 0 0 8px rgba(255, 77, 90, 0); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(.6); }
  50% { opacity: .9; transform: translateY(-14px) scale(1); }
}
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes ring {
  0% { transform: scale(.92); opacity: .9; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
  .ticker__viewport { overflow-x: auto; scrollbar-width: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav__link { padding: 0 10px; font-size: .8125rem; }
  .games__track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .hero__content { max-width: 520px; }
  .promo__panel { grid-template-columns: minmax(0, 34%) minmax(0, 1fr) minmax(0, 25%); }
  .promo__art { width: 35%; }
  .bonus-plate { min-width: 0; padding-inline: 18px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .site-header__cta { margin-left: auto; }
  .games__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}

@media (max-width: 1024px) {
  /* Hero stacks: artwork on top, copy overlapping its fade */
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; width: 100%; aspect-ratio: 2 / 1; }
  .hero__media img { object-position: 78% center; }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--bg-1) 0%, rgba(5, 10, 21, 0) 45%),
      linear-gradient(90deg, rgba(5, 10, 21, .5), transparent 40%);
  }
  .hero__inner { margin-top: -110px; padding-block: 0 56px; }
  .hero__content { max-width: 640px; }
  .hero__streak { display: none; }

  .trust { padding-top: var(--section-y); }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__intro { padding-bottom: 0; padding-right: 200px; }
  .trust__deco { left: auto; right: 24px; top: 8px; bottom: auto; width: 128px; }

  .promo { padding-top: calc(var(--section-y) + 40px); }
  .promo__panel {
    display: flex; flex-direction: column; align-items: center;
    min-height: 0;
    padding: 0 28px 40px;
    text-align: center;
  }
  .promo__bg img {
    width: 100%;
    object-position: 55% center;
    -webkit-mask-image: none; mask-image: none;
  }
  .promo__bg::before { background: radial-gradient(60% 40% at 50% 26%, rgba(245, 190, 90, .18), transparent); }
  .promo__bg::after { background: linear-gradient(0deg, rgba(5, 10, 21, .88) 10%, rgba(5, 10, 21, .5) 60%, rgba(5, 10, 21, .25)); }
  .promo__art { position: relative; left: auto; width: min(100%, 520px); margin-top: -56px; }
  .promo__copy { margin-top: 12px; }
  .promo__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); }
  .promo__text { margin-inline: auto; }
  .promo__actions { align-items: center; }
  .bonus-plate { min-width: 220px; margin-top: 44px; }
  .promo__terms { position: static; margin-top: 20px; }

  .guides__grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }

  .about__grid { grid-template-columns: 1fr; }
  .about__art { aspect-ratio: 1.6; max-width: 760px; }
  .about__art img { object-position: 92% center; }
  .about__chip--a { left: 12px; }
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 24px; }
  .steps::before, .step::after { display: none; }

  .footer__top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .footer__label { text-align: center; }
  .footer__social .social { justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 860px) {
  .hero__media { aspect-ratio: 16 / 10; }
  .hero__inner { margin-top: -96px; }
  .games__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
}

@media (max-width: 760px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 0; }
  .feature:nth-child(3n + 2) { --offset: 0px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }

  .brand img { width: 80px; }
  .site-header__cta { display: none; }
  .nav-toggle { margin-left: auto; }

  .ticker { height: 38px; gap: 12px; }
  .ticker__track li { font-size: .75rem; padding-right: 32px; }

  .hero__media { aspect-ratio: 1 / .84; }
  .hero__media img { object-position: 80% center; }
  .hero__inner { margin-top: -64px; padding-bottom: 44px; }
  .hero__lead { font-size: .9375rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 150px; padding: 0 16px; }
  .hero__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero__badges li {
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 10px 4px;
    border-radius: 14px;
    text-align: center;
    font-size: .6875rem; line-height: 1.3;
  }

  .trust__intro { padding-right: 0; }
  .trust__deco { display: none; }
  .feature { padding: 22px 12px 20px; }
  .feature .medal { width: 56px; height: 56px; margin-bottom: 14px; }
  .feature .medal .icon { width: 24px; height: 24px; }
  .feature__title { font-size: .875rem; }
  .feature__text { font-size: .75rem; }

  .games__panel { padding: 16px; border-radius: 20px; }
  .games__track { grid-auto-columns: 46%; gap: 12px; }
  .has-overflow > .carousel-btn { display: none; }

  .steps { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
  .steps::before {
    display: block;
    top: 24px; bottom: 24px; left: 47px; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(245, 205, 110, .75) 0 8px, transparent 8px 14px);
  }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; padding: 18px 18px 18px 94px; text-align: left; }
  .medal--step { top: 50%; left: 20px; width: 56px; height: 56px; transform: translateY(-50%); }
  .medal--step .icon { width: 24px; height: 24px; }
  .step__num { font-size: 1.125rem; }
  .step__title { margin-top: 0; font-size: 1rem; }
  .step__text { grid-column: 1 / -1; margin-top: 4px; }

  .promo__panel { padding: 0 18px 32px; }
  .promo__art { margin-top: -44px; }
  .promo__actions .btn { width: 100%; }
  .bonus-plate { min-width: 0; width: 100%; max-width: 280px; }

  .video-card { grid-template-columns: 1fr; gap: 14px; padding: 12px; }
  .video-card__body { padding: 0 6px 8px; }

  .about__art { aspect-ratio: 1.2; }
  .about__corner--tl { top: -6px; left: -6px; }
  .about__corner--br { right: -6px; bottom: -6px; }
  .about__chip { padding: 8px 12px 8px 8px; }
  .about__chip--a { top: 10%; left: 8px; }
  .about__chip--b { right: 8px; bottom: -14px; }
  .about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .about__facts li:nth-child(odd)::before { display: none; }
  .about__lead { font-size: 1rem; }

  .footer { padding-top: 64px; }
  .footer__brand img { width: 140px; }
  .footer__nav { gap: 8px 20px; }
}

@media (max-width: 380px) {
  .games__track { grid-auto-columns: 58%; }
}


/* ---------- Our Partners ---------- */
.partners-section {
  background:
    radial-gradient(55% 80% at 50% 0%, rgba(245, 205, 110, .06), transparent 70%),
    var(--bg-1);
}
.partners-section__head { margin-bottom: 30px; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.partner-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 170px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(245, 205, 110, .10), rgba(10, 17, 33, .94) 62%);
  border: 1px solid rgba(236, 196, 110, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 24px 50px -34px #000;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 196, 110, .55);
  box-shadow: 0 24px 45px -25px #000, 0 0 30px -18px rgba(236, 196, 110, .55);
}
.partner-card__number {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--gold-300);
  background: rgba(236, 196, 110, .10);
  border: 1px solid rgba(236, 196, 110, .22);
  font-size: .78rem;
  font-weight: 700;
}
.partner-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.partner-card__body strong {
  font-size: 1.05rem;
  line-height: 1.35;
}
.partner-card__body span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}
.partner-card__arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--gold-300);
  font-size: 1.35rem;
  transition: translate .3s var(--ease);
}
.partner-card:hover .partner-card__arrow { translate: 5px 0; }

@media (max-width: 900px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 140px; }
}

