/* =========================================================================
   Depok Futsal League — stylesheet utama
   Palet: navy pekat, biru langit, aksen emas & oranye
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy-900: #050f24;
  --navy-850: #081633;
  --navy-800: #0b1d3d;
  --navy-750: #102649;
  --navy-700: #16325c;

  --sky: #38bdf8;
  --sky-600: #0ea5e9;
  --sky-glow: rgba(56, 189, 248, .35);

  --gold: #f2b544;
  --gold-600: #d99a25;
  --orange: #f97316;
  --green: #22c55e;
  --red: #ef4444;

  --text: #e9eefb;
  --muted: #8ea3c7;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 45px -18px rgba(0, 0, 0, .75);
  --shadow-glow: 0 0 0 1px rgba(56, 189, 248, .25), 0 20px 50px -20px rgba(56, 189, 248, .45);

  --font-display: 'Anton', 'Arial Black', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--sky); color: var(--navy-900); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-850); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--sky-600); }

/* ---------------------------------------------------------- tipografi --- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: 1.05; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-sky { color: var(--sky); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.upper { text-transform: uppercase; letter-spacing: .12em; }
.small { font-size: .82rem; }
.tiny { font-size: .74rem; }
.center { text-align: center; }
.mono-num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- layout --- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
/* konten utama + sidebar, menumpuk otomatis di layar kecil */
.grid-side { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 26px; }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
@media (max-width: 940px) { .grid-side { grid-template-columns: 1fr; } }

.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.hide { display: none !important; }
/* atribut hidden harus mengalahkan display:flex milik komponen seperti .alert */
[hidden] { display: none !important; }

/* ------------------------------------------------------ judul section --- */
.sec-head { margin-bottom: 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--sky)); }
.sec-head p { color: var(--muted); max-width: 68ch; margin-top: 10px; }

/* ------------------------------------------------------------ tombol --- */
.btn {
  --btn-bg: var(--sky);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 800; font-size: .92rem; letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn--primary { background: linear-gradient(135deg, var(--sky), var(--sky-600)); color: #041226; box-shadow: 0 12px 30px -12px var(--sky-glow); }
.btn--primary:hover { box-shadow: 0 18px 38px -12px var(--sky-glow); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #2a1a00; box-shadow: 0 12px 30px -12px rgba(242, 181, 68, .5); }
.btn--ghost { background: rgba(255, 255, 255, .05); color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--sky); }
.btn--danger { background: rgba(239, 68, 68, .15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .4); }
.btn--danger:hover { background: rgba(239, 68, 68, .25); }
.btn--sm { padding: 8px 16px; font-size: .8rem; }
.btn--block { width: 100%; }
.btn--wa { background: #25d366; color: #04240f; }

/* ------------------------------------------------------------- badge --- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
}
.badge--live { background: rgba(239, 68, 68, .16); color: #fda4a4; border-color: rgba(239, 68, 68, .45); }
.badge--done { background: rgba(34, 197, 94, .13); color: #86efac; border-color: rgba(34, 197, 94, .35); }
.badge--soon { background: rgba(56, 189, 248, .13); color: #7dd3fc; border-color: rgba(56, 189, 248, .35); }
.badge--warn { background: rgba(242, 181, 68, .14); color: var(--gold); border-color: rgba(242, 181, 68, .4); }
.badge--gold { background: rgba(242, 181, 68, .14); color: var(--gold); border-color: rgba(242, 181, 68, .4); }
.badge--muted { background: rgba(255, 255, 255, .06); color: var(--muted); border-color: var(--line); }

.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: pulse 1.5s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* -------------------------------------------------------------- card --- */
.card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card--hover:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, .45); box-shadow: var(--shadow); }
.card--flat { background: rgba(255, 255, 255, .03); }

/* ================================================================ TOPBAR */
.ticker {
  background: linear-gradient(90deg, var(--navy-850), var(--navy-750), var(--navy-850));
  border-bottom: 1px solid var(--line);
  font-size: .78rem; overflow: hidden; position: relative;
}
.ticker__inner { display: flex; align-items: center; gap: 14px; padding: 7px 0; }
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(239, 68, 68, .18); color: #fda4a4; border: 1px solid rgba(239, 68, 68, .4);
  padding: 2px 10px; border-radius: 999px; font-weight: 800; letter-spacing: .1em; font-size: .66rem;
}
/* viewport terpisah agar teks berjalan tidak menimpa label LIVE */
.ticker__view { flex: 1; overflow: hidden; min-width: 0; }
.ticker__track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: ticker 34s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__item { color: var(--muted); }
.ticker__item b { color: #fff; }
.ticker__item .sc { color: var(--gold); font-weight: 800; }

/* ================================================================ NAVBAR */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(5, 15, 36, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 4px 10px rgba(56, 189, 248, .35)); }
.brand__txt { line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .06em; }
.brand__sub { font-size: .6rem; letter-spacing: .22em; color: var(--sky); font-weight: 800; text-transform: uppercase; }

