/* ==========================================================================
   PIALA AFF 2026 — Design tokens
   Palet diturunkan dari referensi "Luxury UI Colors":
   hitam pekat + emas metalik + krem/tan, kartu rounded, bayangan lembut.
   ========================================================================== */
:root {
  /* base */
  --bg: #09080a;
  --bg-elevated: #121014;
  --card-dark-1: #1b1815;
  --card-dark-2: #0e0c0a;

  /* gold */
  --gold-100: #f8e5ad;
  --gold-300: #eccb72;
  --gold-500: #d4a537;
  --gold-700: #a9791f;
  --gold-900: #6b4c14;

  /* cream / tan (kartu terang) */
  --cream-100: #f3e6c4;
  --cream-300: #e8d19c;
  --cream-500: #cfae72;

  /* pitch (background) */
  --pitch-green-1: #0e2818;
  --pitch-green-2: #123a1f;
  --pitch-line: rgba(244, 234, 208, 0.09);

  /* text */
  --text-hi: #f5ecd6;
  --text-mid: #cbbd9c;
  --text-low: #8d8272;
  --text-on-gold: #2a1e0a;
  --text-on-cream: #241b0c;

  /* status */
  --live: #e0503f;
  --ok: #7fae6b;

  /* misc */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-gold: 0 16px 40px rgba(180, 130, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-hi);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Background bertema lapangan bola — dilukis pakai CSS, bukan foto,
   supaya ringan, konsisten, dan diberi efek blur berlapis.
   ========================================================================== */
.pitch-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% -10%, var(--pitch-green-2) 0%, var(--pitch-green-1) 38%, #060a06 72%);
}

.pitch-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    repeating-linear-gradient(90deg, var(--pitch-line) 0 2px, transparent 2px 140px),
    radial-gradient(circle at 50% 46%, transparent 0 120px, var(--pitch-line) 121px 124px, transparent 125px),
    linear-gradient(180deg, transparent 0 20%, var(--pitch-line) 20% 20.4%, transparent 20.4%);
  filter: blur(6px);
  opacity: 0.9;
  transform: perspective(900px) rotateX(3deg) scale(1.1);
}

.pitch-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(212, 165, 55, 0.16), transparent 60%),
    radial-gradient(50% 35% at 90% 5%, rgba(212, 165, 55, 0.12), transparent 60%),
    radial-gradient(120% 90% at 50% 100%, rgba(0, 0, 0, 0.75), transparent 55%),
    rgba(4, 4, 5, 0.62);
  backdrop-filter: blur(40px);
}

/* ==========================================================================
   Layout dasar
   ========================================================================== */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(9, 8, 10, 0.6);
  border-bottom: 1px solid rgba(212, 165, 55, 0.18);
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500) 55%, var(--gold-900));
  box-shadow: var(--shadow-gold);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--text-on-gold);
  font-size: 0.75rem;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Brand lockup: logo + teks TANGKI / Piala AFF 2026 sejajar --- */
.navbar-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-subtitle {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  white-space: nowrap;
}

/* --- Cluster kanan: nav-links + tombol CTA disatukan jadi satu grup --- */
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 165, 55, 0.16);
  border-radius: 999px;
  padding: 5px;
}
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-on-gold);
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-on-gold);
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  box-shadow: 0 6px 16px rgba(180, 130, 30, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(180, 130, 30, 0.4);
}

.status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 55, 0.35);
  color: var(--text-mid);
  white-space: nowrap;
}
.status-pill.indicator-live { color: var(--live); border-color: rgba(224, 80, 63, 0.5); }
.status-pill.indicator-ok { color: var(--ok); }
.status-pill.indicator-error { color: var(--live); }

@media (max-width: 900px) {
  .brand-subtitle { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta-btn span.cta-label-full { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  margin-top: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(52%, 480px);
  padding: 26px 34px 32px 6%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(
    100deg,
    rgba(4, 3, 2, 0.82) 0%,
    rgba(4, 3, 2, 0.62) 55%,
    rgba(4, 3, 2, 0.15) 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 62%, transparent 96%);
  mask-image: linear-gradient(100deg, #000 0%, #000 62%, transparent 96%);
}
.hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500) 55%, var(--gold-900));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
}
.hero p {
  color: var(--text-hi);
  font-size: 0.92rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 1);
}

