:root {
  --purple-900: #3b0f7a;
  --purple-800: #4a148c;
  --purple-700: #5c1ba3;
  --purple-600: #6a26cd;
  --purple-500: #7a3ae6;
  --purple-400: #9b63ff;
  --lilac-200: #e7ddff;
  --lilac-100: #f3efff;
  --yellow-500: #ffb800;
  --yellow-400: #ffca3a;
  --ink: #2a0f4d;
  --muted: #5b4b78;
  --surface: #ffffff;
  --surface-soft: #f7f4ff;
  --shadow-sm: 0 6px 18px rgba(58, 12, 120, 0.08);
  --shadow-md: 0 14px 40px rgba(58, 12, 120, 0.14);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --header-h: 64px;
  --bottom-strip-h: 64px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.45;
  padding-bottom: calc(var(--bottom-strip-h) + env(safe-area-inset-bottom, 0px));
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

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

.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #5a18a8 0%, #4a148c 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__brand {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header__logo {
  width: min(200px, 46vw);
  height: auto;
  flex-shrink: 0;
  max-width: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.icon-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.icon-btn:active {
  transform: translateY(1px);
}

.icon-btn:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
}

.icon-hamburger {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  display: block;
}

.icon-hamburger::before,
.icon-hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.icon-hamburger::before {
  top: -6px;
}

.icon-hamburger::after {
  top: 6px;
}

.icon-close {
  width: 16px;
  height: 16px;
  position: relative;
  display: block;
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.icon-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  display: inline-block;
}

.icon-chevron--left {
  transform: rotate(135deg);
}

.icon-chevron--right {
  transform: rotate(-45deg);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cta-button:focus-visible {
  outline: 3px solid #fff3b0;
  outline-offset: 3px;
}

.cta-button--yellow {
  background: linear-gradient(180deg, var(--yellow-400), var(--yellow-500));
  color: #2b0b52;
  box-shadow: var(--shadow-sm);
}

.cta-button--yellow:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-button--ghost {
  background: transparent;
  color: var(--yellow-500);
  border-color: rgba(255, 184, 0, 0.85);
}

.cta-button--ghost:hover {
  background: rgba(255, 184, 0, 0.14);
  color: #ffd76b;
  border-color: #ffd76b;
}

.cta-button:active {
  transform: translateY(1px);
}

.cta-button--block {
  width: 100%;
}

/* Nav drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.nav-drawer.is-open {
  pointer-events: auto;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: min(86vw, 320px);
  height: 100%;
  background: linear-gradient(180deg, #4a148c, #2f0d5c);
  color: #fff;
  transform: translateX(-104%);
  transition: transform 0.26s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 18px 16px 22px;
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.35);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nav-drawer__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav-drawer__nav {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
}

.nav-drawer__link {
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  transition: background 0.16s ease, transform 0.12s ease;
}

.nav-drawer__link:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nav-drawer__link:active {
  transform: translateX(2px);
}

.nav-drawer__link:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
}

.nav-drawer__cta {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

/* Stretched link overlay — turns a parent block into a clickable area */
.link-overlay {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.link-overlay:focus-visible {
  outline: 3px solid #ffd34d;
  outline-offset: -4px;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow-x: hidden;
  overflow-y: visible;
  background: #4a148c;
}

.hero__media {
  position: relative;
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  overflow: hidden;
  background: #4a148c;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(18, 4, 42, 0.94) 0%,
    rgba(18, 4, 42, 0.72) 22%,
    rgba(42, 10, 92, 0.38) 48%,
    rgba(74, 20, 140, 0.12) 68%,
    transparent 100%
  );
}

.hero__banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(1.05);
}

