/* =========================================================
   LezzGo — One-page website
   Primary: #f53e04
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --primary: #f53e04;
  --primary-2: #ff7a1a;
  --primary-3: #ffb020;
  --primary-rgb: 245, 62, 4;
  --grad: linear-gradient(120deg, #f53e04 0%, #ff6a13 45%, #ffb020 100%);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 22px;
  --radius-lg: 32px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
}

/* Dark (default) */
:root,
:root[data-theme="dark"] {
  --bg: #0a0807;
  --bg-2: #120e0c;
  --surface: #17120f;
  --surface-2: #1f1814;
  --border: rgba(255, 255, 255, .08);
  --text: #f7f2ee;
  --text-2: #b4a9a1;
  --muted: #7d726b;
  --header-bg: rgba(10, 8, 7, .65);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
  --grid-line: rgba(255, 255, 255, .045);
  --chip-bg: rgba(31, 24, 20, .82);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbf8f5;
  --bg-2: #f4eee9;
  --surface: #ffffff;
  --surface-2: #fff6f1;
  --border: rgba(30, 15, 5, .08);
  --text: #1a120d;
  --text-2: #5c514a;
  --muted: #8f847c;
  --header-bg: rgba(251, 248, 245, .75);
  --shadow: 0 30px 60px -24px rgba(120, 40, 0, .28);
  --card-shadow: 0 10px 30px -18px rgba(120, 40, 0, .25);
  --grid-line: rgba(30, 15, 5, .05);
  --chip-bg: rgba(255, 255, 255, .9);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body.is-loading { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--primary); color: #fff; }

.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.text-gradient {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; gap: 28px; justify-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__logo { width: min(260px, 60vw); animation: pulse 1.4s var(--ease) infinite; }
.preloader__bar { width: 160px; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: inherit; animation: load 1.1s var(--ease) infinite; }
@keyframes pulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 24px rgba(var(--primary-rgb), .5)); } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Cursor glow / progress ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .14), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.on { opacity: 1; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 100%;
  background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700;
  padding: .9em 1.6em; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--sm { font-size: .92rem; padding: .7em 1.3em; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), .8);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(var(--primary-rgb), .95); }

.store-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .75rem 1.35rem .75rem 1.1rem;
  border-radius: 16px;
  background: var(--text); color: var(--bg);
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  box-shadow: var(--shadow);
}
.store-btn .icon { width: 1.75rem; height: 1.75rem; }
.store-btn small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; opacity: .75; letter-spacing: .02em; }
.store-btn--alt { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(var(--primary-rgb), .85); }
.store-btn--light { background: #fff; color: #1a120d; }
.store-btn--outline { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); box-shadow: none; backdrop-filter: blur(6px); }
.store-btn:hover { box-shadow: 0 18px 40px -14px rgba(var(--primary-rgb), .7); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease), transform .5s var(--ease);
}
.header.scrolled {
  --header-h: 66px;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
}
.header.hide { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.05) rotate(-2deg); }

.nav { display: flex; align-items: center; gap: .35rem; padding: .35rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.nav__link {
  position: relative;
  padding: .5rem 1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--text-2);
  transition: color .3s, background .3s;
}
.nav__link:hover { color: var(--text); }
.nav__link.active { color: #fff; background: var(--primary); }
.nav__link--cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--primary);
  overflow: hidden;
  transition: transform .4s var(--ease), background .3s;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.06); }