.nav__menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  padding: 9px 14px; border-radius: 10px; font-size: .87rem; font-weight: 600; color: #c4d3ec;
  transition: color .2s, background .2s; position: relative; white-space: nowrap;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sky)); border-radius: 2px;
}
.nav__cta { margin-left: 10px; }

.nav__burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-850); border-bottom: 1px solid var(--line);
    padding: 16px 20px 26px; margin: 0;
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 14px; font-size: .95rem; }
  .nav__link.is-active::after { left: 14px; right: auto; width: 22px; bottom: 6px; }
  .nav__cta { margin: 12px 0 0; }
}

/* ================================================================== HERO */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(56, 189, 248, .28), transparent 62%),
    radial-gradient(700px 460px at 12% 88%, rgba(249, 115, 22, .18), transparent 60%),
    radial-gradient(600px 400px at 50% 40%, rgba(242, 181, 68, .10), transparent 65%),
    linear-gradient(160deg, #071630, var(--navy-900) 60%);
}
.hero__court {
  position: absolute; inset: 0; opacity: .14;
  background-image:
    linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px);
  background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
  top: -140px; right: -110px; animation: float 12s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-30px, 40px) scale(1.08); } }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; gap: 36px; } }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong);
  border-radius: 999px; font-size: .76rem; font-weight: 700; margin-bottom: 20px;
}
.hero__tag b { background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #2a1a00; padding: 3px 10px; border-radius: 999px; font-size: .68rem; letter-spacing: .08em; }

.hero h1 { margin-bottom: 8px; }
.hero h1 .line-1 { display: block; color: #fff; }
.hero h1 .line-2 {
  display: block;
  background: linear-gradient(100deg, var(--sky) 0%, #bfe9ff 35%, var(--gold) 75%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__year {
  font-family: var(--font-display); font-size: clamp(3rem, 11vw, 7.5rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); letter-spacing: .06em;
  margin: 6px 0 14px;
}
.hero__lead { color: #c3d4ee; font-size: clamp(.95rem, 1.4vw, 1.08rem); max-width: 56ch; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero__meta-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 14px;
}
.hero__meta-item svg { width: 19px; height: 19px; color: var(--sky); flex: none; }
.hero__meta-item .k { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__meta-item .v { font-weight: 700; font-size: .9rem; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* countdown */
.countdown-card {
  background: linear-gradient(155deg, rgba(13, 31, 66, .92), rgba(8, 22, 51, .92));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.countdown-card__head { text-align: center; margin-bottom: 20px; }
.countdown-card__head .t { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .05em; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cd-unit {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 6px; text-align: center;
  position: relative; overflow: hidden;
}
.cd-unit::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--sky), transparent); }
.cd-unit .n {
  font-family: var(--font-display); font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.cd-unit .l { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.countdown-card__foot { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* highlight stats */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 54px; position: relative; z-index: 1; }
.stat {
  text-align: center; padding: 24px 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(242, 181, 68, .45); }
.stat .n { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--gold); }
.stat .l { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ============================================================== SPONSORS */
.sponsor-strip { padding: 34px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; }
.sponsor-track { display: flex; gap: 60px; align-items: center; animation: ticker 30s linear infinite; width: max-content; }
.sponsor-strip:hover .sponsor-track { animation-play-state: paused; }
.sponsor-track img { height: 46px; width: auto; opacity: .55; filter: grayscale(1); transition: .3s; }
.sponsor-track a:hover img { opacity: 1; filter: none; transform: scale(1.05); }

.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.sponsor-cell {
  display: grid; place-items: center; min-height: 110px; padding: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 14px; transition: .25s;
}
.sponsor-cell:hover { border-color: var(--sky); background: rgba(56, 189, 248, .07); }
.sponsor-cell img { max-height: 56px; opacity: .8; }

/* ========================================================= MATCH CARD/ROW */
.match-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.match-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .4); box-shadow: var(--shadow); }
.match-card.is-live { border-color: rgba(239, 68, 68, .45); box-shadow: 0 0 0 1px rgba(239, 68, 68, .18), 0 18px 40px -22px rgba(239, 68, 68, .6); }
.match-card__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 16px; background: rgba(255, 255, 255, .035); border-bottom: 1px solid var(--line);
  font-size: .72rem; color: var(--muted); font-weight: 600;
}
.match-card__body { padding: 20px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.mc-team { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; min-width: 0; }
.mc-team img { width: 54px; height: 54px; object-fit: contain; border-radius: 12px; background: rgba(255, 255, 255, .05); padding: 5px; }
.mc-team .nm { font-size: .84rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.mc-score { text-align: center; min-width: 92px; }
.mc-score .sc { font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mc-score .vs { font-family: var(--font-display); font-size: 1.15rem; color: var(--muted); letter-spacing: .1em; }
.mc-score .tm { font-size: .72rem; color: var(--muted); margin-top: 5px; font-weight: 700; }
.match-card__foot {
  padding: 10px 16px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

/* baris jadwal (tabel) */
.match-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto minmax(0, 1fr) 110px; align-items: center; gap: 12px;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, .028); transition: .22s; margin-bottom: 10px;
}
.match-row:hover { background: rgba(56, 189, 248, .06); border-color: rgba(56, 189, 248, .35); }
.match-row.is-live { border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .05); }
.mr-time { text-align: center; }
.mr-time .d { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mr-time .t { font-family: var(--font-display); font-size: 1.05rem; }
.mr-team { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mr-team.away { flex-direction: row-reverse; text-align: right; }
.mr-team img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; background: rgba(255, 255, 255, .05); padding: 3px; flex: none; }
/* nama tim membungkus ke baris kedua, tidak dipotong — panel admin pun sempit */
.mr-team .nm { font-weight: 700; font-size: .88rem; line-height: 1.25; overflow-wrap: anywhere; }
.mr-score {
  font-family: var(--font-display); font-size: 1.35rem; min-width: 74px; text-align: center;
  background: rgba(255, 255, 255, .06); border-radius: 10px; padding: 4px 8px; font-variant-numeric: tabular-nums;
}
.mr-meta { text-align: right; font-size: .72rem; color: var(--muted); }

@media (max-width: 780px) {
  .match-row { grid-template-columns: 1fr auto 1fr; grid-template-areas: 'time time time' 'home score away' 'meta meta meta'; gap: 10px; }
  .mr-time { grid-area: time; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .mr-team.home { grid-area: home; }
  .mr-score { grid-area: score; }
  .mr-team.away { grid-area: away; }
  .mr-meta { grid-area: meta; text-align: left; border-top: 1px dashed var(--line); padding-top: 9px; }
  /* biarkan nama tim membungkus penuh, jangan dipotong ellipsis di layar sempit */
  .mr-team .nm { white-space: normal; overflow: visible; text-overflow: clip; font-size: .82rem; line-height: 1.3; }
  .mr-team img { width: 28px; height: 28px; }
}

/* filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 26px; }
.filters .field { flex: 1 1 170px; }
.field label { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .2s, background .2s; font-size: .9rem;
}
.input:focus { outline: none; border-color: var(--sky); background: rgba(56, 189, 248, .08); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ea3c7' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
select.input option { background: var(--navy-800); color: var(--text); }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.6; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); color: #c4d3ec;
  cursor: pointer; transition: .2s;
}
.chip:hover { border-color: var(--sky); color: #fff; }
.chip.is-active { background: linear-gradient(135deg, var(--sky), var(--sky-600)); color: #041226; border-color: transparent; }

/* ============================================================= KLASEMEN */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); }
.table { min-width: 560px; font-size: .86rem; }
.table thead th {
  text-align: left; padding: 12px 10px; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: rgba(255, 255, 255, .04); font-weight: 800; white-space: nowrap;
}
.table tbody td { padding: 11px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(56, 189, 248, .06); }
.table .num { text-align: center; font-variant-numeric: tabular-nums; width: 42px; }
.table .pts { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); text-align: center; }

.st-pos { width: 44px; text-align: center; }
.st-pos span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 255, 255, .07); font-weight: 800; font-size: .8rem;
}
tr.qualify .st-pos span { background: linear-gradient(135deg, var(--green), #15803d); color: #052e16; }
tr.qualify { background: rgba(34, 197, 94, .04); }
.st-team { display: flex; align-items: center; gap: 10px; min-width: 155px; }
.st-team img { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; background: rgba(255, 255, 255, .05); padding: 3px; flex: none; }
.st-team .nm { font-weight: 700; }
.st-team .ct { font-size: .7rem; color: var(--muted); }

.form-badges { display: flex; gap: 4px; }
.form-badges i {
  width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center;
  font-style: normal; font-size: .62rem; font-weight: 800;
}
.fb-W { background: rgba(34, 197, 94, .2); color: #86efac; }
.fb-D { background: rgba(148, 163, 184, .2); color: #cbd5e1; }
.fb-L { background: rgba(239, 68, 68, .2); color: #fca5a5; }

.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-top: 14px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-right: 6px; vertical-align: -1px; }

/* =============================================================== BRACKET */
.bracket-scroll { overflow-x: auto; padding-bottom: 16px; }
.bracket { display: flex; gap: 34px; min-width: max-content; padding: 6px; }
.bracket__round { display: flex; flex-direction: column; justify-content: space-around; gap: 20px; min-width: 236px; }
.bracket__title {
  text-align: center; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sky); font-weight: 800; margin-bottom: 4px;
}
.bx {
  background: linear-gradient(155deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line); border-radius: 13px; padding: 11px; position: relative;
  transition: .25s;
}
.bx:hover { border-color: rgba(56, 189, 248, .45); transform: translateX(3px); }
.bx--final { border-color: rgba(242, 181, 68, .45); background: linear-gradient(155deg, rgba(242, 181, 68, .1), var(--navy-850)); }
.bx__row { display: flex; align-items: center; gap: 9px; padding: 6px 4px; font-size: .82rem; }
.bx__row + .bx__row { border-top: 1px dashed var(--line); }
.bx__row img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; background: rgba(255, 255, 255, .06); flex: none; }
.bx__row .nm { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx__row .nm.tbd { color: var(--muted); font-weight: 600; font-style: italic; }
.bx__row .sc { font-family: var(--font-display); font-size: 1rem; min-width: 22px; text-align: right; }
.bx__row.win .nm { color: var(--gold); }
.bx__meta { font-size: .66rem; color: var(--muted); padding: 6px 4px 0; border-top: 1px solid var(--line); margin-top: 5px; display: flex; justify-content: space-between; gap: 8px; }
.bracket__round--champ { justify-content: center; }
.champ-box { text-align: center; padding: 26px 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(242, 181, 68, .16), rgba(11, 29, 61, .9)); border: 1px solid rgba(242, 181, 68, .4); }
.champ-box .trophy { font-size: 2.4rem; }
.champ-box .nm { font-family: var(--font-display); font-size: 1.2rem; margin-top: 8px; color: var(--gold); }

/* ================================================================= TEAMS */
.team-card { text-align: center; padding: 26px 18px; }
.team-card__logo {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 20px; object-fit: contain;
  background: rgba(255, 255, 255, .06); padding: 8px; border: 1px solid var(--line);
  transition: transform .3s;
}
.team-card:hover .team-card__logo { transform: scale(1.07) rotate(-3deg); }
.team-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
.team-card .loc { font-size: .78rem; color: var(--muted); }
.team-card__tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

.team-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 640px) { .team-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.team-hero__logo { width: 120px; height: 120px; border-radius: 26px; object-fit: contain; background: rgba(255, 255, 255, .06); padding: 12px; border: 1px solid var(--line-strong); }

.player-card { text-align: center; padding: 20px 14px; }
.player-card__ph {
  width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; object-fit: cover;
  background: rgba(255, 255, 255, .06); border: 2px solid var(--line-strong);
}
.player-card .no {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), var(--sky-600)); color: #041226; font-weight: 800; font-size: .78rem;
}
.player-card .nm { font-weight: 700; font-size: .9rem; margin-top: 8px; }
.player-card .ps { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* =========================================================== NEWS/GALERI */
.news-card { overflow: hidden; padding: 0; }
.news-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .45s ease; }
.news-card:hover .news-card__img { transform: scale(1.06); }
.news-card__imgwrap { overflow: hidden; }
.news-card__body { padding: 20px; }
.news-card h3 { font-size: 1.02rem; line-height: 1.25; margin-bottom: 9px; }
.news-card__meta { display: flex; gap: 14px; font-size: .72rem; color: var(--muted); margin-bottom: 11px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gal-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; border: 1px solid var(--line); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item__cap {
  position: absolute; inset: auto 0 0; padding: 26px 14px 12px; font-size: .8rem; font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
.gal-item__play {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 15, 36, .45);
}
.gal-item__play span {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy-900); font-size: 1.1rem; padding-left: 4px;
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(3, 9, 22, .94);
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__inner { max-width: 1000px; width: 100%; }
.lightbox img, .lightbox iframe { width: 100%; border-radius: 14px; max-height: 78vh; }
.lightbox iframe { aspect-ratio: 16/9; height: auto; border: 0; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--line-strong); cursor: pointer; font-size: 1.3rem;
}
.lightbox__cap { text-align: center; margin-top: 14px; color: var(--muted); font-size: .88rem; }

/* ============================================================ FORM/ALERT */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field--full { grid-column: 1 / -1; }
.field .hint { font-size: .72rem; color: var(--muted); margin-top: 5px; }
.req { color: var(--orange); }

input[type=file].input { padding: 9px 12px; }
input[type=file]::file-selector-button {
  background: rgba(56, 189, 248, .15); color: var(--sky); border: 1px solid rgba(56, 189, 248, .35);
  border-radius: 8px; padding: 6px 13px; margin-right: 12px; cursor: pointer; font-weight: 700; font-size: .8rem;
}

.alert { padding: 14px 18px; border-radius: 13px; font-size: .88rem; border: 1px solid; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.alert--ok { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #bbf7d0; }
.alert--err { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #fecaca; }
.alert--info { background: rgba(56, 189, 248, .09); border-color: rgba(56, 189, 248, .3); color: #bae6fd; }
.alert--warn { background: rgba(242, 181, 68, .1); border-color: rgba(242, 181, 68, .35); color: #fde68a; }

.progress { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sky), var(--gold)); transition: width .6s ease; }

/* =================================================================== FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: rgba(255, 255, 255, .028); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 17px 20px; font-weight: 700; font-size: .95rem; display: flex; gap: 14px; align-items: center; justify-content: space-between;
}
.faq-q:hover { color: var(--sky); }
.faq-q .ic { flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(56, 189, 248, .14); color: var(--sky); display: grid; place-items: center; font-size: 1.05rem; transition: transform .3s; }
.faq-item.is-open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 20px 18px; color: var(--muted); font-size: .9rem; }
.faq-item.is-open .faq-a { max-height: 500px; }

/* =============================================================== TIMELINE */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--sky), var(--gold)); opacity: .5; }
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(56, 189, 248, .18); }
.tl-item .d { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.tl-item .t { font-weight: 700; margin-top: 3px; }
.tl-item p { color: var(--muted); font-size: .87rem; }

/* ================================================================= EMBED */
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =============================================================== PAGEHEAD */
.pagehead { position: relative; padding: clamp(48px, 7vw, 84px) 0 clamp(34px, 5vw, 54px); overflow: hidden; border-bottom: 1px solid var(--line); }
.pagehead::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 80% 0%, rgba(56, 189, 248, .22), transparent 65%),
              radial-gradient(500px 300px at 10% 100%, rgba(249, 115, 22, .13), transparent 60%),
              linear-gradient(160deg, #081833, var(--navy-900));
}
.pagehead__in { position: relative; z-index: 1; }
.crumb { font-size: .76rem; color: var(--muted); margin-bottom: 12px; }
.crumb a:hover { color: var(--sky); }

