/* =========================================================
   PIALA AFF 2026 HUB — stylesheet (VERSI RAPI / CONSOLIDATED)
   Tema: papan skor stadion malam hari.
   Aksen emas = trofi / sorotan; aksen merah = live / intensitas.
   Halaman Statistik & Jadwal punya tema aksen aqua/biru neon sendiri.

   CATATAN PEMBERSIHAN (dibanding file lama):
   - File lama punya banyak blok CSS yang mendefinisikan ulang
     selector yang sama berkali-kali (mis. .main-nav a, .tie-card,
     .fixture-card, .player-card, .player-modal-card). Semua itu
     sudah digabung jadi SATU blok final per selector (hasil akhir
     cascade-nya sama persis dengan sebelumnya, tapi tidak lagi
     terpecah-pecah & duplikat).
   - Variabel CSS yang tidak pernah didefinisikan tapi dipakai
     (--blue, --blue-soft, --biru) sudah diganti ke variabel yang
     memang ada (--gold / --gold-soft) supaya .hero-eyebrow dan
     judul hero tidak lagi tampil rusak/transparan.
   - Ada 1 extra "}" nyasar di belakang blok .main-nav a:focus/:active
     (bug sintaks) — sudah dihapus.
   - .player-card sebelumnya kebagian style hasil copy-paste dari
     .player-modal-card (width:min(340px,90vw), padding besar,
     rotateY(180deg) permanen tanpa trigger .open) yang bikin kartu
     grid Top Skor/Assist berpotensi tampil terbalik & terlalu lebar,
     merusak grid 4 kolom. Bagian itu sudah dipisahkan: .player-card
     (grid, kecil) vs .player-modal-card (popup, besar+animasi flip).
   - Beberapa override box-shadow/border-color paling akhir untuk
     .player-card ("samakan gaya AQUA terang") ternyata tidak pernah
     kelihatan efeknya karena kalah oleh rule !important yang lebih
     dulu (border:none!important, box-shadow inset!important dari
     bagian "GAME UI"), jadi dihapus karena mati/tidak berefek.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a100d;
  --bg-glow: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(232, 185, 74, 0.10), transparent 60%),
             radial-gradient(ellipse 70% 40% at 90% 10%, rgba(216, 69, 47, 0.07), transparent 60%);
  --surface: #121c17;
  --surface-2: #182821;
  --border: rgba(232, 185, 74, 0.16);
  --border-soft: rgba(242, 237, 228, 0.08);
  --text: #f2ede4;
  --text-muted: #93a69c;
  --gold: #e8b94a;
  --gold-soft: rgba(232, 185, 74, 0.13);
  --red: #d8452f;
  --red-soft: rgba(216, 69, 47, 0.16);
  --win: #5fb87d;
  --win-soft: rgba(95, 184, 125, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* aksen aqua dipakai di halaman Statistik & Jadwal */
  --aqua-1: #0affff;
  --aqua-2: #22d3ee;
  --aqua-3: #0ea5e9;
  --aqua-deep: #04121c;
  --aqua-border: rgba(10, 255, 255, 0.4);
  --aqua-glow: rgba(34, 211, 238, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--bg-glow);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 16, 13, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #b9862c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-size: 16px; font-weight: 700; color: var(--text); text-transform: uppercase; }
.brand-sub { font-size: 10px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }

.main-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }

/* Tombol nav — efek border reveal (versi final yang dipakai) */
.main-nav a {
  position: relative;
  width: 7em;
  height: 2.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background-color: transparent;
  border: 2px ridge #149CEA;
  border-radius: 0.3em;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  transition: 1s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: #212121;
  transition: 0.5s;
  transform-origin: center;
}
.main-nav a::before {
  content: "";
  position: absolute;
  top: 80%;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: #212121;
  transition: 0.5s;
  transform-origin: center;
}
.main-nav a:hover::before,
.main-nav a:hover::after {
  transform: scale(0);
}
.main-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: inset 0px 0px 18px #1479EA;
}
.main-nav a.active {
  border-color: #1479EA;
  background: transparent;
  color: #fff;
  font-weight: 700;
}
.main-nav a:focus,
.main-nav a:active {
  border-color: #1479EA;
  background: transparent;
  color: #fff;
  box-shadow: inset 0px 0px 18px #1479EA;
}

