/* =========================================================
   HOF LIVE STREAM — style.css
   Dark navy + emerald green ala HOF LIVE (referensi user)
   ========================================================= */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --hof-bg: #060a13;
  --hof-panel: #0b1220;
  --hof-panel2: #0e1628;
  --hof-border: #1b2540;
  --hof-green: #10b981;
  --hof-green-bright: #22e69b;
  --hof-text: #e8edf7;
  --hof-muted: #8b95ad;
  --hof-live: #ef4444;
}

* { box-sizing: border-box; border-color: var(--hof-border); }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; } /* cegah geser horizontal di HP */
body {
  overflow-x: clip;
  background: var(--hof-bg);
  color: var(--hof-text);
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.wrap { width: 100%; max-width: 768px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.green { color: var(--hof-green); }

/* ---- tekstur grid ala referensi ---- */
.hof-grid-bg {
  background-color: #060a13;
  background-image:
    linear-gradient(rgba(27, 37, 64, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 37, 64, 0.28) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hof-panel {
  background: linear-gradient(180deg, #0c1424 0%, #0a1120 100%);
  border: 1px solid var(--hof-border);
}
.hof-glow {
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12), 0 8px 30px rgba(16, 185, 129, 0.25);
}

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--hof-border);
  background: rgba(7, 12, 23, 0.95);
  backdrop-filter: blur(8px);
}
.header-in { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-ico {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--hof-green);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
}
.brand-ico svg { width: 16px; height: 16px; fill: #060a13; }
.brand-txt { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; }
.brand-txt em { font-style: normal; color: var(--hof-green); }
.btn-register {
  border-radius: 999px; background: var(--hof-green);
  padding: 8px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: #060a13; transition: transform 0.15s;
}
.btn-register:active { transform: scale(0.95); }

/* ================= IKLAN ================= */
.ad-strip {
  border-bottom: 1px solid rgba(27, 37, 64, 0.6);
  background: #070c17; padding: 8px 0;
  max-width: 100%; overflow: hidden;
}
.ad-box { display: flex; justify-content: center; align-items: center; min-height: 50px; max-width: 100%; overflow: hidden; }
.ad-box iframe, .ad-box ins { max-width: 100%; }
.ad-mid { display: flex; justify-content: center; padding: 8px 16px; max-width: 100%; overflow: hidden; }
.ad-mid .ad-box { min-height: 250px; }

/* ================= TICKER (scoreboard berjalan) ================= */
.ticker-wrap {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--hof-border); border-bottom: 1px solid var(--hof-border);
  background: #080d19; padding: 12px 0;
}
.ticker-track {
  display: flex; gap: 12px; width: max-content; padding: 0 8px;
  animation: ticker-scroll var(--ticker-speed, 55s) linear infinite;
  will-change: transform;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-fade {
  pointer-events: none; position: absolute; top: 0; bottom: 0; right: 0; width: 40px;
  background: linear-gradient(to left, #080d19, transparent);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tk-card { width: 240px; flex-shrink: 0; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-league { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-live {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  border-radius: 999px; background: rgba(239, 68, 68, 0.15);
  padding: 2px 8px; font-size: 9px; font-weight: 700; color: #f87171;
}
.tk-live i { width: 6px; height: 6px; border-radius: 999px; background: #ef4444; }
.tk-time {
  flex-shrink: 0; border-radius: 999px; background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px; font-size: 9px; font-weight: 700; color: var(--hof-green-bright);
}
.tk-teams { display: flex; flex-direction: column; gap: 6px; }
.tk-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tk-team:last-child b { color: var(--hof-muted); }
.tk-av {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hof-panel2); font-size: 9px; font-weight: 700; font-style: normal;
  color: var(--hof-muted);
}
.tk-av.h { color: var(--hof-green); }
.tk-team b { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Logo tim ASLI dari NFHS (ticker, schedule, grid) — chip putih biar logo gelap tetap terlihat */
.tk-logo {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 999px;
  background: #f4f7fb; border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: contain; padding: 3px; box-sizing: border-box;
}
.tk-when { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.tk-soon {
  display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--hof-green); padding: 2px 7px;
  font-size: 8px; font-weight: 800; letter-spacing: 0.08em; color: #060a13;
  animation: live-pulse 1.2s ease-in-out infinite;
}
.live-dot { display: inline-block; animation: live-pulse 1.2s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ================= LAYOUT ================= */
.page { padding: 28px 0 44px; }
.page > section + section { margin-top: 40px; }

.today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sec-h { font-size: 20px; font-weight: 800; letter-spacing: 0.03em; }
.view-all { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-green); }
.today-wrap .ggrid { margin-top: 16px; }

/* ---- game grid ---- */
.ggrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.game-card { border-radius: 16px; padding: 16px; transition: transform 0.15s; }
.game-card:active { transform: scale(0.98); }
.gc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gc-title { margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.gc-vs { font-style: normal; color: var(--hof-green); }
.gc-watch {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 999px; padding: 6px 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: var(--hof-green-bright);
  transition: background 0.15s, color 0.15s;
}
.gc-watch svg { width: 12px; height: 12px; fill: currentColor; }
.game-card:hover .gc-watch { background: var(--hof-green); color: #060a13; }
/* pasangan logo tim di kartu grid */
.gc-logos { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.gc-logos img, .gc-logos i {
  width: 34px; height: 34px; border-radius: 999px; background: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.14); object-fit: contain; padding: 4px;
  box-sizing: border-box;
}
.gc-logos i { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--hof-muted); }
.gc-logos em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: var(--hof-muted); }
.empty-note { border-radius: 16px; padding: 24px; text-align: center; font-size: 14px; color: var(--hof-muted); }

/* ================= PLAYER CARD ================= */
.player-wrap { }
.player-card {
  position: relative; width: 100%; height: 400px; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--hof-border); background: var(--hof-panel);
}
.pc-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0.8) 0%, rgba(6, 10, 19, 0.25) 50%, rgba(6, 10, 19, 0.93) 100%);
}
.pc-badges { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px; z-index: 4; }
.pc-live {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 6px; background: #dc2626; padding: 4px 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #fff;
}
.pc-live i { width: 6px; height: 6px; border-radius: 999px; background: #fff; }
.pc-final {
  border-radius: 6px; background: rgba(6, 10, 19, 0.8); padding: 4px 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #cbd5e1;
}
.pc-hd {
  border-radius: 6px; background: rgba(6, 10, 19, 0.8); padding: 4px 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #fff;
}

/* ---- judul gaya broadcast: di atas, terpusat, tidak menghalangi klik ---- */
.pc-title {
  position: absolute; top: 48px; left: 14px; right: 14px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.pc-row { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.pc-team {
  flex: 1 1 0; min-width: 0; line-height: 1.3; font-size: 17px; font-weight: 800;
  letter-spacing: 0.06em; color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.92), 0 4px 18px rgba(0, 0, 0, 0.85);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-team.h { text-align: right; }
.pc-team.a { text-align: left; }
.pc-vs { flex: 0 0 auto; display: inline-flex; align-items: center; }
.pc-line { width: 18px; height: 1.5px; }
.pc-line.l { background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.85)); }
.pc-line.r { background: linear-gradient(90deg, rgba(52, 211, 153, 0.85), transparent); }
.pc-vschip {
  margin: 0 6px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  color: #04110b; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #10b981 60%, #0d9488);
  box-shadow: 0 2px 14px rgba(16, 185, 129, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pc-single {
  max-width: 94%; text-align: center; font-size: 17px; line-height: 1.35; font-weight: 800;
  letter-spacing: 0.08em; color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.92), 0 4px 18px rgba(0, 0, 0, 0.85);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-bar {
  width: 64px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, #34d399 30%, #10b981 70%, transparent);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
}
.pc-meta {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em; color: #a7f3d0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92); max-width: 96%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- tombol play: tepat di tengah player ---- */
.pc-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 80px; height: 80px; border-radius: 999px; background: rgba(16, 185, 129, 0.95);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.pc-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #10b981; }
.pc-play:active { transform: translate(-50%, -50%) scale(0.95); }
.pc-play svg { width: 34px; height: 34px; margin-left: 5px; fill: #04110b; }
.play-pulse { animation: play-pulse 1.8s ease-out infinite; }
@keyframes play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55), 0 0 34px rgba(16, 185, 129, 0.45); }
  70% { box-shadow: 0 0 0 22px rgba(16, 185, 129, 0), 0 0 34px rgba(16, 185, 129, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 0 34px rgba(16, 185, 129, 0.45); }
}
.pc-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  background: linear-gradient(to top, rgba(6, 10, 19, 0.95), rgba(6, 10, 19, 0.8), transparent);
  padding: 56px 16px 16px;
}
.pc-watch { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: #fff; }
.pc-free { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-green-bright); }
.pc-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-card.playing { height: auto; aspect-ratio: 16 / 9; }

/* ================= HERO ================= */
.hero { text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 999px;
  background: rgba(16, 185, 129, 0.1); padding: 6px 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: var(--hof-green-bright);
}
.hero-badge i { width: 6px; height: 6px; border-radius: 999px; background: var(--hof-green); }
.hero-h1 { margin-top: 20px; font-size: 30px; line-height: 1.25; font-weight: 800; }
.hero-p { margin: 16px auto 0; max-width: 576px; font-size: 14px; line-height: 1.6; color: var(--hof-muted); }
.hero-p b { color: var(--hof-text); }

/* ================= FEATURES ================= */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feat-card { border-radius: 16px; padding: 20px; text-align: center; }
.feat-ico {
  margin: 0 auto; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.1);
  color: var(--hof-green);
}
.feat-ico svg { width: 24px; height: 24px; }
.feat-card h3 { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
.feat-card p { margin-top: 8px; font-size: 11px; line-height: 1.6; color: var(--hof-muted); }

/* ================= REGISTER ================= */
.reg-panel { border-radius: 24px; padding: 20px; }
.reg-h2 { font-size: 24px; font-weight: 800; }
.reg-p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--hof-muted); }
.reg-p b { color: var(--hof-text); }
.reg-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.reg-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.reg-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px; background: var(--hof-green);
  display: flex; align-items: center; justify-content: center; color: #060a13;
}
.reg-check svg { width: 12px; height: 12px; }
.reg-form-box { margin-top: 24px; border: 1px solid var(--hof-border); border-radius: 16px; background: rgba(14, 22, 40, 0.6); padding: 20px; }
.reg-form-title { text-align: center; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; }
.reg-form-sub { margin-top: 4px; text-align: center; font-size: 11px; color: var(--hof-muted); }
.reg-field { margin-top: 16px; }
.reg-field label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-muted); }
.reg-field input, .adm-in {
  margin-top: 4px; width: 100%; border: 1px solid var(--hof-border); border-radius: 12px;
  background: #080d19; padding: 12px 16px; font-size: 14px; color: var(--hof-text);
  outline: none; transition: border-color 0.15s;
}
.reg-field input::placeholder { color: rgba(139, 149, 173, 0.6); }
.reg-field input:focus, .adm-in:focus { border-color: var(--hof-green); }
.btn-green {
  display: block; width: 100%; border: 0; border-radius: 12px; background: var(--hof-green);
  padding: 14px 20px; text-align: center; font-size: 12px; font-weight: 800;
  letter-spacing: 0.12em; color: #060a13; transition: transform 0.15s;
}
.btn-green:active { transform: scale(0.98); }
.reg-submit { margin-top: 20px; }
.reg-legal { margin-top: 12px; text-align: center; font-size: 10px; color: var(--hof-muted); }

