:root {
    --red: #c61020;
    --red-dark: #870915;
    --gold: #f6c542;
    --gold-soft: #fff3c7;
    --ink: #141414;
    --muted: #6e6e73;
    --line: #e8e8ea;
    --surface: #ffffff;
    --surface-alt: #f5f5f6;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(20, 20, 20, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--surface-alt);
    color: var(--ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.site-shell { min-height: 100vh; overflow: hidden; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 15, 16, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}
.topbar__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; color: #fff; min-width: 250px; }
.brand__logo { width: 56px; height: 56px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 20px; letter-spacing: .08em; }
.brand__text small { color: rgba(255,255,255,.62); font-size: 12px; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #fff; font-weight: 700; font-size: 14px; }
.main-nav a { position: relative; padding: 30px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 3px; background: var(--gold); transition: .2s; }
.main-nav a:hover::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 0; background: rgba(255,255,255,.08); border-radius: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 75% 35%, rgba(246,197,66,.22), transparent 28%),
        linear-gradient(125deg, #8e0815 0%, #c61020 48%, #50050d 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: linear-gradient(30deg, transparent 45%, rgba(255,255,255,.2) 46%, transparent 47%);
    background-size: 40px 40px;
}
.hero__inner { position: relative; min-height: 510px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; }
.hero__copy { padding: 70px 0; max-width: 690px; }
.eyebrow { display: inline-block; color: var(--red); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { margin: 11px 0 18px; font-size: clamp(48px, 7vw, 86px); line-height: .95; letter-spacing: -.045em; }
.hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.8); font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.btn { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 0 23px; border-radius: 12px; font-weight: 800; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #231b00; }
.btn--ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.hero__crest { position: relative; display: grid; place-items: center; padding: 50px 0; }
.hero__crest img { position: relative; z-index: 2; width: min(360px, 82vw); filter: drop-shadow(0 25px 35px rgba(0,0,0,.35)); }
.crest-glow { position: absolute; width: 370px; height: 370px; border-radius: 50%; background: rgba(246,197,66,.19); filter: blur(35px); }

.match-strip { position: relative; z-index: 3; margin-top: -45px; }
.match-card { min-height: 130px; display: grid; grid-template-columns: 1fr 1.35fr auto; align-items: center; gap: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 23px 28px; }
.match-card__meta { display: flex; flex-direction: column; }
.match-label { align-self: flex-start; margin-bottom: 8px; padding: 5px 9px; border-radius: 7px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.match-card__meta strong { font-size: 16px; }
.match-card__meta small, .match-vs small { color: var(--muted); }
.match-card__teams { display: flex; align-items: center; justify-content: center; gap: 28px; }
.team-side { min-width: 105px; display: flex; align-items: center; gap: 10px; font-weight: 900; }
.team-side img, .team-placeholder { width: 47px; height: 47px; object-fit: contain; }
.team-placeholder { display: grid; place-items: center; border-radius: 50%; background: var(--surface-alt); border: 1px solid var(--line); color: var(--muted); }
.team-side--away { justify-content: flex-end; }
.match-vs { min-width: 100px; text-align: center; }
.match-vs b { display: block; color: var(--red); font-size: 22px; }
.match-card__link { color: var(--red); font-size: 14px; font-weight: 900; white-space: nowrap; }

.page-main { padding: 74px 0 80px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 34px; }
.section-heading, .side-card__title { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading { margin-bottom: 25px; }
.section-heading h2, .page-heading h1 { margin: 4px 0 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.section-heading > a, .side-card__title a { color: var(--red); font-size: 14px; font-weight: 900; }
.page-heading { margin-bottom: 26px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.035); transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #ececee; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-card__image img { transform: scale(1.035); }
.news-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-dark), var(--red)); color: var(--gold); }
.news-card__fallback span { display: grid; place-items: center; width: 95px; height: 95px; border: 4px solid var(--gold); border-radius: 50%; font-size: 48px; font-weight: 900; }
.news-card__date { position: absolute; left: 15px; bottom: 14px; padding: 7px 10px; border-radius: 8px; background: rgba(15,15,16,.88); color: #fff; font-size: 12px; font-weight: 800; }
.news-card__body { padding: 20px 21px 22px; }
.news-card__meta { color: var(--red); font-size: 12px; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.news-card h2 { margin: 7px 0 10px; font-size: 23px; line-height: 1.18; letter-spacing: -.02em; }
.news-card h2 a:hover { color: var(--red); }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }
.read-more { display: inline-block; margin-top: 17px; color: var(--red); font-size: 14px; font-weight: 900; }

.sidebar { display: grid; gap: 20px; }
.side-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.side-card h3 { margin: 5px 0 10px; font-size: 23px; line-height: 1.14; }
.side-card p { margin: 0; color: var(--muted); font-size: 14px; }
.side-card--accent { color: #fff; border: 0; background: linear-gradient(145deg, #171717, #2b2b2d); box-shadow: var(--shadow); }
.side-card--accent .eyebrow { color: var(--gold); }
.side-card--accent p { color: rgba(255,255,255,.65); }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.social-links a { padding: 10px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; font-size: 13px; font-weight: 800; }
.side-card__title { align-items: center; margin-bottom: 15px; }
.side-card__title h3 { margin: 0; }
.mini-table { border-top: 1px solid var(--line); }
.mini-table__row { display: grid; grid-template-columns: 28px 1fr 28px; gap: 8px; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mini-table__row b { text-align: right; }
.mini-table__head { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.side-card--stadium { position: relative; overflow: hidden; background: var(--red); color: #fff; border: 0; }
.side-card--stadium::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; bottom: -60px; border: 25px solid rgba(246,197,66,.23); border-radius: 50%; }
.side-card--stadium .eyebrow { color: var(--gold); }
.side-card--stadium p { color: rgba(255,255,255,.68); }
.side-card--stadium a { position: relative; z-index: 2; display: inline-block; margin-top: 18px; color: var(--gold); font-size: 14px; font-weight: 900; }

.article-full { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); }
.article-full__meta { color: var(--muted); font-size: 13px; }
.article-full__meta a { color: var(--red); font-weight: 800; }
.article-full__header h1 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.article-full__cover { margin: 30px 0; }
.article-full__cover img { width: 100%; border-radius: 14px; }
.typography { font-size: 17px; }
.typography h2 { margin: 35px 0 13px; font-size: 30px; line-height: 1.15; }
.typography h3 { margin: 28px 0 10px; font-size: 23px; }
.typography p { margin: 0 0 18px; }
.typography a { color: var(--red); text-decoration: underline; }
.typography img { margin: 25px auto; border-radius: 13px; }
.typography blockquote { margin: 28px 0; padding: 20px 22px; border-left: 5px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; }
.article-full__footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.comments-block { margin-top: 40px; }
.category-intro { margin-bottom: 20px; color: var(--muted); }

.pagination { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.pagination a, .pagination span { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 0 11px; border-radius: 9px; }
.pagination a:hover, .pagination span { background: var(--red); color: #fff; }

.partners { padding: 42px 0; background: #fff; border-top: 1px solid var(--line); }
.partners__title { display: block; margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.partners__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.partners__grid div { min-height: 75px; display: grid; place-items: center; border: 1px dashed #d1d1d4; border-radius: 12px; color: #a0a0a4; font-weight: 900; letter-spacing: .1em; }
.footer { color: #fff; background: #111; }
.footer__inner { min-height: 135px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 54px; height: 54px; object-fit: contain; }
.footer__brand div { display: flex; flex-direction: column; }
.footer__brand span, .footer__copy { color: rgba(255,255,255,.52); font-size: 13px; }
.footer__links { display: flex; gap: 22px; font-size: 13px; font-weight: 800; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { text-align: right; }

@media (max-width: 1000px) {
    .main-nav { position: absolute; left: 18px; right: 18px; top: 75px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #171717; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 13px 14px; border-radius: 8px; }
    .main-nav a:hover { background: rgba(255,255,255,.06); }
    .main-nav a::after { display: none; }
    .menu-toggle { display: block; }
    .hero__inner { grid-template-columns: 1fr .65fr; }
    .match-card { grid-template-columns: 1fr; text-align: center; }
    .match-card__meta { align-items: center; }
    .match-card__link { justify-self: center; }
    .page-grid { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, 1180px); }
    .topbar__inner { min-height: 72px; }
    .brand__logo { width: 48px; height: 48px; }
    .brand__text strong { font-size: 17px; }
    .brand__text small { font-size: 10px; }
    .hero__inner { min-height: auto; grid-template-columns: 1fr; text-align: center; }
    .hero__copy { padding: 60px 0 20px; }
    .hero p { font-size: 16px; }
    .hero__actions { justify-content: center; }
    .hero__crest { padding: 0 0 70px; }
    .hero__crest img { width: 230px; }
    .crest-glow { width: 250px; height: 250px; }
    .match-strip { margin-top: -35px; }
    .match-card { padding: 22px 16px; }
    .match-card__teams { gap: 12px; }
    .team-side { min-width: 0; flex-direction: column; font-size: 12px; }
    .team-side--away { flex-direction: column-reverse; }
    .match-vs { min-width: 76px; }
    .page-main { padding: 55px 0; }
    .news-grid { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .partners__grid { grid-template-columns: repeat(2,1fr); }
    .footer__inner { grid-template-columns: 1fr; padding: 28px 0; text-align: center; }
    .footer__brand { justify-content: center; }
    .footer__links { justify-content: center; flex-wrap: wrap; }
    .footer__copy { text-align: center; }
}