/* ============================================================
   HERO (default)
   ============================================================ */
.hero {
  padding: 48px 0 28px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

/* ============================================================
   HERO BANNER (gambar besar + tagline)
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: url('https://ik.imagekit.io/udoscsqhu/12886e67-3668-43e1-a5c5-6560e6392a9d.png') center 20%/cover no-repeat;
  overflow: hidden;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,16,13,0.92) 15%, rgba(10,16,13,0.55) 45%, rgba(10,16,13,0.15) 75%);
}
.hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 32px 5% 90px;
  max-width: 620px;
}
.hero-banner-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}
.hero-banner-subtitle {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}
.hero-banner-tagline-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(2px);
}
.hero-banner-tagline {
  color: #7dd3fc;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #38bdf8;
  color: #0a1a2f;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 5px;
  transition: background 0.2s ease;
}
.hero-banner-btn:hover {
  background: #7dd3fc;
}

/* ============================================================
   RUNNING TEXT (ticker berita berjalan)
   ============================================================ */
.running-text {
  width: 100%;
  overflow: hidden;
  background: rgba(10, 16, 13, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 6px 0;
  position: sticky;
  top: 70px;
  z-index: 60;
}
.running-text-track {
  display: flex;
  width: max-content;
  animation: runningTextScroll 30s linear infinite;
}
.running-text-track span {
  white-space: nowrap;
  padding-right: 40px;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
@keyframes runningTextScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.running-text:hover .running-text-track {
  animation-play-state: paused;
}

/* ============================================================
   SECTION HEADER / LINK
   ============================================================ */
.section { padding: 28px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.section-link {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}
.section-link:hover { color: var(--gold); border-color: var(--border); }

/* ============================================================
   MATCH CARD (kartu pertandingan — Beranda)
   ============================================================ */
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.match-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.match-card:hover { border-color: var(--border); transform: translateY(-2px); }
.match-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.match-date {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.4px;
}
.badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-upcoming { background: var(--surface-2); color: var(--text-muted); }
.badge-live { background: var(--red-soft); color: #ff8069; animation: pulseSoft 1.6s ease-in-out infinite; }
.badge-finished { background: var(--win-soft); color: var(--win); }
.badge-tag { background: var(--gold-soft); color: var(--gold); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: blinkDot 1s ease-in-out infinite;
}
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes pulseSoft { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.match-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 0;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.match-team.team-winner { background: var(--win-soft); }
.match-team.team-winner .team-name { color: var(--win); font-weight: 700; }
.team-logo { object-fit: contain; }
.team-logo-fallback { line-height: 1; }
.team-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.score-block { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vs-label { font-family: var(--font-display); font-size: 11px; color: var(--text-muted); letter-spacing: 2px; }
.kickoff-time { font-family: var(--font-display); font-size: 13px; color: var(--gold); font-weight: 600; }
.score-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 26px;
  text-align: center;
  color: var(--text);
}
.score-num.score-live { color: #ff8069; }
.score-sep { font-family: var(--font-display); font-size: 20px; color: var(--text-muted); }
.match-card-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.icon-pin { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   STATE BOX (loading / error)
   ============================================================ */
.state-box {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--surface);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-md);
}
.state-error { color: #ff8069; border-color: var(--red-soft); }
.spinner {
  width: 28px; height: 28px; margin: 0 auto 14px;
  border: 3px solid var(--border-soft);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-tab {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover { color: var(--text); border-color: var(--border); }
.filter-tab.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ============================================================
   STANDINGS TABLE (klasemen)
   ============================================================ */
.standings-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-soft); }
.standings-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--surface); font-size: 13px; }
.standings-table caption {
  text-align: left; font-family: var(--font-display); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); padding: 12px 16px; background: var(--surface-2);
}
.standings-table th {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted); padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--border-soft);
}
.standings-table th:nth-child(2) { text-align: left; }
.standings-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--border-soft); font-variant-numeric: tabular-nums; }
.standings-table td:nth-child(2) { text-align: left; }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tr.qualify-zone td:first-child { box-shadow: inset 3px 0 0 var(--win); }
.rank-cell { font-family: var(--font-display); font-weight: 700; color: var(--gold); }
.team-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.points-cell { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 15px; }
.standings-legend { margin-top: 10px; font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--win); display: inline-block; }