/* ================= PILLS ================= */
.pills-h { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--hof-muted); }
.pills { margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pill { width: 100%; border-radius: 999px; padding: 10px 16px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.pill:active { transform: scale(0.98); }

/* ================= SCHEDULE ================= */
.sched-h1 { font-size: 24px; font-weight: 800; }
.sched-day { margin-top: 32px; }
.sched-list { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.sched-row { display: flex; align-items: center; gap: 16px; border-radius: 16px; padding: 16px; }
.sched-row:active { transform: scale(0.98); }
.sr-time { width: 64px; flex-shrink: 0; text-align: center; }
.sr-clock { font-size: 11px; font-weight: 800; color: var(--hof-green-bright); }
.sr-live {
  margin-top: 4px; display: inline-block; border-radius: 4px; background: #dc2626;
  padding: 2px 6px; font-size: 8px; font-weight: 700; color: #fff; font-style: normal;
}
.sr-mid { min-width: 0; flex: 1; }
.sr-league { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-muted); }
.sr-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.sr-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--hof-muted); }
/* pasangan logo tim di baris jadwal */
.sr-logos { flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.sr-logos img, .sr-logos i {
  width: 32px; height: 32px; border-radius: 999px; background: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.14); object-fit: contain; padding: 4px;
  box-sizing: border-box;
}
.sr-logos i { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--hof-muted); font-style: normal; }
.sr-logos em { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; color: var(--hof-muted); }
.sr-soon {
  margin-top: 4px; display: inline-block; border-radius: 4px; background: var(--hof-green);
  padding: 2px 6px; font-size: 8px; font-weight: 800; color: #060a13; font-style: normal;
  animation: live-pulse 1.2s ease-in-out infinite;
}

