:root {
    --bg: #09090d;
    --panel: #111217;
    --panel-2: #16171d;
    --line: rgba(255, 255, 255, 0.08);
    --muted: #8b8d96;
    --text: #f5f5f2;
    --gold: #ffc400;
    --gold-2: #f2a900;
    --green: #00d768;
    --red: #ff3c4b;
    --font-display: "Barlow Condensed", sans-serif;
    --font-body: "Inter", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 196, 0, 0.07), transparent 32rem),
        #09090d;
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 46px 46px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(255, 196, 0, .09);
    transform: rotate(35deg);
    pointer-events: none;
}

.ambient-one {
    top: 22%;
    left: -25rem;
}

.ambient-two {
    right: -27rem;
    bottom: -4rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(5, 5, 8, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    display: block;
    width: 47px;
    height: 47px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(255, 196, 0, .18);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    line-height: .95;
}

.brand-copy strong {
    font-size: 23px;
    letter-spacing: .04em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .12em;
}

.primary-nav {
    display: flex;
    align-self: stretch;
    justify-content: center;
    gap: clamp(22px, 3vw, 44px);
}

.primary-nav a {
    position: relative;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .045em;
    transition: color .2s ease;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 2px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: white;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    transform: scaleX(1);
}

.search-trigger,
.menu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.language-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 8px;
    color: var(--gold);
    background: #0d0e12;
    border: 1px solid var(--line);
    border-radius: 5px;
}

.language-picker select {
    max-width: 86px;
    color: #d8d9dc;
    background: transparent;
    border: 0;
    outline: none;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.language-picker option {
    color: #111;
    background: white;
}

.search-trigger {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--gold);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 17px;
}

.menu-toggle {
    display: none;
}

.page-shell {
    width: min(1100px, calc(100% - 40px));
    margin: auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
    padding: 65px 0 46px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .17em;
}

.eyebrow span {
    width: 26px;
    height: 2px;
    background: var(--gold);
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: .92;
    text-transform: uppercase;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero-copy {
    max-width: 650px;
    margin: 20px 0 0;
    color: #a9abb3;
    font-size: 15px;
}

.live-stat {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.live-stat strong {
    font-family: var(--font-display);
    font-size: 46px;
    line-height: 1;
}

.live-stat small {
    grid-column: 1 / -1;
    margin-top: 3px;
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .11em;
    text-align: right;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    margin-right: 12px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 60, 75, .12);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 11px rgba(255, 60, 75, 0); }
}

.match-centre {
    padding-bottom: 36px;
}

.football-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 66px;
    padding: 13px 20px;
    background: linear-gradient(180deg, #15161d, #0e0f13);
    border: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
}

.football-bar > div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: .04em;
}

.feed-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    color: #8f929b;
    background: #090a0d;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.feed-status i {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 215, 104, .09);
}

.centre-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timezone-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    color: #7e8089;
    background: #090a0d;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 10px;
}

.timezone-status i {
    color: var(--gold);
}

.timezone-status b {
    font-weight: 600;
}

.sport-icon {
    margin-right: 5px;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 14px 4px;
}

.filter {
    padding: 12px 10px;
    color: #d1d2d5;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
}

.filter > b {
    font: inherit;
}

.filter span {
    display: inline-grid;
    min-width: 21px;
    height: 21px;
    margin-left: 4px;
    padding: 0 4px;
    place-items: center;
    color: #111;
    background: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 10px;
}

.filter.active {
    color: #131313;
    background: linear-gradient(90deg, #e5b831, var(--gold));
    box-shadow: 0 7px 25px rgba(255, 196, 0, .12);
}

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

.match-card {
    position: relative;
    overflow: hidden;
    background: #0c0c10;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    isolation: isolate;
    transition:
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .3s ease,
        transform .3s cubic-bezier(.2, .75, .25, 1),
        opacity .25s ease;
}

.match-card::before {
    position: absolute;
    inset: 40px 0 38px;
    opacity: .5;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 196, 0, .09), transparent 35%),
        linear-gradient(115deg, transparent 0 40%, rgba(255,255,255,.025) 41% 43%, transparent 44% 100%);
    content: "";
    transition: opacity .3s ease, transform .45s ease;
}

