/* ============================================
   Lotteria Nazionale — Global stylesheet
   ============================================ */

:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1c232e;
  --bg-card: #1a212c;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --text: #e8edf2;
  --text-soft: #c9d2dc;
  --muted: #8b96a5;
  --amber: #f5a623;
  --amber-2: #ffb84d;
  --teal: #2dd4bf;
  --teal-2: #5eead4;
  --rose: #ec4899;
  --green: #34d399;
  --red: #f87171;
  --grad-warm: linear-gradient(135deg,#f5a623 0%,#ec4899 100%);
  --grad-cool: linear-gradient(135deg,#2dd4bf 0%,#3b82f6 100%);
  --grad-brand: linear-gradient(135deg,#f5a623 0%,#2dd4bf 100%);
  --grad-ink: linear-gradient(180deg,#0d1117 0%,#161b22 100%);
  --shadow-1: 0 4px 24px rgba(0,0,0,.35);
  --shadow-2: 0 18px 60px rgba(0,0,0,.5);
  --shadow-glow: 0 0 0 1px rgba(245,166,35,.3), 0 24px 60px -16px rgba(245,166,35,.35);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-snap: cubic-bezier(.34,1.56,.64,1);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --header-offset: 80px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv11','ss01','ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

/* Ambient background gradients */
body::before, body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: .35;
}
body::before {
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
}
body::after {
  bottom: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 60%);
}

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

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  overflow-wrap: break-word;
  word-break: break-word;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

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

ul, ol { margin: 0 0 1em; padding-left: 1.4em; color: var(--text-soft); }
li { margin-bottom: .35em; }
li:last-child { margin-bottom: 0; }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) { .container { padding: 0 22px; } }
@media (max-width: 430px) { .container { padding: 0 16px; } }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  text-align: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-warm);
  color: #0d1117;
  box-shadow: 0 12px 28px -10px rgba(245,166,35,.5);
}
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(245,166,35,.7); }

.btn--accent {
  background: var(--amber);
  color: #0d1117;
}

.btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--amber); color: var(--amber); }

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ============================================
   Header / Topbar
   ============================================ */
.topbar {
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, rgba(245,166,35,.06) 0%, rgba(45,212,191,.06) 100%);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.topbar__hours svg { width: 14px; height: 14px; color: var(--amber); flex-shrink: 0; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-2);
  font-weight: 600;
  transition: color .25s var(--ease);
}
.topbar__phone:hover { color: var(--teal); }
.topbar__phone svg { width: 14px; height: 14px; }

@media (max-width: 520px) {
  .topbar { font-size: 12px; }
  .topbar__hours { font-size: 11.5px; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13,17,23,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
  transition: background .3s var(--ease);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand svg { width: 42px; height: 42px; flex-shrink: 0; }
.brand__name { color: var(--text); }
.brand__name b { color: var(--amber); font-weight: 800; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color .25s var(--ease);
  isolation: isolate;
}
.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
  z-index: -1;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link.is-active {
  color: #0d1117;
  background: var(--grad-brand);
}
.nav__link.is-active::before { display: none; }

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

.burger {
  display: none;
  width: 46px; height: 46px;
  position: relative;
  z-index: 110;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.burger:hover { border-color: var(--amber); background: rgba(245,166,35,.08); }
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease), top .35s var(--ease), background .25s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span { background: var(--amber); }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .burger { display: block; }
  .header__actions { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 80px));
    z-index: 100;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 32px;
    background: linear-gradient(160deg, var(--bg) 0%, #131923 100%);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s linear .35s;
  }
  .nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s linear 0s;
  }
  .nav__link {
    width: 100%;
    padding: 16px 18px;
    font-size: 18px;
    text-align: left;
    border-radius: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::before { display: none; }
  .nav__link.is-active { border-bottom-color: transparent; }
  .nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }
  body[data-nav-open="true"] { overflow: hidden; }
  body[data-nav-open="true"] .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: var(--bg);
  }
  body[data-nav-open="true"] .topbar { display: none; }
}

