/* ============================================================
   GLOBAL
============================================================ */

* {
    box-sizing: border-box;
}


html,
body {

    margin: 0;

    padding: 0;

    background: transparent;

}


body {

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

}



/* ============================================================
   MAIN PROMO
============================================================ */

.gmw-promo {

    --gmw-black:
        #151813;

    --gmw-black2:
        #242820;

    --gmw-green:
        #b8ef50;

    --gmw-dark-green:
        #637f3a;

    --gmw-paper:
        #f6f3e9;

    --gmw-sage:
        #dce7ca;

    --gmw-gold:
        #edbd4b;


    position: relative;

    isolation: isolate;


    width:
        min(
            820px,
            calc(100% - 20px)
        );


    margin:
        15px auto;


    overflow:
        hidden;


    color:
        white;


    background:

        radial-gradient(

            circle at 50% 10%,

            rgba(
                184,
                239,
                80,
                .13
            ),

            transparent 32%

        ),

        linear-gradient(

            145deg,

            #1c2119,

            #10130f

        );


    border:

        1px solid

        rgba(
            255,
            255,
            255,
            .10
        );


    box-shadow:

        10px 10px 0

        rgba(
            23,
            26,
            20,
            .07
        );

}



.gmw-promo *,
.gmw-promo *::before,
.gmw-promo *::after {

    box-sizing:
        border-box;

}



/* ============================================================
   BACKGROUND GRID
============================================================ */

.gmw-background {

    position:
        absolute;

    z-index:
        -1;

    inset:
        0;

    opacity:
        .06;

    pointer-events:
        none;


    background-image:

        linear-gradient(

            rgba(
                255,
                255,
                255,
                .24
            )
            1px,

            transparent
            1px

        ),

        linear-gradient(

            90deg,

            rgba(
                255,
                255,
                255,
                .24
            )
            1px,

            transparent
            1px

        );


    background-size:

        45px
        45px;

}



/* ============================================================
   SHELL
============================================================ */

.gmw-shell {

    width:

        min(
            720px,
            calc(100% - 38px)
        );


    margin:
        auto;


    padding:

        40px
        0
        36px;

}



/* ============================================================
   HEADER
============================================================ */

.gmw-header {

    max-width:
        680px;


    margin:

        0
        auto
        28px;


    text-align:
        center;

}



.gmw-kicker {

    display:
        inline-block;


    margin-bottom:
        11px;


    color:

        var(
            --gmw-green
        );


    font-size:
        10px;


    font-weight:
        900;


    letter-spacing:
        .16em;


    text-transform:
        uppercase;

}



.gmw-header h1 {

    margin:
        0;


    font-size:

        clamp(
            36px,
            6vw,
            62px
        );


    line-height:
        .94;


    font-weight:
        950;


    letter-spacing:
        -.055em;


    text-transform:
        uppercase;

}



.gmw-header h1 em {

    display:
        block;


    margin-top:
        6px;


    color:

        var(
            --gmw-green
        );


    font-family:

        Georgia,
        "Times New Roman",
        serif;


    font-weight:
        400;


    letter-spacing:
        -.04em;


    text-transform:
        none;

}



.gmw-header > p {

    max-width:
        560px;


    margin:

        18px
        auto
        0;


    color:
        #d7dbd2;


    font-size:
        14px;


    line-height:
        1.55;

}



/* ============================================================
   TOP INFO
============================================================ */

.gmw-promo-info {

    display:
        flex;


    flex-wrap:
        wrap;


    justify-content:
        center;


    gap:
        7px;


    margin-top:
        19px;

}



.gmw-promo-info span {

    display:
        flex;


    align-items:
        center;


    gap:
        6px;


    padding:

        8px
        11px;


    border:

        1px solid

        rgba(
            255,
            255,
            255,
            .14
        );


    background:

        rgba(
            255,
            255,
            255,
            .035
        );


    color:
        #dadfd5;


    font-size:
        9px;


    font-weight:
        850;

}



.gmw-promo-info b {

    color:

        var(
            --gmw-green
        );

}



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

.gmw-game {

    width:

        min(
            560px,
            100%
        );


    margin:
        auto;


    text-align:
        center;

}



.gmw-wheel-area {

    display:
        flex;


    flex-direction:
        column;


    align-items:
        center;

}



/* ============================================================
   POINTER
============================================================ */