/* ============================================================
   BRACKET (bagan babak gugur)
   ============================================================ */
.bracket-wrap {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  --neon: #38bdf8;
}
.bracket-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 260px;
}
.bracket-col-title {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); text-align: center; margin-bottom: 4px;
}

/* Kartu duel (tie-card) — versi final, teks lebih tebal & jelas */
.tie-card {
  position: relative;
  background: linear-gradient(160deg, rgba(15, 35, 55, 0.92) 0%, rgba(6, 14, 24, 0.97) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.10),
    0 0 22px rgba(56, 189, 248, 0.20),
    0 14px 28px rgba(2, 10, 14, 0.55),
    0 4px 10px rgba(2, 10, 14, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 0 28px rgba(56, 189, 248, 0.4),
    0 22px 36px rgba(2, 10, 14, 0.6),
    0 6px 14px rgba(2, 10, 14, 0.45);
}
.tie-card.tie-decided {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.16),
    0 0 26px rgba(56, 189, 248, 0.3),
    0 14px 28px rgba(2, 10, 14, 0.55);
}
.tie-status {
  font-size: 10px;
  color: #7dd3fc;
  text-align: center;
  margin-bottom: 12px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.tie-team {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
}
.tie-team img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.tie-team .team-name {
  color: #e5edf5;
  font-weight: 600;
  font-size: 13.5px;
}
.tie-team.tie-winner {
  background: rgba(56, 189, 248, 0.12);
}
.tie-team.tie-winner .team-name {
  color: #7dd3fc;
  font-weight: 800;
}
.tie-team + .tie-team {
  margin-top: 3px;
}
.tie-score {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #b6c6d6;
  font-size: 15px;
}
.tie-team.tie-winner .tie-score {
  color: #38bdf8;
  font-weight: 800;
  font-size: 17px;
}
.tie-legs {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  font-size: 10.5px;
  color: #94a8ba;
  text-align: center;
  font-weight: 500;
}

/* Garis penghubung bagan — efek neon glow */
.bracket-col:first-child .tie-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -21px;
  width: 21px;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon), 0 0 12px var(--neon), 0 0 20px rgba(56, 189, 248, 0.6);
  animation: neonPulse 2.4s ease-in-out infinite;
}
.bracket-col:first-child::before {
  content: '';
  position: absolute;
  top: 25%;
  bottom: 25%;
  right: -21px;
  width: 2px;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon), 0 0 12px var(--neon), 0 0 20px rgba(56, 189, 248, 0.6);
  animation: neonPulse 2.4s ease-in-out infinite;
}
.bracket-col:last-child .tie-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -21px;
  width: 21px;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon), 0 0 12px var(--neon), 0 0 20px rgba(56, 189, 248, 0.6);
  animation: neonPulse 2.4s ease-in-out infinite;
}
@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ============================================================
   STATS LIST (versi sederhana, list horizontal)
   ============================================================ */
