﻿/* =====================================================
   MatchRadar
   Public Home Page
   Mobile First Responsive Design
===================================================== */

/* =====================================================
   Page Reset
===================================================== */

html {
    scroll-behavior: smooth;
}

body.home-body {
    margin: 0;
    padding: 0;
    direction: rtl;
    background: var(--light-gray);
    color: var(--charcoal);
    font-family: inherit;
    overflow-x: hidden;
}

.home-body *,
.home-body *::before,
.home-body *::after {
    box-sizing: border-box;
}

.home-body img {
    display: block;
    max-width: 100%;
}

.home-body a {
    text-decoration: none;
}

.home-body button,
.home-body input,
.home-body select,
.home-body textarea {
    font-family: inherit;
}

/* =====================================================
   Accessibility
===================================================== */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =====================================================
   Shared Container
===================================================== */

.home-container {
    width: min(100% - 24px, 1380px);
    margin-inline: auto;
}

/* =====================================================
   Top Bar
===================================================== */

.home-top-bar {
    min-height: 38px;
    background: var(--bg-color);
    color: var(--footer-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.home-top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
}

.home-top-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.home-top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--footer-text);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.home-top-info-desktop {
    display: none;
}

.home-top-links {
    display: flex;
    align-items: center;
    gap: 11px;
}

    .home-top-links a {
        position: relative;
        color: var(--footer-text);
        font-size: 10px;
        font-weight: 700;
        transition: color 0.2s ease;
    }

        .home-top-links a:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 50%;
            left: -6px;
            width: 1px;
            height: 11px;
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-50%);
        }

        .home-top-links a:hover {
            color: var(--white);
        }

/* =====================================================
   Main Header
===================================================== */

.home-header {
    position: relative;
    z-index: 30;
    background: var(--white);
    border-bottom: 1px solid var(--user-border);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.045);
}

.home-header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 75px;
    padding-block: 10px;
}

/* =====================================================
   Brand
===================================================== */

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--charcoal);
}

    .home-brand:hover {
        color: var(--charcoal);
    }

.home-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 15px;
    background: linear-gradient( 135deg, var(--primary), var(--secondary), var(--accent) );
    color: var(--primary-text);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 9px 21px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.home-brand-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .home-brand-content strong {
        color: var(--charcoal);
        font-size: 18px;
        font-weight: 900;
        line-height: 1.4;
        letter-spacing: -0.4px;
    }

    .home-brand-content small {
        overflow: hidden;
        color: var(--gray);
        font-size: 9px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* =====================================================
   Header Search
===================================================== */

.home-header-search {
    position: relative;
    display: none;
    min-width: 0;
}

.home-search-input {
    width: 100%;
    max-width: none !important;
    min-height: 46px;
    padding: 10px 15px 10px 52px;
    outline: none;
    border: 1px solid var(--user-border);
    border-radius: 14px;
    background: var(--light-gray);
    color: var(--charcoal);
    font-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .home-search-input::placeholder {
        color: var(--gray);
    }

    .home-search-input:focus {
        border-color: var(--primary);
        background: var(--white);
        box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.11);
    }

.home-search-button {
    position: absolute;
    top: 50%;
    left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--charcoal);
    font-size: 16px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .home-search-button:hover {
        background: rgba(0, 0, 0, 0.05);
        transform: translateY(-50%) scale(1.04);
    }

/* =====================================================
   Account Actions
===================================================== */

.home-account-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.home-login-button,
.home-register-button {
    min-height: 40px !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
}

.home-login-button {
    display: none !important;
}

/* =====================================================
   Navigation
===================================================== */

.home-navigation {
    position: relative;
    z-index: 25;
    background: var(--bg-color);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.home-navigation-content {
    position: relative;
    min-height: 56px;
}

.home-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 44px;
    margin-block: 6px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

    .home-menu-toggle span {
        display: block;
        width: 21px;
        height: 2px;
        border-radius: 2px;
        background: var(--white);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

.home-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: var(--bg-color);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
}

    .home-menu.is-open {
        display: flex;
    }

.home-menu-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 11px;
    color: var(--footer-text);
    font-size: 12px;
    font-weight: 800;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

    .home-menu-link::before {
        content: "";
        position: absolute;
        top: 9px;
        right: 0;
        bottom: 9px;
        width: 3px;
        border-radius: 3px;
        background: transparent;
    }

    .home-menu-link:hover,
    .home-menu-link.is-active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.07);
        transform: translateX(-2px);
    }

        .home-menu-link.is-active::before {
            background: var(--primary);
        }

.home-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    font-size: 15px;
}

/* Different menu colors */

.home-menu-link-matches:hover::before {
    background: var(--blue);
}

.home-menu-link-prediction:hover::before {
    background: var(--orange-amber);
}

.home-menu-link-leagues:hover::before {
    background: var(--yellow);
}

.home-menu-link-news:hover::before {
    background: var(--mint);
}

.home-menu-link-table:hover::before {
    background: var(--purple);
}

.home-menu-link-ranking:hover::before {
    background: var(--lime-essence);
}

/* =====================================================
   Main
===================================================== */