.match-card::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.085) 48%, transparent 68%);
    content: "";
    pointer-events: none;
    transform: translateX(-135%);
    transition: transform .65s ease;
}

.match-card.is-live {
    border-color: rgba(255, 60, 75, .42);
}

.match-card:focus-within {
    border-color: rgba(255, 196, 0, .62);
    box-shadow: 0 0 0 2px rgba(255, 196, 0, .16), 0 18px 40px rgba(0, 0, 0, .42);
}

.match-card[hidden] {
    display: none;
}

.match-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 11px 0;
}

.league {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
}

.match-time {
    padding: 4px 7px;
    color: #fff;
    background: #9e2b34;
    border-radius: 3px;
    font-family: var(--font-display);
    font-size: 12px;
}

.match-time small {
    color: rgba(255,255,255,.7);
    font-size: 10px;
}

.match-time > b {
    font: inherit;
}

.live-time {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,60,75,.16);
    border: 1px solid rgba(255,60,75,.42);
}

.live-time i {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.match-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 105px 1fr;
    align-items: center;
    min-height: 137px;
    padding: 8px 20px 12px;
}

.team {
    min-width: 0;
    text-align: center;
}

.team strong {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .25s ease, transform .25s ease;
}

.crest {
    position: relative;
    display: grid;
    width: 62px;
    height: 72px;
    margin: auto;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, #d91e36, #750015);
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 48% 48% 60% 60% / 35% 35% 65% 65%;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .4);
    transition: filter .3s ease, transform .3s cubic-bezier(.2, .75, .25, 1);
}

.team-logo {
    display: grid;
    width: 72px;
    height: 72px;
    margin: auto;
    place-items: center;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
    transition: filter .3s ease, transform .3s cubic-bezier(.2, .75, .25, 1);
}

.team-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.crest::before,
.crest::after {
    position: absolute;
    content: "";
}

.crest::before {
    inset: 7px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: inherit;
}

.crest::after {
    top: -5px;
    width: 31px;
    height: 8px;
    background: inherit;
    border: 2px solid rgba(255, 255, 255, .65);
    border-radius: 6px 6px 2px 2px;
}

.crest span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0,0,0,.45);
}