@media (min-width: 1221px) {
  .nav__mobile-cta { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(13,17,23,.95) 0%, rgba(13,17,23,.78) 45%, rgba(13,17,23,.55) 100%),
    radial-gradient(circle at 80% 30%, rgba(245,166,35,.18) 0%, transparent 55%),
    url('/assets/img/hero/hero-main.avif') center right / cover no-repeat;
  background-color: var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__side .hero__cta .btn { flex: 1 1 auto; }
.hero__side {
  padding: 32px 30px;
  background: rgba(22,27,34,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}
.hero__side-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--amber);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__side-title::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.hero__trust {
  display: grid;
  gap: 18px;
}
.hero__trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.hero__trust-item:last-child { border-bottom: 0; padding-bottom: 0; }
.hero__trust-item strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__trust-item:nth-child(2) strong { color: var(--teal); }
.hero__trust-item:nth-child(3) strong { color: var(--rose); }
.hero__trust-item span {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .hero {
    padding: 100px 0 110px;
    background:
      linear-gradient(180deg, rgba(13,17,23,.92) 0%, rgba(13,17,23,.78) 100%),
      url('/assets/img/hero/hero-main.avif') center / cover no-repeat;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .hero { padding: 70px 0 80px; }
  .hero__side { padding: 24px 22px; }
  .hero__trust-item strong { font-size: 22px; }
}

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 820px) { .section { padding: 70px 0; } }
@media (max-width: 430px) { .section { padding: 56px 0; } }

.section__head {
  margin-bottom: 56px;
  max-width: 760px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.section__lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-soft);
  line-height: 1.65;
}

.section--alt { background: var(--bg-2); }
.section--ink { background: var(--bg-3); }

.section__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: 0;
}

/* ============================================
   Page hero (inner pages)
   ============================================ */
.page-hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 20% 30%, rgba(245,166,35,.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(45,212,191,.06) 0%, transparent 50%);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.page-hero__crumb::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.page-hero__title {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  max-width: 900px;
  margin-bottom: 18px;
}
.page-hero__lead {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--text-soft);
  max-width: 760px;
  line-height: 1.65;
}
@media (max-width: 520px) { .page-hero { padding: 56px 0 44px; } }

/* ============================================
   Business model (home key block)
   ============================================ */
.bizmodel {
  background: var(--bg-2);
}
.bizmodel__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.bizmodel__image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2);
}
.bizmodel__image img { width: 100%; height: 100%; object-fit: cover; }
.bizmodel__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,.12) 0%, transparent 50%);
}
.bizmodel__points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.bizmodel__point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.bizmodel__point:hover {
  transform: translateX(6px);
  border-color: var(--amber);
  background: rgba(245,166,35,.04);
}
.bizmodel__num {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #0d1117;
}
.bizmodel__h {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
}
.bizmodel__p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
}

@media (max-width: 1100px) { .bizmodel__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================
   Feature cards (Why us, etc.)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  padding: 32px 30px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(245,166,35,.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: -1;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-2);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(245,166,35,.12);
  margin-bottom: 22px;
}
.feature-card__icon svg { width: 26px; height: 26px; color: var(--amber); }
.feature-card:nth-child(2) .feature-card__icon { background: rgba(45,212,191,.12); }
.feature-card:nth-child(2) .feature-card__icon svg { color: var(--teal); }
.feature-card:nth-child(3) .feature-card__icon { background: rgba(236,72,153,.12); }
.feature-card:nth-child(3) .feature-card__icon svg { color: var(--rose); }
.feature-card:nth-child(5) .feature-card__icon { background: rgba(45,212,191,.12); }
.feature-card:nth-child(5) .feature-card__icon svg { color: var(--teal); }
.feature-card:nth-child(6) .feature-card__icon { background: rgba(236,72,153,.12); }
.feature-card:nth-child(6) .feature-card__icon svg { color: var(--rose); }
.feature-card__title {
  font-size: 19px;
  margin-bottom: 10px;
}
.feature-card__desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================
   Game modes
   ============================================ */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mode-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
  height: 100%;
}
.mode-card:hover {
  transform: translateY(-8px);
  border-color: var(--amber);
  box-shadow: var(--shadow-glow);
}
.mode-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.mode-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.mode-card:hover .mode-card__media img { transform: scale(1.08); }
.mode-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,17,23,.85) 100%);
}
.mode-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(13,17,23,.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
  z-index: 1;
}
.mode-card__body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mode-card__title {
  font-size: 22px;
  margin-bottom: 8px;
}
.mode-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.mode-card__desc {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 22px;
  flex: 1;
}
.mode-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 22px;
}
.mode-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mode-card__stat strong {
  font-size: 17px;
  color: var(--amber);
  font-weight: 800;
}
.mode-card__stat span {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mode-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  transition: gap .3s var(--ease), color .25s var(--ease);
}
.mode-card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mode-card:hover .mode-card__link { color: var(--amber); gap: 14px; }
.mode-card:hover .mode-card__link svg { transform: translateX(4px); }