.theme-toggle .icon { position: absolute; width: 20px; height: 20px; transition: transform .6s var(--ease), opacity .4s; }
:root[data-theme="dark"] .icon--sun { transform: translateY(0) rotate(0); opacity: 1; }
:root[data-theme="dark"] .icon--moon { transform: translateY(150%) rotate(-90deg); opacity: 0; }
:root[data-theme="light"] .icon--sun { transform: translateY(-150%) rotate(90deg); opacity: 0; }
:root[data-theme="light"] .icon--moon { transform: translateY(0) rotate(0); opacity: 1; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #f53e04; top: -160px; right: -120px; }
.blob--2 { width: 420px; height: 420px; background: #ffb020; bottom: -180px; left: -140px; opacity: .3; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: #ff6a13; top: 40%; left: 40%; opacity: .18; animation-delay: -12s; }
:root[data-theme="light"] .blob { opacity: .28; }
:root[data-theme="light"] .blob--3 { opacity: .12; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.float-ball {
  position: absolute; left: var(--x); top: var(--y);
  font-size: var(--s);
  opacity: .5;
  animation: floaty 9s ease-in-out infinite;
  animation-delay: var(--d);
  filter: saturate(1.2);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-26px) rotate(25deg); }
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  background: rgba(var(--primary-rgb), .1);
  border: 1px solid rgba(var(--primary-rgb), .3);
  color: var(--primary);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); } }

.hero__title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  line-height: .95; letter-spacing: -.035em;
  margin: 1.4rem 0 1.3rem;
}
.hero__title .go {
  display: inline-block; font-style: italic; padding-right: .1em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: bounce 2.6s var(--ease) infinite;
}
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0) skewX(0); } 30% { transform: translateY(-8px) skewX(-6deg); } }

.hero__text { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--text-2); max-width: 30rem; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__ctas--center { justify-content: center; }

.hero__roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.hero__roles span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 600; color: var(--text-2);
}
.hero__roles .icon { color: var(--primary); width: 1rem; height: 1rem; }

/* Video card */
.hero__media { position: relative; }
.video-card { position: relative; border-radius: var(--radius-lg); transform-style: preserve-3d; will-change: transform; }
.video-card__glow {
  position: absolute; inset: -3px; border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), #f53e04, #ffb020, #ff6a13, transparent 60%, #f53e04);
  animation: spin 5s linear infinite;
  filter: blur(0);
}
.video-card__glow::after {
  content: ""; position: absolute; inset: 10%; border-radius: inherit;
  background: inherit; filter: blur(50px); opacity: .55; z-index: -1;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 3px);
  margin: 3px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.video-card__video { width: 100%; height: 100%; object-fit: cover; }
.video-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 40%); pointer-events: none; }

.live-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: 8px;
  background: #e11d1d; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .1em;
}
.live-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.live-badge--static { position: static; }

.video-controls { position: absolute; right: 12px; bottom: 16px; display: flex; gap: .45rem; }
.vc-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .45); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease);
}
.vc-btn:hover { background: var(--primary); transform: scale(1.08); }
.vc-btn .icon { width: 18px; height: 18px; grid-area: 1 / 1; }
.vc-btn .icon--pause { fill: currentColor; stroke: none; }
.vc-btn .icon--play, .vc-btn .icon--unmuted { display: none; }
.vc-btn.is-paused .icon--pause { display: none; }
.vc-btn.is-paused .icon--play { display: block; fill: currentColor; }
.vc-btn.is-unmuted .icon--muted { display: none; }
.vc-btn.is-unmuted .icon--unmuted { display: block; }

.video-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); }
.video-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