.crest-2 { background: linear-gradient(145deg, #1565c0, #002f6c); }
.crest-3 { background: linear-gradient(145deg, #00a76f, #00563b); }
.crest-4 { background: linear-gradient(145deg, #ffc400, #ba6f00); color: #171717; }
.crest-5 { background: linear-gradient(145deg, #7438d6, #35116e); }
.crest-6 { background: linear-gradient(145deg, #e8e8eb, #858995); color: #141414; }

.versus {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.vs,
.score {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 800;
}

.score {
    color: var(--gold);
}

.watch-button {
    display: inline-block;
    padding: 7px 11px;
    color: #07150c;
    background: linear-gradient(135deg, #21b85f, #00e56e);
    border: 0;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0, 215, 104, .2);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

.watch-button:hover {
    filter: brightness(1.12);
    transform: scale(1.04);
}

.watch-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.watch-button.unavailable,
.watch-button:disabled {
    color: #6f7179;
    background: #212229;
    box-shadow: none;
    cursor: not-allowed;
}

.watch-button.unavailable:hover,
.watch-button:disabled:hover {
    filter: none;
    transform: none;
}

.watch-button span {
    font-size: 8px;
}

.commentators {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 38px;
    padding: 7px 10px;
    overflow: hidden;
    color: #b3b4ba;
    background: rgba(255, 255, 255, .035);
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 10px;
    white-space: nowrap;
    transition: background-color .25s ease, border-color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .match-card:hover {
        background: #101015;
        border-color: rgba(255, 196, 0, .5);
        box-shadow:
            0 20px 45px rgba(0, 0, 0, .5),
            0 0 0 1px rgba(255, 196, 0, .08),
            0 0 32px rgba(255, 196, 0, .08);
        transform: translateY(-5px) scale(1.008);
    }

    .match-card.is-live:hover {
        border-color: rgba(255, 60, 75, .7);
        box-shadow:
            0 20px 45px rgba(0, 0, 0, .5),
            0 0 0 1px rgba(255, 60, 75, .1),
            0 0 34px rgba(255, 60, 75, .1);
    }

    .match-card:hover::before {
        opacity: .95;
        transform: scale(1.06);
    }

    .match-card:hover::after {
        transform: translateX(135%);
    }

    .match-card:hover .team-logo,
    .match-card:hover .crest {
        filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .58)) brightness(1.08);
        transform: translateY(-3px) scale(1.055);
    }

    .match-card:hover .team strong {
        color: #fff2bf;
        transform: translateY(-1px);
    }

    .match-card:hover .commentators {
        background: rgba(255, 196, 0, .055);
        border-top-color: rgba(255, 196, 0, .16);
    }
}

@media (prefers-reduced-motion: reduce) {
    .match-card,
    .match-card::before,
    .match-card::after,
    .match-card .team-logo,
    .match-card .crest,
    .match-card .team strong {
        transition: none;
    }

    .match-card:hover,
    .match-card:hover .team-logo,
    .match-card:hover .crest,
    .match-card:hover .team strong {
        transform: none;
    }

    .match-card::after {
        display: none;
    }
}

.commentator-label {
    color: #575961;
    font-size: 9px;
}

.commentator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.commentator i {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    color: #111;
    background: var(--gold);
    border: 1px solid #ffe685;
    border-radius: 50%;
    font-style: normal;
    font-weight: 800;
}

.empty-state {
    padding: 70px 20px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 8px;
}

.empty-state > i {
    font-size: 34px;
}

.empty-state h2 {
    margin: 10px 0 4px;
    color: white;
    font-family: var(--font-display);
    font-size: 28px;
}

.empty-state p {
    margin: 0;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 24px 0 70px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.info-strip > div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px;
}

.info-strip > div + div {
    border-left: 1px solid var(--line);
}

.info-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--gold);
    background: rgba(255, 196, 0, .07);
    border: 1px solid rgba(255, 196, 0, .16);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
}

.info-strip p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.info-strip strong {
    font-family: var(--font-display);
    font-size: 17px;
}

.info-strip small {
    color: var(--muted);
}

.site-footer {
    background: #050507;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    width: min(1100px, calc(100% - 40px));
    min-height: 110px;
    margin: auto;
    color: #686a72;
    font-size: 12px;
}

.footer-brand {
    transform: scale(.82);
    transform-origin: left;
}

.copyright {
    text-align: right;
}

.search-overlay,
.player-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    padding: 20px;
    place-items: center;
    visibility: hidden;
    background: rgba(0, 0, 0, .82);
    opacity: 0;
    backdrop-filter: blur(12px);
    transition: opacity .25s ease, visibility .25s ease;
}

.search-overlay.open,
.player-modal.open {
    visibility: visible;
    opacity: 1;
}

.search-panel,
.player-dialog {
    position: relative;
    width: min(620px, 100%);
    padding: 36px;
    background: #111217;
    border: 1px solid rgba(255, 196, 0, .24);
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    transform: translateY(15px);
    transition: transform .25s ease;
}

.open .search-panel,
.open .player-dialog {
    transform: translateY(0);
}

.search-panel h2,
.player-meta h2 {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1;
}

.search-panel input {
    width: 100%;
    padding: 16px 18px;
    color: white;
    background: #08090d;
    border: 1px solid #363843;
    border-radius: 6px;
    outline: none;
}

.search-panel input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255,196,0,.08);
}

.search-help,
.player-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.search-results {
    display: grid;
    gap: 7px;
    max-height: 310px;
    margin-top: 16px;
    overflow-y: auto;
}

.search-result {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 14px;
    padding: 11px 12px;
    color: #d9dade;
    background: #0b0c10;
    border: 1px solid #292b33;
    border-radius: 5px;
    text-align: left;
    cursor: pointer;
}

.search-result:hover {
    border-color: rgba(255, 196, 0, .45);
}

.search-result strong {
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result small {
    grid-column: 1;
    color: #686a72;
    font-size: 9px;
}

.search-result time,
.search-result > span {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 11px;
}

.search-result-message {
    padding: 22px 12px;
    color: #777982;
    text-align: center;
    font-size: 12px;
}

.overlay-close,
.player-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    color: #858791;
    background: #1b1c22;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.player-dialog {
    width: min(800px, 100%);
    padding: 0;
    overflow: hidden;
}

.player-stage {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(255,196,0,.14), transparent 34%),
        linear-gradient(135deg, #171920, #08090c);
}

.player-stage video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: #000;
}

.player-stage::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
}

.player-placeholder {
    position: relative;
    z-index: 1;
    text-align: center;
}

.play-ring {
    display: grid;
    width: 76px;
    height: 76px;
    margin: auto;
    padding-left: 4px;
    place-items: center;
    color: #111;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(255,196,0,.08);
}

.player-placeholder p {
    margin: 20px 0 0;
    color: #80828b;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .18em;
}

.player-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 28px 0;
}

.player-meta h2 {
    margin-bottom: 0;
}

.player-meta .eyebrow {
    margin-bottom: 8px;
}

.api-status {
    padding: 7px 10px;
    color: #ad8610;
    background: rgba(255,196,0,.06);
    border: 1px solid rgba(255,196,0,.18);
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.player-note {
    padding: 0 28px 25px;
}

.language-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 28px 0;
}

.language-button {
    padding: 8px 12px;
    color: #c8c9ce;
    background: #1b1c22;
    border: 1px solid #343640;
    border-radius: 5px;
    font-family: var(--font-display);
    font-weight: 700;
    cursor: pointer;
}

.language-button:hover,
.language-button.active {
    color: #111;
    background: var(--gold);
    border-color: var(--gold);
}

.language-button small {
    margin-left: 4px;
    opacity: .65;
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-left: 18px;
    }

    .menu-toggle span:not(.sr-only) {
        width: 22px;
        height: 2px;
        background: var(--gold);
    }

    .primary-nav {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px 20px 16px;
        background: #09090d;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav a {
        justify-content: start;
        min-height: 44px;
    }

    .primary-nav a::after {
        display: none;
    }

    .search-trigger {
        justify-self: end;
    }

    .matches-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .header-inner,
    .page-shell,
    .footer-inner {
        width: min(100% - 24px, 1100px);
    }

    .header-inner {
        min-height: 64px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
    }

    .brand-copy strong {
        font-size: 20px;
    }

    .brand-copy small {
        font-size: 9px;
    }

    .language-picker {
        padding-inline: 7px;
    }

    .language-picker select {
        width: 45px;
    }

    .primary-nav {
        top: 64px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 46px 0 35px;
    }

    .hero h1 {
        font-size: clamp(43px, 15vw, 65px);
    }

    .live-stat {
        justify-self: start;
    }

    .football-bar {
        align-items: flex-start;
        flex-direction: column;
        padding-inline: 13px;
    }

    .football-bar > div {
        font-size: 15px;
    }

    .filter-bar {
        display: flex;
        margin-inline: -12px;
        padding-inline: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .filter {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .match-body {
        grid-template-columns: 1fr 92px 1fr;
        padding-inline: 9px;
    }

    .team strong {
        font-size: 13px;
    }

    .crest {
        width: 55px;
        height: 64px;
    }

    .commentator-label {
        display: none;
    }

    .commentators {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .info-strip {
        grid-template-columns: 1fr;
    }

    .info-strip > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 25px 0;
    }

    .footer-inner p {
        margin: 0;
    }

    .copyright {
        text-align: left;
    }

    .search-panel {
        padding: 28px 22px;
    }

    .player-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