.hero__ribbon {
  position: absolute;
  inset: auto -20% -18% -20%;
  z-index: 1;
  height: 58%;
  background: radial-gradient(closest-side at 50% 0%, rgba(255, 184, 0, 0.55), transparent 70%),
    conic-gradient(from 200deg at 50% 100%, #ffb800, #ff7a18 40%, #ffb800 70%);
  opacity: 0.38;
  filter: blur(0.2px);
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero__content {
  position: relative;
  margin-top: -120px;
  padding: 0 14px 26px;
  display: grid;
  gap: 14px;
  z-index: 3;
}

.hero__copy {
  text-align: center;
  padding: 12px 12px 8px;
  border-radius: var(--radius-md);
  background: rgba(12, 3, 28, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__kicker {
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6d6ff;
  font-size: clamp(22px, 6vw, 34px);
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero__title {
  margin: 0;
  font-size: clamp(16px, 4.1vw, 22px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero__accent {
  color: #ffe9b0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero__highlight {
  color: #ffdd66;
  text-shadow:
    0 0 1px rgba(12, 3, 28, 1),
    0 0 3px rgba(12, 3, 28, 0.95),
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.55);
}

.signup-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.72), rgba(40, 8, 86, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.signup-card__inner {
  padding: 18px 16px 16px;
}

.signup-card__title {
  margin: 0 0 6px;
  color: var(--yellow-500);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.signup-card__subtitle {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 13px;
}

.signup-card__form {
  display: grid;
  gap: 10px;
}

.signup-card__field--password {
  position: relative;
}

.signup-card__input {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 0, 50, 0.35);
  color: #fff;
  padding: 14px 44px 14px 16px;
}

.signup-card__input::placeholder {
  color: rgba(230, 210, 255, 0.75);
}

.signup-card__input:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
  border-color: transparent;
  background: rgba(20, 0, 50, 0.5);
}

.signup-card__eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.signup-card__eye:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
}

.signup-card__legal {
  margin: 12px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

/* Coin catching mini-game */
.coingame {
  padding: 18px 14px 10px;
  background: var(--surface-soft);
}

.coingame__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.coingame__head {
  text-align: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.coingame__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--purple-600);
  text-transform: uppercase;
}

.coingame__title {
  margin: 0 0 4px;
  color: var(--purple-700);
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.15;
}

.coingame__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.coingame__hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.coingame__stat {
  display: grid;
  gap: 1px;
  padding: 6px 12px;
  min-width: 68px;
  border-radius: 12px;
  background: rgba(20, 4, 48, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.coingame__stat-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.coingame__stat-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--yellow-400);
  line-height: 1.15;
}

.coingame__arena {
  position: relative;
  width: 100%;
  height: clamp(340px, 58vw, 480px);
  border-radius: 24px;
  overflow: hidden;
  background-color: #1a052f;
  background-image:
    linear-gradient(180deg, rgba(16, 2, 38, 0.35), rgba(16, 2, 38, 0.72)),
    url("images/game-ban.webp"),
    radial-gradient(2px 2px at 18% 14%, #ffd34d 99%, transparent 100%),
    radial-gradient(2px 2px at 72% 22%, #fff6a8 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 38% 44%, #ffffff 99%, transparent 100%),
    radial-gradient(2px 2px at 88% 58%, #ffd34d 99%, transparent 100%),
    radial-gradient(1.5px 1.5px at 12% 76%, #ffffff 99%, transparent 100%),
    radial-gradient(2px 2px at 54% 88%, #fff6a8 99%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 16px),
    radial-gradient(120% 80% at 50% 0%, #5a18a8 0%, #3b1080 40%, #1f0644 70%, #120330 100%);
  background-size:
    100% 100%,
    cover,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto;
  background-position:
    center,
    center top,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 -80px 140px rgba(0, 0, 0, 0.4),
    var(--shadow-md);
  image-rendering: pixelated;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.coingame__pixels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 calc(50% - 0.5px), rgba(255, 255, 255, 0.03) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px) 100%),
    repeating-linear-gradient(45deg, rgba(255, 184, 0, 0.05) 0 3px, transparent 3px 14px);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.coingame__progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 3;
  pointer-events: none;
}

.coingame__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow-400), var(--yellow-500));
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.6);
  transition: width 0.25s linear;
}

.coingame__arena.is-running .coingame__progress-bar {
  width: 100%;
  transition: width 15s linear;
}

.coingame__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(14, 3, 40, 0.55), rgba(14, 3, 40, 0.85));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  color: #fff;
  animation: coingame-fade-in 0.28s ease both;
}

.coingame__overlay[hidden] {
  display: none;
}

@keyframes coingame-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.coingame__overlay-card {
  max-width: 460px;
  width: 100%;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(90, 24, 168, 0.82), rgba(40, 8, 90, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.coingame__overlay-card--win {
  background: linear-gradient(180deg, rgba(106, 38, 205, 0.92), rgba(40, 8, 90, 0.95));
  position: relative;
  overflow: hidden;
  animation: coingame-pop-in 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

@keyframes coingame-pop-in {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.coingame__medal {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6a8 0%, #ffd34d 42%, #c7800a 100%);
  box-shadow: 0 0 0 3px #2b0b52, 0 0 0 6px rgba(255, 184, 0, 0.35), 0 10px 22px rgba(0, 0, 0, 0.35);
  color: #6a26cd;
  font-weight: 900;
  font-size: 26px;
  text-shadow: 0 1px 0 rgba(255, 246, 168, 0.8);
}

.coingame__overlay-kicker {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-400);
  font-size: 12px;
}

.coingame__overlay-title {
  margin: 0;
  font-size: clamp(18px, 4.2vw, 22px);
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
}

.coingame__overlay-title--win {
  color: var(--yellow-400);
  font-size: clamp(20px, 5vw, 26px);
  letter-spacing: 0.02em;
}

.coingame__overlay-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  max-width: 32ch;
}

.coingame__overlay-caught {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
}

.coingame__overlay-caught b {
  color: var(--yellow-400);
  font-size: 18px;
}

.coingame__prize {
  margin: 0;
  font-weight: 900;
  font-size: clamp(18px, 4.4vw, 24px);
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 184, 0, 0.55);
  letter-spacing: 0.01em;
}

.coingame__claim {
  margin-top: 6px;
  width: 100%;
  max-width: 320px;
}

.coingame__replay {
  margin-top: 4px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 8px;
}

.coingame__replay:hover {
  color: #fff;
}

.coingame__trophy {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  animation: coingame-trophy-bounce 1.8s ease-in-out infinite;
}

@keyframes coingame-trophy-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-4px) rotate(4deg); }
}

