.sm-f-home {
    --sm-f-red: var(--color-primary, #e1121b);
    --sm-f-red-2: var(--color-accent, #ff333d);
    --sm-f-black: var(--color-secondary, #07090b);
    --sm-f-bg: var(--color-background, #090b0d);
    --sm-f-text: var(--color-text, #f8fafc);
    --sm-f-muted: #9aa1ad;
    --sm-f-line: rgba(255,255,255,.12);
    min-height: 100vh;
    background:
        radial-gradient(circle at 82% 0%, rgba(225,18,27,.2), transparent 28%),
        linear-gradient(180deg, #07090b 0%, #111417 52%, #07090b 100%);
    color: var(--sm-f-text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.main-content:has(.sm-f-home) { padding: 0 !important; }
.sm-f-home a { color: inherit; text-decoration: none; }
.sm-f-home img { display: block; max-width: 100%; }
.sm-f-shell,
.sm-f-header,
.sm-f-footer-grid,
.sm-f-footer-bottom { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.sm-f-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--sm-f-line);
    background: #07090b;
}

.sm-f-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--sm-f-hero-image) center / cover no-repeat;
    filter: saturate(1.08) contrast(1.08);
}

.sm-f-hero-bg::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #07090b 0%, rgba(7,9,11,.9) 29%, rgba(7,9,11,.42) 61%, rgba(7,9,11,.95) 100%),
        linear-gradient(180deg, rgba(7,9,11,.1), #07090b 100%),
        radial-gradient(circle at 75% 36%, rgba(225,18,27,.35), transparent 30%);
    content: "";
}

.sm-f-header {
    position: relative;
    z-index: 10;
    display: grid;
    min-height: 90px;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--sm-f-line);
}

.sm-f-brand { display: inline-flex; align-items: center; gap: 14px; }
.sm-f-brand img { width: 64px; height: 64px; object-fit: contain; }
.sm-f-brand strong { display: block; color: #fff; font-size: 21px; font-weight: 950; line-height: 1; text-transform: uppercase; }
.sm-f-brand small { display: block; margin-top: 5px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 900; letter-spacing: .32em; text-transform: uppercase; }
.sm-f-menu-toggle { display: none; }
.sm-f-menu-panel { display: contents; }

.sm-f-nav,
.sm-f-actions,
.sm-f-socials { display: flex; align-items: center; }
.sm-f-nav { justify-content: center; gap: clamp(14px, 1.8vw, 28px); }
.sm-f-nav > a,
.sm-f-nav-group > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}
.sm-f-nav > a::before,
.sm-f-nav-group > a::before {
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--sm-f-red);
    content: "";
    transition: width .18s ease;
}
.sm-f-nav > a:hover::before,
.sm-f-nav > a.is-active::before,
.sm-f-nav-group:hover > a::before,
.sm-f-nav-group:focus-within > a::before { width: 100%; }
.sm-f-nav-group { position: relative; }
.sm-f-nav-group::after { position: absolute; top: 100%; left: -12px; right: -12px; height: 18px; content: ""; }
.sm-f-nav-menu {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    z-index: 60;
    display: grid;
    min-width: 198px;
    padding: 8px;
    border: 1px solid var(--sm-f-line);
    border-radius: 6px;
    background: rgba(7,9,11,.98);
    box-shadow: 0 24px 54px rgba(0,0,0,.48);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
}
.sm-f-nav-group:hover .sm-f-nav-menu,
.sm-f-nav-group:focus-within .sm-f-nav-menu { opacity: 1; pointer-events: auto; transform: translate(-50%,0); }
.sm-f-nav-menu a { border-radius: 5px; padding: 10px 12px; color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.sm-f-nav-menu a:hover { background: rgba(225,18,27,.16); color: var(--sm-f-red-2); }

.sm-f-cta,
.sm-f-btn,
.sm-f-next-match > a,
.sm-f-video-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 5px;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}
.sm-f-cta,
.sm-f-btn-primary,
.sm-f-next-match > a {
    border: 1px solid var(--sm-f-red);
    background: linear-gradient(135deg, var(--sm-f-red), #b50d14);
    color: #fff !important;
    box-shadow: 0 18px 38px rgba(225,18,27,.22);
}
.sm-f-btn-outline,
.sm-f-video-card a { border: 1px solid rgba(255,255,255,.22); background: rgba(7,9,11,.42); color: #fff !important; }

.sm-f-hero-index {
    position: absolute;
    left: max(28px, calc((100vw - 1180px) / 2 - 46px));
    top: 178px;
    z-index: 4;
    display: grid;
    gap: 14px;
}
.sm-f-hero-index button {
    width: 34px;
    border: 0;
    border-left: 2px solid transparent;
    padding: 2px 0 2px 10px;
    background: transparent;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 850;
    text-align: left;
}
.sm-f-hero-index button.is-active { border-left-color: var(--sm-f-red); color: #fff; }

.sm-f-hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 58px 0 70px;
}
.sm-f-hero-slide { display: none; max-width: 540px; animation: sm-f-in .26s ease both; }
.sm-f-hero-slide.is-active { display: block; }
@keyframes sm-f-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sm-f-hero-slide > span { color: var(--sm-f-red); font-size: 12px; font-weight: 950; letter-spacing: .48em; text-transform: uppercase; }
.sm-f-hero h1 {
    margin: 10px 0 14px;
    color: #fff;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(56px, 6.2vw, 88px);
    line-height: .92;
    text-transform: uppercase;
}
.sm-f-hero h1 em { color: var(--sm-f-red); font-style: normal; }
.sm-f-hero p { max-width: 460px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.6; font-weight: 750; }
.sm-f-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.sm-f-video-link {
    position: absolute;
    right: max(42px, calc((100vw - 1180px) / 2));
    bottom: 72px;
    z-index: 4;
    display: grid;
    grid-template-columns: 58px auto;
    align-items: center;
    gap: 14px;
    max-width: 230px;
    color: #fff;
    text-transform: uppercase;
}
.sm-f-video-link span { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; }
.sm-f-video-link strong { font-size: 12px; font-weight: 950; }
.sm-f-video-link small { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 900; }

.sm-f-quick {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-bottom: 1px solid var(--sm-f-line);
    background: rgba(10,13,15,.96);
}
.sm-f-quick a {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 16px;
    border-right: 1px solid var(--sm-f-line);
    padding: 16px 22px;
}
.sm-f-quick a:last-child { border-right: 0; }
.sm-f-quick i { color: var(--sm-f-red); font-size: 28px; }
.sm-f-quick strong { display: block; color: #fff; font-size: 13px; font-weight: 950; text-transform: uppercase; }
.sm-f-quick small { display: block; color: var(--sm-f-muted); font-size: 11px; font-weight: 750; }

.sm-f-shell { padding-bottom: 24px; }
.sm-f-feature-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.1fr .8fr 1.1fr;
    gap: 14px;
    padding: 14px 0;
}
.sm-f-next-match,
.sm-f-feature-news,
.sm-f-mini-news a,
.sm-f-video-card,
.sm-f-news-card {
    border: 1px solid rgba(225,18,27,.34);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.sm-f-next-match { padding: 20px; }
.sm-f-next-match h2,
.sm-f-section-head h2 { margin: 0; color: #fff; font-size: 24px; font-weight: 950; text-transform: uppercase; }
.sm-f-next-match h2 span,
.sm-f-section-head h2::first-letter { color: var(--sm-f-red); }
.sm-f-match-teams { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 14px; align-items: center; margin: 20px 0; text-align: center; }
.sm-f-match-teams img { width: 64px; height: 64px; margin: 0 auto 8px; object-fit: contain; }
.sm-f-match-teams strong { color: #fff; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.sm-f-match-teams b { color: #fff; font-size: 34px; font-weight: 950; }
.sm-f-match-meta { display: grid; gap: 10px; margin-bottom: 16px; color: var(--sm-f-muted); font-size: 12px; font-weight: 850; }
.sm-f-match-meta span { display: flex; gap: 8px; align-items: center; }
.sm-f-match-meta i { color: #fff; }
.sm-f-next-match > a { width: 100%; }

.sm-f-feature-news,
.sm-f-video-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 28px;
}
.sm-f-feature-news::before,
.sm-f-video-card::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(7,9,11,.9), rgba(7,9,11,.45)),
        var(--sm-f-feature-image, var(--sm-f-video-card-image)) center / cover no-repeat;
    content: "";
}
.sm-f-feature-news > *,
.sm-f-video-card > * { position: relative; z-index: 1; }
.sm-f-feature-news span { color: var(--sm-f-red); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.sm-f-feature-news h2,
.sm-f-video-card h2 { max-width: 330px; margin: 14px 0; color: #fff; font-size: 24px; line-height: 1.16; font-weight: 950; text-transform: uppercase; }
.sm-f-feature-news p,
.sm-f-video-card p { max-width: 300px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.5; }
.sm-f-feature-news > a { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 5px; background: var(--sm-f-red); color: #fff; }

.sm-f-mini-news { display: grid; gap: 12px; }
.sm-f-mini-news a { display: grid; min-height: 99px; align-content: center; gap: 7px; padding: 18px; color: #fff; }
.sm-f-mini-news time { color: var(--sm-f-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.sm-f-mini-news strong { font-size: 14px; line-height: 1.35; }
.sm-f-mini-news i { color: var(--sm-f-red); }

.sm-f-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--sm-f-line);
    padding-top: 18px;
    margin: 10px 0 16px;
}
.sm-f-section-head a { color: var(--sm-f-muted); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.sm-f-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sm-f-news-card { overflow: hidden; }
.sm-f-news-media { display: block; aspect-ratio: 1.48 / 1; overflow: hidden; }
.sm-f-news-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.06); transition: transform .22s ease; }
.sm-f-news-card:hover img { transform: scale(1.04); }
.sm-f-news-body { padding: 16px; }
.sm-f-meta { display: block; color: var(--sm-f-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.sm-f-news-body h3 { min-height: 58px; margin: 8px 0 12px; color: #fff; font-size: 15px; line-height: 1.35; font-weight: 950; }
.sm-f-news-body p { margin: 0; color: var(--sm-f-red-2); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.sm-f-empty { grid-column: 1 / -1; padding: 28px; color: var(--sm-f-muted); border: 1px solid var(--sm-f-line); border-radius: 6px; }

.sm-f-sponsors { margin: 18px 0; border-top: 1px solid var(--sm-f-line); border-bottom: 1px solid var(--sm-f-line); padding: 16px 0; }
.sm-f-sponsor-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sm-f-sponsor-list img,
.sm-f-sponsor-list span { display: grid; width: 100%; min-height: 54px; place-items: center; border-right: 1px solid var(--sm-f-line); padding: 8px; color: #6d737d; font-size: 12px; font-weight: 850; text-align: center; }
.sm-f-sponsor-list img { object-fit: contain; filter: grayscale(1); opacity: .55; }

.sm-f-footer {
    border-top: 1px solid var(--sm-f-line);
    background: #07090b;
    color: #fff;
}
.sm-f-footer-grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr 1.15fr 1fr; gap: 30px; padding: 34px 0; }
.sm-f-footer h3 { margin: 0 0 14px; color: #fff; font-size: 13px; font-weight: 950; text-transform: uppercase; }
.sm-f-footer a,
.sm-f-footer span,
.sm-f-footer p { display: block; margin: 0 0 8px; color: #a8afb9; font-size: 13px; line-height: 1.5; }
.sm-f-socials { gap: 12px; }
.sm-f-socials a { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--sm-f-line); border-radius: 50%; color: #fff; }
.sm-f-socials a:hover { border-color: var(--sm-f-red); color: var(--sm-f-red); }
.sm-f-footer-bottom { border-top: 1px solid var(--sm-f-line); padding: 14px 0; color: #828995; font-size: 12px; }

@media (max-width: 1180px) {
    .sm-f-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-f-quick { grid-template-columns: repeat(3, 1fr); }
    .sm-f-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-f-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .sm-f-header { width: min(100% - 32px, 1180px); min-height: 84px; grid-template-columns: minmax(0, 1fr) 46px; }
    .sm-f-brand img { width: 56px; height: 56px; }
    .sm-f-brand strong { font-size: 18px; }
    .sm-f-menu-toggle { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.05); }
    .sm-f-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: #fff; }
    .sm-f-menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: none; border: 1px solid var(--sm-f-line); border-radius: 8px; padding: 14px; background: rgba(7,9,11,.98); }
    .sm-f-header.is-menu-open .sm-f-menu-panel { display: grid; gap: 14px; }
    .sm-f-nav { display: grid; justify-content: stretch; gap: 8px; }
    .sm-f-nav > a,
    .sm-f-nav-group > a { justify-content: space-between; padding: 12px; border-radius: 6px; }
    .sm-f-nav > a::before,
    .sm-f-nav-group > a::before,
    .sm-f-nav-group::after { display: none; }
    .sm-f-nav-menu { position: static; display: none; min-width: 0; margin-top: 6px; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; }
    .sm-f-nav-group.is-submenu-open .sm-f-nav-menu,
    .sm-f-nav-group:hover .sm-f-nav-menu,
    .sm-f-nav-group:focus-within .sm-f-nav-menu { display: grid; }
    .sm-f-cta { width: 100%; }
    .sm-f-hero-index,
    .sm-f-video-link { display: none; }
    .sm-f-hero-content,
    .sm-f-shell,
    .sm-f-footer-grid,
    .sm-f-footer-bottom { width: min(100% - 32px, 1180px); }
    .sm-f-hero { min-height: auto; }
    .sm-f-hero-content { padding: 56px 0 70px; }
    .sm-f-hero h1 { font-size: 48px; }
    .sm-f-quick { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .sm-f-feature-grid,
    .sm-f-news-grid,
    .sm-f-quick,
    .sm-f-sponsor-list,
    .sm-f-footer-grid { grid-template-columns: 1fr; }
    .sm-f-hero h1 { font-size: 42px; }
    .sm-f-hero-actions,
    .sm-f-btn { width: 100%; }
    .sm-f-match-teams { grid-template-columns: 1fr; }
}