.home-main {
    min-height: 70vh;
}

/* =====================================================
   Hero Section
===================================================== */

.home-hero-section {
    padding-block: 14px;
    background: radial-gradient( circle at top right, rgba(255, 123, 0, 0.09), transparent 31% ), var(--light-gray);
}

.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
}

/* =====================================================
   Slideshow
===================================================== */

.home-slideshow {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border-radius: 22px;
    background: var(--charcoal);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
    isolation: isolate;
}

.home-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.7s ease, transform 1.1s ease, visibility 0.7s ease;
}

    .home-slide.is-active {
        z-index: 2;
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }

.home-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.53) 47%, rgba(0, 0, 0, 0.9) 100% );
}

.home-slide-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 24px 18px 57px;
    color: var(--white);
}

.home-slide-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-text);
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.16);
}

.home-slide-content h1,
.home-slide-content h2 {
    max-width: 720px;
    margin: 0 0 10px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.75;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.home-slide-content p {
    max-width: 650px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 600;
    line-height: 2;
}

.home-slide-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    max-width: 420px;
}

    .home-slide-actions .btn {
        width: 100%;
    }

/* =====================================================
   Slider Controls
===================================================== */

.home-slider-control {
    position: absolute;
    top: 46%;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 45px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.36);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    backdrop-filter: blur(7px);
    transform: translateY(-50%);
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

    .home-slider-control:hover {
        background: var(--primary);
        opacity: 1;
    }

.home-slider-next {
    right: 9px;
}

.home-slider-prev {
    left: 9px;
}

.home-slider-dots {
    position: absolute;
    right: 50%;
    bottom: 18px;
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(50%);
}

.home-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

    .home-slider-dot.is-active {
        width: 26px;
        background: var(--primary);
    }

/* =====================================================
   Hero Side Promotions
===================================================== */

.home-hero-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
}

.home-promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-promo-main {
    min-height: 285px;
    padding: 22px 18px;
    background: radial-gradient( circle at top left, rgba(255, 255, 255, 0.26), transparent 35% ), linear-gradient( 135deg, var(--primary), var(--accent) );
    color: var(--primary-text);
}

    .home-promo-main::after {
        content: "";
        position: absolute;
        left: -65px;
        bottom: -75px;
        width: 190px;
        height: 190px;
        border: 30px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

.home-promo-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.15);
    color: var(--primary-text);
    font-size: 10px;
    font-weight: 900;
}

.home-promo-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 18px 0 13px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-promo-main h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
    color: var(--primary-text);
    font-size: 20px;
    font-weight: 900;
}

.home-promo-main p {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    color: var(--primary-text);
    font-size: 11px;
    font-weight: 600;
    line-height: 2;
    opacity: 0.9;
}

.home-promo-main .btn {
    position: relative;
    z-index: 2;
}

.home-promo-secondary {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 100px;
    padding: 16px;
    border: 1px solid var(--user-border);
    background: var(--white);
}

.home-promo-small-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--warning), var(--orange) );
    font-size: 23px;
}

.home-promo-secondary strong {
    display: block;
    margin-bottom: 4px;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 900;
}

.home-promo-secondary span {
    display: block;
    color: var(--gray);
    font-size: 10px;
    line-height: 1.8;
}



/* =====================================================
   Shared Sections  *****
===================================================== */

.home-section {
    padding-block: 30px;
}

    .home-section:nth-of-type(even) {
        background: rgba(255, 255, 255, 0.48);
    }

.home-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 17px;
}

.home-section-header-centered {
    align-items: center;
    text-align: center;
}

.home-section-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
}

.home-section-header h2 {
    margin: 0 0 5px;
    color: var(--charcoal);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.55;
}

.home-section-header p {
    margin: 0;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.9;
}

.home-section-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--user-border);
    border-radius: 12px;
    background: var(--white);
    color: var(--charcoal);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.045);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .home-section-more:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateX(-3px);
    }

/* =====================================================
   Matches Section
===================================================== */

.home-matches-section {
    background: var(--white);
}


.home-match-list {
    
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.home-match-card {
    overflow: hidden;
    border: 1px solid var(--green);
    border-radius: 19px;
    background: var(--lime-essence);
    box-shadow: 0 8px 23px rgba(0, 0, 0, 0.055);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

    .home-match-card:hover {
        border: 2px solid var(--ice-green);
        transform: translateY(-4px);
        border-color: var(--primary);
        box-shadow: 0 15px 31px rgba(0, 0, 0, 0.095);
    }

.home-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 13px;
    border-bottom: 1px solid var(--user-border);
    background: rgba(0, 0, 0, 0.015);
}

    .home-match-header > span:first-child {
        overflow: hidden;
        color: var(--charcoal);
        font-size: 11px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.home-match-status {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(74, 144, 226, 0.11);
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
}

.home-match-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(78px, 0.65fr) minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 18px 9px;
}

.home-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}

    .home-match-team img {
        width: 53px;
        height: 53px;
        margin-bottom: 7px;
        padding: 5px;
        border: 1px solid var(--user-border);
        border-radius: 15px;
        background: var(--white);
        object-fit: contain;
    }

    .home-match-team strong {
        display: block;
        width: 100%;
        overflow: hidden;
        color: var(--charcoal);
        font-size: 11px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.home-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .home-match-center strong {
        color: var(--charcoal);
        direction: ltr;
        font-size: 19px;
        font-weight: 900;
    }

    .home-match-center span {
        margin-top: 3px;
        color: var(--gray);
        font-size: 8px;
        font-weight: 700;
    }

.home-match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 11px 13px;
    border-top: 1px solid var(--user-border);
    background: rgba(0, 0, 0, 0.012);
}

    .home-match-footer > span {
        color: var(--success);
        font-size: 9px;
        font-weight: 900;
    }

    .home-match-footer .btn {
        min-width: 86px;
    }

