/* ============================================================
   CITY PADEL — Landing Page
   Table of Contents
   1. Design Tokens & Reset
   2. Base Elements & Typography
   3. Buttons
   4. Global Effect Layers (grid, noise, spotlight, particles, cursor)
   5. Loader
   6. Scroll progress / Floating live / Back to top
   7. Navbar
   8. Hero
   9. Section shell
   10. Overview cards
   11. Featured matches
   12. Statistics
   13. Standings
   14. Timeline
   16. Partners marquee
   17. CTA
   18. Footer
   19. States (skeleton / empty / error)
   20. Animations (keyframes)
   21. Responsive
============================================================ */

/* ---------- 1. Design Tokens & Reset ---------- */
:root {
  /* Brand palette — Biru #112049 · Kuning #bfd630 · Putih #ffffff */
  --brand-blue: #112049;
  --brand-yellow: #bfd630;
  --primary: #bfd630;          /* accent / neon (yellow) */
  --primary-strong: #d4e94f;
  --secondary: #5b7ad6;        /* lighter shade of brand blue for accents */
  --bg: #0a1636;               /* deep navy base */
  --bg-2: #060f28;             /* darker navy (loader / footer) */
  --card: #112049;             /* brand blue card */
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #FFFFFF;
  --muted: #a8b4d6;
  --grad: linear-gradient(135deg, var(--primary), var(--primary-strong));
  --glow: 0 0 40px rgba(191, 214, 48, .38);
  --radius: 20px;
  --radius-sm: 14px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2. Base Elements & Typography ---------- */
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

::selection { background: rgba(191, 214, 48, .3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--secondary)); border-radius: 20px; }

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn i { font-size: 1.2rem; }
.btn--primary {
  background: var(--grad);
  color: #0a1636;
  box-shadow: 0 10px 30px rgba(191, 214, 48, .3), inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.btn--primary:hover { box-shadow: 0 14px 44px rgba(191, 214, 48, .55); transform: translateY(-3px); }
.btn--glass {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-strong);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.btn--ghost {
  border: 1px solid var(--border-strong);
  padding: .6rem 1.15rem;
  font-size: .85rem;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .45);
  animation: ripple .6s var(--ease);
  pointer-events: none;
}

/* ---------- 4. Global Effect Layers ---------- */
.grid-bg {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
  animation: gridDrift 40s linear infinite;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -4;
  background:
    radial-gradient(circle at 15% 10%, rgba(191, 214, 48, .16), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(91, 122, 214, .16), transparent 40%),
    var(--bg);
}
.noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(191, 214, 48, .08), transparent 45%);
  transition: background .2s;
}
.particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); opacity: .35;
  animation: rise linear infinite;
}

/* cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; translate: -50% -50%; }
.cursor-dot { width: 7px; height: 7px; background: var(--primary); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(191, 214, 48, .5);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
}
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(191, 214, 48, .1); border-color: var(--primary); }
@media (hover: none) { .cursor-dot, .cursor-ring, .spotlight { display: none; } }

/* ---------- 5. Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  background: var(--bg-2);
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__svg { transform: rotate(-90deg); }
.loader__track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 5; }
.loader__ring {
  fill: none; stroke: url(#g); stroke: var(--primary); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  filter: drop-shadow(0 0 6px var(--primary));
  animation: spinRing 1.3s var(--ease) infinite;
}
.loader__logo { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__mark {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__brand { font-family: var(--font-head); font-weight: 700; letter-spacing: .3em; font-size: 1.1rem; }
.loader__brand span { color: var(--primary); }
.loader__bar { width: 220px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; }
.loader__pct { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }

/* ---------- 6. Scroll progress / Floating live / Back to top ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9998;
  background: var(--grad); box-shadow: 0 0 12px var(--primary);
}
.floating-live {
  position: fixed; right: 1.5rem; bottom: 6rem; z-index: 200;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .85rem; border-radius: 999px;
  background: rgba(255, 40, 70, .12); border: 1px solid rgba(255, 60, 90, .4);
  backdrop-filter: blur(10px); font-weight: 700; font-size: .78rem; letter-spacing: .08em;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s, box-shadow .3s;
}
.floating-live.is-visible { opacity: 1; transform: translateY(0); }
.floating-live:hover { box-shadow: 0 0 24px rgba(255, 60, 90, .45); }
.floating-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d68; position: relative; }
.floating-live__pulse { position: absolute; left: .85rem; width: 8px; height: 8px; border-radius: 50%; background: #ff4d68; animation: pulseRing 1.6s ease-out infinite; }
.floating-live__count {
  background: #ff4d68; color: #fff; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; display: grid; place-items: center; font-size: .72rem;
}
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--grad); color: #0a1636;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .4s, transform .4s, box-shadow .3s;
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { box-shadow: var(--glow); }

/* ---------- 7. Navbar ---------- */
.nav {
  position: fixed; top: 1rem; left: 0; right: 0; z-index: 500;
  transition: top .4s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem .7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, padding .4s;
}
.nav.is-scrolled { top: .6rem; }
.nav.is-scrolled .nav__inner {
  background: rgba(7, 18, 31, .6);
  border-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.nav__logo { display: flex; align-items: center; gap: .6rem; }
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #0a1636;
  background: var(--grad); box-shadow: var(--glow);
}