@media (max-width: 1100px) { .modes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .modes-grid { grid-template-columns: 1fr; } }

/* ============================================
   Stats strip
   ============================================ */
.stats {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border-block: 1px solid var(--line);
  padding: 70px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
}
.stat__num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
}

@media (max-width: 820px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }

/* ============================================
   How it works
   ============================================ */
.htw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.htw-step {
  position: relative;
  padding: 30px 24px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.htw-step:hover { transform: translateY(-4px); border-color: var(--teal); }
.htw-step__num {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 44px; height: 44px;
  background: var(--grad-cool);
  color: #0d1117;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  border-radius: 14px;
  box-shadow: 0 12px 28px -8px rgba(45,212,191,.5);
}
.htw-step__title {
  font-size: 18px;
  margin: 16px 0 10px;
}
.htw-step__desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 980px) { .htw-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; } }
@media (max-width: 520px) { .htw-grid { grid-template-columns: 1fr; } }

/* ============================================
   Monetization (4 streams)
   ============================================ */
.money-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.money-card {
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.money-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.money-card__icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245,166,35,.12);
}
.money-card__icon svg { width: 22px; height: 22px; color: var(--amber); }
.money-card__pct {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--amber);
  line-height: 1;
}
.money-card__title {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.money-card__desc {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 980px) { .money-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .money-grid { grid-template-columns: 1fr; } }

/* ============================================
   Reviews
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.review:hover { transform: translateY(-4px); border-color: var(--teal); }
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 16px; height: 16px; color: var(--amber); }
.review__text {
  font-size: 15px;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review__author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
}
.review__author strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.review__author span {
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================
   CTA strip
   ============================================ */
.cta-strip {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(13,17,23,.92) 0%, rgba(13,17,23,.78) 100%),
    url('/assets/img/cta/stadium-night.avif') center/cover;
  border-block: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.cta-strip h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-strip p { margin: 0; font-size: 16px; }
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 980px) {
  .cta-strip__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-strip__actions { justify-content: flex-start; }
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.tier {
  padding: 32px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.tier:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.tier--featured {
  border-color: var(--amber);
  background: linear-gradient(160deg, rgba(245,166,35,.08) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow-glow);
}
.tier__badge {
  position: absolute;
  top: -14px;
  right: 22px;
  padding: 6px 14px;
  background: var(--grad-warm);
  color: #0d1117;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tier__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}
.tier__price {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.tier__price sup { font-size: 18px; font-weight: 700; vertical-align: top; color: var(--muted); margin-right: 3px; }
.tier__price sub { font-size: 14px; font-weight: 500; color: var(--muted); }
.tier__desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  min-height: 44px;
}
.tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.tier__features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
  align-items: start;
  margin: 0;
}
.tier__features svg {
  width: 16px; height: 16px;
  margin-top: 3px;
  color: var(--teal);
}
.tier__features li.off { color: var(--muted); opacity: .55; }
.tier__features li.off svg { color: var(--muted); }

@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ accordion
   ============================================ */
.faq {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.faq__item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item[open] { border-color: var(--amber); }
.faq__sum {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.faq__sum::-webkit-details-marker { display: none; }
.faq__sum svg {
  width: 22px; height: 22px;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq__item[open] .faq__sum svg { transform: rotate(45deg); }
.faq__body {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.7;
}
.faq__body p { margin: 0 0 10px; }
.faq__body p:last-child { margin-bottom: 0; }

@media (max-width: 520px) {
  .faq__sum { padding: 18px 20px; font-size: 14.5px; }
  .faq__body { padding: 0 20px 20px; font-size: 14px; }
}

/* ============================================
   Process timeline (how-it-works page)
   ============================================ */
.process {
  display: grid;
  gap: 32px;
}
.process__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding: 36px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: border-color .3s var(--ease);
}
.process__row:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.process__row:nth-child(even) .process__media { order: 2; }
.process__row:hover { border-color: var(--line-strong); }
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--grad-brand);
  color: #0d1117;
  font-weight: 800;
  font-size: 22px;
  border-radius: 18px;
  margin-bottom: 18px;
}
.process__title {
  font-size: 26px;
  margin-bottom: 14px;
}
.process__desc {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 18px;
}
.process__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.process__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}
.process__list svg { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.process__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.process__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .process__row, .process__row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process__row:nth-child(even) .process__media { order: 0; }
}
@media (max-width: 520px) { .process__row { padding: 26px; } }

/* ============================================
   Team / value cards
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(245,166,35,.04) 0%, var(--bg-2) 100%);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.value:hover { transform: translateY(-4px); border-color: var(--teal); }
.value__num {
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.value__title {
  font-size: 19px;
  margin-bottom: 10px;
}
.value__desc {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }

/* ============================================
   Two-column (about / mission)
   ============================================ */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.twocol__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2);
}
.twocol__media img { width: 100%; height: 100%; object-fit: cover; }
.twocol__title { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; }
.twocol__lead { font-size: 16.5px; color: var(--text-soft); line-height: 1.7; margin-bottom: 18px; }
.twocol--flip .twocol__text { order: 2; }
.twocol--flip .twocol__media { order: 1; }