/* =====================================================
   Prediction Banner
===================================================== */

.home-prediction-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    min-height: 470px;
    border-radius: 25px;
    background: radial-gradient( circle at top left, rgba(255, 255, 255, 0.14), transparent 28% ), linear-gradient( 135deg, var(--bg-color), var(--charcoal) );
    color: var(--white);
    box-shadow: 0 20px 43px rgba(0, 0, 0, 0.17);
    isolation: isolate;
}

    .home-prediction-banner::before {
        content: "";
        position: absolute;
        top: -130px;
        right: -120px;
        width: 310px;
        height: 310px;
        border: 45px solid rgba(255, 123, 0, 0.12);
        border-radius: 50%;
        z-index: -1;
    }

.home-prediction-banner-content {
    position: relative;
    z-index: 2;
    padding: 26px 19px 18px;
}

.home-prediction-banner-badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    margin-bottom: 12px;
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    background: rgba(255, 123, 0, 0.18);
    color: var(--orange);
    direction: ltr;
    font-size: 9px;
    font-weight: 900;
}

.home-prediction-banner h2 {
    max-width: 700px;
    margin: 0 0 10px;
    color: var(--white);
    font-size: 23px;
    font-weight: 900;
    line-height: 1.7;
}

.home-prediction-banner p {
    max-width: 670px;
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 2;
}

.home-prediction-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

    .home-prediction-features span {
        display: inline-flex;
        align-items: center;
        min-height: 31px;
        padding: 5px 10px;
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--mint);
        font-size: 9px;
        font-weight: 800;
    }

.home-prediction-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
}

    .home-prediction-actions .btn {
        width: 100%;
    }

/* =====================================================
   Prediction Visual
===================================================== */

.home-prediction-banner-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
}

.home-prediction-orbit {
    position: absolute;
    width: 185px;
    height: 185px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    animation: homeOrbitSpin 18s linear infinite;
}

    .home-prediction-orbit::before,
    .home-prediction-orbit::after {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        border-radius: 50%;
    }

    .home-prediction-orbit::before {
        top: 10px;
        left: 31px;
        background: var(--secondary);
        box-shadow: 0 0 18px rgba(175, 255, 0, 0.6);
    }

    .home-prediction-orbit::after {
        right: 7px;
        bottom: 40px;
        background: var(--primary);
        box-shadow: 0 0 18px rgba(255, 123, 0, 0.6);
    }

@keyframes homeOrbitSpin {
    to {
        transform: rotate(360deg);
    }
}

.home-prediction-radar-image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
}

    .home-prediction-radar-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.home-prediction-score-card {
    position: absolute;
    right: 50%;
    bottom: 17px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    backdrop-filter: blur(10px);
    transform: translateX(50%);
}

    .home-prediction-score-card span {
        color: rgba(255, 255, 255, 0.67);
        font-size: 9px;
        font-weight: 700;
    }

    .home-prediction-score-card strong {
        color: var(--secondary);
        direction: ltr;
        font-size: 20px;
        font-weight: 900;
    }

/* =====================================================
   Features
===================================================== */

.home-features-section {
    background: radial-gradient( circle at center top, rgba(0, 128, 128, 0.075), transparent 40% ), var(--light-gray);
}

.home-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
}

.home-feature-card {
    position: relative;
    overflow: hidden;
    padding: 20px 17px;
    border: 1px solid var(--user-border);
    border-radius: 19px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

    .home-feature-card::after {
        content: "";
        position: absolute;
        top: -45px;
        left: -45px;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: rgba(255, 123, 0, 0.055);
    }

    .home-feature-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.085);
    }

.home-feature-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--primary), var(--accent) );
    color: var(--primary-text);
    font-size: 22px;
}

.home-feature-card:nth-child(2) .home-feature-icon {
    background: linear-gradient( 135deg, var(--red), var(--orange) );
}

.home-feature-card:nth-child(3) .home-feature-icon {
    background: linear-gradient( 135deg, var(--purple), var(--blue) );
}

.home-feature-card:nth-child(4) .home-feature-icon {
    background: linear-gradient( 135deg, var(--yellow), var(--orange) );
    color: var(--black);
}

.home-feature-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 7px;
    color: var(--charcoal);
    font-size: 15px;
    font-weight: 900;
}

