/* =========================================
   3XBET
   GAMES PAGE
========================================= */

.games-page {

    padding-bottom: 96px;

}


/* =========================================
   PAGE HEADING
========================================= */

.games-heading {

    padding:
        22px 16px 10px;

}

.games-kicker {

    margin-bottom: 5px;

    color:
        var(--green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        1.5px;

}

.games-heading h1 {

    margin:
        0;

    color:
        var(--text-primary);

    font-size: 27px;

    line-height: 1.1;

}

.games-heading p {

    margin:
        7px 0 0;

    color:
        var(--text-muted);

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================
   CATEGORY BAR
========================================= */

.games-categories {

    display: flex;

    gap: 7px;

    padding:
        10px 16px 15px;

    overflow-x: auto;

    scrollbar-width: none;

}

.games-categories::-webkit-scrollbar {

    display: none;

}

.game-category {

    flex:
        0 0 auto;

    min-height: 34px;

    padding:
        0 15px;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        var(--text-muted);

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;

    cursor: pointer;

    transition:
        0.18s ease;

}

.game-category:hover {

    color:
        var(--text-primary);

    border-color:
        rgba(255, 255, 255, 0.12);

}

.game-category.active {

    color:
        #07111d;

    background:
        var(--green);

    border-color:
        var(--green);

}


/* =========================================
   SECTION
========================================= */

.games-section {

    padding:
        8px 16px 18px;

}

.games-section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 10px;

}

.section-kicker {

    display: block;

    margin-bottom: 3px;

    color:
        var(--text-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing:
        1.2px;

}

.games-section-header h2 {

    margin:
        0;

    color:
        var(--text-primary);

    font-size: 17px;

}


/* =========================================
   FEATURED GAME
========================================= */

.game-feature-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        16px;

    background:
        #081827;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.22);

}


/* =========================================
   FEATURED ART
========================================= */

.game-feature-art {

    position: relative;

    height: 210px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #102c39 0%,
            #0b2630 45%,
            #07131e 100%
        );

}

.game-glow {

    position: absolute;

    width: 230px;
    height: 230px;

    left: 50%;
    top: 45%;

    transform:
        translate(-50%, -50%);

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(53, 199, 89, 0.20) 0%,
            rgba(53, 199, 89, 0.07) 35%,
            transparent 70%
        );

}

.chicken-road-art {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


/* =========================================
   CLOUDS
========================================= */

.chicken-road-cloud {

    position: absolute;

    width: 65px;
    height: 18px;

    border-radius:
        20px;

    background:
        rgba(255, 255, 255, 0.08);

}

.chicken-road-cloud::before,
.chicken-road-cloud::after {

    content: "";

    position: absolute;

    border-radius:
        50%;

    background:
        inherit;

}

.chicken-road-cloud::before {

    width: 25px;
    height: 25px;

    left: 10px;
    top: -10px;

}

.chicken-road-cloud::after {

    width: 32px;
    height: 32px;

    right: 8px;
    top: -15px;

}

.cloud-one {

    top: 35px;
    left: 18%;

    transform:
        scale(0.85);

}

.cloud-two {

    top: 72px;
    right: 8%;

    transform:
        scale(0.65);

}


/* =========================================
   ROAD
========================================= */

.road {

    position: absolute;

    left: -10%;

    right: -10%;

    bottom: -65px;

    height: 150px;

    transform:
        rotate(-4deg);

    background:
        linear-gradient(
            180deg,
            #28343a 0%,
            #182229 100%
        );

    border-top:
        2px solid
        rgba(255,255,255,0.08);

}

.road::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 42%;

    height: 2px;

    background:
        rgba(255,255,255,0.06);

}

.road-line {

    position: absolute;

    top: 50%;

    width: 34px;

    height: 3px;

    border-radius:
        3px;

    background:
        #c7a94a;

}

.line-one {

    left: 15%;

}

.line-two {

    left: 45%;

}