@media (max-width: 640px) {
  .hero-panel {
    width: 82%;
    padding: 20px 22px 24px 6%;
    background: linear-gradient(
      100deg,
      rgba(5, 4, 3, 0.75) 0%,
      rgba(5, 4, 3, 0.55) 65%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 80%, transparent 100%);
    mask-image: linear-gradient(100deg, #000 0%, #000 80%, transparent 100%);
  }
  .hero .eyebrow { letter-spacing: 0.16em; font-size: 0.62rem; }
}

/* ==========================================================================
   Kartu dasar ala "bento" pada referensi
   ========================================================================== */
.card {
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.card-dark {
  background: linear-gradient(165deg, var(--card-dark-1), var(--card-dark-2));
  border: 1px solid rgba(212, 165, 55, 0.14);
}
.card-gold {
  background: linear-gradient(150deg, var(--gold-100), var(--gold-500) 60%, var(--gold-900));
  color: var(--text-on-gold);
  box-shadow: var(--shadow-gold);
}
.card-cream {
  background: linear-gradient(150deg, var(--cream-100), var(--cream-500));
  color: var(--text-on-cream);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Section heading + tab switcher
   ========================================================================== */
.section {
  padding: 46px 0;
  scroll-margin-top: 90px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 0;
  color: var(--text-hi);
}
.section-head .tag {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid rgba(212, 165, 55, 0.3);
  background: rgba(212, 165, 55, 0.06);
  color: var(--text-mid);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--gold-500); color: var(--text-hi); }
.chip.active {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  color: var(--text-on-gold);
  border-color: transparent;
}

/* ==========================================================================
   Jadwal — daftar kartu pertandingan
   ========================================================================== */
.day-group { margin-bottom: 22px; }
.day-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin: 0 0 12px 4px;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.match-card {
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  background: linear-gradient(165deg, var(--card-dark-1), var(--card-dark-2));
  border: 1px solid rgba(212, 165, 55, 0.14);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.match-card:hover { transform: translateY(-3px); border-color: rgba(212, 165, 55, 0.4); }

.match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.badge {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.badge-group {
  background: rgba(212, 165, 55, 0.14);
  color: var(--gold-300);
  border: 1px solid rgba(212, 165, 55, 0.35);
}
.badge-live {
  background: rgba(224, 80, 63, 0.16);
  color: var(--live);
  border: 1px solid rgba(224, 80, 63, 0.5);
  animation: pulse 1.6s infinite;
}
.badge-finished {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-low);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.badge-scheduled {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  color: var(--text-on-gold);
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

.match-date {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold-300);
  margin-bottom: 12px;
}

.match-teams { display: flex; align-items: center; gap: 10px; }
.team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.team.away { flex-direction: row-reverse; text-align: right; }
.team img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.team-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-hi);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-300);
  min-width: 58px;
  justify-content: center;
}
.score-vs { color: var(--text-low); font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; }

.match-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(212, 165, 55, 0.18);
  font-size: 0.72rem;
  color: var(--text-low);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-mid);
  border: 1px dashed rgba(212, 165, 55, 0.25);
  border-radius: var(--radius-md);
}
.empty-state strong { display: block; color: var(--gold-300); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }

/* ==========================================================================
   Klasemen
   ========================================================================== */
.standings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.standings-card { padding: 0; overflow: hidden; }
.standings-card .group-title {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  color: var(--text-on-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
table.standings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
table.standings th, table.standings td {
  padding: 10px 8px;
  text-align: center;
  color: var(--text-mid);
}
table.standings th {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-low);
  border-bottom: 1px solid rgba(212, 165, 55, 0.15);
}
table.standings td:nth-child(2) { text-align: left; color: var(--text-hi); font-weight: 700; }
table.standings tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
table.standings td.pts { color: var(--gold-300); font-weight: 800; }
.pos-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-low);
}
tr.qualify .pos-cell {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  color: var(--text-on-gold);
}
.team-cell { display: flex; align-items: center; gap: 8px; }
.team-cell img { width: 20px; height: 20px; border-radius: 50%; object-fit: contain; background: rgba(255,255,255,0.06); }

/* ==========================================================================
   TOP SKOR — Slide card player (coverflow 3D)
   ========================================================================== */