.home-feature-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--gray);
    font-size: 10px;
    line-height: 2;
}

/* =====================================================
   News
===================================================== */

.home-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
}

.home-news-card {
    overflow: hidden;
    border: 1px solid var(--user-border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.055);
}

.home-news-image {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 245px;
    background: var(--charcoal);
}

    .home-news-image img {
        width: 100%;
        height: 245px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.home-news-card:hover .home-news-image img {
    transform: scale(1.045);
}

.home-news-category {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-text);
    font-size: 9px;
    font-weight: 900;
}

.home-news-content {
    padding: 16px;
}

.home-news-date {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
}

.home-news-content h3 {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.9;
}

    .home-news-content h3 a {
        color: var(--charcoal);
        transition: color 0.2s ease;
    }

        .home-news-content h3 a:hover {
            color: var(--primary);
        }

.home-news-content p {
    margin: 0;
    color: var(--gray);
    font-size: 10px;
    line-height: 2;
}

.home-news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-news-small-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 100px;
    padding: 9px;
    border: 1px solid var(--user-border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.045);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .home-news-small-card:hover {
        transform: translateX(-3px);
        border-color: var(--primary);
    }

    .home-news-small-card img {
        width: 100px;
        height: 82px;
        border-radius: 12px;
        object-fit: cover;
    }

    .home-news-small-card span {
        display: block;
        margin-bottom: 4px;
        color: var(--primary);
        font-size: 8px;
        font-weight: 900;
    }

    .home-news-small-card h3 {
        margin: 0;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.9;
    }

        .home-news-small-card h3 a {
            color: var(--charcoal);
            transition: color 0.2s ease;
        }

            .home-news-small-card h3 a:hover {
                color: var(--primary);
            }

/* =====================================================
   Final CTA
===================================================== */

.home-final-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    overflow: hidden;
    padding: 25px 19px;
    border: 1px solid rgba(255, 123, 0, 0.15);
    border-radius: 22px;
    background: radial-gradient( circle at left center, rgba(255, 255, 255, 0.23), transparent 30% ), linear-gradient( 135deg, rgba(255, 123, 0, 0.13), rgba(175, 255, 0, 0.13), rgba(0, 128, 128, 0.12) ), var(--white);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.065);
}

    .home-final-cta::after {
        content: "⚽";
        position: absolute;
        left: 18px;
        bottom: -28px;
        color: rgba(0, 0, 0, 0.045);
        font-size: 110px;
        transform: rotate(-15deg);
    }

    .home-final-cta > div,
    .home-final-cta > a {
        position: relative;
        z-index: 2;
    }

    .home-final-cta span {
        display: block;
        margin-bottom: 5px;
        color: var(--primary);
        font-size: 10px;
        font-weight: 900;
    }

    .home-final-cta h2 {
        margin: 0 0 7px;
        color: var(--charcoal);
        font-size: 20px;
        font-weight: 900;
        line-height: 1.7;
    }

    .home-final-cta p {
        max-width: 720px;
        margin: 0;
        color: var(--gray);
        font-size: 10px;
        line-height: 2;
    }

    .home-final-cta .btn {
        width: 100%;
    }

/* =====================================================
   Footer
===================================================== */

.home-footer {
    position: relative;
    overflow: hidden;
    padding-top: 42px;
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 4px solid var(--primary);
}

    .home-footer::before {
        content: "";
        position: absolute;
        top: -160px;
        right: -150px;
        width: 330px;
        height: 330px;
        border: 45px solid rgba(255, 255, 255, 0.022);
        border-radius: 50%;
    }

.home-footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
    padding-bottom: 33px;
}

.home-footer-brand .home-brand-content strong {
    color: var(--white);
}

.home-footer-brand .home-brand-content small {
    color: var(--footer-text);
}

.home-footer-about p {
    max-width: 440px;
    margin: 14px 0 0;
    color: var(--footer-text);
    font-size: 10px;
    line-height: 2.1;
}

.home-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

    .home-footer-column h3 {
        position: relative;
        margin: 0 0 7px;
        padding-bottom: 8px;
        color: var(--white);
        font-size: 13px;
        font-weight: 900;
    }

        .home-footer-column h3::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 30px;
            height: 3px;
            border-radius: 3px;
            background: var(--primary);
        }

    .home-footer-column a {
        color: var(--footer-text);
        font-size: 10px;
        font-weight: 700;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .home-footer-column a:hover {
            color: var(--white);
            transform: translateX(-3px);
        }
.home-footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding-block: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--footer-text);
    font-size: 9px;
    text-align: center;
}


/* =========================================
   Developer Info
========================================= */

.home-footer-developer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    text-align: center;
    line-height: 1.7;
}


.home-footer-developer-line {
    display: block;
    width: 100%;
    text-align: center;
}

/* =====================================================
   Home Footer Bottom
===================================================== */

.home-footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding-block: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--footer-text);
    font-size: 9px;
    text-align: center;
}


/* =====================================================
   Developer Info
   یک ستون - دو خط
===================================================== */

.home-footer-developer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    text-align: center;
    line-height: 1.7;
}