@media (max-width: 980px) {
  .twocol { grid-template-columns: 1fr; gap: 36px; }
  .twocol--flip .twocol__text, .twocol--flip .twocol__media { order: 0; }
}

/* ============================================
   Stat list (about)
   ============================================ */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 36px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.about-stats .stat__num { font-size: clamp(28px, 3vw, 38px); }
@media (max-width: 720px) { .about-stats { grid-template-columns: repeat(2, 1fr); padding: 28px 22px; } }

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
}
.contact-card {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact-block {
  display: grid;
  gap: 22px;
  margin-bottom: 30px;
}
.contact-block__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-block__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245,166,35,.12);
  color: var(--amber);
  flex-shrink: 0;
}
.contact-block__icon svg { width: 20px; height: 20px; }
.contact-block__h {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 6px;
}
.contact-block__t {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}
.contact-block__t a { color: inherit; transition: color .25s var(--ease); }
.contact-block__t a:hover { color: var(--amber); }
.contact-block__s {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 4px 0 0;
}

.contact-hours {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-hours h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); margin-bottom: 12px; }
.contact-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.contact-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}
.contact-hours li strong { color: var(--text); font-weight: 600; }

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================
   Forms
   ============================================ */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}
.field__hint {
  font-size: 12.5px;
  color: var(--muted);
}
.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  min-width: 0;
}
.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--bg-card);
}
.field__textarea { resize: none; min-height: 130px; line-height: 1.55; }
.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 520px) { .field__row { grid-template-columns: 1fr; } }

.field input[type="checkbox"] { accent-color: var(--amber); transform: scale(1.1); margin-right: 8px; }

.field__check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
  user-select: none;
}
.field__check input { margin: 0; accent-color: var(--amber); transform: scale(1.1); margin-top: 2px; }

.field__error {
  font-size: 12.5px;
  color: var(--red);
  display: none;
}
.field.is-invalid .field__input,
.field.is-invalid .field__textarea,
.field.is-invalid .field__select { border-color: var(--red); }
.field.is-invalid .field__error { display: block; }

/* Custom select */
.cselect { position: relative; }
.cselect__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s var(--ease);
}
.cselect__trigger[aria-expanded="true"] { border-color: var(--amber); }
.cselect__trigger svg { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); }
.cselect__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.cselect__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 6px;
  z-index: 30;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  box-shadow: var(--shadow-2);
}
.cselect__panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s;
}
.cselect__option {
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--text-soft);
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.cselect__option:hover, .cselect__option[aria-selected="true"] {
  background: rgba(245,166,35,.1);
  color: var(--amber);
}