.gmw-pointer {

    position:
        relative;


    z-index:
        30;


    width:
        0;


    height:
        0;


    margin-bottom:
        -24px;


    border-left:

        19px solid
        transparent;


    border-right:

        19px solid
        transparent;


    border-top:

        48px solid

        var(
            --gmw-green
        );


    filter:

        drop-shadow(

            0
            5px
            4px

            rgba(
                0,
                0,
                0,
                .3
            )

        );

}



/* ============================================================
   WHEEL WRAPPER
============================================================ */

.gmw-wheel-wrap {

    position:
        relative;


    width:

        min(
            390px,
            82vw
        );


    aspect-ratio:
        1 / 1;


    filter:

        drop-shadow(

            0
            20px
            30px

            rgba(
                0,
                0,
                0,
                .40
            )

        );

}



/* ============================================================
   WHEEL - 5 VISUAL SECTORS
============================================================ */

.gmw-wheel {

    position:
        absolute;


    inset:
        0;


    border:

        8px solid
        white;


    border-radius:
        50%;



    /*
       5 сектора.
       Всеки сектор = 72°.

       from -36deg:
       сектор 0 има център
       точно под стрелката.
    */

    background:

        conic-gradient(

            from -36deg,


            /* 0 - 5 EURO */

            #b8ef50
            0deg
            72deg,


            /* 1 - 10 EURO */

            #f6f3e9
            72deg
            144deg,


            /* 2 - 15 EURO */

            #dce7ca
            144deg
            216deg,


            /* 3 - 20 EURO */

            #edbd4b
            216deg
            288deg,


            /* 4 - LOSE */

            #333830
            288deg
            360deg

        );


    transition:

        transform
        5.2s
        cubic-bezier(
            .11,
            .72,
            .13,
            1
        );


    will-change:
        transform;

}



/* ============================================================
   INNER DASH
============================================================ */

.gmw-wheel::after {

    content:
        "";


    position:
        absolute;


    inset:
        11px;


    border:

        2px dashed

        rgba(
            18,
            20,
            17,
            .30
        );


    border-radius:
        50%;


    pointer-events:
        none;

}



/* ============================================================
   CENTER
============================================================ */

.gmw-center {

    position:
        absolute;


    z-index:
        10;


    top:
        50%;


    left:
        50%;


    width:
        78px;


    height:
        78px;


    display:
        grid;


    place-items:
        center;


    transform:

        translate(
            -50%,
            -50%
        );


    border:

        6px solid
        white;


    border-radius:
        50%;


    background:

        var(
            --gmw-black
        );


    box-shadow:

        0
        8px
        25px

        rgba(
            0,
            0,
            0,
            .35
        );

}



.gmw-center strong {

    color:

        var(
            --gmw-green
        );


    font-size:
        20px;


    font-weight:
        950;

}



/* ============================================================
   WHEEL LABELS
============================================================ */

.gmw-wheel-label {

    --radius:
        143px;


    position:
        absolute;


    z-index:
        5;


    top:
        50%;


    left:
        50%;


    width:
        82px;


    margin-left:
        -41px;


    margin-top:
        -10px;


    color:
        #111;


    text-align:
        center;


    font-size:
        18px;


    line-height:
        1;


    font-weight:
        950;


    transform:

        rotate(

            calc(
                var(--i)
                *
                72deg
            )

        )

        translateY(

            calc(
                var(--radius)
                *
                -1
            )

        );


    transform-origin:

        41px
        10px;


    pointer-events:
        none;

}



.gmw-lose {

    color:
        white;


    font-size:
        10px;


    line-height:
        1.1;

}



/* ============================================================
   FORM
============================================================ */

.gmw-form {

    width:

        min(
            480px,
            100%
        );


    margin:

        30px
        auto
        0;


    text-align:
        left;

}



.gmw-form label {

    display:
        block;


    margin-bottom:
        8px;


    color:
        #c9cdc4;


    font-size:
        9px;


    font-weight:
        900;


    letter-spacing:
        .12em;

}



.gmw-input-wrap {

    position:
        relative;

}



.gmw-input-wrap input {

    width:
        100%;


    min-height:
        54px;


    padding:

        0
        48px
        0
        16px;


    border:

        1px solid

        rgba(
            255,
            255,
            255,
            .27
        );


    border-radius:
        0;


    outline:
        none;


    background:

        rgba(
            255,
            255,
            255,
            .07
        );


    color:
        white;


    font-size:
        16px;

}



