/* =========================================
   FOXBET - HOME PAGE
   Dark Navy / Blue Sportsbook Style
========================================= */


/* =========================================
   HOME PAGE BASE
========================================= */

.home-page {
    padding-top: 14px;
    padding-bottom: 86px;
}


/* =========================================
   HERO
========================================= */

.home-hero {
    position: relative;
    min-height: 190px;
    margin-bottom: 14px;
    overflow: hidden;

    background:
        linear-gradient(
            105deg,
            #0b2a45 0%,
            #0a2138 48%,
            #071a2b 100%
        );

    border: 1px solid #173b55;
    border-radius: 4px;
}

.home-hero::before {
    content: "";
    position: absolute;

    width: 230px;
    height: 230px;

    right: -80px;
    top: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(53, 199, 89, 0.16) 0%,
            rgba(53, 199, 89, 0) 70%
        );
}

.home-hero::after {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: 55px;
    bottom: -120px;

    border-radius: 50%;

    border: 1px solid rgba(53, 199, 89, 0.10);
}

.home-hero-content {
    position: relative;
    z-index: 2;

    max-width: 620px;

    padding: 25px 22px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;

    height: 22px;

    padding: 0 8px;

    margin-bottom: 9px;

    background: rgba(53, 199, 89, 0.12);
    border: 1px solid rgba(53, 199, 89, 0.28);

    color: #35c759;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;

    border-radius: 3px;
}

.home-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.15;
    font-weight: 800;

    letter-spacing: -0.5px;
}

.home-hero h1 span {
    display: block;

    margin-top: 2px;

    color: #35c759;
}

.home-hero p {
    max-width: 420px;

    margin: 9px 0 15px;

    color: #8098aa;

    font-size: 11px;
    line-height: 1.55;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 125px;
    height: 34px;

    padding: 0 15px;

    background: #35c759;
    color: #06131e;

    border-radius: 3px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.25px;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.hero-button:hover {
    background: #45d968;
}

.hero-button:active {
    transform: translateY(1px);
}


/* =========================================
   SECTIONS
========================================= */

.home-page .section {
    margin-bottom: 14px;
}

.home-page .section:last-child {
    margin-bottom: 0;
}

.home-page .section-header {
    min-height: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 7px;
}

.home-page .section-header h2 {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.section-action {
    color: #35c759;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.35px;
}

.section-action:hover {
    color: #55dc73;
}


/* =========================================
   SPORTS GRID
========================================= */

.sports-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;
}

.sport-card {
    position: relative;

    min-height: 66px;

    display: flex;
    align-items: center;

    padding: 10px;

    background: #0d2940;

    border: 1px solid #183d56;
    border-radius: 4px;

    color: #ffffff;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.sport-card:hover {
    background: #12344c;
    border-color: #24526e;
}

.sport-card:active {
    transform: translateY(1px);
}

.sport-card.active {
    background:
        linear-gradient(
            135deg,
            #103b4b 0%,
            #0d3044 100%
        );

    border-color: rgba(53, 199, 89, 0.55);
}

.sport-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 9px;

    background: #102f46;

    color: #35c759;

    border: 1px solid #1c455e;
    border-radius: 3px;
}

.sport-card.active .sport-icon {
    background: rgba(53, 199, 89, 0.10);
    border-color: rgba(53, 199, 89, 0.30);
}

.sport-icon svg {
    width: 20px;
    height: 20px;
}

.sport-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.sport-info strong {
    color: #ffffff;

    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
}

.sport-info span {
    overflow: hidden;

    color: #718b9e;

    font-size: 8.5px;
    line-height: 1.2;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.sport-arrow {
    width: 15px;
    height: 15px;

    flex: 0 0 15px;

    margin-left: auto;

    color: #527084;
}

.sport-card.active .sport-arrow {
    color: #35c759;
}

.live-icon {
    color: #35c759;
}


/* =========================================
   QUICK ACCESS
========================================= */

.quick-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 6px;
}

