:root {
    --bg: #0a0c12;
    --surface: #11141d;
    --surface-2: #161a26;
    --border: #232838;
    --red: #ef1c2d;
    --red-dark: #c80f1f;
    --text: #ffffff;
    --muted: #9aa3b5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 12, 18, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #141824;
}
.header-row { display: flex; align-items: center; gap: 14px; height: 72px; }
.burger {
    background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; display: grid; place-items: center;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand-logo-ph {
    display: grid; place-items: center; font-weight: 900; font-size: 22px;
    background: linear-gradient(135deg, #1d8bff, #0a5bd1); color: #fff;
}
.brand-text { font-weight: 800; font-size: 26px; letter-spacing: .5px; }
.brand-text .accent { color: var(--red); }

.main-nav { display: none; border-top: 1px solid #141824; background: #0d1018; }
.main-nav.open { display: block; }
.main-nav .wrap { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
.main-nav a { padding: 12px 4px; font-weight: 600; color: #d6dbe8; border-bottom: 1px solid #141824; }
.main-nav a:last-child { border-bottom: 0; }
.main-nav a:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 0; border-radius: 12px; font-weight: 800; letter-spacing: .4px; cursor: pointer;
    font-family: inherit; transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn-red {
    background: linear-gradient(180deg, #ff2d3e, var(--red-dark)); color: #fff;
    box-shadow: 0 6px 22px rgba(239, 28, 45, .28);
}
.btn-red:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-sm { padding: 12px 22px; font-size: 15px; border-radius: 12px; }
.btn-lg { padding: 16px 30px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; padding: 17px 20px; font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 46px 0 56px;
    background:
        linear-gradient(180deg, rgba(10,12,18,.78) 0%, rgba(10,12,18,.92) 70%, var(--bg) 100%),
        var(--hero-bg, radial-gradient(ellipse at 50% 0%, #2a0f16 0%, #0a0c12 70%)) center / cover no-repeat;
}
.hero-inner { text-align: center; }
.hero-title {
    margin: 0 auto 16px; max-width: 760px;
    font-size: clamp(30px, 6.4vw, 54px); font-weight: 900; line-height: 1.08; text-transform: uppercase; letter-spacing: -.5px;
}
.hero-sub { margin: 0 auto 26px; max-width: 560px; color: #c3c9d6; font-size: 16px; }

/* ---------- Player mock ---------- */
.player {
    max-width: 780px; margin: 34px auto 0; text-align: left;
    background: #0d1018; border: 1px solid #202638; border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.player-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.dots { display: flex; gap: 8px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.d1 { background: #ef4444; } .d2 { background: #eab308; } .d3 { background: #22c55e; }
.viewers {
    display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #c9cedb;
    background: #131723; border: 1px solid #232838; border-radius: 12px; padding: 8px 14px;
}
.viewers b { color: #fff; font-weight: 700; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239,28,45,.6); } 70% { box-shadow: 0 0 0 8px rgba(239,28,45,0); } 100% { box-shadow: 0 0 0 0 rgba(239,28,45,0); } }

.player-screen {
    position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
    background: linear-gradient(135deg, #1b2a14, #0f1a0b) center / cover no-repeat;
}
.player-screen::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.live-pill {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 12px;
    border: 1.5px solid var(--red); color: #ff5361; background: rgba(10,12,18,.55); font-weight: 800; font-size: 13px; letter-spacing: .6px;
}
.play-big {
    position: relative; z-index: 2; width: 82px; height: 82px; border-radius: 50%;
    background: linear-gradient(180deg, #ff2d3e, var(--red-dark)); color: #fff;
    display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(239,28,45,.18), 0 10px 30px rgba(239,28,45,.4);
    transition: transform .15s;
}
.play-big:hover { transform: scale(1.06); }
.player-controls {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 14px;
    display: flex; justify-content: space-between; align-items: center; color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
}
.ctl { display: inline-flex; align-items: center; gap: 12px; }
.quality {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 12px;
    background: rgba(20,24,35,.85); border: 1px solid #2b3144; border-radius: 10px;
}

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.kicker { color: var(--red); font-weight: 800; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 8px; }
.section-title { margin: 0 0 26px; font-size: clamp(28px, 5vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.empty { color: var(--muted); padding: 22px; border: 1px dashed var(--border); border-radius: 14px; text-align: center; }

/* ---------- Match cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card {
    background: var(--surface); border: 1px solid #251a24; border-radius: 18px; padding: 18px;
    display: flex; flex-direction: column; gap: 22px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(239,28,45,.65); transform: translateY(-2px); }
.card:first-child { border-color: rgba(239,28,45,.5); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.date-pill {
    display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #e6e9f2;
    background: #0e1119; border: 1px solid #232838; border-radius: 999px; padding: 8px 14px;
}
.date-pill svg { color: var(--red); flex: none; }
.tags { display: inline-flex; gap: 8px; align-items: center; }
.tag {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .4px;
    color: #ff4757; background: rgba(239,28,45,.12); border: 1px solid rgba(239,28,45,.28); border-radius: 8px; padding: 6px 14px;
    white-space: nowrap;
}
.tag-live { color: #fff; background: var(--red); border-color: var(--red); }
.tag-live .live-dot { background: #fff; }

.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; }
.side { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; min-width: 0; }
.side-img { width: 84px; height: 84px; object-fit: contain; }
.side-ph {
    display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 32px; color: #fff;
    background: linear-gradient(135deg, #2a3047, #151a28); border: 1px solid #2b3144;
}
.side-img-lg { width: 150px; height: 150px; border-radius: 16px; object-fit: cover; }
.side-ph.side-img-lg { border-radius: 16px; font-size: 52px; }
.side-name { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.vs {
    align-self: center; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(239,28,45,.12); border: 1px solid rgba(239,28,45,.4); color: #ff4757; font-weight: 800; font-size: 12px;
}
.single { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.single .side-name { font-size: 17px; }

/* ---------- Articles ---------- */
.articles { display: grid; gap: 20px; grid-template-columns: 1fr; }
.article-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.article-card:hover { border-color: rgba(239,28,45,.6); transform: translateY(-2px); }
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { padding: 16px 18px 20px; }
.article-body h3 { margin: 6px 0 8px; font-size: 19px; line-height: 1.3; }
.article-body p { margin: 0; color: var(--muted); font-size: 15px; }
.article-date { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }

.back { display: inline-block; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.back:hover { color: #fff; }
.post-title { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 8px 0 22px; font-weight: 800; }
.post-img { width: 100%; border-radius: 16px; margin-bottom: 26px; }
.post-content { font-size: 17px; color: #d5dae6; line-height: 1.75; }
.post-content h2, .post-content h3 { color: #fff; margin-top: 1.6em; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content img { border-radius: 12px; margin: 18px 0; }

/* ---------- Watch page ---------- */
.watch-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 30px; }
.watch-title { margin: 0; font-size: clamp(26px, 5vw, 38px); font-weight: 800; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.versus-lg { width: 100%; max-width: 560px; }
.versus-lg .side-img { width: 110px; height: 110px; }
.watch-slot {
    border: 1px dashed #2a3047; border-radius: 18px; background: var(--surface); aspect-ratio: 16 / 9;
    display: grid; place-items: center; color: var(--muted); max-width: 900px; margin: 0 auto;
}
.watch-slot-inner { text-align: center; }
.watch-slot-inner svg { width: 46px; height: 46px; color: var(--red); }

/* ---------- Event page ---------- */
.evt { padding: 28px 0 20px; background: radial-gradient(ellipse at 50% 0%, #2a0f16 0%, var(--bg) 60%); }
.evt-wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; text-align: center; }
.evt-wrap .back { display: block; text-align: left; }
.evt-top { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.evt-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
    color: #ff6b77; background: rgba(239,28,45,.1); border: 1px solid rgba(239,28,45,.3);
}
.evt-badge.is-live { color: #fff; background: var(--red); border-color: var(--red); }
.evt-badge.is-live .live-dot { background: #fff; }
.evt-status {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: #c9cedb; background: #131723; border: 1px solid #232838;
}
.evt-dot { width: 9px; height: 9px; border-radius: 50%; background: #6b7280; display: inline-block; }
.evt-status.ok .evt-dot { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.7); }
.evt-heading { margin: 0 0 12px; font-size: clamp(28px, 7vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.evt-sub { margin: 0 auto 26px; color: var(--muted); font-size: 17px; }
.evt-card {
    background: #000; border: 1px solid #1f2433; border-radius: 22px; padding: 28px 18px;
    display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 22px;
    box-shadow: inset 0 0 60px rgba(239,28,45,.06);
}
.evt-btn { width: 100%; padding: 20px; font-size: 19px; border-radius: 16px; text-transform: uppercase; }
.evt-note { margin: 12px 0 24px; color: #6f778a; font-size: 14px; }
.evt-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.evt-feat {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px;
}
.evt-feat-ic {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: #1d2130; color: #fff; font-size: 18px;
}
.evt-how { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 10px; }
.evt-how-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.evt-how-head h2 { margin: 0; font-size: 19px; }
.evt-how-head span { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.evt-how ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.evt-how li { counter-increment: step; display: flex; align-items: center; gap: 14px; color: #d5dae6; }
.evt-how li::before {
    content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(239,28,45,.14); color: #ff4757; font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #141824; padding: 26px 0; text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; color: #c9cedb; }
.footer-links a:hover { color: var(--red); }
.footer-note { max-width: 520px; margin: 0 auto 10px; font-size: 13px; }

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .articles { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 64px 0 70px; }
}
@media (min-width: 1000px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .articles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
    .brand-text { font-size: 22px; }
    .brand-logo { width: 40px; height: 40px; }
    .btn-sm { padding: 11px 16px; font-size: 14px; }
    .side-img { width: 72px; height: 72px; }
}