.gmw-input-wrap input::placeholder {

    color:
        #858a80;

}



.gmw-input-wrap input:focus {

    border-color:

        var(
            --gmw-green
        );

}



/* ============================================================
   VALID EMAIL ICON
============================================================ */

.gmw-valid-icon {

    position:
        absolute;


    top:
        50%;


    right:
        17px;


    display:
        none;


    transform:

        translateY(
            -50%
        );


    color:

        var(
            --gmw-green
        );


    font-size:
        19px;


    font-weight:
        950;

}



.gmw-input-wrap
input.gmw-valid
+
.gmw-valid-icon {

    display:
        block;

}



/* ============================================================
   HELP
============================================================ */

.gmw-help {

    min-height:
        17px;


    margin:

        7px
        0
        0;


    color:
        #979c92;


    font-size:
        10px;


    line-height:
        1.4;

}



/* ============================================================
   SPIN BUTTON
============================================================ */

.gmw-spin-button {

    width:
        100%;


    min-height:
        56px;


    margin-top:
        14px;


    display:
        flex;


    align-items:
        center;


    justify-content:
        space-between;


    gap:
        15px;


    padding:

        14px
        18px;


    border:

        2px solid
        #111;


    background:

        var(
            --gmw-green
        );


    color:
        #111;


    cursor:
        pointer;


    box-shadow:

        5px
        5px
        0
        white;


    font-size:
        11px;


    font-weight:
        950;


    letter-spacing:
        .075em;


    transition:

        transform
        .15s
        ease,

        box-shadow
        .15s
        ease,

        opacity
        .15s
        ease;

}



.gmw-spin-button b {

    font-size:
        22px;

}



.gmw-spin-button:hover:not(:disabled) {

    transform:

        translate(
            2px,
            2px
        );


    box-shadow:

        3px
        3px
        0
        white;

}



.gmw-spin-button:disabled {

    cursor:
        not-allowed;


    opacity:
        .34;


    box-shadow:

        3px
        3px
        0

        rgba(
            255,
            255,
            255,
            .4
        );

}



/* ============================================================
   RESULT
============================================================ */

.gmw-result {

    width:

        min(
            480px,
            100%
        );


    margin:

        25px
        auto
        0;


    padding:
        22px;


    background:

        var(
            --gmw-paper
        );


    color:

        var(
            --gmw-black
        );


    text-align:
        left;

}



.gmw-result-small {

    display:
        block;


    margin-bottom:
        7px;


    color:
        #697064;


    font-size:
        9px;


    font-weight:
        900;


    letter-spacing:
        .13em;

}



.gmw-prize {

    display:
        block;


    margin-bottom:
        15px;


    font-size:

        clamp(
            40px,
            7vw,
            60px
        );


    line-height:
        .95;


    font-weight:
        950;


    letter-spacing:
        -.05em;

}



.gmw-result p {

    margin:

        0
        0
        12px;


    font-size:
        13px;


    line-height:
        1.5;


    font-weight:
        700;

}



/* ============================================================
   PROMO CODE
============================================================ */

.gmw-code-box {

    display:
        flex;

}



.gmw-code-box[hidden] {

    display:
        none;

}



.gmw-code-box code {

    flex:
        1;


    min-width:
        0;


    padding:
        14px;


    border:

        2px solid

        var(
            --gmw-black
        );


    background:
        white;


    font-size:
        15px;


    font-weight:
        950;


    letter-spacing:
        .06em;


    overflow-wrap:
        anywhere;

}



.gmw-code-box button {

    padding:

        0
        14px;


    border:

        2px solid

        var(
            --gmw-black
        );


    border-left:
        0;


    background:

        var(
            --gmw-green
        );


    color:
        #111;


    cursor:
        pointer;


    font-size:
        9px;


    font-weight:
        950;

}



.gmw-status {

    display:
        block;


    min-height:
        16px;


    margin-top:
        8px;


    color:

        var(
            --gmw-dark-green
        );


    font-size:
        10px;

}



/* ============================================================
   SHOP BUTTON
============================================================ */

.gmw-shop-button {

    width:
        100%;


    min-height:
        48px;


    margin-top:
        13px;


    display:
        flex;


    align-items:
        center;


    justify-content:
        space-between;


    padding:

        12px
        14px;


    background:

        var(
            --gmw-black
        );


    color:
        white !important;


    text-decoration:
        none;


    font-size:
        10px;


    font-weight:
        950;

}