/* Brand logo: image with graceful fallback to wordmark "C" */
.brand-mark { position: relative; overflow: hidden; }
.brand-mark .brand-img { display: none; object-fit: contain; }
.brand-mark.has-logo { background: none !important; box-shadow: none !important; border-radius: 0; overflow: visible; }
.brand-mark.has-logo .brand-fallback { display: none; }

/* When a real logo image is present, show ONLY the logo (hide wordmark text).
   Use an explicit image height so sizing is deterministic (no % against grid). */
.nav__logo-mark.has-logo { width: auto; height: auto; display: block; }
.nav__logo-mark.has-logo .brand-img { display: block; height: 34px; width: auto; }
.brand-logo-on .nav__logo-text { display: none; }
.brand-logo-on .loader__brand { display: none; }

/* Loader logo */
.loader__mark.brand-mark { width: 68px; height: 68px; }
.loader__mark.brand-mark.has-logo { width: auto; height: auto; display: block; }
.loader__mark.brand-mark.has-logo .brand-img { display: block; width: 96px; height: auto; }
.nav__logo-text { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; line-height: 1; }
.nav__logo-text strong { color: var(--primary); }
.nav__logo-text em { display: block; font-style: normal; font-size: .6rem; letter-spacing: .18em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }

.nav__menu { position: relative; display: flex; gap: .35rem; }
.nav__link {
  position: relative; padding: .5rem .9rem; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__underline {
  position: absolute; bottom: 2px; left: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; box-shadow: 0 0 10px var(--primary);
  transition: left .4s var(--ease), width .4s var(--ease); opacity: 0;
}
.nav__menu:hover .nav__underline, .nav__underline.is-active { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__cta { padding: .6rem 1.15rem; font-size: .85rem; }
.nav__cta i { font-size: 1.05rem; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .35s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; }
.hero__mesh { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.blob--1 { width: 420px; height: 420px; background: var(--primary); top: -80px; left: -60px; animation: blobFloat 16s ease-in-out infinite; }
.blob--2 { width: 480px; height: 480px; background: var(--secondary); bottom: -120px; right: -80px; animation: blobFloat 20s ease-in-out infinite reverse; }
.blob--3 { width: 300px; height: 300px; background: #5b7ad6; top: 40%; left: 45%; opacity: .35; animation: blobFloat 24s ease-in-out infinite; }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(191, 214, 48, .08); border: 1px solid rgba(191, 214, 48, .28); color: var(--primary);
  margin-bottom: 1.6rem;
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: blink 1.6s infinite; }

.hero__title { font-size: clamp(2.6rem, 6vw, 4.9rem); margin-bottom: 1.4rem; }
.hero__title-line { display: block; }
.hero__title-line--grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

.hero__meta { display: flex; align-items: center; gap: 1.4rem; }
.hero__meta-item b { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
.hero__meta-item span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero__meta-divider { width: 1px; height: 34px; background: var(--border-strong); }

/* Hero visual / dashboard */
.hero__visual { position: relative; }
.dash {
  position: relative; border-radius: 24px; padding: 1.4rem;
  background: linear-gradient(160deg, rgba(15, 30, 48, .95), rgba(8, 18, 30, .95));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  transform-style: preserve-3d;
}
.dash__glow { position: absolute; inset: -1px; border-radius: 24px; background: var(--grad); opacity: .15; filter: blur(20px); z-index: -1; }
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; font-size: .8rem; }
.dash__live { display: inline-flex; align-items: center; gap: .4rem; color: #ff4d68; font-weight: 700; letter-spacing: .08em; }
.dash__live .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d68; animation: blink 1.2s infinite; }
.dash__court { color: var(--muted); }
.dash__timer { font-family: var(--font-head); font-weight: 600; color: var(--primary); }

.dash__score { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.dash__team { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.dash__serve { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); flex: none; }
.dash__serve--off { background: rgba(255, 255, 255, .15); box-shadow: none; }
.dash__team-name { flex: 1; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__points { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; min-width: 30px; text-align: center; }
.dash__vs { text-align: center; font-size: .7rem; color: var(--muted); letter-spacing: .2em; font-weight: 700; }

.dash__court-vis { margin-bottom: 1.1rem; }
.court { position: relative; height: 74px; border-radius: 12px; border: 2px solid rgba(191, 214, 48, .3); background: linear-gradient(120deg, rgba(191, 214, 48, .07), rgba(91, 122, 214, .07)); overflow: hidden; }
.court__line { position: absolute; background: rgba(191, 214, 48, .35); }
.court__line--net { top: 0; bottom: 0; left: 50%; width: 2px; }
.court__line--mid { left: 8%; right: 8%; top: 50%; height: 2px; }
.court__ball { position: absolute; top: 50%; left: 20%; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); animation: ballMove 3.2s ease-in-out infinite; }

.dash__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.dash__mini { padding: .7rem; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); text-align: center; }
.dash__mini span { display: block; font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.dash__mini b { font-family: var(--font-head); font-size: .95rem; }

.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(15, 30, 48, .85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}
.hero__chip i { color: var(--primary); font-size: 1.1rem; }
.hero__chip--1 { top: -18px; left: -20px; animation-delay: 0s; }
.hero__chip--2 { bottom: -14px; right: -10px; animation-delay: 1.5s; }

.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; z-index: 3; width: 24px; height: 40px; border: 2px solid var(--border-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.hero__scroll-wheel { width: 4px; height: 8px; border-radius: 4px; background: var(--primary); animation: wheel 1.6s infinite; }

/* ---------- 9. Section shell ---------- */
.section { position: relative; padding: 6rem 0; }
.section__head { max-width: 620px; margin: 0 auto 3rem; text-align: center; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; text-align: left; }
.section__eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); margin-bottom: .8rem; }
.section__title { font-size: clamp(2rem, 4vw, 3rem); }
.section__title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section__lead { color: var(--muted); margin-top: .9rem; font-size: 1.02rem; }

/* ---------- 10. Overview cards ---------- */
.overview__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.ov-card { position: relative; border-radius: var(--radius); padding: 1.6rem; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.ov-card:hover { transform: translateY(-8px); border-color: rgba(191, 214, 48, .4); }
.ov-card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; position: relative; }
.ov-card__icon--today { background: rgba(91, 122, 214, .15); color: var(--secondary); }
.ov-card__icon--live { background: rgba(255, 77, 104, .15); color: #ff4d68; }
.ov-card__icon--upcoming { background: rgba(255, 190, 60, .15); color: #ffbe3c; }
.ov-card__icon--done { background: rgba(191, 214, 48, .15); color: var(--primary); }
.ov-card__label { display: block; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ov-card__value { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1.1; }
.ov-card__foot { font-size: .78rem; color: var(--muted); }
.ov-card--live { border-color: rgba(255, 77, 104, .3); }
.live-ping { position: absolute; inset: 0; border-radius: 15px; border: 1px solid rgba(255, 77, 104, .5); animation: pulseBox 1.8s ease-out infinite; }

/* ---------- 11. Featured matches ---------- */
.matches__filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  padding: .5rem 1.1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--muted); transition: .3s var(--ease);
  display: inline-flex; align-items: center; gap: .45rem;
}
.chip:hover { color: #fff; border-color: var(--border-strong); }
.chip.is-active { background: var(--grad); color: #0a1636; border-color: transparent; box-shadow: 0 8px 22px rgba(191, 214, 48, .3); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d68; }

.matches__swiper { padding: .5rem .3rem 1.5rem; overflow: visible; }
.matches__swiper .swiper-slide { height: auto; }

.match-card {
  position: relative; height: 100%; border-radius: var(--radius); padding: 1.4rem;
  background: linear-gradient(160deg, rgba(15, 30, 48, .9), rgba(9, 19, 31, .9));
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.match-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s;
}
.match-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.match-card:hover::before { opacity: 1; }

.match-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.match-card__court { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }
.match-card__status { font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: .3rem .6rem; border-radius: 999px; text-transform: uppercase; }
.status--live { background: rgba(255, 77, 104, .15); color: #ff4d68; display: inline-flex; align-items: center; gap: .35rem; }
.status--live .d { width: 7px; height: 7px; border-radius: 50%; background: #ff4d68; animation: blink 1s infinite; }
.status--upcoming { background: rgba(255, 190, 60, .15); color: #ffbe3c; }
.status--finished { background: rgba(191, 214, 48, .15); color: var(--primary); }

.match-card__cat { font-size: .7rem; color: var(--secondary); font-weight: 600; letter-spacing: .05em; margin-bottom: .9rem; text-transform: uppercase; }

.match-card__team { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; }
.match-card__team + .match-card__team { border-top: 1px solid var(--border); }
.match-card__serve { width: 9px; height: 9px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .15); }
.match-card__serve.is-on { background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: blink 1.4s infinite; }
.match-card__name { flex: 1; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.match-card__name.is-winner { color: var(--primary); }
.match-card__pts { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; min-width: 32px; text-align: center; transition: color .3s; }
.match-card__pts.bump { animation: bump .5s var(--ease); color: var(--primary); }

.match-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--border); font-size: .75rem; color: var(--muted); }
.match-card__timer { display: inline-flex; align-items: center; gap: .35rem; color: var(--primary); font-family: var(--font-head); }

.matches__nav { display: flex; justify-content: center; gap: .8rem; margin-top: .5rem; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 1.5rem; color: #fff; transition: .3s var(--ease); }
.round-btn:hover { background: var(--grad); color: #0a1636; border-color: transparent; box-shadow: var(--glow); }

/* ---------- 12. Statistics ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.stat { border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center; transition: transform .5s var(--ease), border-color .4s; }
.stat:hover { transform: translateY(-8px); border-color: rgba(191, 214, 48, .4); }
.stat__icon { font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6rem; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; }
.stat__label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- 13. Standings ---------- */
.standings__panel { border-radius: var(--radius); padding: 1.4rem; }
.standings__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.standings__tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.stand-tab { padding: .5rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--border); color: var(--muted); transition: .3s var(--ease); }
.stand-tab:hover { color: #fff; }
.stand-tab.is-active { background: var(--grad); color: #0a1636; border-color: transparent; }
.standings__tools { display: flex; gap: .6rem; flex-wrap: wrap; }
.search, .select-wrap { display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.search i, .select-wrap i { color: var(--muted); }
.search input { background: none; border: none; outline: none; color: #fff; width: 150px; font-size: .88rem; }
.search input::placeholder { color: var(--muted); }
.select-wrap select { background: none; border: none; outline: none; color: #fff; font-size: .88rem; }
.select-wrap select option { background: var(--card); }

/* Group cards grid */
.standings__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.2rem; }
.grp-card { border-radius: var(--radius); padding: 1.1rem 1.1rem 1.2rem; transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.grp-card:hover { transform: translateY(-6px); border-color: rgba(191, 214, 48, .35); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.grp-card__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .9rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.grp-card__group { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.grp-card__group b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grp-card__cat { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); padding: .3rem .6rem; border-radius: 999px; background: rgba(91, 122, 214, .12); border: 1px solid rgba(91, 122, 214, .25); white-space: nowrap; }

.grp-table { width: 100%; border-collapse: collapse; }
.grp-table thead th {
  padding: .35rem .4rem .55rem; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); text-align: center; border-bottom: 1px solid var(--border);
}
.grp-table th.col-team, .grp-table td.col-team { text-align: left; }
.grp-table th.col-pts { color: var(--primary); }
.grp-table th.col-w { color: #7ee7a1; }
.grp-table th.col-l { color: #ff8b9e; }
.grp-table tbody td { padding: .55rem .4rem; text-align: center; font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .04); font-family: var(--font-head); vertical-align: middle; }
.grp-table tbody tr:last-child td { border-bottom: none; }
.grp-table tbody tr { transition: background .3s; }
.grp-table tbody tr:hover { background: rgba(191, 214, 48, .06); }
.grp-table .cell-rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .05); }
.grp-table tr.is-top .cell-rank { background: var(--grad); color: #0a1636; }
.grp-table td.col-team { font-family: var(--font-body); font-weight: 600; text-align: left; line-height: 1.25; white-space: normal; word-break: break-word; min-width: 120px; padding-right: .6rem; }
.grp-table .pts { color: var(--primary); font-weight: 700; font-size: .95rem; }
.grp-table .w { color: #7ee7a1; }
.grp-table .l { color: #ff8b9e; }
.grp-table .diff-pos { color: #7ee7a1; }
.grp-table .diff-neg { color: #ff8b9e; }
.badge-q { display: inline-block; margin-left: .35rem; font-size: .58rem; padding: .05rem .3rem; border-radius: 5px; background: rgba(191, 214, 48, .18); color: var(--primary); vertical-align: middle; letter-spacing: .05em; font-family: var(--font-body); font-weight: 700; }

/* ---------- Standings mode switch + Knockout bracket ---------- */
.stand-mode {
  display: flex; justify-content: center; gap: .5rem; margin: 0 auto 1.6rem;
  padding: .35rem; width: fit-content; max-width: 100%;
  border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03); backdrop-filter: blur(10px);
}
.stand-mode__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.35rem; border-radius: 999px; font-size: .88rem; font-weight: 700;
  color: var(--muted); border: 1px solid transparent; transition: .3s var(--ease);
}
.stand-mode__btn i { font-size: 1.15rem; }
.stand-mode__btn:hover { color: #fff; }
.stand-mode__btn.is-active {
  background: var(--grad); color: #0a1636; box-shadow: 0 8px 22px rgba(191, 214, 48, .3);
}

.bracket-scroll {
  overflow-x: auto; overflow-y: hidden; padding: .4rem .2rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.bracket {
  display: flex; gap: 0; min-width: 980px; align-items: stretch;
  padding: .5rem 0 1rem;
}
.bracket__round {
  flex: 1 1 0; min-width: 220px; display: flex; flex-direction: column;
  position: relative; padding: 0 1.1rem;
}
.bracket__round:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; bottom: 24px; right: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.12), transparent);
}
.bracket__round-title {
  text-align: center; font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.2rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.bracket__round--final .bracket__round-title { color: var(--primary); }

.bracket__list {
  flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 1rem;
}
.bracket__list--qf { justify-content: space-around; gap: 2.2rem; }
.bracket__list--sf { justify-content: space-around; gap: 4rem; }
.bracket__list--final { justify-content: center; }

.bk-match {
  position: relative; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, rgba(17, 32, 73, .95), rgba(10, 22, 54, .95));
  border: 1px solid var(--border); transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.bk-match:hover { border-color: rgba(191, 214, 48, .4); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.bk-match--final {
  border-color: rgba(191, 214, 48, .55);
  box-shadow: 0 0 0 1px rgba(191, 214, 48, .2), 0 20px 50px rgba(191, 214, 48, .12);
}
.bk-match--final .bk-match__meta { background: rgba(191, 214, 48, .12); color: var(--primary); }

.bk-match__meta {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .4rem .7rem; font-size: .65rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--border);
}
.bk-match__meta i { color: var(--primary); font-size: .85rem; }

.bk-match__row {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .75rem; border-bottom: 1px solid rgba(255,255,255,.04);
  min-height: 42px;
}
.bk-match__row:last-child { border-bottom: none; }
.bk-match__row.is-winner { background: rgba(191, 214, 48, .07); }
.bk-match__row.is-winner .bk-match__name { color: var(--primary); font-weight: 700; }
.bk-match__avatar {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: .65rem; font-weight: 700;
  background: rgba(191, 214, 48, .15); color: var(--primary); border: 1px solid rgba(191, 214, 48, .3);
}
.bk-match__name {
  flex: 1; font-size: .78rem; font-weight: 600; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;
}
.bk-match__name.is-tbd { color: var(--muted); font-weight: 500; font-style: italic; }
.bk-match__score {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  min-width: 22px; text-align: center; color: var(--muted);
}
.bk-match__row.is-winner .bk-match__score { color: var(--primary); }

.bk-match::after {
  content: ""; position: absolute; top: 50%; right: -1.15rem;
  width: 1.1rem; height: 2px; background: rgba(255, 255, 255, .14);
  pointer-events: none;
}
.bracket__round:last-child .bk-match::after { display: none; }

@media (max-width: 820px) {
  .stand-mode { width: 100%; }
  .stand-mode__btn { flex: 1; justify-content: center; padding: .65rem .8rem; font-size: .8rem; }
  .bracket { min-width: 860px; }
}

/* ---------- 14. Timeline ---------- */
.timeline__track { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem .3rem 2rem; scroll-snap-type: x mandatory; }
.timeline__track::-webkit-scrollbar { height: 6px; }
.tl-node { position: relative; flex: 0 0 220px; scroll-snap-align: start; border-radius: var(--radius); padding: 1.4rem; background: linear-gradient(160deg, rgba(15, 30, 48, .8), rgba(9, 19, 31, .8)); border: 1px solid var(--border); transition: .4s var(--ease); }
.tl-node::after { content: ""; position: absolute; top: 50%; right: -1rem; width: 1rem; height: 2px; background: var(--border-strong); }
.tl-node:last-child::after { display: none; }
.tl-node:hover { transform: translateY(-6px); border-color: rgba(191, 214, 48, .35); }
.tl-node.is-current { border-color: var(--primary); box-shadow: 0 0 30px rgba(191, 214, 48, .25); }
.tl-node__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--border-strong); margin-bottom: 1rem; }
.tl-node.is-current .tl-node__dot { background: var(--primary); box-shadow: 0 0 12px var(--primary); animation: blink 1.4s infinite; }
.tl-node.is-done .tl-node__dot { background: var(--secondary); }
.tl-node__round { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.tl-node__meta { font-size: .78rem; color: var(--muted); }
.tl-node__count { display: inline-block; margin-top: .8rem; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }

/* ---------- 14b. Technical Information (PDF cards) ---------- */
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.tech-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--card); border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
  display: flex; flex-direction: column; min-height: 320px;
}
.tech-card:hover { transform: translateY(-8px); border-color: rgba(191, 214, 48, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.tech-card__poster {
  position: relative; flex: 1; display: grid; place-items: center; padding: 1.4rem; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(191, 214, 48, .18), transparent 55%),
    linear-gradient(160deg, #16265a, #0c1636);
}
.tech-card__poster::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 26px 26px;
}
.tech-card__watermark {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: .92; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(191, 214, 48, .18); opacity: .5; letter-spacing: .02em;
  transform: rotate(-4deg);
}
.tech-card__doc {
  position: relative; z-index: 2; width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center;
  font-size: 2.6rem; color: #0a1636; background: var(--grad); box-shadow: var(--glow);
  transition: transform .5s var(--ease);
}
.tech-card:hover .tech-card__doc { transform: scale(1.08) rotate(3deg); }
.tech-card__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px; color: var(--primary);
  background: rgba(191, 214, 48, .12); border: 1px solid rgba(191, 214, 48, .3);
}
.tech-card__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.tech-card__foot { padding: 1.1rem 1.2rem 1.3rem; border-top: 1px solid var(--border); }
.tech-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: .25rem; }
.tech-card__sub { font-size: .8rem; color: var(--muted); }
.tech-card__open { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-size: .78rem; font-weight: 600; color: var(--primary); }
.tech-card__open i { transition: transform .3s var(--ease); }
.tech-card:hover .tech-card__open i { transform: translateX(4px); }

/* ---------- PDF flipbook modal ---------- */
.pdf-modal {
  position: fixed; inset: 0; z-index: 9100; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(4, 8, 16, .9); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.pdf-modal.is-open { opacity: 1; visibility: visible; }
.pdf-modal__box {
  width: min(920px, 100%); height: min(90vh, 920px); border-radius: var(--radius);
  border: 1px solid var(--border-strong); display: flex; flex-direction: column; overflow: hidden;
  transform: scale(.94) translateY(10px); transition: transform .5s var(--ease);
  background: rgba(10, 22, 54, .92);
}
.pdf-modal.is-open .pdf-modal__box { transform: scale(1) translateY(0); }
.pdf-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); background: rgba(9, 19, 40, .6); }
.pdf-modal__title { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.pdf-modal__title i { font-size: 1.5rem; color: #ff5b6e; flex: none; }
.pdf-modal__title h4 { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-modal__actions { display: flex; gap: .5rem; flex: none; }
.pdf-modal__btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; border: 1px solid var(--border); background: rgba(255, 255, 255, .04); transition: .3s var(--ease); }
.pdf-modal__btn:hover { background: var(--grad); color: #0a1636; border-color: transparent; }

.pdf-modal__body {
  position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(191, 214, 48, .08), transparent 55%),
    #0c1428;
  overflow: hidden;
}

.pdf-flip { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 1.2rem 4rem; }
.pdf-flip__stage {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center;
  perspective: 1400px;
}
.pdf-flip__stage canvas {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  background: #fff; transition: transform .45s var(--ease), opacity .35s ease;
  transform-origin: center center;
}
.pdf-flip__stage.is-flip-next canvas,
.pdf-flip__stage.is-flip-next .pdf-paper { animation: flipNext .45s var(--ease); }
.pdf-flip__stage.is-flip-prev canvas,
.pdf-flip__stage.is-flip-prev .pdf-paper { animation: flipPrev .45s var(--ease); }

/* HTML document paper (dummy flip pages) */
.pdf-paper {
  width: min(100%, 560px); height: min(100%, 720px);
  background: #fff; color: #112049; border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  padding: 1.6rem 1.8rem 2rem; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.pdf-paper[hidden] { display: none !important; }
.pdf-paper__brand {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; color: #bfd630; margin-bottom: 1.2rem;
}
.pdf-paper__heading {
  font-family: var(--font-head); font-size: 1.55rem; font-weight: 700;
  color: #112049; line-height: 1.15; margin: 0;
}
.pdf-paper__rule {
  width: 64px; height: 3px; background: #bfd630; border-radius: 2px;
  margin: .85rem 0 1.2rem;
}
.pdf-paper__body { flex: 1; overflow: hidden; }
.pdf-paper__body p {
  font-family: var(--font-body); font-size: .95rem; line-height: 1.55;
  color: #2a3555; margin: 0 0 .55rem;
}
.pdf-paper__foot {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid #e6eaf2;
  font-size: .75rem; color: #8892a8; font-family: var(--font-head);
}

@keyframes flipNext {
  0% { transform: rotateY(0) scale(1); opacity: 1; }
  45% { transform: rotateY(-70deg) scale(.96); opacity: .35; }
  100% { transform: rotateY(0) scale(1); opacity: 1; }
}
@keyframes flipPrev {
  0% { transform: rotateY(0) scale(1); opacity: 1; }
  45% { transform: rotateY(70deg) scale(.96); opacity: .35; }
  100% { transform: rotateY(0) scale(1); opacity: 1; }
}

.pdf-flip__loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem;
  color: var(--muted); background: rgba(12, 20, 40, .55); z-index: 3;
}
.pdf-flip__loading[hidden] { display: none !important; }
.pdf-flip__spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--primary);
  animation: spinLoader .9s linear infinite;
}
@keyframes spinLoader { to { transform: rotate(360deg); } }

.pdf-nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; color: #0a1636;
  background: var(--grad); border: none; box-shadow: var(--glow);
  transition: transform .3s var(--ease), opacity .3s, box-shadow .3s;
}
.pdf-nav:hover:not(:disabled) { transform: scale(1.08); box-shadow: 0 0 28px rgba(191, 214, 48, .55); }
.pdf-nav:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; filter: grayscale(.4); }
.pdf-nav--prev { left: .9rem; }
.pdf-nav--next { right: .9rem; }

.pdf-modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1.1rem; border-top: 1px solid var(--border); background: rgba(9, 19, 40, .6);
}
.pdf-page {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .06em; color: var(--primary);
  min-width: 5rem; text-align: center;
}
.pdf-foot-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  border: 1px solid var(--border); color: #fff; background: rgba(255, 255, 255, .04);
  transition: .3s var(--ease);
}
.pdf-foot-btn:hover:not(:disabled) { background: var(--grad); color: #0a1636; border-color: transparent; }
.pdf-foot-btn:disabled { opacity: .35; cursor: not-allowed; }

.pdf-modal__fallback { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: .8rem; text-align: center; padding: 2rem; color: var(--muted); background: #0c1428; }
.pdf-modal__fallback[hidden] { display: none !important; }
.pdf-modal__fallback i { font-size: 3rem; color: var(--primary); }
.pdf-modal__fallback code { color: var(--primary); background: rgba(191, 214, 48, .12); padding: .1rem .4rem; border-radius: 6px; }

/* ---------- 16. Partners marquee ---------- */
.marquee { position: relative; overflow: hidden; margin-top: 1rem; padding: 1.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.partner {
  display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.8rem; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; white-space: nowrap;
  transition: .3s var(--ease); color: var(--muted);
}
.partner:hover { color: #fff; border-color: rgba(191, 214, 48, .4); background: rgba(191, 214, 48, .05); }
.partner i { font-size: 1.4rem; color: var(--primary); }

/* ---------- 17. CTA ---------- */
.cta__box { position: relative; text-align: center; padding: 4rem 2rem; border-radius: 32px; overflow: hidden; border: 1px solid var(--border-strong); background: linear-gradient(150deg, rgba(191, 214, 48, .1), rgba(91, 122, 214, .1)); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(191, 214, 48, .25), transparent 60%); }
.cta__eyebrow { position: relative; z-index: 2; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.cta__title { position: relative; z-index: 2; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .8rem 0 1rem; }
.cta__title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__lead { position: relative; z-index: 2; color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; }
.cta__actions { position: relative; z-index: 2; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 18. Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 4rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer__brand p { color: var(--muted); margin: 1rem 0 1.3rem; max-width: 22rem; font-size: .92rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; border: 1px solid var(--border); color: var(--muted); transition: .3s var(--ease); }
.footer__social a:hover { color: #0a1636; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.footer__col h4 { font-size: 1rem; margin-bottom: 1.1rem; }
.footer__col a { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; padding: .35rem 0; transition: color .3s, padding-left .3s; }
.footer__col a:hover { color: var(--primary); padding-left: .3rem; }
.footer__bottom { border-top: 1px solid var(--border); padding: 1.4rem 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .84rem; }
.footer__made i { color: var(--primary); }

/* ---------- 19. States (skeleton / empty / error) ---------- */
.skeleton { border-radius: var(--radius); padding: 1.4rem; background: linear-gradient(160deg, rgba(15, 30, 48, .7), rgba(9, 19, 31, .7)); border: 1px solid var(--border); height: 100%; }
.sk-line { height: 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: shimmer 1.4s infinite; margin-bottom: .8rem; }
.sk-line.lg { height: 30px; width: 40%; }
.sk-line.sm { width: 60%; }
.state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.state i { font-size: 2.6rem; color: var(--primary); display: block; margin-bottom: .8rem; }
.state p { margin-bottom: 1.2rem; }
.state--error i { color: #ff4d68; }

/* ---------- 20. Animations ---------- */
@keyframes ripple { to { transform: scale(3); opacity: 0; } }
@keyframes gridDrift { to { background-position: 60px 60px; } }
@keyframes rise { 0% { transform: translateY(0) scale(1); opacity: .4; } 100% { transform: translateY(-100vh) scale(.4); opacity: 0; } }
@keyframes spinRing { 0% { stroke-dashoffset: 327; transform: rotate(0); } 50% { stroke-dashoffset: 90; } 100% { stroke-dashoffset: 327; transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }
@keyframes pulseBox { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes blobFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 20px) scale(.95); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: float 5s ease-in-out infinite; }
@keyframes ballMove { 0%, 100% { left: 18%; top: 35%; } 25% { left: 70%; top: 60%; } 50% { left: 40%; top: 25%; } 75% { left: 78%; top: 45%; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .overview__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; gap: .3rem; justify-content: center;
    background: rgba(7, 18, 31, .96); backdrop-filter: blur(20px);
    padding: 2rem; transform: translateX(100%); transition: transform .5s var(--ease);
    border-left: 1px solid var(--border);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; padding: .8rem 1rem; }
  .nav__underline { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .overview__grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .ov-card__value { font-size: 2.1rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .standings__groups { grid-template-columns: 1fr; }
  .standings__panel { padding: 1rem; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech-card { min-height: 260px; }
  .pdf-modal__box { height: 92vh; }
  .pdf-flip { padding: 1rem 3.2rem; }
  .pdf-nav { width: 42px; height: 42px; font-size: 1.45rem; }
  .hero { padding-top: 7rem; }
  .floating-live { right: 1rem; bottom: 5rem; }
  .to-top { right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
