@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   Social Casino Paradise — design system
   Free-to-play social casino. Entertainment only.
   ============================================================ */

:root {
  /* Surfaces */
  --bg-900: #06040f;
  --bg-800: #0a0619;
  --bg-700: #120c26;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-solid: #150e2b;
  --border: rgba(168, 139, 255, 0.16);
  --border-strong: rgba(168, 139, 255, 0.38);

  /* Text */
  --text: #f5f2ff;
  --text-soft: #cfc6ee;
  --text-muted: #9d93bd;

  /* Accents */
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --magenta: #e879f9;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --green: #34d399;

  --grad-primary: linear-gradient(135deg, #7c3aed 0%, #c026d3 52%, #f472b6 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  --grad-gold: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #e9d5ff 35%, #f0abfc 70%, #67e8f9 100%);

  /* Radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 8px 24px -12px rgba(2, 0, 12, 0.8);
  --shadow-md: 0 24px 50px -26px rgba(2, 0, 12, 0.9);
  --shadow-lg: 0 40px 80px -36px rgba(2, 0, 12, 0.95);
  --glow-violet: 0 18px 44px -16px rgba(139, 92, 246, 0.65);
  --glow-magenta: 0 18px 44px -16px rgba(232, 121, 249, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --nav-h: 76px;
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

/* ——— Reset / base ——— */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg-900);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(232, 121, 249, 0.35);
  color: #fff;
}

/* ——— Ambient background ——— */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 12% -5%, rgba(124, 58, 237, 0.42), transparent 60%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgba(217, 70, 239, 0.28), transparent 58%),
    radial-gradient(ellipse 60% 50% at 50% 108%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, #080514 0%, #0a0619 45%, #07040f 100%);
}

.aurora::after {
  content: '';
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 45% 85%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.6px);
  background-size: 220px 220px, 340px 340px, 180px 180px;
  opacity: 0.5;
  pointer-events: none;
}

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  pointer-events: none;
}

.orb--1 {
  width: 30rem;
  height: 30rem;
  top: -8rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.85), transparent 68%);
  animation: drift 22s var(--ease) infinite alternate;
}

.orb--2 {
  width: 26rem;
  height: 26rem;
  top: 22%;
  right: -9rem;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.7), transparent 68%);
  animation: drift 27s var(--ease) infinite alternate-reverse;
}

.orb--3 {
  width: 24rem;
  height: 24rem;
  bottom: -8rem;
  left: 35%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 68%);
  animation: drift 31s var(--ease) infinite alternate;
}

/* ——— Layout helpers ——— */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-head__copy {
  max-width: 44rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(232, 121, 249, 0.18);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h-xl {
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  font-weight: 800;
}

.h-lg {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 700;
}

.h-md {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-muted);
  max-width: 42rem;
}

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

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--glow-violet);
}

.btn--primary:hover {
  box-shadow: 0 24px 54px -16px rgba(192, 38, 211, 0.75);
}

.btn--gold {
  background: var(--grad-gold);
  color: #2a1a02;
  box-shadow: 0 18px 40px -16px rgba(251, 191, 36, 0.6);
}

.btn--gold:hover {
  box-shadow: 0 24px 50px -16px rgba(251, 191, 36, 0.75);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(168, 139, 255, 0.16);
  border-color: var(--violet-bright);
}

.btn--sm {
  padding: 0.62rem 1.15rem;
  font-size: 0.82rem;
}

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

/* ——— Badges / pills ——— */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge--hot {
  background: linear-gradient(135deg, #f43f5e, #f97316);
  color: #fff;
}

.badge--new {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
}

.badge--featured {
  background: var(--grad-gold);
  color: #2a1a02;
}

.badge--free {
  background: rgba(52, 211, 153, 0.16);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

/* ——— Announcement bar ——— */
.topbar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.34), rgba(217, 70, 239, 0.26), rgba(34, 211, 238, 0.22));
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem var(--gutter);
  text-align: center;
  flex-wrap: wrap;
}

.topbar strong {
  color: #fff;
  font-weight: 700;
}

/* ——— Navigation ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(8, 5, 20, 0.82);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav__brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--glow-violet);
}

.nav__brand span {
  display: block;
  line-height: 1.15;
}

.nav__brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-bright);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
}

.nav__links a {
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav__links a.is-active {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--glow-violet);
}

/* The in-drawer CTA is only needed once the links collapse on small screens */
.nav__links .btn {
  display: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav__toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), background 0.2s ease;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav__toggle[aria-expanded='true'] span {
  background: transparent;
}

.nav__toggle[aria-expanded='true'] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded='true'] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  margin-bottom: 1.1rem;
}

.hero__title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.hero__point svg {
  color: var(--green);
}

/* Hero collage */
.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.5rem;
}