/* ============================================================
   RULES
============================================================ */

.gmw-rules {

    margin-top:
        42px;


    padding-top:
        29px;


    border-top:

        1px solid

        rgba(
            255,
            255,
            255,
            .15
        );

}



.gmw-rules-grid {

    display:
        grid;


    grid-template-columns:

        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );


    gap:
        7px;

}



.gmw-rules-grid article {

    min-width:
        0;


    padding:
        15px;


    border:

        1px solid

        rgba(
            255,
            255,
            255,
            .13
        );


    background:

        rgba(
            255,
            255,
            255,
            .035
        );

}



.gmw-rules-grid article > span {

    display:
        block;


    margin-bottom:
        18px;


    color:

        var(
            --gmw-green
        );


    font-size:
        9px;


    font-weight:
        950;

}



.gmw-rules-grid h3 {

    margin:

        0
        0
        7px;


    font-size:
        13px;


    line-height:
        1.1;


    text-transform:
        uppercase;

}



.gmw-rules-grid p {

    margin:
        0;


    color:
        #aeb3a9;


    font-size:
        10.5px;


    line-height:
        1.5;

}



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

@media
(max-width: 600px) {


    .gmw-promo {

        width:

            calc(
                100% - 6px
            );


        margin:

            3px
            auto;

    }



    .gmw-shell {

        width:

            calc(
                100% - 18px
            );


        padding:

            28px
            0
            24px;

    }



    .gmw-header {

        margin-bottom:
            22px;

    }



    .gmw-header h1 {

        font-size:

            clamp(
                30px,
                10vw,
                42px
            );

    }



    .gmw-header > p {

        margin-top:
            14px;


        font-size:
            13px;

    }



    .gmw-promo-info {

        display:
            grid;


        grid-template-columns:
            1fr;


        gap:
            5px;


        margin-top:
            16px;

    }



    .gmw-promo-info span {

        justify-content:
            flex-start;


        text-align:
            left;


        font-size:
            8.5px;

    }



    .gmw-wheel-wrap {

        width:

            min(
                300px,
                84vw
            );

    }



    .gmw-pointer {

        margin-bottom:
            -19px;


        border-left-width:
            16px;


        border-right-width:
            16px;


        border-top-width:
            39px;

    }



    .gmw-wheel {

        border-width:
            6px;

    }



    .gmw-center {

        width:
            61px;


        height:
            61px;


        border-width:
            5px;

    }



    .gmw-center strong {

        font-size:
            15px;

    }



    .gmw-wheel-label {

        --radius:
            109px;


        width:
            64px;


        margin-left:
            -32px;


        margin-top:
            -8px;


        transform-origin:

            32px
            8px;


        font-size:
            14px;

    }



    .gmw-lose {

        font-size:
            8px;

    }



    .gmw-form {

        margin-top:
            24px;

    }



    .gmw-input-wrap input {

        min-height:
            52px;

    }



    .gmw-spin-button {

        min-height:
            53px;


        font-size:
            9px;

    }



    .gmw-result {

        padding:

            18px
            14px;

    }



    .gmw-code-box {

        display:
            grid;


        grid-template-columns:
            1fr;

    }



    .gmw-code-box code {

        min-height:
            48px;


        display:
            flex;


        align-items:
            center;


        justify-content:
            center;


        text-align:
            center;


        font-size:
            13px;

    }



    .gmw-code-box button {

        min-height:
            42px;


        border:

            2px solid

            var(
                --gmw-black
            );


        border-top:
            0;

    }



    .gmw-rules {

        margin-top:
            34px;

    }



    .gmw-rules-grid {

        grid-template-columns:
            1fr;


        gap:
            5px;

    }



    .gmw-rules-grid article {

        display:
            grid;


        grid-template-columns:

            27px
            minmax(
                0,
                1fr
            );


        gap:
            8px;


        padding:

            13px
            12px;

    }



    .gmw-rules-grid article > span {

        grid-row:

            1 / 3;


        margin:

            3px
            0
            0;

    }


}



/* ============================================================
   REDUCED MOTION
============================================================ */

@media
(prefers-reduced-motion: reduce) {


    .gmw-wheel {

        transition-duration:
            .2s;

    }


}