:root {
  --c: #d62828;
  --bg: #0d1117;
  --card: #161b22;
  --line: #2a313c;
  --text: #f0f3f6;
  --mute: #9aa4b2;
  --win: #22c55e;
  --draw: #eab308;
  --loss: #ef4444;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: 'Be Vietnam Pro', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; background: rgba(13,17,23,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { text-decoration: none; font-weight: 600; color: var(--mute); }
.nav nav a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 28px; cursor: pointer; }

.hero { position: relative; min-height: min(78vh, 760px); display: grid; place-items: center; text-align: center; overflow: hidden; padding: 60px 20px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%), linear-gradient(160deg, #1a0a0a, var(--bg)); background-size: cover; background-position: center; }
.hero-bg.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,17,23,.45), rgba(13,17,23,.95)); }
.hero-inner { position: relative; max-width: 800px; }
.hero-logo { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.hero h1 { font-size: clamp(40px, 9vw, 84px); font-weight: 900; line-height: 1.05; letter-spacing: -1px; text-transform: uppercase; overflow-wrap: anywhere; }
body { overflow-x: hidden; }
.slogan { font-size: clamp(18px, 3vw, 24px); color: #e5e7eb; margin-top: 10px; }
.stats { display: flex; justify-content: center; gap: 12px; margin: 30px 0; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px 20px; min-width: 100px; }
.stat b { display: block; font-size: 32px; font-weight: 900; }
.stat span { font-size: 14px; color: var(--mute); }
.btn { display: inline-block; background: var(--c); color: #fff; text-decoration: none; font-weight: 800; padding: 14px 30px; border-radius: 999px; font-size: 18px; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }

main { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 60px 0 10px; }
.sec h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 900; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.sec h2::before { content: ''; width: 8px; height: 1em; background: var(--c); border-radius: 4px; }
.empty { color: var(--mute); padding: 24px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.match-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.match-card.next { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 10px 40px color-mix(in srgb, var(--c) 25%, transparent); }
.mc-top { display: flex; justify-content: space-between; color: var(--mute); font-size: 14px; margin-bottom: 12px; gap: 8px; }
.tag { background: color-mix(in srgb, var(--c) 20%, transparent); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.mc-teams { font-size: 22px; font-weight: 800; }
.mc-teams .vs { color: var(--mute); font-weight: 400; margin: 0 6px; font-size: 16px; }
.mc-when { font-size: 18px; margin-top: 10px; font-weight: 600; }
.mc-venue { color: var(--mute); font-size: 15px; margin-top: 4px; }
.countdown { margin-top: 12px; font-weight: 800; color: var(--c); font-size: 18px; }

.form-strip { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.form-strip .lbl { color: var(--mute); margin-right: 6px; font-size: 15px; }
.fb { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #000; }
.fb.W { background: var(--win); } .fb.D { background: var(--draw); } .fb.L { background: var(--loss); }
.list { display: flex; flex-direction: column; gap: 10px; }
.result { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.result .d { color: var(--mute); font-size: 14px; }
.result .t { font-weight: 700; font-size: 18px; }
.result .t small { display: block; color: var(--mute); font-weight: 400; font-size: 14px; }
.score { font-size: 24px; font-weight: 900; padding: 4px 14px; border-radius: 10px; white-space: nowrap; }
.score.W { background: color-mix(in srgb, var(--win) 22%, transparent); color: var(--win); }
.score.D { background: color-mix(in srgb, var(--draw) 22%, transparent); color: var(--draw); }
.score.L { background: color-mix(in srgb, var(--loss) 22%, transparent); color: var(--loss); }
.more { margin-top: 14px; background: none; border: 1px solid var(--line); color: var(--text); padding: 10px 22px; border-radius: 999px; cursor: pointer; font: inherit; }

.pos-group { margin-bottom: 30px; }
.pos-group h3 { font-size: 18px; color: var(--mute); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.player { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; position: relative; }
.player .ph { aspect-ratio: 3/4; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 40%, #222), #111); display: grid; place-items: center; overflow: hidden; }
.player .ph img { width: 100%; height: 100%; object-fit: cover; }
.player .ph .big { font-size: 80px; font-weight: 900; color: rgba(255,255,255,.25); }
.player .num { position: absolute; top: 10px; left: 10px; background: var(--c); color: #fff; font-weight: 900; font-size: 20px; min-width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; padding: 0 6px; }
.player .role { position: absolute; top: 10px; right: 10px; background: #fff; color: #000; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.player .info { padding: 12px 14px; }
.player .info b { display: block; font-size: 17px; }
.player .info span { color: var(--mute); font-size: 14px; }

.gallery { columns: 3 260px; column-gap: 12px; }
.gallery figure { break-inside: avoid; margin-bottom: 12px; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--card); }
.gallery img { width: 100%; height: auto; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; place-items: center; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox.show { display: grid; }
.lightbox img { max-height: 85vh; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox p { text-align: center; margin-top: 12px; color: #ddd; }

.about p { font-size: 18px; color: #d1d5db; white-space: pre-line; max-width: 820px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ct { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; }
a.ct:hover { border-color: var(--c); }
.ct .ic { font-size: 28px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); flex: none; }
.ct small { color: var(--mute); display: block; font-size: 14px; }
.ct b { font-size: 18px; word-break: break-word; }

footer { text-align: center; color: var(--mute); padding: 50px 20px 40px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 15px; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu-open .nav nav { display: flex; }
  .nav nav a { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 18px; }
  .hero { min-height: min(70vh, 640px); }
  .stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .stat { min-width: 0; padding: 10px 4px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 12px; }
  .hero-logo { width: 120px; height: 120px; }
  .result { grid-template-columns: 1fr auto; }
  .result .d { grid-column: 1 / -1; }
  .squad { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}
