:root {
  --bg: #0d0620;
  --bg-2: #150a2e;
  --card: #1a0d38;
  --card-hover: #241149;
  --purple: #6d28d9;
  --purple-light: #a78bfa;
  --gold: #f4c430;
  --gold-light: #ffd966;
  --text: #ede9fe;
  --muted: #a89bc9;
  --border: #2d1a5c;
  --live: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(ellipse at top, #1a0d38 0%, #0d0620 60%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

/* === HEADER === */
.site-header {
  background: linear-gradient(180deg, rgba(13,6,32,0.98), rgba(13,6,32,0.85));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.brand {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-icon {
  color: var(--gold);
  font-size: 1rem;
  filter: drop-shadow(0 0 6px var(--gold));
}
.brand-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(244,196,48,0.3);
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
}
.site-header nav a:hover { color: var(--gold); }

/* === HERO === */
.hero {
  padding: 48px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(109,40,217,0.15) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(135deg, #fff 0%, var(--purple-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 24px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-box {
  background: linear-gradient(145deg, var(--card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  min-width: 110px;
  box-shadow: 0 4px 20px rgba(109,40,217,0.15);
}
.stat-box.live {
  border-color: rgba(239,68,68,0.5);
  box-shadow: 0 0 20px rgba(239,68,68,0.2);
}
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-box.live .stat-num { color: var(--live); }
.stat-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* === SECTION HEAD === */
main { padding: 32px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-light);
  margin: 20px 0 8px;
}
.date-picker input {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}
.date-picker input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,196,48,0.15);
}
.auto-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}

/* === FIXTURE LIST === */
.fixture-list {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.fixture-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.fixture-list li:last-child .fixture-row { border-bottom: none; }
.fixture-row:hover {
  background: var(--card-hover);
  border-left: 3px solid var(--gold);
  padding-left: 15px;
}
.fx-league {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.fx-teams {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}
.fx-teams em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 400;
}
.fx-right { text-align: right; }
.fx-score {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}
.fx-status {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fx-status.is-live {
  color: var(--live);
  font-weight: 700;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

/* === CONTENT SECTIONS === */
.content-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.content-section p {
  color: #d5cbe8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 8px;
}
.feature-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #d5cbe8;
}
.feature-list li strong { color: var(--gold); }

/* === FAQ === */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 14px 18px;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--purple); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 24px;
  font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(0deg);
}
.faq-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(109,40,217,0.08));
  margin-top: 40px;
  padding: 32px 0 24px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-footer p { margin-bottom: 8px; line-height: 1.6; }
.site-footer .copy { color: #6d5f8a; margin-top: 12px; }
.site-footer strong { color: var(--gold); }

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .hero { padding: 32px 0 24px; }
  .stat-box { padding: 10px 16px; min-width: 90px; }
  .stat-num { font-size: 1.2rem; }
  .fixture-row { padding: 12px 14px; }
  .fx-score { font-size: 1rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* === HEADER ACTIONS (Login & Daftar) === */
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-login {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-login:hover {
  background: rgba(244,196,48,0.1);
  box-shadow: 0 0 15px rgba(244,196,48,0.3);
}
.btn-daftar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1a0d38;
  border: none;
  box-shadow: 0 4px 15px rgba(244,196,48,0.35);
}
.btn-daftar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244,196,48,0.5);
}
.btn-lg {
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* === BRAND LOGO === */
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(244,196,48,0.4));
}

/* === MOBILE NAV === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.mobile-actions .btn { flex: 1; text-align: center; }
body.nav-open .mobile-nav { display: flex; }

/* === BANNER === */
.banner {
  padding: 20px 0 0;
}
.banner-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(109,40,217,0.3);
  transition: transform .3s, box-shadow .3s;
}
.banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(244,196,48,0.3);
}
.banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

/* === HERO CTA === */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* === FOOTER BRAND === */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  border-radius: 6px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; text-align: center; }
  .banner-img { max-height: 140px; }
}


