/* ═══════════════════════════════════════════════════════
   APBILL TOURNAMENT — Main Stylesheet
   Theme: Bold Sports Editorial | Angolan Red/Black/Gold
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --red:      #CC0001;
  --red-dark: #900000;
  --red-glow: rgba(204,0,1,0.25);
  --black:    #0A0A0A;
  --dark:     #111318;
  --panel:    #181C24;
  --border:   rgba(255,255,255,0.08);
  --gold:     #E8B74D;
  --gold-lt:  #F5D080;
  --white:    #F4F4F2;
  --muted:    #8A8F9B;
  --green:    #22C55E;
  --orange:   #F59E0B;
  --live-red: #FF2D20;
  --radius:   6px;
  --shadow:   0 4px 24px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, .display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; line-height: 1.05; }
h4, h5, h6, .label   { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ── Utility ───────────────────────────────────────────── */
.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-green  { color: var(--green); }
.bg-panel    { background: var(--panel); }
.container   { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; } .align-center { align-items: center; } .gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.flex-1 { flex: 1; }

/* ── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 40px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-live    { background: var(--live-red); color: #fff; animation: pulse-badge 1.5s infinite; }
.badge-sched   { background: rgba(255,255,255,0.12); color: var(--muted); }
.badge-finish  { background: rgba(34,197,94,0.15); color: var(--green); }
.badge-post    { background: rgba(245,158,11,0.15); color: var(--orange); }
.badge-gold    { background: var(--gold); color: var(--black); }
.badge-red     { background: var(--red); color: #fff; }

@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,45,32,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(255,45,32,0); }
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary   { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px var(--red-glow); }
.btn-gold      { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline   { background: transparent; border: 1px solid var(--border); color: var(--white); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-sm        { padding: 7px 14px; font-size: 0.78rem; }
.btn-danger    { background: rgba(204,0,1,0.15); color: var(--red); border: 1px solid var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }

/* ── Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; margin-bottom: 6px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}
.form-control {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--white); font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.07); }
.form-control option { background: var(--dark); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type=checkbox] { accent-color: var(--red); width: 16px; height: 16px; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.card-img-top { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.card-meta  { font-size: 0.8rem; color: var(--muted); }

/* ── Section Headers ───────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 2rem; color: var(--white);
  display: flex; align-items: center; gap: 12px;
}
.section-title::before {
  content: ''; display: block; width: 4px; height: 2rem;
  background: var(--red); border-radius: 2px;
}

/* ── Navigation ────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,10,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; padding: 0 20px; max-width: 1200px; margin: 0 auto;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.1em;
}
.navbar-brand .logo-icon {
  width: 38px; height: 38px; background: var(--red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.navbar-nav {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.navbar-nav a {
  padding: 8px 14px; border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  transition: all 0.2s; color: var(--muted);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.navbar-nav a.active { color: var(--gold); }
.navbar-search { display: flex; align-items: center; gap: 8px; }
.navbar-search input {
  width: 200px; padding: 8px 14px; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border); border-radius: 40px; color: var(--white);
  font-size: 0.85rem; transition: all 0.2s;
}
.navbar-search input:focus { outline: none; border-color: var(--red); width: 240px; }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, #1a0505 50%, var(--black) 100%);
  padding: 80px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(204,0,1,0.12) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,0,1,0.15); border: 1px solid rgba(204,0,1,0.3);
  color: var(--red); padding: 4px 14px; border-radius: 40px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.hero-title { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; margin-bottom: 1.2rem; }
.hero-title span { color: var(--red); }
.hero-desc { font-size: 1.05rem; color: var(--muted); max-width: 440px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.hero-stat { background: var(--panel); padding: 24px; text-align: center; }
.hero-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--red); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ── Live Ticker ───────────────────────────────────────── */
.live-ticker {
  background: var(--red); overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.ticker-inner { display: flex; align-items: stretch; }
.ticker-label {
  background: var(--black); color: var(--gold); padding: 10px 20px;
  white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 8px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-scroll { display: flex; animation: ticker-scroll 30s linear infinite; padding: 10px 0; white-space: nowrap; }
.ticker-scroll:hover { animation-play-state: paused; }
.ticker-item { padding: 0 30px; border-right: 1px solid rgba(255,255,255,0.3); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Match Card ────────────────────────────────────────── */
.match-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; transition: all 0.2s;
}
.match-card:hover { border-color: rgba(204,0,1,0.3); }
.match-card.live { border-color: var(--live-red); box-shadow: 0 0 20px rgba(255,45,32,0.15); }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.match-team { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.match-team.home { align-items: flex-end; text-align: right; }
.match-team.away { align-items: flex-start; text-align: left; }
.team-logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.06); object-fit: cover;
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: var(--muted);
}
.team-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem; }
.match-score {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem;
}
.match-score span { color: var(--muted); font-size: 1.2rem; margin: 0 2px; }
.match-info { text-align: center; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.match-meta { font-size: 0.8rem; color: var(--muted); display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Standings Table ───────────────────────────────────── */
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th {
  padding: 10px 12px; text-align: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.standings-table th:first-child { text-align: left; }
.standings-table td { padding: 12px 12px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); }
.standings-table td:first-child { text-align: left; }
.standings-table tr:hover td { background: rgba(255,255,255,0.03); }
.standings-table .pts { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--gold); }
.standings-rank { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--muted); width: 28px; display: inline-block; }
.standings-rank.top3 { color: var(--gold); }
.team-row { display: flex; align-items: center; gap: 10px; }

