.sm-c-home {
    --sm-c-red: var(--color-primary, #c91f2d);
    --sm-c-red-dark: var(--color-secondary, #7f1019);
    --sm-c-gold: var(--color-accent, #d8b160);
    --sm-c-bg: var(--color-background, #071016);
    --sm-c-bg-2: #0b151d;
    --sm-c-panel: rgba(255, 255, 255, .045);
    --sm-c-panel-strong: rgba(255, 255, 255, .07);
    --sm-c-line: rgba(255, 255, 255, .16);
    --sm-c-text: var(--color-text, #f8fafc);
    --sm-c-muted: #aeb7c1;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #070d12 0%, #081017 46%, #050b10 100%);
    color: var(--sm-c-text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.main-content:has(.sm-c-home) {
    padding: 0 !important;
}

.sm-c-home,
.sm-c-home * {
    box-sizing: border-box;
}

.sm-c-home a {
    color: inherit;
    text-decoration: none;
}

.sm-c-home img {
    display: block;
    max-width: 100%;
}

.sm-c-shell,
.sm-c-header,
.sm-c-footer-grid,
.sm-c-footer-bottom {
    width: min(1140px, calc(100% - 72px));
    margin: 0 auto;
}

.sm-c-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(6, 11, 16, .96) 0%, rgba(6, 11, 16, .84) 34%, rgba(6, 11, 16, .42) 62%, rgba(6, 11, 16, .74) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .08), #081016 100%),
        var(--sm-c-hero-image) 72% 38% / cover no-repeat;
}

.sm-c-hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 18%),
        linear-gradient(90deg, rgba(201, 31, 45, .13), transparent 42%);
    content: "";
    pointer-events: none;
}

.sm-c-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--sm-c-bg));
    content: "";
}

.sm-c-header {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 104px;
}

.sm-c-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.sm-c-brand img {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.sm-c-brand span {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.sm-c-brand strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.sm-c-brand small {
    display: block;
    color: var(--sm-c-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .42em;
    text-transform: uppercase;
}

.sm-c-nav,
.sm-c-top-socials,
.sm-c-header-side {
    display: flex;
    align-items: center;
}

.sm-c-nav {
    justify-content: center;
    gap: clamp(12px, 1.55vw, 25px);
}

.sm-c-nav a,
.sm-c-nav-group > a {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.sm-c-nav > a:first-child::after,
.sm-c-nav > a:hover::after,
.sm-c-nav-group:hover > a::after {
    width: 100%;
}

.sm-c-nav > a::after,
.sm-c-nav-group > a::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--sm-c-red);
    content: "";
    transition: width .18s ease;
}

.sm-c-nav-group {
    position: relative;
}

.sm-c-nav-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 50;
    display: grid;
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--sm-c-line);
    border-radius: 8px;
    background: rgba(8, 16, 23, .98);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .34);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
}

.sm-c-nav-group:hover .sm-c-nav-menu,
.sm-c-nav-group:focus-within .sm-c-nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.sm-c-nav-menu a {
    padding: 11px 12px;
    border-radius: 6px;
}

.sm-c-nav-menu a:hover {
    background: rgba(201, 31, 45, .2);
}

.sm-c-header-side {
    justify-content: flex-end;
    gap: 18px;
}

.sm-c-top-socials {
    gap: 14px;
}

.sm-c-top-socials a {
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}

.sm-c-top-socials a:hover {
    color: #fff;
}

.sm-c-join,
.sm-c-btn,
.sm-c-match-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    padding: 0 22px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-join,
.sm-c-btn-red,
.sm-c-match-action {
    background: linear-gradient(135deg, var(--sm-c-red), var(--sm-c-red-dark));
    color: #fff !important;
    box-shadow: 0 15px 34px rgba(201, 31, 45, .28);
}

.sm-c-hero-content {
    position: relative;
    z-index: 3;
    width: min(1140px, calc(100% - 72px));
    margin: 0 auto;
    padding: 24px 0 36px;
}