.home-footer-developer-line {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
}


/* =====================================================
   MAS
===================================================== */

.home-footer-mas {
    display: inline-block;
    margin-inline-start: 2px;
    color: var(--footer-text);
    font-weight: 900;
    cursor: default;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
    direction: ltr;
}


    /* Hover MAS */

    .home-footer-mas:hover {
        color: #5AFF19;
        transform: scale(1.08);
        text-shadow: 0 0 4px rgba(90, 255, 25, 0.65), 0 0 9px rgba(90, 255, 25, 0.45), 0 0 15px rgba(90, 255, 25, 0.25);
    }


/* =====================================================
   Copyright + Slogan
===================================================== */

.home-footer-copy,
.home-footer-slogan {
    display: block;
    width: 100%;
    text-align: center;
}
/*==============================
      Today Match
 ==============================*/
.home-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 130px;
    text-align: center;
}

.home-match-time {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.home-match-stadium-label {
    margin-top: 3px;
    font-size: 0.72rem;
    opacity: 0.65;
}

.home-match-stadium-name {
    max-width: 150px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* =====================================================
   Focus Accessibility
===================================================== */

.home-body a:focus-visible,
.home-body button:focus-visible,
.home-body input:focus-visible {
    outline: 3px solid rgba(255, 123, 0, 0.35);
    outline-offset: 3px;
}
/* =========================================================
   Premier League Round Context
========================================================= */

.home-round-context-section {
    position: relative;
}

.home-round-context-layout {
    display: grid;
    grid-template-columns: minmax(0, 72fr) minmax(260px, 28fr);
    gap: 24px;
    align-items: start;
}


/* =========================================================
   Round Cards Area
========================================================= */

.home-rounds-area {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    min-width: 0;
}

.home-round-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.home-round-card-previous {
    background: linear-gradient( 180deg, rgba(112, 70, 38, 0.96), rgba(76, 46, 25, 0.98) );
}

.home-round-card-current {
    background: linear-gradient( 180deg, rgba(26, 116, 67, 0.98), rgba(16, 76, 43, 0.99) );
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(142, 245, 39, 0.12);
}

.home-round-card-next {
    background: linear-gradient( 180deg, rgba(17, 135, 150, 0.98), rgba(10, 87, 101, 0.99) );
}


/* =========================================================
   Round Card Header
========================================================= */

.home-round-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 16px;
    color: #ffffff;
}

    .home-round-card-header h3 {
        margin: 3px 0 0;
        font-size: 20px;
        font-weight: 900;
        line-height: 1.35;
    }

.home-round-card-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.82;
}

.home-round-card-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   Round Card Body
========================================================= */

.home-round-card-body {
    padding: 0 12px 14px;
}

.home-round-day {
    overflow: hidden;
    margin-top: 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
}

    .home-round-day:first-child {
        margin-top: 0;
    }

.home-round-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.14);
}

    .home-round-day-header strong {
        font-size: 12px;
        font-weight: 900;
    }

    .home-round-day-header span {
        font-size: 11px;
        opacity: 0.84;
    }


/* =========================================================
   Match Rows
========================================================= */

.home-round-match-list {
    display: flex;
    flex-direction: column;
}

.home-round-match-row {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: center;
    min-height: 52px;
    padding: 7px 12px;
    color: #17202a;
}

    /* Zebra */
    .home-round-match-row:nth-child(odd) {
        background: rgba(255, 255, 255, 0.96);
    }

    .home-round-match-row:nth-child(even) {
        background: rgba(247, 249, 250, 0.84);
    }

.home-round-team {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

    .home-round-team img {
        display: block;
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

.home-round-match-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
}

    .home-round-match-result strong {
        font-size: 14px;
        font-weight: 900;
        line-height: 1.2;
        white-space: nowrap;
    }

.home-round-live-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(200, 22, 22, 0.10);
    color: #b41616;
    font-size: 9px;
    font-weight: 900;
}

.home-round-postponed {
    color: #9a4e00;
}


/* =========================================================
   Compact Standings
========================================================= */

.home-standings-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(20, 31, 48, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.home-standings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px;
    background: linear-gradient( 135deg, #182334, #263b55 );
    color: #ffffff;
}

    .home-standings-header span {
        display: block;
        font-size: 11px;
        opacity: 0.78;
    }

    .home-standings-header h3 {
        margin: 3px 0 0;
        font-size: 19px;
        font-weight: 900;
    }

.home-standings-icon {
    font-size: 25px !important;
    opacity: 1 !important;
}

.home-standings-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.home-standings-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .home-standings-table th,
    .home-standings-table td {
        padding: 9px 7px;
        text-align: center;
        vertical-align: middle;
    }

    .home-standings-table thead th {
        background: #f3f5f7;
        color: #5a6573;
        font-size: 11px;
        font-weight: 800;
        border-bottom: 1px solid #e4e8ec;
    }

    .home-standings-table tbody tr:nth-child(odd) {
        background: #ffffff;
    }

    .home-standings-table tbody tr:nth-child(even) {
        background: #f8fafb;
    }

    .home-standings-table tbody td {
        border-bottom: 1px solid #edf0f2;
        color: #273241;
        font-size: 12px;
    }

.home-standing-position {
    font-weight: 900;
}

.home-standing-team img {
    display: block;
    width: 27px;
    height: 27px;
    margin: 0 auto;
    object-fit: contain;
}

.home-standing-points {
    font-weight: 900;
    color: #0d6b3f !important;
}

.home-standings-footer {
    padding: 13px 16px 15px;
}

.home-standings-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 10px;
    background: #f1f4f6;
    color: #243447;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .home-standings-more:hover {
        background: #e7ebef;
        transform: translateY(-1px);
    }