.line-three {

    left: 75%;

}


/* =========================================
   CHICKEN CHARACTER
========================================= */

.chicken-character {

    position: absolute;

    left: 50%;

    bottom: 62px;

    width: 92px;
    height: 112px;

    transform:
        translateX(-50%);

    animation:
        chicken-bounce 1.8s
        ease-in-out infinite;

}

@keyframes chicken-bounce {

    0%,
    100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-6px);
    }

}

.chicken-body {

    position: absolute;

    left: 23px;

    bottom: 8px;

    width: 52px;
    height: 65px;

    border-radius:
        48% 48% 43% 43%;

    background:
        linear-gradient(
            145deg,
            #f7d34d,
            #e39d25
        );

    box-shadow:
        inset -8px -8px 15px
        rgba(125, 61, 0, 0.18);

}

.chicken-head {

    position: absolute;

    left: 21px;

    top: 5px;

    width: 58px;
    height: 58px;

    border-radius:
        50%;

    background:
        linear-gradient(
            145deg,
            #ffe267,
            #edae2e
        );

    z-index: 3;

}

.chicken-eye {

    position: absolute;

    right: 13px;
    top: 17px;

    width: 7px;
    height: 7px;

    border-radius:
        50%;

    background:
        #101820;

}

.chicken-beak {

    position: absolute;

    right: -8px;
    top: 27px;

    width: 18px;
    height: 12px;

    background:
        #e77925;

    clip-path:
        polygon(
            0 0,
            100% 50%,
            0 100%
        );

}

.chicken-comb {

    position: absolute;

    top: 0;
    left: 35px;

    width: 23px;
    height: 16px;

    z-index: 4;

    background:
        #df4737;

    clip-path:
        polygon(
            0 100%,
            8% 35%,
            30% 65%,
            50% 5%,
            68% 65%,
            92% 30%,
            100% 100%
        );

}

.chicken-leg {

    position: absolute;

    bottom: 0;

    width: 5px;
    height: 18px;

    background:
        #d77b23;

    border-radius:
        5px;

}

.leg-left {

    left: 35px;

}

.leg-right {

    left: 55px;

}

.game-art-title {

    position: absolute;

    left: 17px;
    bottom: 18px;

    color:
        #ffffff;

    font-size: 21px;

    line-height: 0.9;

    font-weight: 950;

    letter-spacing:
        -0.5px;

    text-shadow:
        0 3px 12px
        rgba(0,0,0,0.5);

}

.game-art-title span {

    display: block;

    color:
        var(--green);

    font-size: 27px;

}


/* =========================================
   STATUS PILL
========================================= */

.game-status-pill {

    position: absolute;

    top: 12px;
    left: 12px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding:
        5px 9px;

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

    border-radius:
        20px;

    background:
        rgba(5, 17, 25, 0.78);

    color:
        #ffffff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing:
        0.7px;

    backdrop-filter:
        blur(8px);

}

.game-status-pill span {

    width: 5px;
    height: 5px;

    border-radius:
        50%;

    background:
        var(--green);

    box-shadow:
        0 0 7px
        var(--green);

}


/* =========================================
   FEATURE CONTENT
========================================= */

.game-feature-content {

    padding:
        15px;

}

.game-feature-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

}