.sm-c-hero h1 {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(58px, 7.8vw, 92px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .92;
    text-transform: uppercase;
}

.sm-c-hero h1 span {
    color: var(--sm-c-red);
}

.sm-c-hero p {
    max-width: 410px;
    margin: 26px 0 0;
    color: #f0f3f6;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 700;
}

.sm-c-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.sm-c-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .035);
    color: #fff !important;
}

.sm-c-btn-light {
    background: #fff;
    color: var(--sm-c-red-dark) !important;
}

.sm-c-dots {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.sm-c-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .42);
}

.sm-c-dots .is-active {
    background: var(--sm-c-red);
}

.sm-c-match-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 160px minmax(290px, 1fr) 260px 220px;
    align-items: center;
    gap: 26px;
    margin: -58px 0 28px;
    border-radius: 8px;
    padding: 28px 38px;
    background: #fff;
    color: #12161d;
    box-shadow: 0 28px 76px rgba(0, 0, 0, .34);
}

.sm-c-match-panel h2,
.sm-c-section-head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.sm-c-match-teams {
    display: grid;
    grid-template-columns: 1fr 46px 1fr;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.sm-c-match-teams div {
    display: grid;
    justify-items: center;
    gap: 9px;
}

.sm-c-match-teams img,
.sm-c-rival-mark {
    width: 58px;
    height: 58px;
}

.sm-c-match-teams img {
    object-fit: contain;
}

.sm-c-rival-mark {
    display: grid;
    place-items: center;
    border: 2px solid #1c7a3b;
    border-radius: 8px;
    color: #1c7a3b;
    font-size: 17px;
    font-weight: 950;
}

.sm-c-match-teams strong {
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-match-teams > span {
    color: #313843;
    font-size: 22px;
    font-weight: 300;
}

.sm-c-match-meta {
    display: grid;
    gap: 12px;
    color: #202832;
    font-size: 13px;
    font-weight: 850;
}

.sm-c-match-meta span {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
}

.sm-c-match-meta i {
    color: var(--sm-c-red);
}

.sm-c-match-meta small {
    grid-column: 2;
    color: #4c5560;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.sm-c-section {
    padding: 18px 0;
}

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

.sm-c-section-head a {
    color: #e8edf2;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sm-c-news-card,
.sm-c-team-card,
.sm-c-player-card {
    overflow: hidden;
    border: 1px solid var(--sm-c-line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--sm-c-panel-strong), var(--sm-c-panel));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.sm-c-news-card {
    min-height: 276px;
}

.sm-c-news-media {
    display: block;
    aspect-ratio: 1.75 / 1;
    overflow: hidden;
}

.sm-c-news-media img,
.sm-c-player-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-c-news-body {
    padding: 16px 18px 18px;
}

.sm-c-meta {
    color: var(--sm-c-muted);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.sm-c-news-body h3 {
    margin: 9px 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
}

.sm-c-news-body p {
    margin: 0;
    color: #d8dee5;
    font-size: 13px;
    line-height: 1.45;
}

.sm-c-news-body h3 + p + a,
.sm-c-news-body a:last-child {
    color: #fff;
}

.sm-c-team-grid,
.sm-c-player-grid {
    display: grid;
    gap: 18px;
}

.sm-c-team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sm-c-team-card {
    display: grid;
    min-height: 80px;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
}

.sm-c-team-card span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
}

.sm-c-team-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-team-card small {
    display: block;
    margin-top: 3px;
    color: var(--sm-c-muted);
    font-size: 12px;
}

.sm-c-player-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sm-c-player-card {
    position: relative;
    min-height: 150px;
    padding: 16px;
    isolation: isolate;
}

.sm-c-player-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 70%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .68));
    content: "";
    z-index: 1;
}

.sm-c-player-card div {
    position: relative;
    z-index: 2;
}

.sm-c-player-card span {
    display: block;
    color: #fff;
    font-size: 32px;
    font-weight: 950;
    line-height: 1;
}