.home-round-team img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-standing-team img {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    object-fit: contain;
}
/* =========================================
   Mobile - Round Context Full Width
========================================= */

@media (max-width: 768px) {

    /* کل سکشن بدون محدودیت عرض */
    .home-round-context-section {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

        /* کانتینر در موبایل تمام عرض */
        .home-round-context-section .home-container {
            width: 100%;
            max-width: none;
            margin: 0;
            padding-left: 0;
            padding-right: 0;
        }

        /* عنوان کمی فاصله داخلی داشته باشد */
        .home-round-context-section .home-section-header {
            width: 100%;
            padding: 16px;
            box-sizing: border-box;
        }

    /* Grid اصلی به یک ستون تبدیل شود */
    .home-round-context-layout {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
        gap: 16px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* بخش سه هفته */
    .home-rounds-area {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    /* هر کارت هفته تمام عرض */
    .home-round-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        border-radius: 0;
        box-sizing: border-box;
    }

    /* جدول هم تمام عرض */
    .home-standings-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        border-radius: 0;
        box-sizing: border-box;
    }

    /* wrapper جدول */
    .home-standings-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* خود جدول */
    .home-standings-table {
        width: 100%;
        min-width: 100%;
        table-layout: fixed;
    }

    /* ردیف مسابقه */
    .home-round-match-row {
        width: 100%;
        box-sizing: border-box;
    }
}
/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1100px) {

    .home-round-context-layout {
        grid-template-columns: 1fr;
    }

    .home-rounds-area {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .home-standings-card {
        max-width: 620px;
    }
}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .home-round-context-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .home-rounds-area {
        display: contents;
    }

    .home-round-card-current {
        order: 1;
        transform: none;
    }

    .home-round-card-previous {
        order: 2;
    }

    .home-round-card-next {
        order: 3;
    }

    .home-standings-card {
        order: 4;
        width: 100%;
        max-width: none;
    }

    .home-round-card-header {
        padding: 15px 15px 13px;
    }

    .home-round-card-body {
        padding: 0 10px 12px;
    }

    .home-round-match-row {
        grid-template-columns: 1fr 70px 1fr;
        min-height: 54px;
    }

    .home-round-team img {
        width: 34px;
        height: 34px;
    }

    .home-round-day-header {
        padding: 9px 11px;
    }
}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 420px) {

    .home-round-card-header h3 {
        font-size: 18px;
    }

    .home-round-card-status {
        padding: 4px 8px;
        font-size: 10px;
    }

    .home-round-match-row {
        grid-template-columns: 1fr 62px 1fr;
        padding-left: 8px;
        padding-right: 8px;
    }

    .home-round-team img {
        width: 30px;
        height: 30px;
    }

    .home-round-match-result strong {
        font-size: 13px;
    }
}
/* =====================================================
   Reduce Motion
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .home-body *,
    .home-body *::before,
    .home-body *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   Small Mobile
===================================================== */

@media screen and (max-width: 380px) {

    .home-container {
        width: min(100% - 18px, 1380px);
    }

    .home-top-links a:nth-child(2) {
        display: none;
    }

    .home-brand-logo {
        width: 43px;
        height: 43px;
        border-radius: 13px;
        font-size: 13px;
    }

    .home-brand-content strong {
        font-size: 16px;
    }

    .home-register-button {
        padding-right: 9px !important;
        padding-left: 9px !important;
        font-size: 10px !important;
    }

    .home-slideshow {
        min-height: 510px;
    }

    .home-slide-content h1,
    .home-slide-content h2 {
        font-size: 21px;
    }

    .home-slider-control {
        width: 34px;
        height: 40px;
    }

    .home-match-body {
        grid-template-columns: minmax(0, 1fr) minmax(68px, 0.6fr) minmax(0, 1fr);
        padding-right: 5px;
        padding-left: 5px;
    }

    .home-match-team img {
        width: 46px;
        height: 46px;
    }

    .home-match-team strong {
        font-size: 9px;
    }

    .home-news-small-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

        .home-news-small-card img {
            width: 82px;
            height: 74px;
        }
}

/* =====================================================
   Large Mobile / Small Tablet
===================================================== */

@media screen and (min-width: 480px) {

    .home-slide-actions,
    .home-prediction-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-final-cta .btn {
        width: auto;
        min-width: 180px;
    }

    .home-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-footer-about {
        grid-column: 1 / -1;
    }
}

/* =====================================================
   Tablet
===================================================== */