.game-type {

    display: block;

    margin-bottom: 3px;

    color:
        var(--text-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing:
        1px;

}

.game-feature-top h3 {

    margin:
        0;

    color:
        var(--text-primary);

    font-size: 20px;

}

.game-rating {

    flex:
        0 0 auto;

    padding:
        5px 8px;

    border-radius:
        7px;

    background:
        rgba(255, 193, 7, 0.08);

    color:
        #f3c84b;

    font-size: 10px;

    font-weight: 800;

}

.game-feature-content > p {

    margin:
        9px 0 12px;

    color:
        var(--text-muted);

    font-size: 11px;

    line-height: 1.5;

}

.game-feature-meta {

    display: flex;

    gap: 7px;

    margin-bottom: 13px;

}

.game-feature-meta span {

    padding:
        5px 8px;

    border:
        1px solid var(--border);

    border-radius:
        6px;

    color:
        var(--text-secondary);

    font-size: 9px;

}

.game-play-button {

    width: 100%;

    min-height: 42px;

    border:
        0;

    border-radius:
        9px;

    background:
        var(--green);

    color:
        #07111d;

    font-size: 11px;

    font-weight: 900;

    letter-spacing:
        0.4px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        filter 0.15s ease;

}

.game-play-button:hover {

    filter:
        brightness(1.08);

}

.game-play-button:active {

    transform:
        scale(0.98);

}


/* =========================================
   GAME GRID
========================================= */

.games-grid {

    display: grid;

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

    gap: 10px;

}

.game-card {

    position: relative;

    overflow: hidden;

    min-width: 0;

    border:
        1px solid var(--border);

    border-radius:
        12px;

    background:
        #081827;

}

.game-card.hidden {

    display: none;

}

.game-card-art {

    position: relative;

    height: 126px;

    overflow: hidden;

}

.game-card-content {

    display: flex;

    flex-direction: column;

    gap: 3px;

    padding:
        10px 10px 7px;

}

.game-card-content strong {

    overflow: hidden;

    color:
        var(--text-primary);

    font-size: 12px;

    white-space: nowrap;

    text-overflow: ellipsis;

}

.game-card-content span {

    color:
        var(--text-muted);

    font-size: 9px;

}

.game-card-button {

    width:
        calc(100% - 20px);

    min-height: 31px;

    margin:
        0 10px 10px;

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

    border-radius:
        7px;

    background:
        rgba(53,199,89,0.08);

    color:
        var(--green);

    font-size: 9px;

    font-weight: 900;

    cursor: pointer;

}

.game-card-button:hover {

    background:
        rgba(53,199,89,0.14);

}


/* =========================================
   GAME BADGE
========================================= */

.game-card-badge {

    position: absolute;

    top: 8px;
    right: 8px;

    padding:
        4px 7px;

    border-radius:
        5px;

    background:
        rgba(5, 12, 18, 0.78);

    color:
        #ffffff;

    font-size: 7px;

    font-weight: 900;

    letter-spacing:
        0.5px;

}


/* =========================================
   CHICKEN CARD
========================================= */

.chicken-card {

    background:
        linear-gradient(
            150deg,
            #244f42,
            #102c30
        );

}

.mini-road {

    position: absolute;

    left: -10%;

    right: -10%;

    bottom: -38px;

    height: 95px;

    transform:
        rotate(-7deg);

    background:
        #28363b;

}

.mini-road::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 45%;

    height: 2px;

    background:
        repeating-linear-gradient(
            90deg,
            #d3b84f 0 22px,
            transparent 22px 38px
        );

}

.mini-chicken {

    position: absolute;

    left: 50%;

    bottom: 26px;

    width: 46px;
    height: 61px;

    transform:
        translateX(-50%);

}

.mini-body {

    position: absolute;

    bottom: 0;
    left: 9px;

    width: 29px;
    height: 37px;

    border-radius:
        50%;

    background:
        #edb52f;

}

.mini-head {

    position: absolute;

    top: 2px;
    left: 7px;

    width: 34px;
    height: 34px;

    border-radius:
        50%;

    background:
        #ffda4e;

    z-index: 2;

}

.mini-head span {

    position: absolute;

    top: 10px;
    right: 7px;

    width: 4px;
    height: 4px;

    border-radius:
        50%;

    background:
        #111;

}

.mini-comb {

    position: absolute;

    top: 0;
    left: 20px;

    z-index: 3;

    width: 13px;
    height: 9px;

    background:
        #dc493b;

    clip-path:
        polygon(
            0 100%,
            15% 30%,
            35% 65%,
            52% 5%,
            70% 65%,
            100% 30%,
            100% 100%
        );

}