/* ============================================
   Auth pages
   ============================================ */
.auth {
  min-height: calc(100vh - 200px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.auth__panel {
  display: flex;
  align-items: center;
  padding: 80px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
}
.auth__inner {
  width: 100%;
  max-width: 460px;
}
.auth__crumb {
  font-size: 13px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.auth__title {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 12px;
}
.auth__lead {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.auth__switch {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
}
.auth__switch a { color: var(--amber); font-weight: 700; }
.auth__switch a:hover { color: var(--teal); }
.auth__art {
  background:
    linear-gradient(135deg, rgba(245,166,35,.14) 0%, rgba(45,212,191,.1) 60%, var(--bg-3) 100%),
    radial-gradient(circle at 70% 30%, rgba(236,72,153,.25), transparent 60%);
  position: relative;
  overflow: hidden;
}
.auth__art-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.auth__art-text {
  max-width: 420px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.auth__art-text span { color: var(--amber); }
@media (max-width: 980px) {
  .auth { grid-template-columns: 1fr; }
  .auth__art { display: none; }
  .auth__panel { padding: 56px 32px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .auth__panel { padding: 40px 20px; } }

.password-field { position: relative; }
.password-field .field__input { padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.password-toggle:hover { color: var(--amber); background: rgba(245,166,35,.08); }
.password-toggle svg { width: 18px; height: 18px; }

/* ============================================
   Legal pages (privacy/terms/cookies)
   ============================================ */
.legal-page { padding: 56px 0 80px; }
.legal-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 120px;
  padding: 26px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.legal-toc h3 {
  font-size: 12px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  counter-reset: tocnum;
}
.legal-toc li { counter-increment: tocnum; margin: 0; }
.legal-toc a {
  display: block;
  padding: 8px 12px 8px 36px;
  font-size: 13.5px;
  color: var(--text-soft);
  border-radius: 8px;
  position: relative;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.legal-toc a::before {
  content: counter(tocnum, decimal-leading-zero);
  position: absolute;
  left: 10px; top: 8px;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.legal-toc a:hover { background: rgba(245,166,35,.08); color: var(--amber); }
.legal-toc a:hover::before { color: var(--amber); }

.legal-article {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}
.legal-article h2 {
  font-size: 22px;
  color: var(--text);
  margin: 44px 0 14px;
  scroll-margin-top: 120px;
  padding-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article h2::before {
  content: attr(data-num);
  font-size: 13px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: .08em;
  background: rgba(245,166,35,.1);
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.legal-article h3 {
  font-size: 17px;
  color: var(--text);
  margin: 26px 0 10px;
}
.legal-article p { margin: 0 0 12px; }
.legal-article ul { margin: 0 0 14px; padding-left: 22px; }
.legal-article ul li { margin: 0 0 6px; }
.legal-meta {
  font-size: 13.5px;
  color: var(--muted);
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  margin-bottom: 34px;
}

@media (max-width: 1100px) {
  .legal-content { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}

/* ============================================
   Responsible play / safety highlight blocks
   ============================================ */
.safe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.safe-card {
  padding: 28px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--teal);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.safe-card:hover { transform: translateY(-4px); border-left-color: var(--amber); }
.safe-card h3 { font-size: 18px; margin: 0 0 10px; }
.safe-card p { margin: 0; font-size: 14px; color: var(--text-soft); }

@media (max-width: 980px) { .safe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .safe-grid { grid-template-columns: 1fr; } }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 50px;
}
.footer__about p { font-size: 14px; line-height: 1.7; }
.footer__col h4 {
  font-size: 13px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer__col li { margin: 0; }
.footer__col a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--amber); }

/* ============================================
   Auth modal
   ============================================ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-modal[aria-hidden="false"] { display: flex; }
.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,10,15,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: amFade .25s var(--ease);
}
.auth-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  padding: 36px 32px 32px;
  animation: amRise .35s var(--ease);
}
.auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.auth-modal__close svg { width: 18px; height: 18px; }
.auth-modal__close:hover { background: rgba(255,255,255,.08); border-color: var(--line-strong); }
.auth-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 26px;
}
.auth-modal__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.auth-modal__tab.is-active {
  background: var(--grad-brand);
  color: #0b0e13;
}
.auth-modal__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.auth-modal__lead {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0 0 22px;
  line-height: 1.55;
}
.auth-modal__switch {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
}
.auth-modal__link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.auth-modal__link:hover { text-decoration: underline; }
body[data-auth-open="true"] { overflow: hidden; }

@keyframes amFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes amRise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .auth-modal { padding: 12px; }
  .auth-modal__dialog { padding: 28px 22px 24px; }
  .auth-modal__title { font-size: 22px; }
}

.footer__safety {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer__safety-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.3);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}
.footer__safety-pill svg { width: 16px; height: 16px; }
.footer__age {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--amber);
  color: #0d1117;
  font-weight: 800;
  border-radius: 999px;
  font-size: 12px;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer__logos a {
  display: inline-flex;
  align-items: center;
  background: transparent;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.footer__logos a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.footer__logos img {
  height: 28px;
  width: auto;
  display: block;
  background: transparent;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer__logos a:hover img { opacity: 1; }
.footer__logos-age {
  display: inline-flex;
  align-items: center;
}
.footer__logos-age img {
  height: 28px;
  width: auto;
  display: block;
  background: transparent;
  filter: none;
  opacity: 1;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer { padding: 56px 0 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ============================================
   Newsletter
   ============================================ */
.newsletter {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(245,166,35,.06) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 30px 0;
}
.newsletter strong { font-size: 16px; color: var(--text); }
.newsletter input {
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  min-width: 0;
}
.newsletter input:focus { outline: none; border-color: var(--amber); }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; } }

/* ============================================
   Chat widget
   ============================================ */
.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #0d1117;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px -8px rgba(245,166,35,.55);
  z-index: 80;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.chat-toggle:hover { transform: scale(1.07) translateY(-3px); }
.chat-toggle:active { transform: scale(1); }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle__dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 14px; height: 14px;
  background: var(--green);
  border: 2px solid var(--bg);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); }
  50% { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
}

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: min(360px, calc(100vw - 32px));
  max-height: 540px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  z-index: 80;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .3s;
}
.chat-panel[data-open="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear 0s;
}
.chat-head {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(245,166,35,.1) 0%, rgba(45,212,191,.08) 100%);
  border-bottom: 1px solid var(--line);
}
.chat-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-head__info { flex: 1; min-width: 0; }
.chat-head__info strong { display: block; font-size: 14.5px; color: var(--text); }
.chat-head__info span { font-size: 12px; color: var(--green); display: flex; align-items: center; gap: 5px; }
.chat-head__info span::before { content: ''; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.chat-close {
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chat-close:hover { background: rgba(255,255,255,.06); color: var(--text); }
.chat-close svg { width: 18px; height: 18px; }
.chat-log {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 16px;
  word-wrap: break-word;
}
.chat-msg.bot { align-self: flex-start; background: var(--bg-3); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--grad-brand); color: #0d1117; border-bottom-right-radius: 4px; font-weight: 600; }
.chat-typing {
  align-self: flex-start;
  padding: 12px 14px;
  background: var(--bg-3);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: none;
}
.chat-typing[data-show="true"] { display: flex; gap: 4px; }
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
.chat-form {
  padding: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}
.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}
.chat-form input:focus { outline: none; border-color: var(--amber); }
.chat-form button {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-warm);
  border: 0;
  border-radius: 12px;
  color: #0d1117;
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.chat-form button:hover { transform: translateY(-2px); }
.chat-form button svg { width: 18px; height: 18px; }

@media (max-width: 520px) {
  .chat-toggle { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .chat-panel { bottom: 84px; right: 12px; left: 12px; width: auto; max-height: 70dvh; }
}

/* ============================================
   Toast modal (form feedback)
   ============================================ */
.toast-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,17,23,.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.toast-backdrop[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s var(--ease), visibility 0s linear 0s;
}
.toast {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 36px 32px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow-2);
  transform: translateY(20px) scale(.95);
  transition: transform .35s var(--ease);
}
.toast-backdrop[data-open="true"] .toast { transform: translateY(0) scale(1); }
.toast__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 18px;
}
.toast__icon svg { width: 30px; height: 30px; }
.toast.is-ok .toast__icon { background: rgba(52,211,153,.15); color: var(--green); }
.toast.is-err .toast__icon { background: rgba(248,113,113,.15); color: var(--red); }
.toast__title { font-size: 22px; margin-bottom: 8px; }
.toast__msg { font-size: 14.5px; color: var(--text-soft); margin: 0; }

/* ============================================
   Reveal / animation utilities
   ============================================ */
.first-reveal {
  opacity: 0;
  animation: firstReveal .9s var(--ease) forwards;
}
.first-reveal:nth-child(1) { animation-delay: .05s; }
.first-reveal:nth-child(2) { animation-delay: .2s; }
.first-reveal:nth-child(3) { animation-delay: .35s; }
.first-reveal:nth-child(4) { animation-delay: .5s; }

@keyframes firstReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .first-reveal, .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   Play · Hungarian eleven (pulsewinners structure)
   ============================================ */
.play .section__head { margin-bottom: 32px; }
.play__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245,166,35,.12);
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.play-layout {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}
.play-layout__list { flex: 0 0 calc(65% - 1rem); min-width: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: 0 4px 6px rgba(0,0,0,.3);
}
.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.btn-filter {
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font: 500 14px/1 'Inter', sans-serif;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-filter:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.btn-filter.active {
  background: rgba(245,166,35,.12);
  color: var(--amber-2);
  border-color: var(--amber);
  box-shadow: 0 0 10px rgba(245,166,35,.18);
}
.search-wrapper {
  margin-left: auto;
  position: relative;
  width: 100%;
  max-width: 250px;
}
.search-wrapper input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  font: 400 14px/1.4 'Inter', sans-serif;
  transition: all .25s var(--ease);
}
.search-wrapper input::placeholder { color: var(--muted); }
.search-wrapper input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 10px rgba(245,166,35,.2);
}
.search-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.players-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.players-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--muted);
  text-align: center;
}
.players-empty[hidden] { display: none; }
.players-empty svg {
  width: 36px;
  height: 36px;
  color: var(--amber-2);
  opacity: .7;
  margin-bottom: 4px;
}
.players-empty h4 {
  margin: 0;
  font: 700 16px/1.2 'Inter', sans-serif;
  color: var(--text);
}
.players-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
}
.player-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "avatar name name rating"
    "avatar team pos  add";
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.player-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--team-color, transparent);
  border-radius: 10px 0 0 10px;
  opacity: .8;
}
.player-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,166,35,.4);
  box-shadow: 0 8px 24px -12px rgba(245,166,35,.35);
}
.player-card.selected {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(45,212,191,.12) 0%, var(--bg-3) 100%);
  box-shadow: 0 0 0 1px rgba(45,212,191,.4), 0 8px 24px -12px rgba(45,212,191,.5);
}
.player-avatar {
  grid-area: avatar;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--team-color, #333);
  margin: 0;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.35), 0 0 0 2px var(--team-color, rgba(255,255,255,.2));
  border: 0 !important;
}
.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 50%;
}
.player-card__points {
  grid-area: rating;
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 18px;
  padding: 0 5px;
  background: var(--grad-warm);
  color: #0d1117;
  border-radius: 4px;
  font: 800 11px/1 'Inter', sans-serif;
  letter-spacing: -.01em;
  justify-self: end;
}
.player-name {
  grid-area: name;
  font: 700 13px/1.2 'Inter', sans-serif;
  color: var(--text);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-team {
  grid-area: team;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.player-position {
  grid-area: pos;
  font-size: 9px;
  color: var(--teal-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 2px 6px;
  background: rgba(45,212,191,.1);
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-add-player {
  grid-area: add;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background: rgba(245,166,35,.1);
  border: 1px solid var(--amber);
  color: var(--amber-2);
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s var(--ease);
  justify-self: end;
}
.btn-add-player svg { width: 16px; height: 16px; }
.btn-add-player:hover {
  background: var(--amber);
  color: #0d1117;
  transform: scale(1.08);
}
.player-card.selected .btn-add-player {
  background: var(--teal);
  border-color: var(--teal);
  color: #0d1117;
}

.team-builder {
  flex: 0 0 35%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-offset) + 16px);
}
.team-builder h3 {
  margin: 0 0 .75rem;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.pitch {
  position: relative;
  margin-top: 1rem;
  padding: 22px 14px 18px;
  min-height: 380px;
  border-radius: 14px;
  border: 1px solid rgba(45,212,191,.25);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(245,166,35,.18), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(45,212,191,.12), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(45,212,191,.06) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(45,212,191,.05) 22px 23px),
    linear-gradient(180deg, #0a1620 0%, #060b12 100%);
  box-shadow:
    inset 0 0 60px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 12px 32px -16px rgba(45,212,191,.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.pitch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(45,212,191,.4) 20%, rgba(45,212,191,.4) 80%, transparent);
  transform: translateX(-.5px);
  pointer-events: none;
}
.pitch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border: 1px dashed rgba(245,166,35,.5);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(245,166,35,.18), inset 0 0 22px rgba(245,166,35,.1);
  pointer-events: none;
  animation: pitchPulse 4s var(--ease) infinite;
}
@keyframes pitchPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.formation-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.formation-row:last-child { margin-bottom: 0; }
.team-slot {
  text-align: center;
  width: 60px;
  cursor: pointer;
  position: relative;
}
.slot-empty {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(45,212,191,.45);
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(45,212,191,.7);
  font-size: 18px;
  font-weight: 400;
  background: radial-gradient(circle, rgba(45,212,191,.08), transparent 70%);
  box-shadow: 0 0 12px rgba(45,212,191,.15), inset 0 0 8px rgba(45,212,191,.1);
  transition: all .25s var(--ease);
}
.team-slot:hover .slot-empty {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 16px rgba(245,166,35,.4), inset 0 0 10px rgba(245,166,35,.15);
  transform: scale(1.08);
}
.slot-filled {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--team-color, var(--teal));
  box-shadow: 0 0 14px rgba(245,166,35,.35), 0 0 0 2px rgba(245,166,35,.6);
}
.slot-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 50%;
}
.slot-filled-initials {
  font: 800 12px/1 'Inter', sans-serif;
  color: #fff;
  letter-spacing: -.02em;
}
.slot-name {
  font: 600 10px/1.2 'Inter', sans-serif;
  color: #d8eef0;
  text-shadow: 0 0 6px rgba(45,212,191,.5);
  letter-spacing: .02em;
  display: block;
  max-width: 60px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .play-layout { flex-direction: column; }
  .play-layout__list { flex: 1 1 auto; width: 100%; }
  .team-builder { flex: 1 1 auto; width: 100%; position: static; }
  .players-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .players-list { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { padding: .75rem; }
  .search-wrapper { max-width: 100%; margin-left: 0; }
}
@media (max-width: 520px) {
  .play-layout { gap: 1.25rem; }
  .filter-buttons { width: 100%; justify-content: flex-start; }
  .btn-filter { padding: .4rem .8rem; font-size: 13px; }
  .players-list { grid-template-columns: 1fr; gap: 8px; }
  .player-card { grid-template-columns: 40px 1fr auto auto; column-gap: 8px; padding: 8px 10px; }
  .player-avatar { width: 40px; height: 40px; font-size: 13px; }
  .player-name { font-size: 13px; }
  .player-team { font-size: 11px; }
  .team-builder { padding: 1rem; }
  .pitch { min-height: 340px; padding: 18px 10px; }
  .team-slot { width: 50px; }
  .slot-empty, .slot-filled { width: 36px; height: 36px; }
}
@media (max-width: 430px) {
  .filter-buttons { gap: .35rem; }
  .btn-filter { padding: .35rem .7rem; font-size: 12px; }
  .player-card__points { min-width: 24px; height: 16px; font-size: 10px; }
  .btn-add-player { width: 28px; height: 28px; }
  .btn-add-player svg { width: 14px; height: 14px; }
}