@media screen and (min-width: 768px) {



    .home-round-context-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        overflow-x: hidden;
    }

    .home-container {
        width: min(100% - 36px, 1380px);
    }

    .home-top-info-desktop {
        display: inline-flex;
    }

    .home-header-content {
        grid-template-columns: minmax(205px, 0.6fr) minmax(260px, 1fr) auto;
        min-height: 86px;
        gap: 20px;
    }

    .home-header-search {
        display: block;
    }

    .home-login-button {
        display: inline-flex !important;
    }

    .home-navigation-content {
        min-height: 58px;
    }

    .home-menu-toggle {
        display: none;
    }

    .home-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow-x: auto;
        min-height: 58px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scrollbar-width: none;
    }

        .home-menu::-webkit-scrollbar {
            display: none;
        }

    .home-menu-link {
        min-width: max-content;
        min-height: 58px;
        padding: 10px 14px;
        border-radius: 0;
    }

        .home-menu-link::before {
            top: auto;
            right: 13px;
            bottom: 0;
            left: 13px;
            width: auto;
            height: 3px;
        }

        .home-menu-link:hover,
        .home-menu-link.is-active {
            background: rgba(255, 255, 255, 0.055);
            transform: none;
        }

    .home-hero-section {
        padding-block: 18px;
    }

    .home-slideshow {
        min-height: 530px;
    }

    .home-slide-content {
        padding: 35px 32px 63px;
    }

        .home-slide-content h1,
        .home-slide-content h2 {
            font-size: 32px;
            line-height: 1.65;
        }

        .home-slide-content p {
            font-size: 13px;
        }

    .home-slide-actions .btn {
        width: auto;
    }

    .home-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-promo-main {
        min-height: 265px;
    }

    .home-promo-secondary {
        min-height: 265px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .home-section {
        padding-block: 44px;
    }

    .home-section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .home-section-header-centered {
        justify-content: center;
    }

    .home-section-header h2 {
        font-size: 25px;
    }

    .home-match-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-prediction-banner {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        min-height: 390px;
    }

    .home-prediction-banner-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 37px 32px;
    }

    .home-prediction-banner h2 {
        font-size: 29px;
    }

    .home-prediction-banner-visual {
        min-height: 100%;
    }

    .home-prediction-score-card {
        bottom: 52px;
    }

    .home-news-image,
    .home-news-image img {
        height: 330px;
        min-height: 330px;
    }

    .home-news-small-card {
        grid-template-columns: 135px minmax(0, 1fr);
        min-height: 120px;
    }

        .home-news-small-card img {
            width: 135px;
            height: 102px;
        }

        .home-news-small-card h3 {
            font-size: 13px;
        }

    .home-final-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 31px;
    }

        .home-final-cta h2 {
            font-size: 24px;
        }

        .home-final-cta .btn {
            flex-shrink: 0;
        }

    .home-footer-grid {
        grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.65fr));
        gap: 30px;
    }

    .home-footer-about {
        grid-column: auto;
    }

    .home-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

/* =====================================================
   Desktop
===================================================== */

@media screen and (min-width: 1024px) {

    .home-header-content {
        grid-template-columns: minmax(240px, 0.65fr) minmax(340px, 1.2fr) auto;
    }

    .home-brand-logo {
        width: 54px;
        height: 54px;
        border-radius: 17px;
        font-size: 17px;
    }

    .home-brand-content strong {
        font-size: 21px;
    }

    .home-brand-content small {
        font-size: 10px;
    }

    .home-menu-link {
        padding-right: 17px;
        padding-left: 17px;
        font-size: 12px;
    }

    .home-hero-layout {
        grid-template-columns: minmax(0, 2.15fr) minmax(285px, 0.85fr);
        align-items: stretch;
        gap: 16px;
    }

    .home-slideshow {
        min-height: 565px;
    }

    .home-hero-side {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .home-promo-main {
        min-height: 0;
    }

    .home-promo-secondary {
        min-height: 105px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .home-slide-content {
        padding: 42px 42px 70px;
    }

        .home-slide-content h1,
        .home-slide-content h2 {
            font-size: 38px;
            line-height: 1.6;
        }

    .home-slider-control {
        width: 46px;
        height: 53px;
    }

    .home-slider-next {
        right: 18px;
    }

    .home-slider-prev {
        left: 18px;
    }

    .home-section {
        padding-block: 55px;
    }

    .home-match-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-match-body {
        padding: 22px 12px;
    }

    .home-match-team img {
        width: 61px;
        height: 61px;
    }

    .home-match-team strong {
        font-size: 12px;
    }

    .home-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .home-feature-card {
        min-height: 225px;
        padding: 24px 21px;
    }

        .home-feature-card h3 {
            font-size: 16px;
        }

    .home-news-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
        align-items: stretch;
    }

    .home-news-card-featured {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    }

        .home-news-card-featured .home-news-image,
        .home-news-card-featured .home-news-image img {
            height: 100%;
            min-height: 410px;
        }

    .home-news-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 27px;
    }

        .home-news-content h3 {
            font-size: 20px;
        }

    .home-news-list {
        justify-content: space-between;
    }

    .home-news-small-card {
        flex: 1;
    }
}