/* =========================================
   CRASH CARD
========================================= */

.crash-card {

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(53,199,89,0.22),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #102e2a,
            #07151d
        );

}

.crash-line {

    position: absolute;

    left: -10%;
    bottom: 24px;

    width: 125%;

    height: 2px;

    background:
        var(--green);

    transform:
        rotate(-24deg);

    box-shadow:
        0 0 10px
        rgba(53,199,89,0.7);

}

.crash-multiplier {

    position: absolute;

    left: 16px;
    top: 48px;

    color:
        #ffffff;

    font-size: 25px;

    font-weight: 900;

}


/* =========================================
   ROCKET CARD
========================================= */

.rocket-card {

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(93, 105, 255, 0.28),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #182450,
            #080f20
        );

}

.rocket {

    position: absolute;

    left: 50%;
    top: 38px;

    width: 48px;
    height: 70px;

    transform:
        translateX(-50%)
        rotate(42deg);

    border-radius:
        50% 50% 42% 42%;

    background:
        linear-gradient(
            90deg,
            #d8dce5,
            #ffffff
        );

}

.rocket::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -10px;

    height: 28px;

    background:
        #5864d8;

    clip-path:
        polygon(
            50% 100%,
            0 0,
            100% 0
        );

}

.rocket-window {

    position: absolute;

    left: 14px;
    top: 13px;

    width: 20px;
    height: 20px;

    border-radius:
        50%;

    background:
        #283b67;

    border:
        3px solid
        #aeb6c7;

}

.rocket-flame {

    display: none;

}


/* =========================================
   DICE CARD
========================================= */

.dice-card {

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #4d2f70,
            #171027
        );

}

.dice {

    position: relative;

    width: 57px;
    height: 57px;

    border-radius:
        12px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #d7dce4
        );

    transform:
        rotate(-8deg);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,0.3);

}

.dice span {

    position: absolute;

    width: 8px;
    height: 8px;

    border-radius:
        50%;

    background:
        #17212a;

}

.dice span:nth-child(1) {

    left: 13px;
    top: 13px;

}

.dice span:nth-child(2) {

    left: 24px;
    top: 24px;

}

.dice span:nth-child(3) {

    right: 13px;
    bottom: 13px;

}


/* =========================================
   EMPTY
========================================= */

.games-empty {

    margin:
        5px 16px 25px;

    padding:
        30px 18px;

    border:
        1px dashed var(--border);

    border-radius:
        12px;

    text-align:
        center;

    background:
        rgba(255,255,255,0.015);

}

.games-empty-icon {

    margin-bottom:
        8px;

    font-size:
        30px;

}

.games-empty strong {

    display: block;

    margin-bottom:
        5px;

    color:
        var(--text-primary);

    font-size:
        13px;

}

.games-empty span {

    color:
        var(--text-muted);

    font-size:
        10px;

}


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

@media (min-width: 768px) {

    .games-page {

        padding:
            24px 28px 40px 100px;

    }

    .games-heading {

        padding:
            8px 0 18px;

    }

    .games-categories {

        padding:
            5px 0 20px;

    }

    .games-section {

        padding:
            10px 0 25px;

    }

    .game-feature-card {

        display: grid;

        grid-template-columns:
            1.25fr 0.75fr;

    }

    .game-feature-art {

        height: 270px;

    }

    .game-feature-content {

        display: flex;

        flex-direction: column;

        justify-content: center;

        padding:
            28px;

    }

    .game-feature-content > p {

        max-width:
            390px;

        font-size:
            12px;

    }

    .games-grid {

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

    }

    .game-card-art {

        height:
            160px;

    }

}


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

@media (min-width: 1200px) {

    .games-page {

        padding-left:
            112px;

        padding-right:
            35px;

    }

    .games-grid {

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

    }

}