.hero__tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  animation: float 7s var(--ease) infinite alternate;
}

.hero__tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__tile:nth-of-type(1) {
  transform: translateY(-14px);
  animation-delay: 0s;
}

.hero__tile:nth-of-type(2) {
  transform: translateY(18px);
  animation-delay: 0.9s;
}

.hero__tile:nth-of-type(3) {
  transform: translateY(-6px);
  animation-delay: 1.6s;
}

.hero__tile:nth-of-type(4) {
  transform: translateY(24px);
  animation-delay: 2.3s;
}

.hero__tile figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(6, 4, 15, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.hero__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(12, 7, 26, 0.88);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(10px);
  animation: float 6s var(--ease) infinite alternate;
}

.hero__chip--coins {
  top: -0.6rem;
  right: 0.5rem;
}

.hero__chip--players {
  bottom: -1.35rem;
  left: -1.1rem;
  animation-delay: 1.2s;
}

.hero__chip i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #2a1a02;
  font-style: normal;
  font-size: 0.8rem;
}

.hero__chip--players i {
  background: var(--grad-cyan);
  color: #fff;
}

/* ——— Stats strip ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
  box-shadow: var(--shadow-md);
}

.stat {
  padding: 1.6rem 1.4rem;
  background: rgba(14, 9, 30, 0.86);
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ——— Game grid & cards ——— */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.game-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s var(--ease);
}

.game-card:hover,
.game-card:focus-within {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232, 121, 249, 0.22);
}

.game-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-700);
}

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

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

.game-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
}

.game-card__players {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(6, 4, 15, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.game-card__players::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(6, 4, 15, 0.1), rgba(6, 4, 15, 0.78));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.game-card:hover .game-card__overlay,
.game-card:focus-within .game-card__overlay {
  opacity: 1;
}

.game-card__play {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--glow-magenta);
  transform: scale(0.82);
  transition: transform 0.35s var(--ease);
}

.game-card:hover .game-card__play {
  transform: scale(1);
}

.game-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.game-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.game-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.game-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

.game-card__cta {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.62rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: rgba(139, 92, 246, 0.12);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}

.game-card__cta:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-violet);
}

/* ——— Category cards ——— */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, rgba(168, 139, 255, 0.16), rgba(255, 255, 255, 0.02));
}

.category-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--glow-violet);
}

.category-card:nth-child(2n) .category-card__icon {
  background: var(--grad-cyan);
  box-shadow: 0 18px 40px -18px rgba(34, 211, 238, 0.6);
}

.category-card:nth-child(3n) .category-card__icon {
  background: var(--grad-gold);
  color: #2a1a02;
  box-shadow: 0 18px 40px -18px rgba(251, 191, 36, 0.6);
}

.category-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.category-card__count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.category-card__link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-card:hover .category-card__link {
  color: var(--magenta);
}

/* ——— Feature / step cards ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-card {
  position: relative;
  padding: 1.9rem 1.65rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0.85;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-card__step {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid var(--border-strong);
  color: var(--violet-bright);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.feature-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ——— Split showcase ——— */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.split__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.split__item i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--green);
  font-style: normal;
}

.split__item h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.split__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ——— Promo banner ——— */
.promo {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 70% 120% at 12% 0%, rgba(217, 70, 239, 0.3), transparent 62%),
    radial-gradient(ellipse 60% 120% at 88% 100%, rgba(34, 211, 238, 0.25), transparent 60%),
    linear-gradient(140deg, rgba(24, 14, 48, 0.95), rgba(12, 7, 26, 0.95));
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.promo__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
}

.promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.promo__note {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ——— Responsible entertainment ——— */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.safety-card {
  padding: 1.6rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.1), rgba(255, 255, 255, 0.015));
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}

.safety-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.45);
}

.safety-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(52, 211, 153, 0.16);
  color: var(--green);
  margin-bottom: 1rem;
}

.safety-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.safety-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ——— FAQ ——— */
.faq {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
  margin-inline: auto;
}

.faq__item {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq__item[open] {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(168, 139, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--violet-bright), var(--violet-bright)) center / 11px 2px no-repeat,
    linear-gradient(var(--violet-bright), var(--violet-bright)) center / 2px 11px no-repeat;
  transition: transform 0.35s var(--ease), background-size 0.3s ease;
}

.faq__item[open] .faq__q::after {
  background:
    linear-gradient(var(--magenta), var(--magenta)) center / 11px 2px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) center / 0 11px no-repeat;
}

.faq__a {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ——— Footer ——— */
.footer {
  position: relative;
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 6, 25, 0.5), rgba(6, 4, 15, 0.9));
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer__brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer__about {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 26rem;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 1rem;
}

.footer__links {
  display: grid;
  gap: 0.65rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}