/* =====================================================
   Large Desktop
===================================================== */

@media screen and (min-width: 1280px) {

    .home-container {
        width: min(100% - 52px, 1380px);
    }

    .home-header-content {
        gap: 30px;
    }

    .home-search-input {
        min-height: 49px;
        font-size: 13px;
    }

    .home-menu-link {
        padding-right: 20px;
        padding-left: 20px;
        font-size: 13px;
    }

    .home-slideshow {
        min-height: 600px;
    }

    .home-slide-content {
        padding-right: 52px;
        padding-bottom: 80px;
        padding-left: 52px;
    }

        .home-slide-content h1,
        .home-slide-content h2 {
            max-width: 830px;
            font-size: 43px;
        }

        .home-slide-content p {
            font-size: 14px;
        }

    .home-promo-main {
        padding: 29px 25px;
    }

        .home-promo-main h2 {
            font-size: 24px;
        }

        .home-promo-main p {
            font-size: 12px;
        }

    .home-section-header h2 {
        font-size: 29px;
    }

    .home-section-header p {
        font-size: 12px;
    }

    .home-match-team img {
        width: 68px;
        height: 68px;
    }

    .home-match-center strong {
        font-size: 23px;
    }

    .home-prediction-banner-content {
        padding: 50px;
    }

    .home-prediction-banner h2 {
        font-size: 35px;
    }

    .home-prediction-banner p {
        font-size: 13px;
    }

    .home-prediction-orbit {
        width: 230px;
        height: 230px;
    }

    .home-prediction-trophy {
        width: 135px;
        height: 135px;
        border-radius: 39px;
        font-size: 61px;
    }

    .home-feature-card {
        min-height: 245px;
    }
}
/* =====================================================
   1. موبایل خیلی کوچک
   <= 420px
===================================================== */

@media (max-width: 420px) {

    .home-footer-bottom {
        gap: 7px;
        padding: 13px 8px;
        font-size: 8px;
        line-height: 1.7;
    }

    .home-footer-developer {
        gap: 1px;
        line-height: 1.6;
    }

    .home-footer-developer-line {
        font-size: 8px;
    }

    .home-footer-mas {
        font-size: 9px;
    }

    .home-footer-copy,
    .home-footer-slogan {
        font-size: 8px;
    }
}


/* =====================================================
   2. موبایل
   421px تا 700px
===================================================== */

@media (min-width: 421px) and (max-width: 700px) {

    .home-footer-bottom {
        gap: 8px;
        padding: 15px 10px;
        font-size: 9px;
        line-height: 1.8;
    }

    .home-footer-developer {
        gap: 2px;
    }

    .home-footer-developer-line {
        font-size: 9px;
    }

    .home-footer-mas {
        font-size: 10px;
    }
}


/* =====================================================
   3. تبلت
   701px تا 1024px
===================================================== */

@media (min-width: 701px) and (max-width: 1024px) {

    .home-footer-bottom {
        gap: 9px;
        padding: 17px 12px;
        font-size: 10px;
    }

    .home-footer-developer {
        gap: 2px;
        line-height: 1.8;
    }

    .home-footer-developer-line {
        font-size: 10px;
    }

    .home-footer-mas {
        font-size: 11px;
        direction: ltr;
    }
    .home-footer-copy {
        font-size: 11px;
    }
}
/* =====================================================
   1. موبایل خیلی کوچک
   <= 420px
===================================================== */

@media (max-width: 420px) {

    .home-footer-developer {
        gap: 4px;
        line-height: 1.9;
    }

    .home-footer-developer-line {
        font-size: 11px;
        font-weight: 700;
    }

    .home-footer-mas {
        font-size: 12px;
        font-weight: 900;
    }
    .home-footer-slogan {
        font-size: 14px;
        font-weight: 900;
    }
    .home-footer-copy {
        font-size: 14px;
    }
}


/* =====================================================
   2. موبایل
   421px تا 700px
===================================================== */

@media (min-width: 421px) and (max-width: 700px) {

    .home-footer-developer {
        gap: 5px;
        line-height: 1.9;
    }

    .home-footer-developer-line {
        font-size: 12px;
        font-weight: 700;
    }

    .home-footer-mas {
        font-size: 13px;
        font-weight: 900;
    }
    .home-footer-slogan {
        font-size: 14px;
        font-weight: 900;
    }
    .home-footer-copy {
        font-size: 14px;
    }
}


/* =====================================================
   3. تبلت
   701px تا 1024px
===================================================== */

@media (min-width: 701px) and (max-width: 1024px) {

    .home-footer-developer {
        gap: 6px;
        line-height: 2;
    }

    .home-footer-developer-line {
        font-size: 13px;
        font-weight: 700;
    }

    .home-footer-mas {
        font-size: 14px;
        font-weight: 900;
    }

    .home-footer-slogan {
        font-size: 14px;
        font-weight: 900;
    }
    .home-footer-copy {
        font-size: 14px;
    }
}
