:root {
    --primary: #10b981;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: var(--secondary);
    color: #cbd5e1;
    font-size: 13px;
}

.top-strip__inner,
.header-main,
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.top-strip__inner { min-height: 34px; }

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 80;
}

.header-main { min-height: 84px; }

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.brand strong {
    display: block;
    font-size: 26px;
    letter-spacing: -.04em;
}

.brand small {
    color: var(--muted);
    display: block;
    font-size: 13px;
}

.main-nav {
    display: flex;
    gap: 16px;
    font-weight: 800;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 999px;
}

.main-nav a:hover {
    background: #ecfdf5;
    color: #047857;
}

.sport-nav {
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.sport-nav__scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 0;
}

.sport-nav a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 14px;
    font-weight: 800;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    margin: 28px 0 30px;
}

.hero-card {
    background: var(--secondary);
    color: #fff;
    border-radius: 30px;
    padding: clamp(28px, 5vw, 56px);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card:before {
    content: "";
    position: absolute;
    inset: -30% -20% auto auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .24);
}

.kicker {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: .95;
    letter-spacing: -.05em;
    margin: 14px 0 16px;
    max-width: 780px;
    position: relative;
}

.hero p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.55;
    max-width: 680px;
    position: relative;
}

.quick-panel {
    background: var(--surface);
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.panel-title {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 16px;
    letter-spacing: -.03em;
}

.league-list,
.match-list { display: grid; gap: 12px; }

.league-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: .18s ease;
}

.league-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.league-link strong { display: block; }
.league-link span,
.meta { color: var(--muted); font-size: 13px; }

.section { margin: 34px 0; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.section-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -.04em;
}

.section-head p {
    color: var(--muted);
    margin: 6px 0 0;
}

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.stat-card { display: grid; gap: 8px; }
.stat-value { font-size: 34px; font-weight: 950; letter-spacing: -.05em; }

.table-card { overflow: hidden; padding: 0; }

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: #f8fafc;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.team-name { font-weight: 800; }

.news-card { padding: 0; overflow: hidden; }

.news-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    background: #dbeafe;
    display: block;
}

.news-card__body { padding: 18px; }

.news-card h3 {
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 10px;
}

.match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.match-row .score {
    font-weight: 950;
    background: var(--secondary);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
}

.league-hero {
    margin: 26px 0;
    background: linear-gradient(135deg, #0f172a, #064e3b);
    color: #fff;
    border-radius: 30px;
    padding: 34px;
}

.league-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    margin: 8px 0;
    letter-spacing: -.05em;
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.tab {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 800;
}

.article {
    max-width: 820px;
    margin: 30px auto 60px;
    background: var(--surface);
    padding: clamp(22px, 4vw, 42px);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.article h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -.05em;
    margin: 0 0 14px;
}

.article-content {
    font-size: 19px;
    line-height: 1.75;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    background: var(--secondary);
    color: #cbd5e1;
    margin-top: 50px;
    padding: 42px 0 0;
}

.site-footer strong { color: #fff; font-size: 22px; }

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    background: rgba(255,255,255,.08);
    padding: 9px 12px;
    border-radius: 999px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    padding: 18px;
    margin-top: 28px;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .hero,
    .grid-2,
    .grid-3 { grid-template-columns: 1fr; }

    .header-main {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .match-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .container { width: min(100%, calc(100% - 22px)); }
    .brand small { display: none; }
    .data-table th:nth-child(n+5),
    .data-table td:nth-child(n+5) { display: none; }
}