/* Floating chips */
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem .95rem .55rem .55rem; border-radius: 16px;
  background: var(--chip-bg); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: .85rem; white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite;
}
.chip b { font-family: var(--font-head); }
.chip__icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--primary-rgb), .14); color: var(--primary); }
.chip__icon .icon { width: 18px; height: 18px; }
.chip__icon--green { background: rgba(22, 163, 74, .14); color: #16a34a; }
.chip__icon--blue { background: rgba(37, 99, 235, .14); color: #3b82f6; }
.chip--a { top: -22px; left: -28px; }
.chip--b { bottom: -26px; left: 10%; animation-delay: -2s; }
.chip--c { top: 22%; right: -34px; animation-delay: -4s; }
@keyframes chipFloat { 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; }
.scroll-hint__mouse { display: block; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--muted); position: relative; }
.scroll-hint__mouse span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding: 40px 0; margin: -50px 0 -40px; }
.marquee {
  position: relative; z-index: 2;
  background: var(--grad);
  color: #fff;
  padding: 1.1rem 0;
  transform: rotate(-2deg);
  margin: 0 -20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(var(--primary-rgb), .7);
}
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; border-radius: 2px; }
.section__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.role-card {
  position: relative; overflow: hidden;
  padding: 2rem 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: border-color .4s, box-shadow .4s, background .5s;
  transform-style: preserve-3d;
}
.role-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--primary-rgb), .16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.role-card:hover { border-color: rgba(var(--primary-rgb), .45); box-shadow: 0 24px 50px -24px rgba(var(--primary-rgb), .55); }
.role-card:hover::before { opacity: 1; }
.role-card__icon {
  position: relative;
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(var(--primary-rgb), .8);
  margin-bottom: 1.5rem;
  transition: transform .5s var(--ease);
}
.role-card__icon .icon { width: 28px; height: 28px; }
.role-card:hover .role-card__icon { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.role-card h3 { position: relative; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: .35rem; }
.role-card p { position: relative; color: var(--text-2); font-size: .97rem; }
.role-card__num {
  position: absolute; right: 1rem; top: .4rem;
  font-family: var(--font-head); font-weight: 900; font-size: 4.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--border);
  transition: -webkit-text-stroke-color .4s;
}
.role-card:hover .role-card__num { -webkit-text-stroke-color: rgba(var(--primary-rgb), .45); }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  position: relative; overflow: hidden;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background .5s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(var(--primary-rgb), .45); box-shadow: 0 24px 50px -26px rgba(var(--primary-rgb), .55); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .12); color: var(--primary);
  margin-bottom: 1.2rem;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature:hover .feature__icon { background: var(--primary); color: #fff; transform: rotate(-10deg) scale(1.08); }
.feature h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; margin-bottom: .3rem; }
.feature p { color: var(--text-2); font-size: .97rem; }