.quick-card {
    min-height: 62px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 8px 5px;

    background: #0b253b;

    border: 1px solid #173a53;
    border-radius: 4px;

    color: #7892a4;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.quick-card:hover {
    background: #102f47;
    border-color: #24506b;

    color: #ffffff;
}

.quick-card svg {
    width: 19px;
    height: 19px;

    color: #35c759;
}

.quick-card span {
    color: inherit;

    font-size: 8px;
    line-height: 1;

    font-weight: 700;

    text-align: center;
    white-space: nowrap;
}


/* =========================================
   FEATURED PANEL
========================================= */

.featured-panel {
    overflow: hidden;

    background: #0d2940;

    border: 1px solid #183d56;
    border-radius: 4px;
}

.featured-row {
    min-height: 72px;

    display: flex;
    align-items: center;

    padding: 10px;
}

.featured-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 10px;

    background: #102f46;

    border: 1px solid #1c455e;
    border-radius: 3px;

    color: #35c759;
}

.featured-icon svg {
    width: 21px;
    height: 21px;
}

.featured-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.featured-text strong {
    color: #ffffff;

    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
}

.featured-text span {
    max-width: 500px;

    color: #718b9e;

    font-size: 8.5px;
    line-height: 1.35;
}

.featured-button {
    flex: 0 0 auto;

    min-width: 56px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    background: #35c759;
    color: #06131e;

    border-radius: 3px;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.25px;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.featured-button:hover {
    background: #45d968;
}

.featured-button:active {
    transform: translateY(1px);
}


/* =========================================
   CARD ACCENT LINE
========================================= */

.sport-card.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;
    bottom: 9px;

    width: 2px;

    background: #35c759;

    border-radius: 0 2px 2px 0;
}


/* =========================================
   SEARCH BUTTON / HEADER COMPATIBILITY
========================================= */

#homeSearchButton svg {
    display: block;
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

    .home-page {
        max-width: 1100px;

        margin-left: auto;
        margin-right: auto;

        padding-top: 18px;
        padding-bottom: 30px;
    }

    .home-hero {
        min-height: 210px;
    }

    .home-hero-content {
        padding: 31px 30px;
    }

    .home-hero h1 {
        font-size: 30px;
    }

    .home-hero p {
        font-size: 12px;
    }

    .sports-grid {
        grid-template-columns:
            repeat(2, minmax(260px, 1fr));
    }

    .sport-card {
        min-height: 72px;
    }

    .quick-grid {
        grid-template-columns:
            repeat(4, minmax(130px, 1fr));
    }

    .quick-card {
        min-height: 70px;
    }

}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1100px) {

    .home-page {
        max-width: 1180px;
    }

    .home-hero {
        min-height: 225px;
    }

    .home-hero-content {
        padding: 35px;
    }

    .home-hero h1 {
        font-size: 33px;
    }

    .home-hero p {
        font-size: 12px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .home-page {
        padding-top: 10px;
    }

    .home-hero {
        min-height: 178px;
    }

    .home-hero-content {
        padding: 21px 17px;
    }

    .home-hero h1 {
        font-size: 22px;
    }

    .home-hero p {
        font-size: 10px;

        max-width: 290px;
    }

    .sports-grid {
        gap: 5px;
    }

    .sport-card {
        padding: 8px;
    }

    .sport-icon {
        width: 30px;
        height: 30px;

        flex-basis: 30px;

        margin-right: 7px;
    }

    .sport-icon svg {
        width: 18px;
        height: 18px;
    }

    .sport-info strong {
        font-size: 10px;
    }

    .sport-info span {
        font-size: 7.5px;
    }

    .quick-grid {
        gap: 4px;
    }

    .quick-card {
        min-height: 58px;
    }

    .featured-row {
        padding: 9px;
    }

    .featured-text span {
        font-size: 8px;
    }

}