* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #f4f5f7;
    --white: #ffffff;
    --black: #101114;
    --text: #181a1f;
    --muted: #747983;
    --border: #e3e5e8;

    --accent: #dc2626;
    --accent-hover: #b91c1c;

    --header: #16171a;
    --header-border: #292b30;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
}


/* =========================
   SLIM HEADER
========================= */

.site-header {
    height: 30px;

    background: var(--header);

    border-bottom: 1px solid var(--header-border);

    position: sticky;
    top: 0;

    z-index: 100;
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.7px;

    color: #ffffff;
}

.logo span {
    color: #ef4444;
}

.nav {
    display: flex;

    align-items: center;

    gap: 22px;
}

.nav a {
    color: #b9bcc1;

    font-size: 12px;

    font-weight: 700;
}

.nav a:hover {
    color: #ffffff;
}


/* =========================
   HERO
========================= */

.hero {
    background:
        linear-gradient(
            135deg,
            #15161a 0%,
            #1d1e23 100%
        );

    color: white;
}

.hero-inner {
    min-height: 350px;

    display: flex;

    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.eyebrow,
.section-label {
    display: inline-block;

    color: var(--accent);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.6px;
}

.hero h1 {
    margin-top: 7px;

    font-size: clamp(44px, 6vw, 68px);

    line-height: 1;

    letter-spacing: -3px;
}

.hero p {
    max-width: 620px;

    margin-top: 18px;

    color: #b9bdc3;

    font-size: 16px;
}

.hero-buttons {
    display: flex;

    gap: 9px;

    margin-top: 24px;

    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    min-height: 40px;

    padding: 0 16px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 800;
}

.btn-primary {
    background: var(--accent);

    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    border: 1px solid #3b3e44;

    color: white;
}

.btn-secondary:hover {
    background: #25272c;
}


/* =========================
   SECTIONS
========================= */

.schedule-section {
    padding: 48px 0;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 21px;
}

.section-heading.simple {
    align-items: flex-start;
}

.section-heading h2 {
    margin-top: 3px;

    font-size: 27px;

    line-height: 1.2;

    letter-spacing: -0.7px;
}

.date-box {
    background: white;

    border: 1px solid var(--border);

    border-radius: 6px;

    padding: 8px 12px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 700;
}


/* =========================
   FILTERS
========================= */

.filters {
    display: flex;

    gap: 6px;

    overflow-x: auto;

    padding-bottom: 5px;

    margin-bottom: 15px;
}

.filter {
    flex: 0 0 auto;

    border: 1px solid var(--border);

    background: white;

    color: #646970;

    border-radius: 6px;

    padding: 7px 13px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 800;
}

.filter:hover {
    border-color: #c5c9ce;
}

.filter.active {
    background: var(--accent);

    border-color: var(--accent);

    color: white;
}


/* =========================
   EVENT CARD
========================= */

.schedule-list {
    display: grid;

    gap: 8px;
}

.event-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 13px 15px;

    display: grid;

    grid-template-columns:
        105px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 17px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.event-card:hover {
    border-color: #c8ccd1;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .04);

    transform: translateY(-1px);
}


/* TIME */

.event-time {
    color: var(--muted);

    font-size: 11px;

    font-weight: 800;
}


/* EVENT INFO */

.event-info {
    min-width: 0;
}

.event-league {
    color: var(--accent);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 5px;
}


/* TEAMS */

.teams {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}

.team {
    display: flex;

    align-items: center;

    gap: 7px;

    min-width: 0;
}

.team-logo {
    width: 30px;
    height: 30px;

    object-fit: contain;

    flex: 0 0 30px;
}

.team-name {
    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.vs {
    color: #a0a4aa;

    font-size: 10px;

    font-weight: 800;

    flex: 0 0 auto;
}


/* LOCATION */

.event-location {
    margin-top: 5px;

    color: var(--muted);

    font-size: 10px;
}


/* EVENT BUTTON */

.event-link {
    min-height: 34px;

    padding: 0 12px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: #f0f1f3;

    border-radius: 6px;

    font-size: 10px;

    font-weight: 900;

    white-space: nowrap;
}

.event-link:hover {
    background: var(--accent);

    color: white;
}


/* =========================
   LOADING
========================= */

.loading {
    min-height: 170px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    color: var(--muted);

    font-size: 12px;
}

.loader {
    width: 25px;
    height: 25px;

    border: 3px solid #e2e4e7;

    border-top-color: var(--accent);

    border-radius: 50%;

    animation: spin .8s linear infinite;

    margin-bottom: 10px;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================
   MESSAGE
========================= */

.message {
    background: white;

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 26px;

    text-align: center;

    color: var(--muted);

    font-size: 12px;
}

.message strong {
    display: block;

    margin-bottom: 4px;

    color: var(--text);

    font-size: 14px;
}


/* =========================
   SPORTS
========================= */

.sports-section {
    padding: 10px 0 55px;
}

.sports-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;
}

.sport-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    transition:
        border-color .15s ease,
        transform .15s ease;
}

.sport-card:hover {
    border-color: #c8ccd1;

    transform: translateY(-2px);
}

.sport-icon {
    font-size: 23px;

    margin-bottom: 9px;
}

.sport-card strong {
    font-size: 14px;
}

.sport-card small {
    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================
   ARTICLE
========================= */

.article-section {
    padding: 0 0 65px;
}

.article-container {
    max-width: 900px;
}

.article {
    background: white;

    border: 1px solid var(--border);

    border-radius: 9px;

    overflow: hidden;
}

.article-header {
    padding: 30px 34px 23px;

    border-bottom: 1px solid var(--border);
}

.article-header h2 {
    max-width: 780px;

    margin-top: 7px;

    font-size: 29px;

    line-height: 1.2;

    letter-spacing: -.9px;
}

.article-meta {
    margin-top: 10px;

    color: var(--muted);

    font-size: 11px;
}

.article-content {
    padding: 29px 34px 35px;
}

.article-content p {
    margin-bottom: 17px;

    color: #565c63;

    font-size: 14px;

    line-height: 1.8;
}

.article-content strong {
    color: var(--text);
}

.article-content h3 {
    margin-top: 29px;

    margin-bottom: 9px;

    font-size: 20px;

    line-height: 1.3;

    letter-spacing: -.3px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--header);

    color: white;

    padding: 32px 0 18px;
}

.footer-top {
    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    font-size: 18px;

    font-weight: 800;
}

.footer-logo span {
    color: #ef4444;
}

.footer-brand p {
    max-width: 320px;

    margin-top: 5px;

    color: #858a91;

    font-size: 11px;
}

.footer-links {
    display: flex;

    gap: 18px;
}

.footer-links a {
    color: #aeb2b7;

    font-size: 11px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 24px;

    padding-top: 16px;

    border-top: 1px solid #292c30;

    color: #72777d;

    font-size: 10px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    .container {
        width: min(100% - 20px, 1120px);
    }

    .site-header {
        height: 50px;
    }

    .logo {
        font-size: 18px;
    }

    .nav {
        gap: 13px;
    }

    .nav a {
        font-size: 10px;
    }

    .hero-inner {
        min-height: 315px;
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 14px;
    }

    .schedule-section {
        padding: 38px 0;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 24px;
    }


    /* EVENT MOBILE */

    .event-card {
        grid-template-columns:
            1fr auto;

        gap: 9px 12px;

        padding: 13px;
    }

    .event-time {
        grid-column: 1 / -1;
    }

    .teams {
        gap: 7px;
    }

    .team-logo {
        width: 27px;
        height: 27px;

        flex-basis: 27px;
    }

    .team-name {
        font-size: 12px;
    }

    .event-link {
        grid-column: 2;

        grid-row: 2;

        align-self: center;
    }


    /* SPORTS */

    .sports-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* ARTICLE */

    .article-header {
        padding: 24px 19px 19px;
    }

    .article-header h2 {
        font-size: 23px;
    }

    .article-content {
        padding: 23px 19px 28px;
    }

    .article-content p {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .article-content h3 {
        font-size: 18px;
    }


    /* FOOTER */

    .footer-top {
        flex-direction: column;
    }

}


/* SMALL */

@media (max-width: 420px) {

    .nav a:nth-child(2) {
        display: none;
    }

    .hero h1 {
        font-size: 44px;
    }

    .sport-card {
        padding: 14px;
    }

}