/* ===== THEME FIX : teks gelap jadi terang di semua fitur ===== */

/* Palet */
:root{
    
  --bg:#0d1117; --bg-soft:#161b22; --text:#e6edf3; --muted:#9aa4b2;
  --card:#1c1f26; --border:#22304a; --accent:#6c63ff; --accent-2:#00bcd4;
}

/* 1) Semua heading defaultnya TERANG */
h1, h2, h3, h4, h5, h6 {
  color: var(--text) !important;
  font-weight: 700;
}

/* 2) Teks umum */
body, p, li, dt, dd, th, td, small {
  color: var(--text);
}

/* 3) Bootstrap .text-muted sering bikin pudar → naikkan kontras */
.text-muted   { color: #c8d3e8 !important; }
.text-secondary { color: #b7c5e0 !important; }

/* 4) Hero section: judul & subjudul harus kontras */
.hero h1, .hero h2, .hero h3 { color:#fff !important; }
.hero p, .hero .text-muted, .hero small { color:#dbe9ff !important; opacity:.95; }

/* 5) Header blok/kartu */
.card-soft .hd, .event-body h5, .jersey-body h6 { color:#eef3ff !important; }

/* 6) Metadata di kartu: tetap terbaca */
.event-meta, .person small, .timeline .item .text-muted {
  color:#c3cfe6 !important;
}

/* 7) Breadcrumbs sedikit lebih terang */
.breadcrumbs a { color:#b9ccff !important; }
.breadcrumbs .text-secondary { color:#a6b3d6 !important; }

/* 8) Badge lembut */
.badge-soft { border-color:#35436a !important; color:#d6e4ff !important; }

/* 9) Hero gradient sedikit lebih hidup (opsional) */
.hero {
  background: linear-gradient(135deg, rgba(108,99,255,.35), rgba(0,188,212,.35)) !important;
  border: 1px solid #25324a !important;
}

/* 10) Hindari teks jadi terlalu pudar jika ada inline style opacity */
.hero [style*="opacity:0.5"], .hero [style*="opacity: 0.5"] { opacity: .9 !important; }

/* 11) Gambar poster/jersey agar tidak kepotong */
.event-thumb, .jersey-thumb {
  display:flex; align-items:center; justify-content:center; overflow:hidden; background:#0f1420;
}
.event-thumb img, .jersey-thumb img {
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; object-position:center;
  /* Beritahu browser: situs ini memang dark */
:root { color-scheme: dark; }
body  { background:#0d1117; color:#e6edf3; }

/* Paksa warna timeline biar tidak digelapkan auto-dark */
.timeline .item strong       { color:#e6edf3 !important; }
.timeline .item .text-muted  { color:#9aa4b2 !important; }  /* abu-abu terang */

}