.topscorer-3d-container {
  background: radial-gradient(circle at center, #2a1e05 0%, #0a0a0a 100%);
  padding: 60px 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.scorer-carousel {
  position: relative;
  width: 100%;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}
.scorer-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.scorer-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  margin: -175px 0 0 -115px;
  border-radius: 22px;
  padding: 30px 20px 22px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0) 55%),
    linear-gradient(160deg, #241a08 0%, #0d0a07 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  color: var(--text-hi);
  will-change: transform, opacity, filter;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rank-circle {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  color: var(--text-on-gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}

.scorer-flag {
  width: 92px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px auto 16px;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  display: block;
  background: #1a1200;
}

.scorer-country {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 800;
  margin-bottom: 16px;
}

.scorer-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.scorer-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
  padding-bottom: 8px;
}
.scorer-card-row:last-child { border-bottom: none; padding-bottom: 0; }
.scorer-card-row .label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-low);
  font-weight: 700;
}
.scorer-card-row .value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-hi);
  text-align: right;
}
.scorer-card-row .value.gold { color: var(--gold-300); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid #d4af37;
  color: #d4af37;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 200;
  backdrop-filter: blur(5px);
}
.carousel-btn:hover { background: #d4af37; color: #1a1200; }
.carousel-btn.prev { left: 15%; }
.carousel-btn.next { right: 15%; }

@media (max-width: 1024px) {
  .scorer-carousel { height: 400px; }
}
@media (max-width: 768px) {
  .scorer-carousel { height: 380px; }
  .scorer-card { width: 195px; margin: -155px 0 0 -97px; padding: 24px 16px 18px; }
  .scorer-flag { width: 76px; height: 54px; }
  .scorer-card-row .label { font-size: 0.58rem; }
  .scorer-card-row .value { font-size: 0.84rem; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1.15rem; }
  .carousel-btn.prev { left: 4%; }
  .carousel-btn.next { right: 4%; }
}
@media (max-width: 420px) {
  .scorer-carousel { height: 360px; }
  .scorer-card { width: 172px; margin: -140px 0 0 -86px; padding: 20px 14px 16px; }
}

/* ==========================================================================
   FOOTER — Premium
   ========================================================================== */
.footer {
  margin-top: 60px;
  padding: 0 0 0;
  border-top: 1px solid rgba(212, 165, 55, 0.18);
  background:
    radial-gradient(70% 60% at 15% 0%, rgba(212, 165, 55, 0.08), transparent 60%),
    var(--bg-elevated);
}
.footer .wrap {
  padding-top: 56px;
  padding-bottom: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212, 165, 55, 0.14);
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

.footer-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand-wrapper .footer-brand-logo {
  max-width: 58px;
  width: 58px;
  margin-bottom: 0;
  border-radius: 12px;
}
.footer-brand-text .brand-title { font-size: 1.35rem; }
.footer-brand-text .brand-subtitle { font-size: 0.66rem; }

.footer-brand p {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 380px;
  margin: 0;
}

.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 500px) {
  .footer-links-group { grid-template-columns: 1fr; }
}
.footer-col strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 800;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover { color: var(--gold-300); padding-left: 4px; }

.footer-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  margin: 32px 0 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 165, 55, 0.1), rgba(212, 165, 55, 0.03));
  border: 1px solid rgba(212, 165, 55, 0.25);
}
.live-badge-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-hi);
}
.dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  animation: dotPulse 1.6s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 174, 107, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(127, 174, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 174, 107, 0); }
}
.btn-refresh-footer {
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
  color: var(--text-on-gold);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s ease;
}
.btn-refresh-footer:hover { transform: translateY(-1px); }

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 55, 0.16);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--text-low);
}
.footer-bottom .src { color: var(--gold-300); }

.loading-spin {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(212,165,55,0.2);
  border-top-color: var(--gold-500);
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* === Logo navbar (fallback, dipakai kalau bukan lewat .navbar-brand-link) === */
.navbar-brand-logo {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* === Logo Footer (fallback size, di-override di dalam .footer-brand-wrapper) === */
.footer-brand-logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

/* === Klasemen: 1 kolom & akordion === */
#standings-container.standings-grid {
  grid-template-columns: 1fr;
}
.standings-card.accordion-item {
  margin-bottom: 24px;
  overflow: hidden;
}
.accordion-header {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}
.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
.arrow-icon {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #94a3b8;
  display: inline-block;
  transition: transform 0.3s ease;
}
.accordion-item.active .arrow-icon {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 1500px;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease;
  padding: 0 20px 20px 20px;
}
.accordion-item:not(.active) .accordion-content {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.accordion-item:not(.active) .group-title {
  border-bottom: none;
  margin-bottom: 0;
}