.stat-list { display: flex; flex-direction: column; gap: 8px; }
.stat-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.stat-rank { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-muted); width: 26px; text-align: center; }
.stat-rank.top1 { color: var(--gold); }
.stat-rank.top2 { color: #c8c8c8; }
.stat-rank.top3 { color: #c98a4b; }
.stat-info { flex: 1; min-width: 0; }
.stat-name { font-weight: 700; font-size: 14px; }
.stat-team { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.stat-value { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-value-unit { font-size: 10px; color: var(--text-muted); text-transform: uppercase; display: block; text-align: right; letter-spacing: 0.5px; }

/* ============================================================
   HOME PANELS
   ============================================================ */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.panel {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 20px;
}
.panel h3 { font-family: var(--font-display); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }

/* ============================================================
   AUTO-UPDATE INDICATOR
   ============================================================ */
.auto-update-indicator {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: var(--win);
  background: var(--win-soft);
  border: 1px solid rgba(95, 184, 125, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}
.auto-update-indicator.indicator-live {
  color: #ff8069;
  background: var(--red-soft);
  border-color: rgba(216, 69, 47, 0.3);
  animation: pulseSoft 1.6s ease-in-out infinite;
}
.auto-update-indicator.indicator-error {
  color: #ff8069;
  background: rgba(216, 69, 47, 0.08);
  border-color: rgba(216, 69, 47, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border-soft); margin-top: 50px; padding: 28px 0; text-align: center; }
.site-footer p { color: var(--text-muted); font-size: 12px; margin: 4px 0; }
.site-footer a { color: var(--gold); }

/* ============================================================
   PLACEHOLDER KARTU PEMAIN (sebelum data tersedia)
   ============================================================ */
.player-card-placeholder {
  cursor: pointer;
  border-color: rgba(148, 163, 184, 0.12);
  filter: grayscale(0.6);
  opacity: 0.5;
}
.player-card-placeholder:hover {
  transform: none;
  box-shadow: inset 0 0 0 1.5px rgba(148, 163, 184, 0.4), 0 0 10px rgba(148, 163, 184, 0.15);
}
.player-card-avatar-empty {
  border-color: rgba(148, 163, 184, 0.2);
  color: #475569;
  font-size: 22px;
  font-weight: 700;
}
.player-card-name-empty { color: #64748b; }
.player-card-team-empty { color: #475569; }
.player-card-value-empty {
  background: rgba(148, 163, 184, 0.08);
  color: #64748b;
}

/* ============================================================
   PLAYER CARD — kartu Top Skor / Top Assist (grid kecil)
   Desain "game UI" hexagon + kaca aqua transparan.
   ============================================================ */
.player-card {
  position: relative;
  cursor: pointer;
  text-align: center;
  border-radius: 14px;
  padding: 16px 12px;
  padding-top: 22px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background: linear-gradient(160deg, rgba(10, 255, 255, 0.06), rgba(4, 18, 28, 0.14));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: none;
  box-shadow:
    inset 0 0 0 1.5px rgba(10, 255, 255, 0.55),
    0 0 16px rgba(10, 255, 255, 0.25),
    0 0 34px rgba(34, 211, 238, 0.15),
    0 14px 26px rgba(2, 8, 14, 0.45);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  will-change: transform;
}
.player-card:hover,
.player-card:focus-visible {
  outline: none;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    inset 0 0 0 1.5px rgba(125, 234, 252, 0.9),
    0 0 22px rgba(10, 255, 255, 0.5),
    0 0 50px rgba(34, 211, 238, 0.3),
    0 20px 32px rgba(2, 8, 14, 0.5);
}
/* Glare (sorotan cahaya) mengikuti kursor — di-set via JS lewat --pmx/--pmy */
.player-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pmx, 50%) var(--pmy, 50%), rgba(255, 255, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.player-card.tilting::after { opacity: 1; }

/* Lencana ranking — hexagon di pojok kiri-atas */
.player-card-rank {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #eafeff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(10, 255, 255, 0.6);
}
.player-card.top1 .player-card-rank { background: linear-gradient(135deg, #fbbf24, #b45309); box-shadow: 0 0 12px rgba(251,191,36,.7); }
.player-card.top2 .player-card-rank { background: linear-gradient(135deg, #e2e8f0, #94a3b8); box-shadow: 0 0 12px rgba(226,232,240,.6); }
.player-card.top3 .player-card-rank { background: linear-gradient(135deg, #f59e0b, #92400e); box-shadow: 0 0 12px rgba(245,158,11,.6); }

.player-card-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 8px auto 10px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a2430;
  border: 2px solid rgba(10, 255, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(10,255,255,.12), 0 0 14px rgba(10,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-card.top1 .player-card-avatar {
  border-color: rgba(251, 191, 36, .8);
  box-shadow: 0 0 0 4px rgba(251,191,36,.14), 0 0 16px rgba(251,191,36,.5);
}
.player-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-card-flag {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #04121c;
  box-shadow: 0 0 6px rgba(10,255,255,.5);
  background: #04121c;
}

.player-card-name {
  font-weight: 600;
  font-size: 13px;
  color: #e8fbff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.player-card-team {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
/* Badge "DETAIL" pengganti angka gol/assist di tampilan depan kartu */
.player-card-detail-label,
.player-card-value.player-card-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aqua-1);
  background: rgba(10, 255, 255, 0.14);
  border: 1px solid rgba(10,255,255,.4);
  border-radius: 999px;
  padding: 3px 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
  animation: detailPulse 1.8s ease-in-out infinite;
}
@keyframes detailPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(56, 189, 248, 0.35); }
  50%      { box-shadow: 0 0 12px rgba(56, 189, 248, 0.65); }
}

/* Grid: 4 kartu per baris */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Dua kolom besar: Top Skor | Top Assist */
.stat-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .stat-columns { grid-template-columns: 1fr; }
}
.stat-column-title {
  font-weight: 700;
  font-size: 15px;
  color: #f1f5f9;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* ---- Carousel 3D (coverflow) untuk Top Skor & Assist ---- */
.stat-carousel-viewport {
  position: relative;
  height: 340px;
  overflow: hidden;
  perspective: 1400px;
  touch-action: pan-y;
  cursor: grab;
}
.stat-carousel-viewport.dragging { cursor: grabbing; }
.stat-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.stat-carousel-track .player-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  margin: 0;
  border: 2px solid rgba(56, 189, 248, 0.85);
  box-shadow:
    0 0 6px rgba(56, 189, 248, 0.55),
    0 0 14px rgba(56, 189, 248, 0.35),
    inset 0 0 8px rgba(56, 189, 248, 0.12);
  padding-bottom: 26px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              filter 0.6s ease;
  will-change: transform, opacity;
}
.stat-carousel-track .player-card.is-dragging-active { transition: none; }
.stat-carousel-track .player-card.is-center {
  border-color: #7dfcfc;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.6),
    0 0 24px rgba(56, 189, 248, 0.7),
    0 0 46px rgba(56, 189, 248, 0.4),
    0 20px 40px rgba(2, 8, 14, 0.6);
}
@media (max-width: 640px) {
  .stat-carousel-viewport { height: 300px; }
  .stat-carousel-track .player-card { width: 160px; }
}

/* ============================================================
   MODAL DETAIL PEMAIN — kartu 3D + glow aqua
   ============================================================ */
.player-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 12, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  perspective: 1200px;
}
.player-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.player-modal-card {
  position: relative;
  width: min(340px, 90vw);
  text-align: center;
  border-radius: 20px;
  padding: 28px 22px 22px;
  background: linear-gradient(160deg, rgba(10, 255, 255, 0.06), rgba(4, 18, 28, 0.14));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(10, 255, 255, 0.25),
    0 0 20px rgba(10, 255, 255, 0.45),
    0 0 44px rgba(34, 211, 238, 0.3),
    0 16px 30px rgba(2, 8, 14, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: perspective(1200px) rotateY(180deg);
  transition: transform 0.6s cubic-bezier(0.61, 0.98, 0.48, 1.01);
  will-change: transform;
}
.player-modal-overlay.open .player-modal-card {
  transform: perspective(1200px) rotateY(0deg);
}
/* Border gradasi neon aqua (trik CSS mask) */
.player-modal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #0affff 0%, #7dfcfc 30%, #22d3ee 60%, #0ea5e9 85%, #0affff 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.player-modal-card > * { position: relative; z-index: 1; }
.player-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  z-index: 5;
}
.player-modal-name,
.player-modal-stat-value {
  color: #e8fbff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.player-modal-team {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.player-modal-meta {
  font-size: 12px;
  color: #9fd8e8;
  margin-bottom: 4px;
}
.player-modal-detail-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 0 4px;
}
.player-modal-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  border-bottom: 1px solid rgba(10, 255, 255, 0.12);
  padding-bottom: 8px;
}
.player-modal-detail-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7dd3fc;
  white-space: nowrap;
}
.player-modal-detail-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--aqua-1);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   TEMA HALAMAN STATISTIK — aksen biru neon + nebula background
   Discope lewat body.page-statistik supaya halaman lain aman.
   ============================================================ */
body.page-statistik {
  background-color: #060b14;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(14, 116, 233, 0.10), transparent 60%);
}
body.page-statistik .brand-badge {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}
body.page-statistik .brand-sub { color: #38bdf8; }
body.page-statistik .filter-tab.active {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #04101a;
  border-color: #38bdf8;
}
body.page-statistik .section-title { color: #38bdf8; }
body.page-statistik .section-title::after {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.3), transparent);
}
body.page-statistik .auto-update-indicator.indicator-ok {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}
body.page-statistik .auto-update-indicator {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}
/* Judul "Top Skor & Assist" — efek shimmer biru */
body.page-statistik .stat-title-glow {
  background: linear-gradient(90deg, #38bdf8 0%, #ffffff 25%, #0ea5e9 50%, #38bdf8 75%, #ffffff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerBlue 4s linear infinite;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.35));
}
@keyframes shimmerBlue {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
body.page-statistik .stat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}
/* Elemen "menang/lolos" (default hijau) jadi biru supaya konsisten
   di semua halaman yang pakai tema statistik */
body.page-statistik .badge-finished {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
}
body.page-statistik .match-team.team-winner { background: rgba(56, 189, 248, 0.14); }
body.page-statistik .match-team.team-winner .team-name { color: #38bdf8; }
body.page-statistik .standings-table tr.qualify-zone td:first-child {
  box-shadow: inset 3px 0 0 #38bdf8;
}
body.page-statistik .legend-dot { background: #38bdf8; }
body.page-statistik .tie-team.tie-winner { background: rgba(56, 189, 248, 0.14); }
body.page-statistik .tie-team.tie-winner .team-name { color: #38bdf8; }

/* ============================================================
   JADWAL — TEMA AQUA 3D (kartu fixture + modal detail)
   ============================================================ */
.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.schedule-date-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--aqua-1);
  text-shadow: 0 0 12px rgba(10, 255, 255, 0.35);
  margin-bottom: 14px;
}
.schedule-date-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--aqua-border), transparent);
}
.schedule-date-matches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.schedule-date-matches-single {
  display: flex;
  justify-content: center;
}
.schedule-date-matches-single .fixture-card {
  width: calc(50% - 7px);
  max-width: calc(50% - 7px);
  margin: 0;
}
.schedule-twin-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}
.schedule-mini-block { display: flex; flex-direction: column; }
.schedule-date-heading-mini { font-size: 12px; margin-bottom: 10px; }

/* Fixture card — kaca transparan + border gradasi neon + tilt 3D mengikuti kursor */
.fixture-card {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-lg);
  padding: 13px 14px;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(160deg, rgba(10, 255, 255, 0.06), rgba(4, 18, 28, 0.14));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1.5px rgba(10, 255, 255, 0.9),
    0 0 6px rgba(10, 255, 255, 0.35),
    0 0 12px rgba(34, 211, 238, 0.15),
    0 16px 30px rgba(2, 8, 14, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(800px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--tilt-ty, 0px))
    scale(var(--tilt-scale, 1));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.fixture-card.is-tilting {
  transition: transform 0.05s linear, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fixture-card:hover,
.fixture-card:focus-visible {
  outline: none;
  border-color: var(--aqua-1);
  transform: perspective(800px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--tilt-ty, -5px))
    scale(var(--tilt-scale, 1)) !important;
  box-shadow:
    0 0 0 2px rgba(10, 255, 255, 1),
    0 0 8px rgba(10, 255, 255, 0.5),
    0 0 16px rgba(34, 211, 238, 0.2),
    0 22px 34px rgba(2, 8, 14, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Border gradasi neon (trik CSS mask) */
.fixture-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #0affff 0%, #7dfcfc 30%, #22d3ee 60%, #0ea5e9 85%, #0affff 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
/* Glare mengikuti kursor (tilt) */
.fixture-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--tilt-mx, 50%) var(--tilt-my, 50%), rgba(255, 255, 255, 0.20), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 3;
}
.fixture-card.is-tilting::after { opacity: 1; }
.fixture-card > * { position: relative; z-index: 1; }

.fixture-card-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fixture-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: linear-gradient(135deg, var(--aqua-1), var(--aqua-3));
  padding: 4px 10px;
  border-radius: 6px;
}
.fixture-status-plain {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #7dd3fc;
  text-transform: uppercase;
}
.fixture-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff8069;
}
.fixture-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: blinkDot 1s ease-in-out infinite;
}
.fixture-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.fixture-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 0;
}
.fixture-team img,
.fixture-team .team-logo-fallback {
  filter: drop-shadow(0 0 10px rgba(10, 255, 255, 0.35));
}
.fixture-team-name {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #f4feff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.6);
}
.fixture-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 84px;
}
.fixture-vs {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7dd3fc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.fixture-time {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--aqua-1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(10, 255, 255, 0.25);
}
.fixture-score {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #eafeff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.fixture-score.is-live { color: #ff8069; }
.fixture-sep {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #7dd3fc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
/* Baris venue disembunyikan supaya semua kartu punya tinggi seragam
   (data venue tidak selalu ada untuk tiap pertandingan); tetap
   ditampilkan lengkap di modal detail. */
.fixture-card-foot { display: none; }
.fixture-card-cta {
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--aqua-1);
  opacity: 0.85;
}

/* ---- Modal detail pertandingan ---- */
.match-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 8, 14, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  perspective: 1200px;
}
.match-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.match-modal-card {
  position: relative;
  width: min(420px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  text-align: center;
  border-radius: 22px;
  padding: 30px 22px 24px;
  background: linear-gradient(160deg, rgba(10, 255, 255, 0.06), rgba(4, 18, 28, 0.14));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(10, 255, 255, 0.25),
    0 0 20px rgba(10, 255, 255, 0.45),
    0 0 44px rgba(34, 211, 238, 0.3),
    0 16px 30px rgba(2, 8, 14, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1200px) rotateY(-18deg) rotateX(6deg) scale(0.88) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.match-modal-overlay.open .match-modal-card {
  transform: perspective(1200px)
    rotateY(var(--tilt-y, 0deg))
    rotateX(var(--tilt-x, 0deg))
    scale(var(--tilt-scale, 1))
    translateY(var(--tilt-ty, 0px));
}
.match-modal-card.is-tilting { transition: transform 0.05s linear; }
.match-modal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #0affff 0%, #7dfcfc 30%, #22d3ee 60%, #0ea5e9 85%, #0affff 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.match-modal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--tilt-mx, 50%) var(--tilt-my, 50%), rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 3;
}
.match-modal-card.is-tilting::after { opacity: 1; }
.match-modal-card > * { position: relative; z-index: 1; }
.match-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  margin: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--aqua-border);
  background: rgba(10, 255, 255, 0.10);
  color: #eafeff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  z-index: 5;
}
.match-modal-tag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 16px;
}
.match-modal-live-text { color: #ff8069; font-weight: 700; }
.match-modal-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.match-modal-team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.match-modal-team-name {
  font-size: 13px;
  font-weight: 700;
  color: #eafeff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.match-modal-center { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.match-modal-vs { font-family: var(--font-display); font-size: 12px; letter-spacing: 2px; color: #7dd3fc; }
.match-modal-time {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--aqua-1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(10, 255, 255, 0.25);
}
.match-modal-score {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #eafeff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.6);
}
.match-modal-status { font-family: var(--font-display); font-size: 10px; letter-spacing: 1px; color: #7dd3fc; }
.match-modal-date { font-size: 12px; color: #9fd8e8; margin-bottom: 6px; }
.match-modal-venue { font-size: 12px; color: #7dd3fc; margin-bottom: 6px; }
.match-modal-section-title {
  margin-top: 18px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--aqua-1);
  border-top: 1px solid rgba(10, 255, 255, 0.15);
  padding-top: 14px;
}
.predict-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.predict-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aqua-1), var(--aqua-3));
  box-shadow: 0 0 10px var(--aqua-glow);
}
.predict-bar-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #eafeff;
  margin-top: 6px;
}
.predict-sectors { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.predict-sector-row,
.live-stat-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  font-size: 12px;
}
.live-stat-row + .live-stat-row { margin-top: 8px; }
.predict-sector-val,
.live-stat-val { font-family: var(--font-display); font-weight: 700; color: var(--aqua-1); }
.predict-sector-label,
.live-stat-label { color: #9fd8e8; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.4px; }
.predict-score {
  margin-top: 14px;
  font-size: 13px;
  color: #eafeff;
}
.predict-score strong { color: var(--aqua-1); font-size: 16px; }
.predict-disclaimer { margin-top: 8px; font-size: 10px; color: #6b93a3; line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .site-header-inner { flex-wrap: wrap; }
  .main-nav { width: 100%; justify-content: flex-start; }
  .match-grid { grid-template-columns: 1fr; }
  .bracket-wrap { flex-direction: column; }
  .bracket-col { min-width: 0; }

  .running-text { top: 56px; padding: 5px 0; }
  .running-text-track span { font-size: 10px; padding-right: 30px; }

  .hero-banner { min-height: 280px; background-position: center 15%; }
  .hero-banner-content { padding: 20px 5% 60px; max-width: 100%; }
  .hero-banner-title,
  .hero-banner-subtitle { font-size: clamp(22px, 7vw, 30px); }
  .hero-banner-tagline { font-size: 10px; max-width: 70vw; }
  .hero-banner-tagline-badge { padding: 6px 12px; margin-bottom: 14px; }
  .hero-banner-btn { font-size: 10px; padding: 5px 12px; }

  .schedule-date-matches,
  .schedule-twin-row { grid-template-columns: 1fr; }
  .fixture-card { padding: 14px; }
  .fixture-score { font-size: 22px; }
  .fixture-team-name { font-size: 12px; }
  .match-modal-card { padding: 26px 16px 20px; border-radius: 18px; }
  .match-modal-score { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; }
  .bracket-col:first-child .tie-card::after,
  .bracket-col:first-child::before,
  .bracket-col:last-child .tie-card::before { animation: none; }
  .player-card,
  .player-modal-card { transition: none !important; }
  .player-card::after { display: none; }
  .stat-carousel-track .player-card { transition: none; }
  .fixture-card,
  .fixture-card::after,
  .match-modal-card,
  .match-modal-card::after {
    transition: none;
  }
  .fixture-card { transform: none !important; }
  .match-modal-overlay.open .match-modal-card {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1) translateY(0) !important;
  }
}