.feature--big {
  grid-column: span 2; grid-row: span 2;
  background: var(--grad); color: #fff; border: 0;
  display: flex; flex-direction: column;
}
.feature--big h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.feature--big p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 22rem; }
.feature--big .feature__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.feature--big:hover .feature__icon { background: #fff; color: var(--primary); }
.feature__visual--live { margin-top: auto; padding-top: 2rem; display: flex; align-items: flex-end; justify-content: space-between; }
.feature--big::after {
  content: "📡"; position: absolute; right: -10px; top: -10px;
  font-size: 9rem; opacity: .12; transform: rotate(15deg);
}
.eq { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.eq i { width: 10px; border-radius: 6px; background: rgba(255, 255, 255, .85); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.2s; } .eq i:nth-child(2) { animation-delay: -.5s; } .eq i:nth-child(3) { animation-delay: -.1s; } .eq i:nth-child(4) { animation-delay: -.7s; } .eq i:nth-child(5) { animation-delay: -.35s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }

.feature--wide { grid-column: span 4; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.feature--wide .feature__icon { margin-bottom: 0; }
.avatars { display: flex; margin-left: auto; }
.avatars span {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c, var(--primary)); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  border: 3px solid var(--surface);
  margin-left: -12px;
  transition: transform .4s var(--ease);
}
.avatars__more { background: var(--surface-2) !important; color: var(--primary) !important; }
.feature--wide:hover .avatars span { transform: translateY(-4px); }
.feature--wide:hover .avatars span:nth-child(2) { transition-delay: .05s; }
.feature--wide:hover .avatars span:nth-child(3) { transition-delay: .1s; }
.feature--wide:hover .avatars span:nth-child(4) { transition-delay: .15s; }

/* ---------- Showcase ---------- */
.showcase { overflow: hidden; }
.showcase__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 96px); }
.showcase__phone { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone-ring {
  position: absolute; width: min(460px, 90vw); aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(var(--primary-rgb), .35);
  animation: rotate 40s linear infinite;
}
.phone-ring::before, .phone-ring::after {
  content: "⚽"; position: absolute; top: -16px; left: 50%; font-size: 1.8rem; transform: translateX(-50%);
}
.phone-ring::after { content: "🏀"; top: auto; bottom: -16px; }
@keyframes rotate { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  width: min(290px, 70vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #2a2420, #0b0908);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08) inset, 0 50px 90px -30px rgba(var(--primary-rgb), .55), var(--shadow);
  transform-style: preserve-3d;
}
.phone__screen { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #0b0908; z-index: 2; }
.chip--d { top: 18%; left: 0; animation-delay: -1s; }
.chip--e { bottom: 16%; right: 0; animation-delay: -3s; }

.showcase__content .section__title { margin-bottom: 1.8rem; }
.ticks { list-style: none; display: grid; gap: .9rem; margin-bottom: 2.4rem; }
.ticks li { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: 1.05rem; }
.ticks li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--primary-rgb), .14); color: var(--primary); }
.ticks .icon { width: 16px; height: 16px; stroke-width: 3; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { padding: 1.2rem 1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); text-align: center; box-shadow: var(--card-shadow); }
.stat b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: .85rem; color: var(--text-2); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 0; }
.cta {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 60px);
  border-radius: clamp(24px, 4vw, 44px);
  background: var(--grad);
  color: #fff; text-align: center;
  box-shadow: 0 40px 90px -40px rgba(var(--primary-rgb), .9);
}
.cta h2 { position: relative; font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.cta h2 em { font-style: italic; color: #1a120d; }
.cta p { position: relative; margin: 1.1rem 0 .4rem; font-size: 1.1rem; opacity: .92; }
.cta__balls { position: relative; display: block; font-size: 1.8rem; letter-spacing: .4rem; margin-bottom: 1.2rem; animation: chipFloat 4s ease-in-out infinite; }
.cta__rings i {
  position: absolute; left: 50%; top: 50%;
  border: 2px solid rgba(255, 255, 255, .18); border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 6s linear infinite;
}
.cta__rings i:nth-child(2) { animation-delay: -2s; }
.cta__rings i:nth-child(3) { animation-delay: -4s; }
@keyframes ripple {
  from { width: 0; height: 0; opacity: 1; }
  to { width: 1400px; height: 1400px; opacity: 0; }
}

/* ---------- Footer ---------- */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer__links a { color: var(--text-2); font-weight: 500; transition: color .3s; }
.footer__links a:hover { color: var(--primary); }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-4px) rotate(-8deg); }
.socials .icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(var(--primary-rgb), .9);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease);
}
.to-top .icon { transform: rotate(-90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.reveal.in { opacity: 1; transform: none; }
.role-card.reveal.in, .feature.reveal.in { transition: opacity .9s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .4s, background .5s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .roles { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
  .chip--c { right: -10px; }
  .chip--a { left: -10px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: calc(var(--header-h) + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .75rem; border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.98);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: .85rem 1.1rem; font-size: 1.05rem; }
  .nav__link--cta-mobile { display: block; background: var(--grad); color: #fff; text-align: center; margin-top: .3rem; }

  .hero { padding-top: calc(var(--header-h) + 28px); min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__text { margin-inline: auto; }
  .hero__ctas, .hero__roles { justify-content: center; }
  .hero__media { max-width: 720px; width: 100%; margin: 10px auto 0; }
  .scroll-hint { display: none; }

  .showcase__inner { grid-template-columns: 1fr; text-align: center; }
  .ticks { justify-items: center; }
  .eyebrow::before { display: none; }
}

@media (max-width: 600px) {
  .brand__logo { height: 36px; }
  .hero__title { margin: 1.1rem 0 1rem; }
  .store-btn { font-size: 1rem; padding: .65rem 1.1rem .65rem .9rem; }
  .store-btn .icon { width: 1.5rem; height: 1.5rem; }
  .hero__ctas { width: 100%; }
  .hero__ctas .store-btn { flex: 1 1 160px; justify-content: center; }

  .video-card__frame, .video-card { border-radius: 20px; }
  .vc-btn { width: 34px; height: 34px; }
  .vc-btn .icon { width: 15px; height: 15px; }
  .video-controls { right: 8px; bottom: 10px; }
  .live-badge { top: 10px; left: 10px; font-size: .65rem; }

  .chip { font-size: .75rem; padding: .4rem .7rem .4rem .4rem; border-radius: 12px; }
  .chip__icon { width: 26px; height: 26px; border-radius: 8px; }
  .chip__icon .icon { width: 14px; height: 14px; }
  .chip--a { top: -18px; left: 4px; }
  .chip--b { bottom: -20px; left: auto; right: 8px; }
  .chip--c { display: none; }
  .chip--d { left: -4px; }
  .chip--e { right: -4px; }

  .float-ball { opacity: .3; }
  .roles, .bento { grid-template-columns: 1fr; }
  .feature--big, .feature--wide { grid-column: auto; grid-row: auto; }
  .feature--wide { flex-direction: column; align-items: flex-start; }
  .avatars { margin-left: 12px; }
  .stats { gap: .6rem; }
  .stat { padding: 1rem .5rem; }
  .footer__inner, .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.6rem; }
  .theme-toggle, .burger { width: 40px; height: 40px; }
}

/* Large screens: let the video breathe */
@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

/* =========================================================
   Legal pages (Privacy Policy / Terms & Conditions)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px);
  text-align: center;
}
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.page-hero .blob--1 { width: 420px; height: 420px; top: -180px; right: -100px; }
.page-hero .blob--2 { width: 360px; height: 360px; bottom: -220px; left: -120px; }
.page-hero .hero__bg { -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.legal-card { animation: cardIn 1s var(--ease) both .2s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px); } }

.legal-tabs {
  display: inline-flex; gap: .3rem; padding: .35rem; margin-bottom: 2rem;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
.legal-tabs a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text-2);
  transition: color .3s, background .3s;
}
.legal-tabs a .icon { width: 1.05rem; height: 1.05rem; }
.legal-tabs a:hover { color: var(--text); }
.legal-tabs a.active { background: var(--primary); color: #fff; box-shadow: 0 8px 22px -10px rgba(var(--primary-rgb), .9); }

.page-hero__title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -.035em;
  margin-bottom: 1.2rem;
}
.page-hero__text { max-width: 38rem; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.page-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.page-hero__meta span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .95rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .88rem; font-weight: 600; color: var(--text-2);
}
.page-hero__meta .icon { width: 1rem; height: 1rem; color: var(--primary); }

.legal-wrap { position: relative; padding: 0 0 clamp(80px, 10vw, 130px); }
.legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

.legal--full { grid-template-columns: minmax(0, 900px); justify-content: center; }

/* Table of contents */
.toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  max-height: calc(100vh - var(--header-h) - 40px); overflow: auto;
  scrollbar-width: thin;
}
.toc__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; text-align: left;
  cursor: default;
}
.toc__toggle .icon { display: none; width: 1.1rem; height: 1.1rem; transition: transform .4s var(--ease); }
.toc__progress { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin: .9rem 0 1rem; }
.toc__progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .15s linear; }
.toc__list { list-style: none; display: grid; gap: .15rem; counter-reset: toc; }
.toc__list a {
  position: relative; display: flex; gap: .65rem; align-items: baseline;
  padding: .48rem .7rem; border-radius: 10px;
  font-size: .9rem; line-height: 1.35; color: var(--text-2);
  transition: color .25s, background .25s;
}
.toc__list a::before {
  counter-increment: toc; content: counter(toc, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: .75rem; color: var(--muted);
  transition: color .25s;
}
.toc__list a:hover { color: var(--text); background: var(--surface-2); }
.toc__list a.active { color: var(--primary); background: rgba(var(--primary-rgb), .1); font-weight: 600; }
.toc__list a.active::before { color: var(--primary); }

/* Content card */
.legal-card {
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
.prose { counter-reset: sec; color: var(--text-2); font-size: 1.02rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 {
  counter-increment: sec;
  position: relative; display: flex; align-items: center; gap: .85rem;
  font-family: var(--font-head); font-weight: 800; color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -.015em;
  margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-size: 1rem; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 10px 22px -10px rgba(var(--primary-rgb), .85);
}
.prose h3 { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 1.15rem; margin-top: 1.8rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(var(--primary-rgb), .35); transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: var(--primary); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .6rem; }
.prose li { position: relative; padding-left: 1.9rem; }
.prose ul > li::before {
  content: ""; position: absolute; left: .25rem; top: .62em;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--grad); transform: rotate(45deg);
}
.prose ol { counter-reset: li; }
.prose ol > li::before {
  counter-increment: li; content: counter(li);
  position: absolute; left: 0; top: .2em;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--primary-rgb), .14); color: var(--primary);
  font-family: var(--font-head); font-weight: 800; font-size: .75rem;
}
.prose .legal-note {
  position: relative;
  padding: 1rem 1.2rem 1rem 3.4rem; border-radius: 16px;
  background: rgba(var(--primary-rgb), .08);
  border: 1px solid rgba(var(--primary-rgb), .22);
  color: var(--text); font-size: .97rem; line-height: 1.6;
}
.prose .legal-note::before {
  content: "💡"; position: absolute; left: 1.05rem; top: .95rem; font-size: 1.15rem;
}
.prose .legal-note strong { color: var(--primary); }

/* Contact card */
.contact-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 3.2rem; padding: clamp(22px, 3.5vw, 34px);
  border-radius: 24px;
  background: var(--grad); color: #fff;
  box-shadow: 0 30px 60px -30px rgba(var(--primary-rgb), .9);
}
.contact-card::after {
  content: "⚽"; position: absolute; right: -14px; bottom: -30px;
  font-size: 7.5rem; opacity: .14; transform: rotate(-15deg); pointer-events: none;
}
.contact-card__icon {
  width: 58px; height: 58px; border-radius: 18px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .2);
}
.contact-card__icon .icon { width: 28px; height: 28px; }
.contact-card__body { flex: 1 1 240px; }
.contact-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1.2; }
.contact-card p { opacity: .9; font-size: .97rem; margin-top: .2rem; }
.contact-card .btn { position: relative; z-index: 1; background: #fff; color: #1a120d; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.contact-card .btn:hover { transform: translateY(-3px); }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: relative; top: 0; max-height: none; padding: 1rem 1.1rem; }
  .toc__toggle { cursor: pointer; }
  .toc__toggle .icon { display: block; }
  .toc__progress { display: none; }
  .toc__list { display: none; margin-top: .8rem; }
  .toc.open .toc__list { display: grid; }
  .toc.open .toc__toggle .icon { transform: rotate(180deg); }
}
@media (max-width: 600px) {
  .legal-tabs { width: 100%; }
  .legal-tabs a { flex: 1; justify-content: center; padding: .6rem .5rem; font-size: .86rem; }
  .legal-tabs a .icon { display: none; }
  .legal-card { border-radius: 24px; }
  .prose { font-size: .98rem; }
  .prose h2 { gap: .7rem; }
  .prose h2::before { width: 38px; height: 38px; border-radius: 12px; font-size: .85rem; }
  .prose .legal-note { padding: .9rem 1rem .9rem 2.9rem; }
  .prose .legal-note::before { left: .85rem; }
  .contact-card { text-align: center; justify-content: center; }
  .contact-card .btn { width: 100%; }
}

/* ---------- WordPress admin bar (logged-in users) ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .header.scrolled { top: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
