/* LottoLuck Australia — design system (light, sport-magazine) */

:root {
  --c-primary: #7c3aed;
  --c-primary-dark: #5b21b6;
  --c-secondary: #06b6d4;
  --c-secondary-dark: #0891b2;
  --c-accent: #fbbf24;
  --c-accent-strong: #f59e0b;
  --c-text: #e8ecff;
  --c-text-light: #94a3c8;
  --c-text-dim: #6b7596;
  --c-bg: #0a0e1a;
  --c-bg-2: #131a2f;
  --c-surface: #1a2240;
  --c-border: rgba(255,255,255,.08);
  --c-border-strong: rgba(255,255,255,.16);
  --c-footer: #060912;
  --c-danger: #f43f5e;
  --c-gold: #fbbf24;
  --c-star: #fbbf24;
  --c-grad: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-1: 0 4px 16px rgba(30,58,95,.06);
  --shadow-2: 0 12px 32px rgba(30,58,95,.10);
  --shadow-3: 0 22px 50px rgba(30,58,95,.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s ease;
  --t-fast: .2s;
  --t-med: .35s;

  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-offset: 80px;
  --container-pad: 20px;

  /* Legacy palette aliases (used by inner pages with inline style refs) */
  --c-muted: var(--c-text-light);
  --c-cyan: var(--c-secondary);
  --c-purple: var(--c-primary);
  --c-gold-light: var(--c-accent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--c-accent); color: var(--c-primary); }

html { height: 100%; scrollbar-gutter: stable; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  background-image:
    radial-gradient(800px 600px at 12% -10%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(6,182,212,.12), transparent 60%);
  background-attachment: fixed;
  line-height: 1.6;
  min-width: 320px;
  min-height: 100%;
  display: flex; flex-direction: column;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 1 auto; position: relative; }

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: break-word;
}
h1 { font-size: clamp(34px, 4.8vw, 54px); line-height: 1.2; }
h2 { font-size: clamp(28px, 3.4vw, 36px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { color: var(--c-text-light); }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  overflow-wrap: break-word;
  word-break: break-word;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer; font-family: inherit; border: none; outline: none;
  transition: var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
input, textarea, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; height: auto; display: block; }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.btn--primary { background: var(--c-grad); color: #fff; box-shadow: 0 12px 30px rgba(124,58,237,.35); position: relative; isolation: isolate; }
.btn--primary::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%); opacity: 0; transition: opacity .3s ease; z-index: -1; }
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 44px rgba(124,58,237,.5); }
.btn--primary:hover::before { opacity: 1; }

.btn--outline { background: rgba(255,255,255,.05); border: 1px solid var(--c-border-strong); color: #fff; padding: 12px 25px; backdrop-filter: blur(8px); }
.btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); transform: translateY(-2px); }