/* ── News Grid ─────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { display: flex; flex-direction: column; }
.news-card .card-img-top { height: 180px; transition: transform 0.3s; }
.news-card:hover .card-img-top { transform: scale(1.02); }
.news-card .card-img-wrap { overflow: hidden; }
.news-card-cat {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 6px;
}
.news-card-title { font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.5rem; }
.news-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ── Player Modal ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px; opacity: 0; visibility: hidden;
  transition: all 0.25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95); transition: transform 0.25s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-close {
  background: none; border: none; color: var(--muted); font-size: 1.4rem;
  cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; transition: all 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.modal-body { padding: 1.5rem; }
.player-profile { display: flex; gap: 1.5rem; align-items: flex-start; }
.player-photo-lg {
  width: 100px; height: 100px; border-radius: 10px; object-fit: cover;
  flex-shrink: 0; background: var(--dark); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--muted);
}
.player-info h3 { font-size: 1.4rem; margin-bottom: 4px; }
.player-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 1.25rem;
}
.player-stat { background: var(--dark); padding: 14px; text-align: center; }
.player-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--red); }
.player-stat-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Team Page ─────────────────────────────────────────── */
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.team-card { cursor: pointer; }
.team-card-header { padding: 2rem; text-align: center; background: rgba(255,255,255,0.03); }
.team-logo-lg {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem;
  background: rgba(255,255,255,0.07); object-fit: cover;
  border: 3px solid var(--border);
}
.team-stats-bar { display: flex; border-top: 1px solid var(--border); }
.team-stat-item { flex: 1; padding: 12px; text-align: center; border-right: 1px solid var(--border); }
.team-stat-item:last-child { border-right: none; }
.team-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; }
.team-stat-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }

/* ── Players Grid ──────────────────────────────────────── */
.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.player-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.player-card:hover { border-color: var(--red); transform: translateY(-3px); }
.player-thumb {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 0.75rem;
  object-fit: cover; background: var(--dark); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--muted);
}
.player-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.player-card-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.9rem; }
.player-card-pos { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

/* ── Featured News ─────────────────────────────────────── */
.featured-news {
  display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem;
}
.featured-main {
  position: relative; border-radius: 10px; overflow: hidden;
  min-height: 380px; background: var(--panel);
}
.featured-main img { width: 100%; height: 100%; object-fit: cover; }
.featured-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
  padding: 2rem;
}
.featured-main .news-card-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
.featured-side { display: flex; flex-direction: column; gap: 1rem; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--dark); border-top: 1px solid var(--border);
  padding: 40px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.footer-heading { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }

/* ── Pagination ────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 2rem; }
.page-link {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.9rem;
  transition: all 0.2s; color: var(--muted);
}
.page-link:hover  { border-color: var(--red); color: var(--red); }
.page-link.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ── Section Padding ───────────────────────────────────── */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ── Admin Layout ──────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; background: var(--dark); border-right: 1px solid var(--border);
  padding: 0; flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  overflow-y: auto; display: flex; flex-direction: column;
}
.sidebar-brand {
  padding: 20px; border-bottom: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 10px;
}
.sidebar-brand .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.sidebar-section { padding: 16px 0; border-bottom: 1px solid var(--border); }
.sidebar-section-label {
  padding: 0 20px 8px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: var(--muted); font-size: 0.88rem;
  transition: all 0.15s; border-left: 3px solid transparent;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.sidebar-link.active { color: var(--white); background: rgba(204,0,1,0.1); border-left-color: var(--red); }
.sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-main { flex: 1; overflow-x: hidden; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: var(--dark); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.admin-topbar-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user-name { font-size: 0.88rem; color: var(--muted); }
.admin-content { padding: 28px; }
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.admin-page-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; }

/* ── Admin Cards ───────────────────────────────────────── */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.stat-card-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.stat-card-val { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; line-height: 1; }
.stat-card-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ── Tables (Admin) ────────────────────────────────────── */
.table-wrap { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table thead { background: rgba(255,255,255,0.04); }
.data-table th { padding: 12px 16px; text-align: left; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1px solid var(--border); }
.data-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.025); }
.actions { display: flex; gap: 6px; }

/* ── Alerts ────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: var(--green); }
.alert-danger  { background: rgba(204,0,1,0.1); border: 1px solid rgba(204,0,1,0.25); color: #ff6b6b; }
.alert-info    { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25); color: #60a5fa; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .news-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .featured-news   { grid-template-columns: 1fr; }
  .hero-grid       { grid-template-columns: 1fr; }
  .hero-stats      { display: none; }
}
@media (max-width: 768px) {
  .navbar-nav, .navbar-search { display: none; }
  .hamburger { display: block; }
  .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .news-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { display: none; }
  .sidebar.open { display: flex; position: fixed; inset: 0; z-index: 1000; width: 260px; }
  .match-teams { gap: 0.5rem; }
  .match-score { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .teams-grid  { grid-template-columns: 1fr; }
  .hero-title  { font-size: 2.8rem; }
  .admin-content { padding: 16px; }
  .stat-cards  { grid-template-columns: repeat(2, 1fr); }
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ── Loading Spinner ───────────────────────────────────── */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.1); border-top-color: var(--red); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Filters Bar ───────────────────────────────────────── */
.filters-bar {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filters-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }

/* ── Win Rate Bar ──────────────────────────────────────── */
.wr-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 4px; }
.wr-fill { height: 100%; background: var(--red); border-radius: 2px; transition: width 0.4s; }

/* ── Auth Page ─────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(204,0,1,0.1) 0%, transparent 60%), var(--black);
  padding: 20px;
}
.auth-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; width: 100%; max-width: 420px; padding: 2.5rem;
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo-icon {
  width: 64px; height: 64px; background: var(--red); border-radius: 50%;
  margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.auth-title { font-size: 2.2rem; text-align: center; margin-bottom: 0.25rem; }
.auth-sub { font-size: 0.88rem; color: var(--muted); text-align: center; }