.coingame__burst {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255, 184, 0, 0.18) 0deg, transparent 22deg, rgba(255, 184, 0, 0.18) 44deg, transparent 66deg, rgba(255, 184, 0, 0.18) 88deg, transparent 110deg, rgba(255, 184, 0, 0.18) 132deg, transparent 154deg, rgba(255, 184, 0, 0.18) 176deg, transparent 198deg, rgba(255, 184, 0, 0.18) 220deg, transparent 242deg, rgba(255, 184, 0, 0.18) 264deg, transparent 286deg, rgba(255, 184, 0, 0.18) 308deg, transparent 330deg);
  animation: coingame-spin 14s linear infinite;
  pointer-events: none;
}

@keyframes coingame-spin {
  to { transform: rotate(1turn); }
}

/* Individual coin */
.coin {
  position: absolute;
  top: -44px;
  left: 0;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6a8 0%, #ffd34d 42%, #c7800a 100%);
  box-shadow:
    0 0 0 2px #2b0b52,
    inset 0 -4px 0 rgba(0, 0, 0, 0.22),
    inset 0 4px 0 rgba(255, 255, 255, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.4);
  color: #6a26cd;
  font-family: var(--font);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  will-change: transform;
  text-shadow: 0 1px 0 rgba(255, 246, 168, 0.8);
  animation-name: coin-fall;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-duration: var(--coin-duration, 3s);
}

.coin:focus-visible {
  outline: 3px solid var(--yellow-400);
  outline-offset: 3px;
}

.coin.is-caught {
  animation: coin-catch 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes coin-fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(0, var(--coin-distance, 520px), 0) rotate(var(--coin-rot, 540deg)); }
}

@keyframes coin-catch {
  to {
    transform: scale(1.9);
    opacity: 0;
    box-shadow:
      0 0 0 2px #2b0b52,
      0 0 36px 16px rgba(255, 184, 0, 0.7);
  }
}

.coin-score-pop {
  position: absolute;
  color: var(--yellow-400);
  font-weight: 900;
  font-size: 18px;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  animation: coin-score-float 0.7s ease-out forwards;
}