.btn--accent { background: linear-gradient(135deg, #fde68a 0%, #fbbf24 60%, #f59e0b 100%); color: #1a1306; }
.btn--accent:hover { transform: translateY(-2px); color: #1a1306; box-shadow: 0 14px 36px rgba(251,191,36,.45); }

.btn--ghost { background: rgba(30,58,95,.06); color: var(--c-primary); }
.btn--ghost:hover { background: rgba(30,58,95,.12); color: var(--c-primary); }

.btn--block { width: 100%; }
.btn .icon { width: 16px; height: 16px; }

/* Header */
.header {
  background-color: rgba(10,14,26,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--c-border);
  position: sticky;
  top: 0;
  z-index: 992;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.logo svg { width: 32px; height: 32px; }
.logo__sub { color: var(--c-secondary); font-weight: 600; }
.logo__word {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: lowercase;
  background: linear-gradient(135deg, #fff 0%, #c084fc 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__about .logo__word, .footer-brand .logo__word { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.brand .logo__word { font-size: 16px; }

.nav {
  display: flex; align-items: center; gap: 22px;
  flex: 1; min-width: 0; justify-content: flex-end;
}
.nav__list {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text-light);
  position: relative;
  padding: 6px 0;
}
.nav__link:hover, .nav__link.active { color: #fff; }
.nav__link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  background: var(--c-grad);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__actions .phone-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-text-light);
  font-weight: 500;
  font-size: 14px;
}
.header__actions .phone-link svg { width: 16px; height: 16px; fill: var(--c-secondary); }
.header__actions .phone-link a { color: var(--c-text); }
.header__actions .phone-link a:hover { color: var(--c-secondary); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  color: var(--c-primary);
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle svg { display: block; }
.nav-toggle__bar { transition: transform .3s var(--ease), opacity .25s ease; transform-origin: center; }
.header.is-nav-open .nav-toggle__bar--top { transform: translateY(4px) rotate(45deg); }
.header.is-nav-open .nav-toggle__bar--mid { opacity: 0; }
.header.is-nav-open .nav-toggle__bar--bot { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1219px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 80px 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(170deg, #0a0e1a 0%, #131a2f 100%);
    padding: 26px var(--container-pad) 40px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
    align-items: stretch;
    z-index: 100;
    gap: 18px;
  }
  .header.is-nav-open .nav {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav__list li { width: 100%; }
  .nav__link { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--c-border); display: block; width: 100%; text-align: left; }
  .nav__link.active::after { display: none; }
  .nav__link.active { color: var(--c-secondary); }
  .header__actions { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 14px; }
  .header__actions .btn { width: 100%; }
  body.is-nav-open { overflow: hidden; }
  body.is-nav-open .header {
    position: fixed; top: 0; left: 0; right: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #0a0e1a;
  }
  body.is-nav-open .topbar { display: none; }
}

/* Hero */
.hero {
  padding: 80px 0;
  background: linear-gradient(160deg, #0a0e1a 0%, #131a2f 50%, #1a2240 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -120px; right: -100px;
  width: 440px; height: 440px;
  background: var(--c-accent);
  border-radius: 50%;
  opacity: .35;
  filter: blur(60px);
  z-index: 1;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -160px; left: -120px;
  width: 360px; height: 360px;
  background: var(--c-secondary);
  border-radius: 50%;
  opacity: .12;
  filter: blur(70px);
  z-index: 1;
}
.hero__inner {
  display: flex; align-items: center; gap: 50px;
  position: relative; z-index: 2;
}
.hero__content { flex: 1 1 0; min-width: 0; }
.hero__title { font-size: clamp(36px, 5.2vw, 54px); line-height: 1.15; color: var(--c-primary); margin-bottom: 20px; }
.hero__title span { color: var(--c-secondary); }
.hero__subtitle { font-size: clamp(17px, 1.4vw, 20px); color: var(--c-text-light); margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__image { flex: 1 1 0; min-width: 0; max-width: clamp(320px, 45%, 460px); position: relative; }
.hero__image-img {
  width: 100%; height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  animation: heroFloat 5s ease-in-out infinite;
  transform-origin: 50% 55%;
}
@keyframes heroFloat {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-10px,0) scale(1.01); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__image-img { animation: none; }
}

@media (max-width: 900px) {
  .hero { padding: 56px 0; }
  .hero__inner { flex-direction: column; gap: 36px; }
  .hero__image { max-width: 360px; }
  .hero__cta { justify-content: flex-start; }
}

/* Sections */
.section { padding: 80px 0; }
.section--white { background-color: var(--c-bg-2); }
.section--primary { background-color: var(--c-primary); color: #fff; }
.section--primary p { color: rgba(255,255,255,.78); }
.section--primary h2, .section--primary h3, .section--primary h4 { color: #fff; }

.section__title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 18px;
  color: #fff;
}
.section__lead {
  text-align: center;
  font-size: 17px;
  color: var(--c-text-light);
  margin: 0 auto 50px;
  max-width: 760px;
}
.section--primary .section__title { color: #fff; }
.section--primary .section__lead { color: rgba(255,255,255,.78); }

/* About / 2-col with image */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about__image-img {
  width: 100%; height: auto;
  max-height: 560px;
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: var(--shadow-2);
}
.about__text .section__title { text-align: left; margin-left: 0; margin-bottom: 20px; }
.about__text p { margin-bottom: 18px; font-size: 17px; color: var(--c-text-light); }
.about__list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.about__list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-text);
  font-weight: 500;
  font-size: 15.5px;
}
.about__list li::before {
  content: ''; width: 22px; height: 22px;
  background: var(--c-accent);
  color: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12.5 9.5 18 20 7'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Advantages — 3 round-icon cards */
.advantages { background-color: var(--c-bg-2); }
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.adv__card {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: var(--transition);
}
.adv__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.adv__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--c-grad);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(124,58,237,.35);
}
.adv__icon svg { width: 30px; height: 30px; fill: currentColor; }
.adv__title { font-size: 20px; margin-bottom: 12px; color: #fff; }
.adv__desc { color: var(--c-text-light); font-size: 15.5px; }
@media (max-width: 900px) { .adv__grid { grid-template-columns: 1fr; } }

/* Sport / League cards — image + content */
.sports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.sport__card {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.sport__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.sport__img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--c-bg-2);
}
.sport__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.sport__card:hover .sport__img img { transform: scale(1.06); }
.sport__content { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.sport__title { font-size: 22px; margin-bottom: 8px; color: #fff; }
.sport__meta { font-size: 14px; color: var(--c-text-dim); margin-bottom: 14px; }
.sport__desc { color: var(--c-text-light); margin-bottom: 18px; font-size: 15.5px; }
.sport__stats {
  display: flex; gap: 18px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-text-dim);
}
.sport__stats strong { display: block; font-size: 17px; color: var(--c-primary); margin-bottom: 2px; font-weight: 700; }
.sport__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-secondary);
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
}
@media (max-width: 900px) { .sports__grid { grid-template-columns: 1fr; } }

/* Interesting strip (dark stat bar) */
.interesting { background: linear-gradient(135deg, var(--c-primary-dark) 0%, #1a2240 100%); color: #fff; padding: 70px 0; border-block: 1px solid var(--c-border); }
.interesting .section__title { color: #fff; margin-bottom: 16px; }
.interesting__lead { text-align: center; max-width: 820px; margin: 0 auto 44px; font-size: 17px; color: rgba(255,255,255,.78); }
.int__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.int__item { text-align: center; }
.int__num {
  font-size: 48px;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 8px;
  line-height: 1;
}
.int__text { font-size: 16px; color: rgba(255,255,255,.85); }
@media (max-width: 820px) { .int__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* How to play summary — 3 numbered steps */
.htp-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.htp-summary__step {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--c-border);
  padding: 40px 30px;
  border-radius: var(--r-md);
  text-align: center;
}
.htp-summary__num {
  width: 52px; height: 52px;
  background: var(--c-grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124,58,237,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  margin: 0 auto 18px;
}
.htp-summary__title { font-size: 20px; margin-bottom: 12px; color: #fff; }
.htp-summary__step p { color: var(--c-text-light); font-size: 15.5px; }
@media (max-width: 900px) { .htp-summary__grid { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { background-color: var(--c-bg); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review__card {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--c-border);
  padding: 30px 28px;
  border-radius: var(--r-md);
  position: relative;
}
.review__stars { color: var(--c-star); margin-bottom: 12px; display: flex; gap: 2px; }
.review__stars svg { width: 18px; height: 18px; fill: currentColor; }
.review__text { font-style: italic; margin-bottom: 18px; color: var(--c-text-light); font-size: 15.5px; line-height: 1.65; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review__author strong { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.review__author span { font-size: 13px; color: var(--c-text-dim); }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* CTA strip */
.cta-strip { padding: 60px 0; background: radial-gradient(80% 130% at 0% 0%, rgba(124,58,237,.35), transparent 60%), radial-gradient(70% 130% at 100% 100%, rgba(6,182,212,.3), transparent 60%), var(--c-bg-2); border-block: 1px solid var(--c-border); }
.cta-strip__inner {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.cta-strip h2 { font-size: clamp(22px, 2.5vw, 30px); margin-bottom: 8px; color: #fff; }
.cta-strip p { color: rgba(255,255,255,.78); font-size: 16px; margin: 0; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .cta-strip__inner { grid-template-columns: 1fr; } .cta-strip__actions { justify-content: flex-start; } }

/* Inner page hero */
.page-hero {
  background: linear-gradient(160deg, #0a0e1a 0%, #131a2f 50%, #1a2240 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -90px; right: -80px;
  width: 320px; height: 320px;
  background: var(--c-accent);
  border-radius: 50%;
  opacity: .3;
  filter: blur(60px);
}
.page-hero__title { font-size: clamp(32px, 4.2vw, 46px); color: var(--c-primary); margin-bottom: 18px; position: relative; }
.page-hero__lead { font-size: 17px; color: var(--c-text-light); position: relative; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--c-bg-2);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__body { padding: 22px 24px 26px; }
.team-card__name { font-size: 20px; margin-bottom: 4px; color: #fff; }
.team-card__role { color: var(--c-secondary); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.team-card__bio { font-size: 14.5px; color: var(--c-text-light); line-height: 1.6; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

/* Values grid */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex; gap: 18px; align-items: flex-start;
}
.value-card__num {
  font-size: 28px; font-weight: 700;
  background: var(--c-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  flex-shrink: 0;
  width: 44px;
}
.value-card h3 { font-size: 18px; margin-bottom: 6px; color: #fff; }
.value-card p { font-size: 14.5px; color: var(--c-text-light); }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }

/* Two column generic */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.two-col__media img { width: 100%; height: 100%; object-fit: cover; }
.two-col h2 { text-align: left; margin-left: 0; margin-bottom: 18px; font-size: clamp(26px, 3vw, 32px); }
.two-col p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; color: var(--c-text-light); }
.two-col p:last-child { margin-bottom: 0; }
.two-col p strong { color: var(--c-primary); font-weight: 700; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing tiers */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tier--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--c-bg-2), var(--c-bg-2)) padding-box,
    var(--c-grad) border-box;
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(124,58,237,.35), 0 18px 60px rgba(6,182,212,.25);
}
.tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--c-grad);
  color: #fff;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: var(--r-pill);
}
.tier__name { font-size: 22px; color: #fff; margin-bottom: 6px; }
.tier__sub { color: var(--c-text-light); font-size: 14.5px; margin-bottom: 20px; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; }
.tier__price strong { font-size: 42px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.tier__price span { font-size: 14px; color: var(--c-text-light); }
.tier__list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.tier__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--c-text-light); }
.tier__list li::before {
  content: '✓';
  color: var(--c-secondary);
  font-weight: 700;
  flex-shrink: 0;
}
.tier__list li.muted { opacity: .45; }
.tier .btn { margin-top: auto; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; } .tier--featured { transform: none; } }
@media (max-width: 520px) {
  .tier { padding: 28px 20px; min-width: 0; }
  .tier .btn--block { white-space: normal; padding-left: 14px; padding-right: 14px; }
}

/* Process steps for how-it-works page */
.process-list { display: flex; flex-direction: column; gap: 22px; }
.process-step {
  display: grid;
  grid-template-columns: 88px 1fr 240px;
  gap: 28px;
  align-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px 28px;
  transition: var(--transition);
}
.process-step:hover { box-shadow: var(--shadow-2); }
.process-step__num {
  width: 64px; height: 64px;
  background: var(--c-grad);
  box-shadow: 0 12px 28px rgba(124,58,237,.4);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.process-step__body h3 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.process-step__body p { font-size: 15px; color: var(--c-text-light); }
.process-step__visual {
  text-align: center;
  background: rgba(124,58,237,.12);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px;
}
.process-step__visual strong { display: block; font-size: 26px; color: var(--c-gold); margin-bottom: 4px; font-weight: 700; }
.process-step__visual span { font-size: 12px; color: var(--c-text-dim); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .process-step { grid-template-columns: 1fr; gap: 16px; text-align: left; } .process-step__num { margin: 0; } }

/* Split (revenue) */
.split-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.split {
  padding: 28px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(124,58,237,.12), rgba(6,182,212,.04));
  border: 1px solid var(--c-border);
  text-align: center;
}
.split__pct { font-size: 54px; font-weight: 700; background: var(--c-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 10px; }
.split h4 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.split p { font-size: 14.5px; color: var(--c-text-light); }
@media (max-width: 820px) { .split-grid { grid-template-columns: 1fr; } }

/* Responsible play tools */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: var(--transition);
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.tool-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(244,63,94,.18);
  color: #fda4af;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tool-card__icon svg { width: 22px; height: 22px; }
.tool-card h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.tool-card p { font-size: 14.5px; color: var(--c-text-light); }
@media (max-width: 720px) { .tools-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.02);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { border-color: var(--c-secondary); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-weight: 600; font-size: 16px;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 2px solid var(--c-secondary);
  border-bottom: 2px solid var(--c-secondary);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--c-text-light); line-height: 1.7; font-size: 15px; }

/* Legal pages */
.legal-hero {
  padding: 60px 0 36px;
  background: linear-gradient(160deg, #0a0e1a 0%, #131a2f 50%, #1a2240 100%);
  border-bottom: 1px solid var(--c-border);
}
.legal-hero h1 { margin-bottom: 16px; }
.legal-hero p { font-size: 16px; color: var(--c-text-light); }
.legal-hero__meta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  font-size: 13px; color: var(--c-text-light);
  margin-bottom: 22px;
  border: 1px solid var(--c-border);
}
.legal-hero__meta svg { width: 13px; height: 13px; }

.legal-content {
  padding-block: 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: flex-start;
}
.legal-toc { position: sticky; top: 100px; }
.legal-toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-text-dim); margin-bottom: 14px; font-weight: 700; }
.legal-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block;
  padding: 6px 12px 6px 32px;
  border-radius: var(--r-sm);
  color: var(--c-text-light);
  font-size: 14px;
  position: relative;
  transition: var(--transition);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px;
  color: var(--c-secondary);
  font-weight: 700;
}
.legal-toc a:hover { background: rgba(255,255,255,.05); color: #fff; }
.legal-article { display: flex; flex-direction: column; gap: 32px; }
.legal-article h2 { font-size: 22px; margin-bottom: 14px; color: #fff; scroll-margin-top: 110px; }
.legal-article p { color: var(--c-text-light); line-height: 1.75; margin-bottom: 12px; }
.legal-article ul, .legal-article ol { padding-left: 1.3em; color: var(--c-text-light); line-height: 1.75; margin-bottom: 12px; }
.legal-article li { margin-bottom: 5px; }
.legal-article strong { color: #fff; }
@media (max-width: 1000px) { .legal-content { grid-template-columns: 1fr; gap: 30px; } .legal-toc { position: static; } }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
  padding-top: 50px;
  align-items: stretch;
}
.contact-side {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(124,58,237,.4), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(6,182,212,.3), transparent 60%),
    var(--c-bg-2);
  color: #fff;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.contact-side::after {
  content: ''; position: absolute; bottom: -120px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(251,191,36,.35), transparent 70%);
  border-radius: 50%;
  opacity: .55;
  filter: blur(20px);
}
.contact-side h2 { color: #fff; font-size: 26px; margin-bottom: 12px; text-align: left; }
.contact-side > p { color: rgba(255,255,255,.78); margin-bottom: 24px; }
.contact-channel { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-channel:first-of-type { border-top: 0; padding-top: 0; }
.contact-channel__icon {
  width: 42px; height: 42px;
  background: rgba(251,191,36,.18);
  color: var(--c-gold);
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel__icon svg { width: 20px; height: 20px; }
.contact-channel strong { display: block; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; font-weight: 700; }
.contact-channel span, .contact-channel a { color: rgba(255,255,255,.92); font-size: 15px; }
.contact-channel a:hover { color: var(--c-accent); }

.contact-form {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 38px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form h3 { margin-bottom: 4px; font-size: 22px; }
.contact-form > p { font-size: 14.5px; color: var(--c-text-light); margin-bottom: 8px; }

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

/* Form controls */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--c-text); }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--c-text);
  transition: border-color var(--t-fast) ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-dim); }
.field input, .field textarea { color: var(--c-text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-secondary); }
.field textarea { resize: none; min-height: 120px; line-height: 1.5; font-family: inherit; }
.field--inline-action { position: relative; }
.field--inline-action .field-action {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 38px;
  height: calc(100% - 4px - 21px - 6px); /* input height = field height - top label (~21px) - gap (6px) - bottom margin (4px) */
  min-height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-text-dim);
  background: transparent;
  border-radius: var(--r-sm);
}
.field--inline-action .field-action:hover { color: var(--c-secondary); }
.field--inline-action .field-action svg,
.field--inline-action .field-action .icon { width: 16px; height: 16px; display: block; }
.field--inline-action input { padding-right: 44px; }

/* Auth */
.auth-shell {
  padding: 60px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.auth-side {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(124,58,237,.4), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(6,182,212,.3), transparent 60%),
    var(--c-bg-2);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 44px;
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden;
}
.auth-side::after {
  content: ''; position: absolute; bottom: -100px; right: -80px;
  width: 280px; height: 280px;
  background: var(--c-accent); border-radius: 50%; opacity: .2; filter: blur(50px);
}
.auth-side h2 { color: #fff; font-size: 28px; margin-bottom: 12px; text-align: left; }
.auth-side > p { color: rgba(255,255,255,.78); margin-bottom: 0; }
.auth-side ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.auth-side ul li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-size: 15px; }
.auth-side ul li svg { width: 22px; height: 22px; color: var(--c-accent); flex-shrink: 0; }
.auth-form-wrap {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 42px 44px;
}
.auth-form-wrap h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; text-align: left; color: #fff; }
.auth-form-wrap > p { color: var(--c-text-light); margin-bottom: 26px; font-size: 14.5px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .field-row { display: flex; gap: 14px; }
.auth-form .field-row .field { flex: 1 1 0; min-width: 0; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--c-text-light); }
.auth-meta a { color: var(--c-secondary); font-weight: 600; }
.auth-meta a:hover { color: var(--c-secondary-dark); }
.auth-form .chk { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text-light); font-size: 14px; line-height: 1.4; }
.auth-form .chk input { width: 18px; height: 18px; accent-color: var(--c-secondary); flex-shrink: 0; }
.auth-form .chk a { color: var(--c-secondary); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 12px 0; color: var(--c-text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.auth-switch { text-align: center; color: var(--c-text-light); font-size: 14px; margin-top: 22px; }
.auth-switch a { color: var(--c-secondary); font-weight: 600; }
@media (max-width: 900px) { .auth-shell { grid-template-columns: 1fr; gap: 28px; } .auth-side { min-height: 0; } .auth-form-wrap { padding: 32px 26px; } }
@media (max-width: 480px) { .auth-form .field-row { flex-direction: column; gap: 14px; } }

/* Footer */
.footer {
  position: relative;
  background-color: var(--c-footer);
  color: #fff;
  padding: 60px 0 26px;
  margin-top: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__about p { color: #a8b3c3; margin-top: 18px; font-size: 14px; line-height: 1.6; }
.footer__about .logo { color: #fff; font-size: 22px; }
.footer__title { font-size: 16px; margin-bottom: 18px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: #a8b3c3; font-size: 14.5px; transition: var(--transition); }
.footer__links a:hover { color: var(--c-accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: 13px;
  color: #a8b3c3;
}
.footer__age {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px;
  background: rgba(177,66,66,.18);
  border: 1px solid rgba(177,66,66,.4);
  border-radius: var(--r-pill);
  color: #ffaaaa;
  font-weight: 600;
  font-size: 12px;
}
.footer__age strong {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-danger); color: #fff;
  font-size: 10px;
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Chat widget */
.chat-toggle {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--c-grad);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(63,125,88,.4);
  z-index: 90;
  transition: var(--transition);
}
.chat-toggle:hover { transform: scale(1.06); box-shadow: 0 18px 50px rgba(124,58,237,.7); }
.chat-toggle svg { width: 24px; height: 24px; }
.chat-toggle__badge {
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-gold);
  color: #1a1306;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--c-bg);
  animation: chatPulse 2s ease-in-out infinite;
}
@keyframes chatPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

.chat-panel {
  position: fixed;
  bottom: 96px; right: 22px;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: min(560px, calc(100dvh - 140px));
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  display: flex; flex-direction: column;
  z-index: 91;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.chat-panel[data-open="true"] { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-panel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(6,182,212,.25));
  color: #fff;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.chat-panel__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-panel__head strong { display: block; color: #fff; font-size: 15px; }
.chat-panel__head span { font-size: 12px; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 6px; }
.chat-panel__head span::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #5eda90; box-shadow: 0 0 0 3px rgba(94,218,144,.25);
}
.chat-panel__close { margin-left: auto; width: 32px; height: 32px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.78); background: transparent; }
.chat-panel__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.chat-panel__close svg { width: 18px; height: 18px; }

.chat-log {
  flex: 1; overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--c-bg);
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px; line-height: 1.5;
  animation: msgIn .3s var(--ease);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg--bot { background: rgba(255,255,255,.06); color: var(--c-text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: var(--c-grad); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-typing {
  align-self: flex-start;
  display: inline-flex; gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}
.chat-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-text-dim);
  animation: typing 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-form {
  display: flex; gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-2);
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.chat-form input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--c-text);
}
.chat-form input:focus { outline: none; border-color: var(--c-secondary); background: rgba(255,255,255,.08); }
.chat-form button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-grad);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-form button:hover { transform: scale(1.05); }
.chat-form button svg { width: 18px; height: 18px; }

/* Toast (modal) */
.toast-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,42,72,.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2100;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.toast-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
.toast {
  min-width: 280px; max-width: 420px;
  padding: 26px 30px;
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border-strong);
  text-align: center;
  box-shadow: var(--shadow-3);
  transform: scale(.92);
  transition: transform var(--t-med) var(--ease);
}
.toast-backdrop[data-open="true"] .toast { transform: scale(1); }
.toast__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.toast--ok .toast__icon { background: rgba(16,185,129,.18); color: #10b981; }
.toast--err .toast__icon { background: rgba(244,63,94,.18); color: var(--c-danger); }
.toast__icon svg { width: 26px; height: 26px; }
.toast h3 { font-size: 18px; margin-bottom: 6px; color: #fff; }
.toast p { color: var(--c-text-light); font-size: 14.5px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  padding: 20px 24px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  transform: translateY(140%);
  transition: transform .5s var(--ease);
  max-width: 1100px;
  margin: 0 auto;
}
.cookie-banner[data-open="true"] { transform: translateY(0); }
.cookie-banner__icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: rgba(251,191,36,.15);
  color: var(--c-gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.cookie-banner__icon svg { width: 22px; height: 22px; }
.cookie-banner h4 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.cookie-banner p { font-size: 13.5px; color: var(--c-text-light); margin: 0; }
.cookie-banner a { color: var(--c-secondary); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 13px; }
@media (max-width: 700px) {
  .cookie-banner { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* User chip after login */
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.user-chip__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-secondary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.btn--icon-only {
  width: 40px; height: 40px;
  padding: 0;
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 50%;
}
.btn--icon-only:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); color: #fff; }
.btn--icon-only svg { width: 18px; height: 18px; }

/* Newsletter inline form (footer) */
.footer-newsletter {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 18px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  margin-bottom: 28px;
}
.footer-newsletter strong { color: #fff; flex: 1 1 100%; font-weight: 600; font-size: 15px; min-width: 0; }
.footer-newsletter input {
  flex: 1 1 200px; min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter input:focus { outline: none; border-color: var(--c-accent); background: rgba(255,255,255,.1); }
.footer-newsletter .btn { padding: 10px 20px; font-size: 14px; }

/* Reveal animations */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .9s var(--ease); }
.fade-up.is-in { opacity: 1; transform: translateY(0); }

.first-reveal { animation: firstRevealUp .8s var(--ease) both; }
.first-reveal:nth-child(2) { animation-delay: .1s; }
.first-reveal:nth-child(3) { animation-delay: .2s; }
.first-reveal:nth-child(4) { animation-delay: .3s; }
@keyframes firstRevealUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ───── Legacy class aliases (for inner pages that still use old structure) ───── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

.site-header { background-color: var(--c-bg-2); box-shadow: 0 2px 12px rgba(30,58,95,.05); position: sticky; top: 0; z-index: 992; overflow: visible; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: var(--c-primary); flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name strong { color: var(--c-primary); font-weight: 700; font-size: 21px; }
.brand__name span { font-size: 10.5px; color: var(--c-secondary); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

.site-header .nav { gap: 22px; }
.site-header .nav a {
  font-weight: 500; font-size: 15px; color: var(--c-text);
  position: relative; padding: 6px 0;
}
.site-header .nav a:hover, .site-header .nav a.is-active { color: var(--c-secondary); }
.site-header .nav a.is-active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -6px; height: 3px;
  background: var(--c-accent); border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .btn { padding: 11px 22px; font-size: 14px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border-radius: 10px;
  color: var(--c-primary);
  position: relative;
  flex-shrink: 0;
  z-index: 110;
}
.burger:hover { background: rgba(30,58,95,.06); }
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease, top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1219px) {
  .burger { display: block; }
  .site-header .header-cta .btn--text { display: none; }
  .site-header .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff;
    padding: 22px var(--container-pad) 32px;
    border-top: 1px solid var(--c-border);
    box-shadow: var(--shadow-2);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s ease, visibility 0s linear .3s;
    z-index: 100;
    gap: 0;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }
  .site-header .nav[data-open="true"] {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s ease, visibility 0s linear 0s;
  }
  .site-header .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--c-border); }
  .site-header .nav a.is-active::after { display: none; }
  body[data-nav-open="true"] { overflow: hidden; }
  body[data-nav-open="true"] .site-header { position: fixed; top: 0; left: 0; right: 0; }
  body[data-nav-open="true"] .topbar { display: none; }
}

.btn--ghost { background: rgba(255,255,255,.05); color: #fff; border: 1px solid var(--c-border-strong); padding: 11px 21px; }
.btn--ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--gold { background-color: var(--c-accent-strong); color: var(--c-primary); }
.btn--gold:hover { background-color: #c9a644; transform: translateY(-2px); color: var(--c-primary); }
.btn--text { background: transparent; color: var(--c-secondary); }
.btn--text:hover { color: var(--c-secondary-dark); }

.section__head { text-align: center; margin-bottom: 40px; }
.section__head .section__title { margin-bottom: 14px; }
.section__head .section__lead { margin: 0 auto; }
.section__lead--left { text-align: left; }
.grad-text { color: var(--c-secondary); font-weight: 700; }

/* Page-hero / about-hero shared inner-page hero look */
.about-hero, .mission-hero, .contact-hero {
  padding: 70px 0 50px;
  background: linear-gradient(160deg, #0a0e1a 0%, #131a2f 50%, #1a2240 100%);
  position: relative;
  overflow: hidden;
}
.about-hero::before, .mission-hero::before, .contact-hero::before {
  content: ''; position: absolute;
  top: -90px; right: -80px;
  width: 380px; height: 380px;
  background: var(--c-primary);
  border-radius: 50%;
  opacity: .35;
  filter: blur(70px);
}
.about-hero__title, .mission-hero__title, .contact-hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  color: #fff;
  margin-bottom: 18px;
  position: relative;
}
.about-hero__lead, .mission-hero__lead {
  font-size: 17px; color: var(--c-text-light);
  position: relative;
}
.mission-hero__bg { display: none; }
.mission-hero__inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center;
  position: relative;
}
.mission-hero__inner > div { min-width: 0; }
.mission-pillars {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-strong);
}
.mission-pillar { display: flex; gap: 14px; align-items: flex-start; }
.mission-pillar svg, .mission-pillar .icon { width: 22px; height: 22px; color: var(--c-secondary); flex-shrink: 0; margin-top: 3px; }
.mission-pillar strong { display: block; color: var(--c-primary); font-size: 15.5px; margin-bottom: 3px; font-weight: 700; }
.mission-pillar p { font-size: 14px; color: var(--c-text-light); margin: 0; }
@media (max-width: 900px) { .mission-hero__inner { grid-template-columns: 1fr; gap: 30px; } }

.content-block { padding: 70px 0; }
.content-block + .content-block { padding-top: 0; }

/* Features grid (alias of advantages) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  padding: 30px 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--c-grad);
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 12px 26px rgba(124,58,237,.3);
}
.feature__icon svg, .feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; color: #fff; }
.feature p { font-size: 14.5px; color: var(--c-text-light); }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* CTA strip variant used by some pages */
.cta-strip__inner { /* already defined above */ }

/* Outback facts strip */
.outback-strip {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
}
.outback-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.outback-fact { text-align: center; }
.outback-fact h3 { font-size: clamp(28px, 3vw, 36px); color: var(--c-accent); margin-bottom: 4px; }
.outback-fact p { font-size: 14px; color: rgba(255,255,255,.78); }
@media (max-width: 820px) { .outback-strip__inner { grid-template-columns: 1fr 1fr; } }

/* Ticker (hide entirely on light theme — too noisy) */
.ticker { display: none; }

/* Hero stats / card-stack used in old index (no longer used but keep tidy) */
.hero__stats, .hero__card-stack, .hero-card { display: none; }

/* Brand mark for footer/legacy variants */
.footer-brand p { color: #a8b3c3; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name strong { color: #fff; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #a8b3c3; font-size: 14.5px; }
.footer-col a:hover { color: var(--c-accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: #a8b3c3; }
.footer-bottom__age { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; background: rgba(177,66,66,.18); border: 1px solid rgba(177,66,66,.4); border-radius: var(--r-pill); color: #ffaaaa; font-weight: 600; font-size: 12px; }
.footer-bottom__age strong { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-danger); color: #fff; font-size: 10px; }
.site-footer { background-color: var(--c-footer); color: #fff; padding: 60px 0 26px; margin-top: auto; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }


/* Footer support-org logos */
.footer__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer__logos a {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.footer__logos a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,255,255,.12);
}
.footer__logos img { height: 30px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.footer__logos-age { display: inline-flex; align-items: center; }
.footer__logos-age img { height: 38px; width: 38px; }
@media (max-width: 600px) { .footer__logos { gap: 12px; } .footer__logos img { height: 26px; } .footer__logos-age img { height: 34px; width: 34px; } }


/* Auth modal */
.auth-modal {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(5,8,18,.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.auth-modal[data-open="true"] {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .3s var(--ease), visibility 0s linear 0s;
}
.auth-modal__panel {
  width: 100%; max-width: 460px;
  background: var(--c-bg-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  position: relative;
  overflow: hidden;
  transform: scale(.94) translateY(10px);
  transition: transform .3s var(--ease);
}
.auth-modal[data-open="true"] .auth-modal__panel { transform: scale(1) translateY(0); }
.auth-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
}
.auth-modal__close:hover { background: rgba(255,255,255,.12); }
.auth-modal__close svg { width: 18px; height: 18px; }
.auth-modal__tabs {
  display: flex;
  background: rgba(255,255,255,.04);
  padding: 6px;
  margin: 22px 24px 6px;
  border-radius: var(--r-pill);
}
.auth-modal__tab {
  flex: 1; padding: 10px 18px;
  background: transparent; color: var(--c-text-light);
  font-weight: 600; font-size: 14px;
  border-radius: var(--r-pill);
  transition: background .25s ease, color .25s ease;
}
.auth-modal__tab[aria-selected="true"] {
  background: var(--c-grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124,58,237,.35);
}
.auth-modal__body { padding: 22px 28px 28px; }
.auth-modal__body h2 { font-size: 22px; margin-bottom: 4px; color: #fff; }
.auth-modal__body > p { color: var(--c-text-light); font-size: 14px; margin-bottom: 18px; }
.auth-modal__form { display: none; flex-direction: column; gap: 14px; }
.auth-modal__form.is-active { display: flex; }
.auth-modal__form .chk { font-size: 13px; color: var(--c-text-light); line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.auth-modal__form .chk input { width: 16px; height: 16px; accent-color: var(--c-secondary); flex-shrink: 0; margin-top: 2px; }
.auth-modal__form .chk a { color: var(--c-secondary); }
.auth-modal__form .field-row { display: flex; gap: 12px; }
.auth-modal__form .field-row .field { flex: 1 1 0; min-width: 0; }
@media (max-width: 480px) {
  .auth-modal { padding: 16px; }
  .auth-modal__panel { max-width: 100%; }
  .auth-modal__form .field-row { flex-direction: column; gap: 14px; }
  .auth-modal__body { padding: 18px 22px 24px; }
  .auth-modal__tabs { margin: 18px 22px 4px; }
}


/* Topbar (above header) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 991;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(6,182,212,.08));
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-text-light);
  transform: translateY(0);
  transition: transform .35s var(--ease), margin-top .35s var(--ease);
  will-change: transform;
  overflow: hidden;
  max-height: 44px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 9px;
  gap: 16px;
}
.topbar__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-text-light);
  font-weight: 600;
  font-size: 13.5px;
}
.topbar__phone svg { width: 14px; height: 14px; fill: var(--c-secondary); }
.topbar__phone:hover { color: var(--c-secondary); }
.topbar__hours { color: var(--c-text-dim); font-size: 12px; }
body[data-scrolled="true"] .topbar {
  transform: translateY(-100%);
  margin-top: -44px;
}
.topbar + .header { top: 0; }
body[data-scrolled="true"] .header { top: 0; }
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; padding-block: 7px; }
  .topbar__hours { display: none; }
}

/* ---------- Play · Spain XI lineup builder ---------- */
.play .section__head { margin-bottom: 32px; }
.play__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(251,191,36,.12);
  color: var(--c-accent);
  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.35rem;
  margin-bottom: 1.5rem;
  align-items: center;
  background: var(--c-surface);
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  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(--c-text-light);
  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(--c-text);
  background: rgba(255,255,255,.05);
}
.btn-filter.active {
  background: rgba(251,191,36,.12);
  color: var(--c-accent);
  border-color: var(--c-accent-strong);
  box-shadow: 0 0 10px rgba(251,191,36,.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(--c-border-strong);
  background: var(--c-bg-2);
  color: var(--c-text);
  font: 400 14px/1.4 'Inter', sans-serif;
  transition: all .25s var(--ease);
}
.search-wrapper input::placeholder { color: var(--c-text-light); }
.search-wrapper input:focus {
  outline: none;
  border-color: var(--c-accent-strong);
  box-shadow: 0 0 10px rgba(251,191,36,.2);
}
.search-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--c-text-light);
  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(--c-bg-2) 0%, var(--c-bg) 100%);
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--r-md);
  color: var(--c-text-light);
  text-align: center;
}
.players-empty[hidden] { display: none; }
.players-empty svg {
  width: 36px;
  height: 36px;
  color: var(--c-accent);
  opacity: .7;
  margin-bottom: 4px;
}
.players-empty h4 {
  margin: 0;
  font: 700 16px/1.2 'Inter', sans-serif;
  color: var(--c-text);
}
.players-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-light);
  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(--c-bg-2) 0%, var(--c-bg) 100%);
  border: 1px solid var(--c-border);
  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(251,191,36,.4);
  box-shadow: 0 8px 24px -12px rgba(251,191,36,.35);
}
.player-card.selected {
  border-color: var(--c-secondary);
  background: linear-gradient(135deg, rgba(6,182,212,.12) 0%, var(--c-bg) 100%);
  box-shadow: 0 0 0 1px rgba(6,182,212,.4), 0 8px 24px -12px rgba(6,182,212,.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: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  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(--c-text);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-team {
  grid-area: team;
  font-size: 11px;
  color: var(--c-text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.player-position {
  grid-area: pos;
  font-size: 9px;
  color: var(--c-secondary);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 2px 6px;
  background: rgba(6,182,212,.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(251,191,36,.1);
  border: 1px solid var(--c-accent-strong);
  color: var(--c-accent);
  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(--c-accent-strong);
  color: #0d1117;
  transform: scale(1.08);
}
.player-card.selected .btn-add-player {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  color: #0d1117;
}
.team-builder {
  flex: 0 0 35%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  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(--c-text);
}
.pitch {
  position: relative;
  margin-top: 1rem;
  padding: 22px 14px 18px;
  min-height: 380px;
  border-radius: 14px;
  border: 1px solid rgba(6,182,212,.25);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(251,191,36,.18), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(6,182,212,.12), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(6,182,212,.06) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(6,182,212,.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(6,182,212,.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(6,182,212,.4) 20%, rgba(6,182,212,.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(251,191,36,.5);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(251,191,36,.18), inset 0 0 22px rgba(251,191,36,.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(6,182,212,.45);
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(6,182,212,.7);
  font-size: 18px;
  font-weight: 400;
  background: radial-gradient(circle, rgba(6,182,212,.08), transparent 70%);
  box-shadow: 0 0 12px rgba(6,182,212,.15), inset 0 0 8px rgba(6,182,212,.1);
  transition: all .25s var(--ease);
}
.team-slot:hover .slot-empty {
  border-color: var(--c-accent-strong);
  color: var(--c-accent-strong);
  box-shadow: 0 0 16px rgba(251,191,36,.4), inset 0 0 10px rgba(251,191,36,.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(--c-secondary));
  box-shadow: 0 0 14px rgba(251,191,36,.35), 0 0 0 2px rgba(251,191,36,.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(6,182,212,.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; }
}