/* ================================================================ FOOTER */
.footer { background: linear-gradient(180deg, var(--navy-850), #030a18); border-top: 1px solid var(--line); padding: 56px 0 26px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 15px; font-weight: 800; }
.footer a { color: var(--muted); font-size: .87rem; display: block; padding: 4px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer p { color: var(--muted); font-size: .87rem; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; padding: 0;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: .25s;
}
.socials a:hover { background: var(--sky); color: #041226; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }

/* ================================================================ FLOATS */
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #04240f; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .25s;
}
.fab-wa:hover { transform: scale(1.1); }
.fab-wa svg { width: 27px; height: 27px; }

/* ============================================================== UTILITIES */
.empty { text-align: center; padding: 54px 20px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty .ic { font-size: 2.2rem; margin-bottom: 10px; opacity: .6; }

.divider { height: 1px; background: var(--line); margin: 26px 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

@media print {
  .nav, .ticker, .footer, .fab-wa, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==================================================== CHECK-IN TIM (publik) */
.lineup-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .028);
  flex-wrap: wrap;
}
.lineup-row.is-blocked { border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .05); }
.lineup-row__no {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: rgba(255, 255, 255, .07); font-family: var(--font-display); font-size: 1.15rem; color: var(--gold);
}
.lineup-pick {
  display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong);
  font-size: .78rem; font-weight: 700; transition: .18s; white-space: nowrap;
}
.lineup-pick input { width: 16px; height: 16px; accent-color: var(--sky); cursor: pointer; }
.lineup-pick:has(input:checked) { background: rgba(56, 189, 248, .18); border-color: var(--sky); color: #fff; }
.lineup-pick:has(input:disabled) { opacity: .45; cursor: not-allowed; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span {
  width: 100%; height: 42px; border-radius: 11px; display: block;
  border: 2px solid rgba(255, 255, 255, .18); transition: .18s;
}
.swatch em { font-style: normal; font-size: .68rem; color: var(--muted); text-align: center; }
.swatch:hover span { transform: translateY(-2px); }
.swatch input:checked + span {
  border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, .35);
  transform: translateY(-2px);
}
.swatch input:checked ~ em { color: #fff; font-weight: 700; }
.swatch input:disabled ~ span { opacity: .5; }