.sm-c-player-card h3 {
    margin: 48px 0 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-player-card p {
    margin: 0;
    color: var(--sm-c-muted);
    font-size: 12px;
}

.sm-c-player-card img {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 62%;
    height: 142px;
    object-position: top center;
    opacity: .95;
}

.sm-c-academy {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 150px;
    margin: 18px 0 10px;
    overflow: hidden;
    border-radius: 8px;
    padding: 28px 42px;
    background:
        linear-gradient(90deg, rgba(111, 12, 20, .96), rgba(201, 31, 45, .78)),
        var(--sm-c-academy-image) 24% center / cover no-repeat;
}

.sm-c-academy h2 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-academy p {
    max-width: 560px;
    margin: 10px 0 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.sm-c-academy ul {
    display: grid;
    grid-template-columns: repeat(3, 108px);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-c-academy li {
    display: grid;
    justify-items: center;
    gap: 9px;
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.sm-c-academy i {
    font-size: 24px;
}

.sm-c-sponsor-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.sm-c-sponsor-list img,
.sm-c-sponsor-list span {
    width: 100%;
    height: 58px;
    border-radius: 6px;
    padding: 12px 20px;
    background: #f6f7f8;
    color: #111;
    object-fit: contain;
}

.sm-c-footer {
    margin-top: 20px;
    border-top: 1px solid var(--sm-c-line);
    background: rgba(0, 0, 0, .18);
}

.sm-c-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr .75fr 1.1fr .75fr;
    gap: 28px;
    padding: 30px 0 22px;
}

.sm-c-footer h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.sm-c-footer a,
.sm-c-footer span,
.sm-c-footer p {
    display: block;
    margin: 0 0 7px;
    color: var(--sm-c-muted);
    font-size: 12px;
    line-height: 1.45;
}

.sm-c-footer-brand {
    margin-bottom: 12px;
}

.sm-c-footer .sm-c-socials {
    display: flex;
    gap: 16px;
}

.sm-c-footer .sm-c-socials a {
    color: #fff;
}

.sm-c-footer-bottom {
    border-top: 1px solid var(--sm-c-line);
    padding: 14px 0;
    color: #87919a;
    font-size: 12px;
}

.sm-c-empty {
    grid-column: 1 / -1;
    border: 1px solid var(--sm-c-line);
    border-radius: 8px;
    padding: 24px;
    color: var(--sm-c-muted);
}

@media (max-width: 1180px) {
    .sm-c-header,
    .sm-c-match-panel,
    .sm-c-footer-grid {
        grid-template-columns: 1fr;
    }

    .sm-c-header {
        gap: 12px;
        padding: 18px 0;
    }

    .sm-c-nav,
    .sm-c-header-side {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sm-c-match-panel {
        gap: 18px;
    }

    .sm-c-news-grid,
    .sm-c-team-grid,
    .sm-c-player-grid,
    .sm-c-sponsor-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-c-academy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .sm-c-shell,
    .sm-c-header,
    .sm-c-footer-grid,
    .sm-c-footer-bottom,
    .sm-c-hero-content {
        width: min(100% - 32px, 1140px);
    }

    .sm-c-hero {
        min-height: auto;
        background-position: 63% 34%;
    }

    .sm-c-hero-content {
        padding: 34px 0 96px;
    }

    .sm-c-hero h1 {
        font-size: 48px;
    }

    .sm-c-hero p {
        font-size: 14px;
    }

    .sm-c-actions,
    .sm-c-academy ul {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .sm-c-btn,
    .sm-c-join,
    .sm-c-match-action {
        width: 100%;
    }

    .sm-c-match-panel,
    .sm-c-academy {
        padding: 22px;
    }

    .sm-c-match-teams,
    .sm-c-news-grid,
    .sm-c-team-grid,
    .sm-c-player-grid,
    .sm-c-sponsor-list {
        grid-template-columns: 1fr;
    }

    .sm-c-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
