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

:root {
  --bg:#070707; --panel:#101010; --panel2:#151515; --gold:#d6a93a;
  --gold2:#f4d47b; --white:#f7f4ed; --muted:#aaa59a; --line:#292929;
  --green:#43df91; --red:#ff5555;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:radial-gradient(circle at 50% -10%, #26200f 0, var(--bg) 38%); color:var(--white); font-family:Inter,Arial,sans-serif; }
body:before { content:""; position:fixed; inset:0; pointer-events:none; background-image:linear-gradient(135deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size:28px 28px; opacity:.4; }
.noise { position:fixed; inset:0; pointer-events:none; opacity:.04; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; padding:16px 5vw; background:rgba(5,5,5,.88); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
.brand { color:var(--white); text-decoration:none; font-weight:900; letter-spacing:.05em; }
.topbar nav { display:flex; gap:22px; align-items:center; }
.topbar nav a { color:#ccc; text-decoration:none; font-size:13px; font-weight:700; text-transform:uppercase; }
.topbar nav a:hover { color:var(--gold2); }
.admin-btn { border:1px solid #5b4a22; background:#17130a; color:var(--gold2); border-radius:8px; padding:9px 13px; cursor:pointer; font-weight:800; }
.hero { min-height:720px; display:grid; grid-template-columns:1fr 1fr; align-items:center; max-width:1400px; margin:auto; padding:50px 5vw; gap:30px; }
.eyebrow { color:var(--gold2); letter-spacing:.25em; font-size:12px; font-weight:900; }
h1,h2 { font-family:'Barlow Condensed',sans-serif; margin:10px 0; text-transform:uppercase; }
h1 { font-size:clamp(70px,10vw,150px); line-height:.78; letter-spacing:-.035em; }
h1 span,h2 span { color:var(--gold); }
.hero-copy p { color:#b9b5ac; font-size:18px; }
.hero-actions { display:flex; gap:12px; margin-top:30px; }
.btn { border:0; border-radius:8px; padding:13px 20px; cursor:pointer; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.btn.primary { color:#0b0905; background:linear-gradient(135deg,var(--gold2),var(--gold)); box-shadow:0 8px 28px rgba(214,169,58,.16); }
.btn.ghost { color:var(--white); background:#131313; border:1px solid #3b3b3b; }
.btn.full { width:100%; }
.hero-art { display:flex; justify-content:center; }
.hero-art img { width:min(100%,580px); border-radius:14px; box-shadow:0 25px 80px rgba(0,0,0,.65); }
.section { max-width:1200px; margin:0 auto; padding:70px 5vw; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:25px; }
h2 { font-size:clamp(40px,5vw,68px); line-height:.9; }
.live-pill { color:var(--green); border:1px solid #1c6947; padding:8px 12px; border-radius:999px; font-size:11px; font-weight:900; }
.live-pill i { display:inline-block; width:7px; height:7px; background:var(--green); border-radius:50%; margin-right:7px; box-shadow:0 0 12px var(--green); }
.match-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.match-card { background:linear-gradient(145deg,#151515,#0d0d0d); border:1px solid var(--line); border-radius:14px; padding:20px; }
.match-card.live { border-color:#725a20; box-shadow:inset 0 0 0 1px rgba(214,169,58,.08); }
.match-top { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; text-transform:uppercase; font-weight:800; }
.match-status.live { color:var(--green); }
.teams-score { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; margin-top:22px; }
.team { font-weight:900; }
.team:last-child { text-align:right; }
.score { font-family:'Barlow Condensed'; font-size:44px; font-weight:900; }
.minute { margin-top:12px; color:var(--gold2); font-weight:800; font-size:12px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; }
table { width:100%; border-collapse:collapse; min-width:720px; }
th,td { padding:15px 12px; border-bottom:1px solid var(--line); text-align:center; font-size:13px; }
th { color:var(--muted); font-size:11px; letter-spacing:.12em; }
td:nth-child(2),th:nth-child(2) { text-align:left; }
tbody tr:first-child td { color:var(--gold2); font-weight:900; }
tbody tr:last-child td { border-bottom:0; }
.select { background:#111; color:#ddd; border:1px solid var(--line); padding:11px 14px; border-radius:8px; }
.fixtures-list { display:grid; gap:10px; }
.fixture { display:grid; grid-template-columns:100px 1fr 130px; gap:20px; align-items:center; background:#101010; border:1px solid var(--line); border-radius:12px; padding:16px 18px; }
.fixture-date { color:var(--muted); font-size:11px; text-transform:uppercase; }
.fixture-teams { font-weight:800; }
.fixture-score { text-align:right; font-family:'Barlow Condensed'; font-size:28px; font-weight:900; }
.badge { display:inline-block; margin-left:8px; padding:4px 7px; border-radius:5px; font-size:9px; font-family:Inter; vertical-align:middle; }
.badge.live { color:#07110c; background:var(--green); }
.badge.done { color:#1b1607; background:var(--gold2); }
.teams-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.team-card { background:#111; border:1px solid var(--line); border-radius:12px; padding:22px; }
.team-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:10px; background:#1a160c; border:1px solid #4b3b18; font-size:22px; margin-bottom:18px; }
.team-card h3 { margin:0 0 7px; font-size:17px; }
.team-card p { margin:0; color:var(--muted); font-size:12px; }
footer { border-top:1px solid var(--line); padding:35px 5vw; display:flex; justify-content:space-between; color:var(--muted); font-size:12px; }
.modal { display:none; position:fixed; z-index:50; inset:0; background:rgba(0,0,0,.78); backdrop-filter:blur(8px); padding:25px; overflow:auto; }
.modal.show { display:flex; align-items:center; justify-content:center; }
.modal-card { position:relative; width:min(500px,100%); background:#101010; border:1px solid #3a331f; border-radius:16px; padding:28px; box-shadow:0 30px 100px #000; }
.modal-card.wide { width:min(900px,100%); }
.close { position:absolute; right:14px; top:10px; border:0; background:none; color:#aaa; font-size:30px; cursor:pointer; }
.modal input,.modal select { width:100%; margin:8px 0; padding:13px; border-radius:8px; border:1px solid #303030; background:#090909; color:#fff; outline:none; }
.modal input:focus,.modal select:focus { border-color:var(--gold); }
.muted { color:var(--muted); }
.small { font-size:11px; }
.error { color:var(--red); min-height:20px; margin-top:8px; font-size:12px; }
.success { color:var(--green); min-height:20px; margin-top:12px; font-size:12px; }
.admin-head { display:flex; justify-content:space-between; gap:15px; align-items:center; }
.admin-tabs { display:flex; gap:8px; border-bottom:1px solid var(--line); margin:22px 0; }
.tab { background:none; color:#888; border:0; padding:10px 14px; cursor:pointer; font-weight:800; }
.tab.active { color:var(--gold2); border-bottom:2px solid var(--gold); }
.admin-form { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr auto; gap:8px; align-items:center; }
.admin-team-list { display:grid; gap:8px; margin-top:15px; }
.admin-team { display:flex; justify-content:space-between; align-items:center; background:#151515; border:1px solid var(--line); border-radius:8px; padding:12px; }
.danger { color:#ff7b7b; background:none; border:1px solid #5a2525; border-radius:6px; padding:6px 9px; cursor:pointer; }
@media(max-width:850px) {
  .topbar nav a { display:none; }
  .hero { grid-template-columns:1fr; padding-top:35px; }
  .hero-art { order:-1; }
  .hero-art img { max-height:430px; object-fit:cover; object-position:top; }
  .hero-copy { text-align:center; }
  .hero-actions { justify-content:center; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .fixture { grid-template-columns:75px 1fr 90px; gap:10px; }
  .admin-form { grid-template-columns:1fr 1fr; }
  .admin-form .btn { grid-column:1/-1; }
  footer { flex-direction:column; gap:8px; }
}