.footer__links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.07);
  color: var(--text-soft);
  font-size: 0.86rem;
  margin-bottom: 1.75rem;
}

.footer__disclaimer strong {
  color: var(--gold);
}

.footer__disclaimer svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__tag {
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ——— Page header (inner pages) ——— */
.page-head {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--violet-bright);
}

/* ——— Games toolbar (search + filters) ——— */
.toolbar {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}

.search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 0.85rem 2.6rem 0.85rem 2.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: rgba(8, 5, 20, 0.6);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search input::placeholder {
  color: var(--text-muted);
}

.search input:focus {
  outline: none;
  border-color: var(--magenta);
  background: rgba(8, 5, 20, 0.85);
  box-shadow: 0 0 0 4px rgba(232, 121, 249, 0.16);
}

.search__clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  cursor: pointer;
}

.search__clear.is-visible {
  display: grid;
}

.search__clear:hover {
  background: rgba(232, 121, 249, 0.28);
  color: #fff;
}

.select {
  position: relative;
  flex: 0 0 auto;
}

.select select {
  appearance: none;
  padding: 0.85rem 2.6rem 0.85rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: rgba(8, 5, 20, 0.6);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.select select:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(232, 121, 249, 0.16);
}

.select option {
  background: var(--surface-solid);
  color: var(--text);
}

.select::after {
  content: '';
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--violet-bright);
  border-bottom: 2px solid var(--violet-bright);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.chip.is-active {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: var(--glow-violet);
}

.chip__count {
  padding: 0.05rem 0.45rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.results-bar strong {
  color: var(--text);
}

.empty-state {
  display: none;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: var(--r-lg);
  border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.empty-state.is-visible {
  display: block;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 24px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--violet-bright);
}

.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ——— Modal ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 2, 12, 0.82);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__panel {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.28), transparent 65%),
    linear-gradient(180deg, #150e2c, #0b0719);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.4s var(--ease-out);
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(6, 4, 15, 0.7);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.modal__close:hover {
  background: rgba(232, 121, 249, 0.28);
  color: #fff;
  transform: rotate(90deg);
}

.modal__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.modal__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, #150e2c 100%);
}

.modal__body {
  padding: 1.35rem 1.6rem 1.75rem;
  text-align: center;
}

.modal__title {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}

.modal__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.modal__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.modal__actions {
  display: grid;
  gap: 0.65rem;
}

.modal__fine {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ——— Verify page ——— */
body.age-locked {
  overflow: hidden;
}

body.age-locked .page-content {
  filter: blur(7px) saturate(0.85);
  pointer-events: none;
  user-select: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 2, 12, 0.9);
  backdrop-filter: blur(14px);
  animation: fadeIn 0.4s ease both;
  overflow-y: auto;
}

.age-gate__panel {
  position: relative;
  width: min(100%, 480px);
  padding: clamp(1.75rem, 4vw, 2.6rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(217, 70, 239, 0.32), transparent 62%),
    radial-gradient(ellipse 70% 50% at 10% 110%, rgba(34, 211, 238, 0.2), transparent 60%),
    linear-gradient(180deg, #170f30, #0a0618);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: popIn 0.5s var(--ease-out) both;
}

.age-gate__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 20px;
  box-shadow: var(--glow-violet);
}

.age-gate__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.age-gate__title {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.age-gate__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.age-gate__actions {
  display: grid;
  gap: 0.7rem;
}

.age-gate__note {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.age-denied {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
  font-size: 0.88rem;
  text-align: left;
  animation: shake 0.45s ease both;
}

.age-denied.is-visible {
  display: flex;
}

.age-denied svg {
  flex-shrink: 0;
}

/* Verify page trust row */
.verify-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.verify-point {
  padding: 0.8rem 0.5rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.verify-point svg {
  margin: 0 auto 0.35rem;
  color: var(--violet-bright);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }

/* ——— Animations ——— */
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 34rem;
    margin-inline: auto;
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem var(--gutter) 1.5rem;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    border: 1px solid var(--border);
    border-top: none;
    background: rgba(9, 6, 22, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav__links.is-open {
    display: flex;
    animation: fadeIn 0.25s ease both;
  }

  .nav__links a {
    padding: 0.9rem 1.1rem;
    font-size: 0.98rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }

  .nav__links .btn {
    display: inline-flex;
    margin-top: 0.6rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --nav-h: 68px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 1.2rem 0.85rem;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }

  .game-card__body {
    padding: 0.85rem 0.9rem 1rem;
  }

  .game-card__title {
    font-size: 0.92rem;
  }

  .hero__visual {
    gap: 0.7rem;
  }

  .hero__chip--players {
    left: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.88rem;
  }
}

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

  .hero__visual {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Motion preferences ——— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