/* ================= 404 ================= */
.nf-wrap { text-align: center; padding-top: 60px; padding-bottom: 80px; }
.nf-code { font-size: 72px; font-weight: 800; color: var(--hof-green); text-shadow: 0 0 18px rgba(16, 185, 129, 0.5); }
.nf-h { margin-top: 8px; font-size: 22px; font-weight: 800; }
.nf-p { margin: 12px auto 0; max-width: 420px; font-size: 14px; color: var(--hof-muted); }
.nf-btn { margin: 24px auto 0; max-width: 280px; }

/* ================= FOOTER ================= */
.site-footer { border-top: 1px solid var(--hof-border); background: #050810; padding: 40px 16px; text-align: center; }
.foot-brand { font-size: 16px; font-weight: 800; }
.foot-brand em { font-style: normal; color: var(--hof-green); }
.foot-nav { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 12px; font-weight: 600; }
.foot-nav a { color: var(--hof-green); }
.foot-nav a:hover { text-decoration: underline; }
.foot-admin { color: var(--hof-muted) !important; }
.foot-admin:hover { color: var(--hof-green) !important; }
.foot-note { margin: 16px auto 0; max-width: 448px; font-size: 10px; line-height: 1.6; color: var(--hof-muted); }

/* ================= POPUP REGISTER (klik tombol play) ================= */
body.modal-open { overflow: hidden; }
.reg-modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.reg-modal[hidden] { display: none; }
.reg-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 6, 12, 0.84);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.18s;
}
.reg-modal.on .reg-modal-backdrop { opacity: 1; }
.reg-modal-box {
  position: relative; width: 100%; max-width: 380px;
  max-height: calc(100vh - 32px); overflow-y: auto;
  border-radius: 20px;
  transform: translateY(14px) scale(0.97); opacity: 0;
  transition: transform 0.18s, opacity 0.18s;
}
.reg-modal.on .reg-modal-box { transform: none; opacity: 1; }
.reg-modal-x {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 10, 19, 0.72); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.reg-modal-x svg { width: 14px; height: 14px; }
.rm-media { position: relative; aspect-ratio: 16 / 9; background: #080d19; }
.rm-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0.1), rgba(6, 10, 19, 0.6) 90%);
}
.rm-live {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 6px; background: #dc2626; padding: 4px 9px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: #fff;
}
.rm-live i { width: 6px; height: 6px; border-radius: 999px; background: #fff; }
.rm-body { padding: 18px 20px 20px; }
.rm-league {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--hof-green-bright);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rm-title { margin-top: 6px; font-size: 19px; line-height: 1.3; font-weight: 800; }
.rm-sub { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: var(--hof-muted); }
.rm-sub b { color: var(--hof-text); }
.rm-list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rm-list li { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; }
.rm-check {
  flex-shrink: 0; width: 17px; height: 17px; border-radius: 999px;
  background: var(--hof-green); color: #060a13;
  display: flex; align-items: center; justify-content: center;
}
.rm-check svg { width: 10px; height: 10px; }
.rm-cta { margin-top: 16px; }
.rm-legal { margin-top: 10px; text-align: center; font-size: 10px; color: var(--hof-muted); }

/* ================= RESPONSIVE ================= */
@media (min-width: 640px) {
  .ggrid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .reg-panel { padding: 32px; }
  .reg-h2 { font-size: 30px; }
  .player-card { height: auto; aspect-ratio: 16 / 9; }
  .hero-h1 { font-size: 36px; }
  .pc-team { font-size: 20px; }
  .pc-watch { font-size: 16px; }
}
@media (min-width: 480px) and (max-width: 639px) {
  .ggrid { grid-template-columns: 1fr; }
}

/* ---- penyesuaian HP kecil (jadwal live, player & jarak lebih ringkas) ---- */
@media (max-width: 479px) {
  .brand-txt { font-size: 16px; }
  .btn-register { padding: 8px 13px; font-size: 10px; letter-spacing: 0.1em; }
  .hero-h1 { font-size: 24px; }
  .sec-h { font-size: 18px; }
  .page { padding: 20px 0 36px; }
  .page > section + section { margin-top: 32px; }
  .player-card { height: 380px; }
  .pc-title { top: 44px; left: 10px; right: 10px; }
  .pc-team { font-size: 15px; letter-spacing: 0.03em; }
  .pc-single { font-size: 15px; }
  .pc-vschip { margin: 0 4px; padding: 3px 8px; font-size: 9px; }
  .pc-line { width: 10px; }
  .pc-play { width: 66px; height: 66px; }
  .pc-play svg { width: 28px; height: 28px; margin-left: 4px; }
  .pc-row { gap: 6px; }
  .tk-card { width: 216px; padding: 10px; }
  .game-card { padding: 14px; }
  .gc-title { font-size: 14px; }
  .sched-row { padding: 12px; gap: 10px; }
  .sr-time { width: 52px; }
  .sr-title { font-size: 13px; }
  .reg-panel { padding: 16px; }
  .reg-form-box { padding: 16px; }
  .reg-modal { padding: 12px; }
  .rm-title { font-size: 17px; }
  .rm-body { padding: 16px; }
}

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.adm-body { background: var(--hof-bg); }
.adm-top { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--hof-border); background: rgba(7, 12, 23, 0.97); }
.adm-top-in { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.adm-top .brand-txt b { color: var(--hof-muted); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; margin-left: 4px; }
.adm-top-actions { display: flex; align-items: center; gap: 10px; }
.adm-top-actions form { display: flex; }
.adm-view, .adm-logout {
  border: 1px solid var(--hof-border); border-radius: 999px; background: var(--hof-panel2);
  padding: 7px 14px; font-size: 11px; font-weight: 700; color: var(--hof-text);
}
.adm-logout { color: #f87171; border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.08); }
.adm-tabs { border-bottom: 1px solid var(--hof-border); background: #070c17; position: sticky; top: 56px; z-index: 29; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.adm-tabs-in { display: flex; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
.adm-tab {
  flex-shrink: 0; border: 1px solid var(--hof-border); border-radius: 999px;
  padding: 8px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--hof-muted);
}
.adm-tab.on { background: var(--hof-green); border-color: var(--hof-green); color: #060a13; }
.adm-page { padding: 20px 0 60px; }
.adm-flash { margin-bottom: 16px; border: 1px solid rgba(16, 185, 129, 0.4); border-radius: 12px; background: rgba(16, 185, 129, 0.1); padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--hof-green-bright); }
.adm-flash.err { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.1); color: #f87171; }
.adm-card { border-radius: 20px; padding: 20px; }
.adm-h2 { font-size: 17px; font-weight: 800; }
.adm-h3 { font-size: 15px; font-weight: 800; }
.adm-sub { margin-top: 6px; font-size: 12px; color: var(--hof-muted); }
.adm-opt { font-size: 11px; font-weight: 700; color: var(--hof-green-bright); background: rgba(16, 185, 129, 0.12); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.adm-sub code { background: var(--hof-panel2); border: 1px solid var(--hof-border); border-radius: 6px; padding: 1px 6px; font-size: 11px; }
.adm-label { display: block; margin: 16px 0 0; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-muted); }
.adm-in { margin-top: 6px; }
.adm-in[type="text"], .adm-in[type="password"], .adm-in[type="number"], .adm-in[type="datetime-local"], select.adm-in {
  margin-top: 6px; width: 100%; border: 1px solid var(--hof-border); border-radius: 10px;
  background: #080d19; padding: 10px 14px; font-size: 13px; color: var(--hof-text); outline: none;
}
.adm-in:focus { border-color: var(--hof-green); }
.adm-ta {
  margin-top: 6px; width: 100%; border: 1px solid var(--hof-border); border-radius: 10px;
  background: #080d19; padding: 12px 14px; font-size: 12px; line-height: 1.55; color: #cdd7ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  outline: none; resize: vertical; min-height: 60px;
}
.adm-ta:focus { border-color: var(--hof-green); }
.adm-file { margin-top: 6px; width: 100%; font-size: 12px; color: var(--hof-muted); }
.adm-file::file-selector-button {
  border: 1px solid var(--hof-border); border-radius: 8px; background: var(--hof-panel2);
  color: var(--hof-text); padding: 8px 14px; font-size: 12px; font-weight: 600; margin-right: 10px; cursor: pointer;
}
.adm-save { margin-top: 24px; }
.adm-switch-row {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--hof-border); border-radius: 12px; background: rgba(14, 22, 40, 0.6); padding: 12px 16px;
}
.adm-switch-row b { display: block; font-size: 13px; }
.adm-switch-row span { display: block; font-size: 11px; color: var(--hof-muted); margin-top: 2px; }
/* Blok slot iklan (tab IKLAN): 1 blok = 1 slot, keterangan jelas di atas kolom ketik */
.adm-slot {
  margin-top: 18px; border: 1px solid var(--hof-border); border-radius: 14px;
  background: rgba(255, 255, 255, 0.02); padding: 14px;
}
.adm-slot-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.adm-slot-name { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.adm-slot-name b { display: block; font-size: 13px; letter-spacing: 0.04em; }
.adm-slot-name span { display: block; font-size: 11px; color: var(--hof-muted); margin-top: 2px; }
.adm-slot-num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hof-green); color: #060a13; font-size: 11px; font-weight: 800; font-style: normal;
  margin-top: 1px;
}
.adm-slot-desc { margin: 10px 0 0; font-size: 11px; line-height: 1.6; color: var(--hof-muted); border-left: 2px solid rgba(16, 185, 129, 0.45); padding-left: 10px; }
.adm-slot .adm-label { margin-top: 12px; color: var(--hof-green-bright); font-size: 11px; }
.adm-slot .adm-ta, .adm-slot .adm-in { margin-top: 6px; }
/* Kolom keterangan per slot — kosong, ditulis sendiri admin */
.adm-slot .adm-note {
  border-style: dashed; border-width: 1.5px; border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.05); color: var(--hof-text);
}
.adm-slot .adm-note:focus { border-style: solid; border-color: var(--hof-green); background: #080d19; }
.adm-note-chip {
  display: inline-block; margin-top: 6px; max-width: 100%;
  font-size: 11px; font-weight: 700; color: var(--hof-green-bright);
  background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 999px; padding: 2px 10px; word-break: break-word; white-space: normal;
}
/* toggle switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i {
  position: absolute; inset: 0; border-radius: 999px; background: var(--hof-panel2);
  border: 1px solid var(--hof-border); transition: 0.2s;
}
.switch i:before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  border-radius: 999px; background: var(--hof-muted); transition: 0.2s;
}
.switch input:checked + i { background: rgba(16, 185, 129, 0.3); border-color: var(--hof-green); }
.switch input:checked + i:before { transform: translateX(20px); background: var(--hof-green-bright); }
/* cabor rows */
.cabor-row { border: 1px solid var(--hof-border); border-radius: 14px; background: rgba(14, 22, 40, 0.4); padding: 14px 16px; margin-top: 14px; }
.cabor-head { display: flex; align-items: center; gap: 12px; }
.cabor-kode {
  flex-shrink: 0; border-radius: 8px; background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35); padding: 4px 10px;
  font-size: 12px; font-weight: 800; color: var(--hof-green-bright); text-transform: uppercase;
}
.cabor-label { margin-top: 0; max-width: 420px; }
.cabor-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.cabor-grid label { margin-top: 0; }
.cabor-preview { margin-top: 10px; max-width: 220px; border-radius: 10px; border: 1px solid var(--hof-border); display: block; }
.cabor-previews { display: flex; align-items: flex-end; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.cabor-fig { margin: 0; }
.cabor-fig img { max-width: 150px; max-height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--hof-border); display: block; }
.cabor-fig figcaption { margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hof-muted); }
.adm-check { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.adm-check input { width: 18px; height: 18px; accent-color: var(--hof-green); }
.adm-sep { height: 1px; background: var(--hof-border); margin: 20px 0; }
/* events */
.ev-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ev-search { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.ev-search .adm-in { margin-top: 0; }
.adm-btn2 {
  display: inline-block; border: 1px solid var(--hof-border); border-radius: 999px;
  background: var(--hof-panel2); padding: 8px 14px; font-size: 11px; font-weight: 700; color: var(--hof-text);
}
.adm-btn2.on { background: var(--hof-green); color: #060a13; border-color: var(--hof-green); }
.ev-toolbar .btn-green { width: auto; padding: 10px 18px; }
.ev-form { border: 1px solid var(--hof-border); border-radius: 14px; background: rgba(8, 13, 25, 0.5); padding: 16px; margin-top: 14px; }
.ev-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.ev-actions .btn-green { width: auto; padding: 12px 22px; }
.ev-table-wrap { overflow-x: auto; margin-top: 12px; }
.ev-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 560px; }
.ev-table th { text-align: left; font-size: 10px; letter-spacing: 0.1em; color: var(--hof-muted); padding: 8px 10px; border-bottom: 1px solid var(--hof-border); }
.ev-table td { padding: 10px; border-bottom: 1px solid rgba(27, 37, 64, 0.6); vertical-align: middle; }
.ev-t { font-weight: 600; max-width: 320px; }
.ev-st { border-radius: 999px; padding: 3px 10px; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }
.ev-st.live { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.ev-st.scheduled { background: rgba(16, 185, 129, 0.15); color: var(--hof-green-bright); }
.ev-st.final { background: rgba(139, 149, 173, 0.15); color: var(--hof-muted); }
.ev-k { color: var(--hof-muted); white-space: nowrap; }
.ev-act { display: flex; gap: 8px; align-items: center; }
.ev-act form { display: flex; }
.adm-del { border: 1px solid rgba(239, 68, 68, 0.35); border-radius: 999px; background: rgba(239, 68, 68, 0.08); color: #f87171; padding: 7px 13px; font-size: 11px; font-weight: 700; }
.ev-empty { text-align: center; color: var(--hof-muted); padding: 24px 10px; }
.ev-thumb { width: 84px; border-radius: 6px; border: 1px solid var(--hof-border); display: block; }
.ev-pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.adm-foot { margin-top: 28px; text-align: center; font-size: 10px; color: var(--hof-muted); }
/* login */
.adm-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.adm-login { width: 100%; max-width: 360px; border-radius: 20px; padding: 28px 24px; text-align: center; }
.adm-logo { display: flex; justify-content: center; }
.adm-login h1 { margin-top: 14px; font-size: 20px; font-weight: 800; }
.adm-login h1 em { font-style: normal; color: var(--hof-green); }
.adm-login label { display: block; text-align: left; margin-top: 20px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--hof-muted); }
.adm-login input[type="password"] {
  margin-top: 6px; width: 100%; border: 1px solid var(--hof-border); border-radius: 12px;
  background: #080d19; padding: 12px 16px; font-size: 14px; color: var(--hof-text); outline: none;
}
.adm-login input[type="password"]:focus { border-color: var(--hof-green); }
.adm-login .btn-green { margin-top: 18px; }
.adm-err { margin-top: 14px; border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 10px; background: rgba(239, 68, 68, 0.1); padding: 10px 14px; font-size: 12px; font-weight: 600; color: #f87171; }
.adm-hint { margin-top: 14px; font-size: 10px; color: var(--hof-muted); }

@media (min-width: 640px) {
  .cabor-grid { grid-template-columns: 1fr 1fr; }
  .cabor-grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .adm-card { padding: 24px; }
}