@keyframes coin-score-float {
  from { transform: translate3d(0, 0, 0); opacity: 1; }
  to   { transform: translate3d(0, -40px, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .coin { animation-duration: 1.8s !important; }
  .coingame__trophy, .coingame__burst { animation: none; }
}

/* Filters */
.filters-bar {
  background: var(--surface);
  padding: 14px 14px 8px;
  border-bottom: 1px solid rgba(106, 38, 205, 0.08);
}

.filters-bar__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filters-bar__mobile {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.filters-bar__tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filters-bar__select-wrap {
  flex: 1;
}

.filters-bar__select {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(106, 38, 205, 0.18);
  background: var(--lilac-200);
  color: var(--ink);
  padding: 14px 16px;
  font-weight: 800;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #4a148c 50%),
    linear-gradient(135deg, #4a148c 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.filters-bar__providers,
.filters-bar__providers-desktop {
  font-weight: 900;
  padding: 12px 14px;
  white-space: nowrap;
}

.filters-bar__providers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filters-bar__providers-desktop {
  display: none;
}

.filters-bar__filter-icon {
  width: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.filters-bar__filter-icon::before,
.filters-bar__filter-icon::after {
  content: "";
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.filters-bar__filter-icon::before {
  width: 16px;
}

.filters-bar__filter-icon::after {
  width: 12px;
}

.filters-bar__filter-icon > span {
  display: block;
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.filters-bar__tab {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filters-bar__tab:hover {
  background: rgba(231, 221, 255, 0.45);
  color: var(--ink);
}

.filters-bar__tab.is-active {
  border-color: rgba(106, 38, 205, 0.35);
  background: rgba(231, 221, 255, 0.65);
  color: var(--ink);
}

.filters-bar__tab:focus-visible {
  outline: 3px solid rgba(255, 184, 0, 0.9);
  outline-offset: 2px;
}

/* Games */
.games-section {
  background: var(--surface);
  padding: 18px 14px 26px;
}

.section-head {
  max-width: 1240px;
  margin: 0 auto 14px;
  text-align: center;
}

.section-head--left {
  text-align: left;
}

.section-head__title {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--purple-700);
}

.section-head__title--xl {
  font-size: clamp(28px, 4vw, 40px);
}

.section-head__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.games-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.games-section__more {
  max-width: 1240px;
  margin: 14px auto 0;
  display: flex;
  justify-content: center;
}

.games-section__more-btn {
  min-width: 220px;
}

.games-grid.is-filtered .game-card[hidden] {
  display: none;
}

.game-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.game-card__link {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  min-height: 100%;
}

.game-card__link:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 3px;
}


.game-card__thumb {
  aspect-ratio: 1 / 1;
  background: #f0eaff;
}

.game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card__thumb img {
  transform: scale(1.04);
}

.game-card__meta {
  background: linear-gradient(180deg, #6a26cd, #4a148c);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 12px;
  letter-spacing: 0.01em;
}

/* Recent wins */
.recent-wins {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px 22px;
}

.recent-wins__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.recent-wins__title {
  margin: 0;
  font-size: 20px;
  color: var(--purple-700);
}

.recent-wins__controls {
  display: flex;
  gap: 8px;
}

.recent-wins__btn {
  background: #fff;
  color: var(--purple-700);
  border: 1px solid rgba(106, 38, 205, 0.18);
}

.recent-wins__viewport {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(106, 38, 205, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 10px;
  contain: layout paint;
}

.recent-wins__track {
  display: flex;
  gap: 10px;
  width: max-content;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .recent-wins__track {
    transition: none;
  }
}

.recent-wins__item {
  box-sizing: border-box;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #faf7ff, #fff);
  border: 1px solid rgba(106, 38, 205, 0.08);
  min-width: 0;
  overflow: hidden;
}

.recent-wins__meta {
  min-width: 0;
}

.recent-wins__cover {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #eee6ff;
}

.recent-wins__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-wins__nick {
  font-weight: 900;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-wins__tag-row {
  margin-top: 6px;
  min-width: 0;
}

.recent-wins__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--purple-600);
  background: rgba(106, 38, 205, 0.1);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  max-width: 100%;
  white-space: nowrap;
}

.recent-wins__win-row {
  margin-top: 6px;
  text-align: right;
  min-width: 0;
}

.recent-wins__win {
  display: inline-block;
  font-weight: 900;
  color: #1f7a3a;
  font-size: clamp(11px, 2.6vw, 14px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.2;
}

.recent-wins__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  margin-top: 6px;
  min-width: 0;
}

.recent-wins__mise-row {
  margin-top: 0;
}

.recent-wins__mise-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  justify-self: start;
  white-space: nowrap;
}

.recent-wins__mise-value {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
  justify-self: end;
  text-align: right;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Promotions */
.promotions-section {
  background: #fbfbff;
  padding: 18px 14px 26px;
}

.promo-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.promo-card {
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 220px;
  box-shadow: var(--shadow-md);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(58, 12, 120, 0.22);
}

.promo-card__art {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.promo-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-card__art img {
  transform: scale(1.03);
}

.promo-card__body {
  background: linear-gradient(180deg, #5a1ba8, #3b0f7a);
  color: #fff;
  padding: 16px 16px 14px;
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: stretch;
  min-height: 0;
}

.promo-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.promo-card__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.promo-card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.promo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.promo-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  min-height: 44px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  flex: 0 0 auto;
  white-space: nowrap;
  position: relative;
  z-index: 3;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.18s ease, color 0.18s ease;
}

.promo-card__btn:hover {
  transform: translateY(-1px);
}

.promo-card__btn:active {
  transform: translateY(1px);
}

.promo-card__btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.promo-card__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.promo-card__btn--yellow {
  background: linear-gradient(180deg, var(--yellow-400), var(--yellow-500));
  color: #2b0b52;
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.28);
}

.promo-card__btn--yellow:hover {
  box-shadow: 0 10px 22px rgba(255, 184, 0, 0.42);
}

.promo-card__btn:focus-visible {
  outline: 3px solid #fff3b0;
  outline-offset: 3px;
}

/* Loyalty */
.loyalty-section {
  position: relative;
  padding: 26px 14px 30px;
  overflow: hidden;
}

.loyalty-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 10% 0%, rgba(155, 99, 255, 0.18), transparent 60%),
    radial-gradient(500px 220px at 90% 20%, rgba(255, 184, 0, 0.12), transparent 55%), #fff;
  opacity: 1;
}

.loyalty-section__bg::before,
.loyalty-section__bg::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 10px solid rgba(106, 38, 205, 0.08);
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  transform: rotate(12deg);
  top: 40px;
  left: -60px;
}

.loyalty-section__bg::after {
  width: 180px;
  height: 180px;
  top: auto;
  bottom: 40px;
  right: -40px;
  left: auto;
  transform: rotate(-10deg);
}

.loyalty-section__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  z-index: 1;
}

.loyalty-head {
  text-align: center;
  margin-bottom: 16px;
}

.loyalty-head__title {
  margin: 0 0 8px;
  color: var(--purple-700);
  font-size: clamp(24px, 4vw, 34px);
}

.loyalty-head__subtitle {
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-weight: 700;
}

.loyalty-features {
  margin: 18px 0 22px;
}

.loyalty-features__grid {
  display: grid;
  gap: 12px;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(180deg, #5a1ba8, #3b0f7a);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.loyalty-feature {
  padding: 10px 8px;
  text-align: center;
}

.loyalty-feature__icon {
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
}

.loyalty-feature__name {
  margin: 0 0 6px;
  color: var(--yellow-500);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.loyalty-feature__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.loyalty-levels-title {
  margin: 0;
  color: var(--purple-700);
  font-size: clamp(18px, 5vw, 22px);
  line-height: 1.15;
  min-width: 0;
  flex: 1 1 auto;
}

.loyalty-carousel {
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.loyalty-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.loyalty-carousel__controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: auto;
}

.loyalty-carousel__btn {
  background: #6a26cd;
  color: #fff;
  border: 0;
  box-shadow: 0 8px 18px rgba(58, 12, 120, 0.22);
}

.loyalty-carousel__btn:hover {
  background: linear-gradient(180deg, var(--purple-400), var(--purple-600));
  box-shadow: 0 10px 24px rgba(58, 12, 120, 0.3);
}

.loyalty-carousel__viewport {
  position: relative;
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(231, 221, 255, 0.55), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(106, 38, 205, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  contain: layout paint;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.loyalty-carousel__track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .loyalty-carousel__track {
    transition: none;
  }
}

.loyalty-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.loyalty-carousel__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(106, 38, 205, 0.22);
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, background 0.18s ease, width 0.2s ease;
}

.loyalty-carousel__dot:hover {
  background: rgba(106, 38, 205, 0.45);
}

.loyalty-carousel__dot.is-active {
  background: var(--purple-600);
  width: 22px;
  border-radius: 6px;
}

.loyalty-carousel__dot:focus-visible {
  outline: 2px solid var(--yellow-500);
  outline-offset: 2px;
}

.loyalty-card {
  position: relative;
  border-radius: 22px;
  padding: 46px 10px 12px;
  min-height: 150px;
  background: linear-gradient(180deg, #c9b6ff, #7a3ae6 55%, #5a1ba8);
  box-shadow: var(--shadow-sm);
  color: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.loyalty-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(58, 12, 120, 0.28);
}

.loyalty-card--milestone {
  background: linear-gradient(180deg, #b9a3ff, #6a26cd 55%, #3b0f7a);
}

.loyalty-card__diamond {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe08a, #ffb800 60%, #ff9a1f);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
}

.loyalty-card__diamond span {
  transform: rotate(-45deg);
  font-weight: 900;
  color: var(--purple-800);
  font-size: 15px;
}

.loyalty-card--top .loyalty-card__diamond {
  box-shadow: 0 0 0 3px rgba(255, 224, 138, 0.85), 0 12px 22px rgba(0, 0, 0, 0.25);
}

.loyalty-card__sparkles {
  position: absolute;
  top: 6px;
  left: calc(50% + 34px);
  width: 34px;
  height: 34px;
  color: #ffe08a;
}

.loyalty-card__benefit {
  margin: 10px 0 6px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.15;
}

.loyalty-card__benefit--cash {
  color: var(--yellow-500);
}

.loyalty-card__benefit--big {
  color: #fff;
}

.loyalty-card__cashback {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.loyalty-cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.seo-text {
  background: var(--surface);
  color: var(--ink);
  padding: 28px 0 36px;
  border-top: 1px solid rgba(106, 38, 205, 0.1);
}

.seo-text__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

.seo-text__h2 {
  margin: 28px 0 12px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.25;
  font-weight: 900;
  color: var(--purple-700);
}

.seo-text__h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--purple-600);
}

.seo-text p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.seo-text__article .seo-text__h2:first-child {
  margin-top: 0;
}

.seo-text__block {
  margin-top: 8px;
}

.seo-text__table-wrap {
  margin: 10px 0 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(106, 38, 205, 0.12);
  overflow: hidden;
}

.seo-text__caption {
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  caption-side: top;
  text-align: left;
  line-height: 1.35;
}

.seo-text__table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 11.5px;
  line-height: 1.35;
  background: #fff;
  table-layout: fixed;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.seo-text__table th,
.seo-text__table td {
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(106, 38, 205, 0.1);
}

.seo-text__table thead th {
  background: var(--lilac-100);
  color: var(--purple-800);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0;
}

.seo-text__table tbody tr:last-child td {
  border-bottom: 0;
}

.seo-text__faq {
  margin-top: 10px;
}

.seo-text__faq-list {
  margin: 0;
}

.seo-text__faq-list dt {
  margin: 16px 0 6px;
  font-weight: 900;
  color: var(--purple-800);
  font-size: 15px;
}

.seo-text__faq-list dt:first-child {
  margin-top: 0;
}

.seo-text__faq-list dd {
  margin: 0 0 4px;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .seo-text {
    padding: 36px 0 44px;
  }

  .seo-text__inner {
    padding: 0 22px;
  }

  .seo-text__caption {
    padding: 10px 12px;
    font-size: 13px;
  }

  .seo-text__table {
    font-size: 14px;
    line-height: 1.5;
    table-layout: auto;
  }

  .seo-text__table th,
  .seo-text__table td {
    padding: 12px 14px;
  }

  .seo-text__table thead th {
    font-size: 13px;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #6a26cd, #4a148c 55%, #3b0f7a);
  color: #fff;
  padding: 26px 16px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer > * {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.site-footer__logo {
  width: min(240px, 70vw);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.25));
}

.site-footer__legal {
  max-width: 860px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 10px;
}

.site-footer__legal p {
  margin: 0;
}

.footer__links {
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  justify-content: center;
  text-align: center;
}

.footer__col {
  display: grid;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
  justify-items: center;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.16s ease;
}

.footer__col a:hover {
  color: var(--yellow-400);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer__col a:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
  border-radius: 8px;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 14px;
}

.footer__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #4a148c;
  display: grid;
  place-items: center;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.2s ease;
}

.footer__social-btn:hover {
  transform: translateY(-2px);
  background: var(--yellow-400);
  color: #2b0b52;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.footer__social-btn:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 3px;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 10px 0 14px;
}

.footer__payments img {
  height: 28px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #4a148c;
  background: #fff;
  flex: 0 0 auto;
}

.footer__badge--round {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer__badge--pill {
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  min-height: 44px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Mobile bottom strip */
.mobile-bottom-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: linear-gradient(180deg, #ffe08a, #ffb800);
  color: #2b0b52;
  border-top: 1px solid rgba(74, 20, 140, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
}

.mobile-bottom-strip__item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transition: background 0.15s ease;
  line-height: 1.1;
}

.mobile-bottom-strip__item:active {
  background: rgba(74, 20, 140, 0.12);
}

.mobile-bottom-strip__item:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

.mobile-bottom-strip__icon {
  width: 64px;
  height: 48px;
  display: block;
  background-image: url("images/navi.webp");
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position-y: center;
}

.mobile-bottom-strip__icon--heart {
  background-position-x: 0%;
}

.mobile-bottom-strip__icon--play {
  background-position-x: 50%;
}

.mobile-bottom-strip__icon--crown {
  background-position-x: 100%;
}

.floating-chat {
  position: fixed;
  right: 14px;
  bottom: calc(var(--bottom-strip-h) + 38px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--yellow-400), var(--yellow-500));
  color: #2b0b52;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.floating-chat:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.floating-chat:active {
  transform: translateY(0) scale(0.98);
}

.floating-chat:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.search-overlay[hidden] {
  display: none;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 30, 0.55);
}

.search-overlay__dialog {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #2a0a52, #1a0636 60%, #14052b);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.search-overlay__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, #5a1ba8, #4a148c);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.search-overlay__field {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  padding: 12px 14px;
}

.search-overlay__field::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.search-overlay__field:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
}

.search-overlay__search-icon {
  display: grid;
  place-items: center;
  color: #fff;
}

.search-overlay__body {
  padding: 14px 12px 22px;
  flex: 1;
}

.search-overlay__title {
  margin: 6px 2px 12px;
  font-size: 16px;
  font-weight: 900;
}

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

.search-game {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.search-game__link {
  display: grid;
  grid-template-rows: 1fr auto;
}

.search-game__link:focus-visible {
  outline: 3px solid var(--yellow-500);
  outline-offset: 2px;
}

.search-game__thumb {
  aspect-ratio: 1 / 1;
  background: #eee6ff;
}

.search-game__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-game__meta {
  background: linear-gradient(180deg, #6a26cd, #4a148c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 8px;
}

.search-overlay__promo {
  margin-top: 18px;
  border-radius: 22px;
  padding: 16px;
  background: radial-gradient(500px 120px at 20% 0%, rgba(255, 184, 0, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(106, 38, 205, 0.55), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}

.search-overlay__promo-kicker {
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--yellow-500);
  font-size: 22px;
}

.search-overlay__promo-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

/* Tablet */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .hero__content {
    margin-top: -140px;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .promo-card {
    grid-template-columns: 1.05fr 1fr;
    min-height: 200px;
    align-items: stretch;
  }

  .promo-card__art {
    min-height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .promo-card__art img {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    object-fit: cover;
  }

  .promo-card__body {
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
  }

  .loyalty-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .mobile-bottom-strip {
    display: none;
  }

  .floating-chat {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: 34px;
  }

  .search-overlay__dialog {
    inset: 18px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .site-header__inner {
    padding: 12px 22px;
  }

  .header__brand {
    flex: 0 0 auto;
    flex-shrink: 0;
    justify-content: flex-start;
    min-width: min-content;
  }

  .header__logo {
    width: 190px;
    max-width: 190px;
    height: auto;
    display: block;
  }

  .header__actions {
    margin-left: auto;
    flex: 0 0 auto;
    flex-shrink: 0;
    gap: 12px;
  }

  .header__ctas {
    display: flex;
  }

  .site-header__menu-btn {
    display: none;
  }

  .hero__content {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -160px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 18px;
    padding: 0 22px 34px;
  }

  .hero__copy {
    text-align: left;
    padding: 18px 22px 22px;
    min-width: 0;
  }

  .hero__kicker {
    text-align: left;
    overflow-wrap: break-word;
  }

  .hero__media {
    height: clamp(320px, 36vw, 480px);
  }

  .hero__title {
    font-size: 22px;
  }

  .signup-card__inner {
    padding: 20px 18px 18px;
  }

  .filters-bar__mobile {
    display: none;
  }

  .filters-bar__tabs {
    display: flex;
    flex: 1;
  }

  .filters-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .filters-bar__providers-desktop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

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

  .section-head__title {
    font-size: 26px;
  }

  .recent-wins__title {
    font-size: 22px;
  }

  .loyalty-levels-title {
    font-size: 26px;
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .loyalty-features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
  }

  .loyalty-feature {
    padding: 12px 10px;
  }

  .loyalty-card {
    min-height: 168px;
  }

  .search-overlay__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
