html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
input,
select,
textarea,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Mulish';
    vertical-align: baseline;
    -webkit-tap-highlight-color: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

@font-face {
    font-family: 'Mulish';
    src: url('/oyunagiris/assets/font/Mulish-Light.woff2') format('woff2'),
        url('/oyunagiris/assets/font/Mulish-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('/oyunagiris/assets/font/Mulish-Regular.woff2') format('woff2'),
        url('/oyunagiris/assets/font/Mulish-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('/oyunagiris/assets/font/Mulish-Medium.woff2') format('woff2'),
        url('/oyunagiris/assets/font/Mulish-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('/oyunagiris/assets/font/Mulish-SemiBold.woff2') format('woff2'),
        url('/oyunagiris/assets/font/Mulish-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('/oyunagiris/assets/font/Mulish-Bold.woff2') format('woff2'),
        url('/oyunagiris/assets/font/Mulish-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Mulish';
    font-weight: normal;
}

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    line-height: 1;

    ol,
    ul {
        list-style: none;
    }

    blockquote,
    q {
        quotes: none;
    }

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: '';
        content: none;
    }

    table {
        border-collapse: collapse;
        border-spacing: 0;
    }
}


.d-none {
    display: none !important;
}

body {
    background: linear-gradient(181.25deg, #052567 1.07%, #36BADB 54.43%, #0A2856 103.84%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

main {
    overflow: hidden;
    width: 100%;
}


section {
    width: 100dvw;
    height: 100dvh;
}

#join-game {
    display: flex;
    flex-direction: column;
    &>.image {
        padding: 26px 40px;

        img {
            width: 100%;
        }
    }

    &>.content {
        /* margin-top: 20px; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 24px;

        h2 {
            font-weight: 900;
            font-size: 40px;
            text-align: center;
            color: white;
        }

        p {
            font-weight: 400;
            font-style: Regular;
            font-size: 16px;
            line-height: 22px;
            text-align: center;
            color: white;
        }

        .btn-link-form {
            margin-top: 8px;
            max-width: 256px;
            width: 100%;
            height: 50;
            border-radius: 100px;
            border: 1.5px solid white;
            background: linear-gradient(98.98deg, #00C8E1 10.51%, #008EE1 79.75%);
            box-shadow: 0px 4px 15px 0px #FFFFFF33;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 14px 20px;
            text-decoration: none;

            span {
                font-weight: 800;
                font-size: 16px;
                line-height: 22px;
                text-align: center;
                color: white;
            }
        }
    }

    .logo {
        margin-top: auto;
        margin-bottom: 8px;
        display: flex;
        justify-content: center;

        img {
            height: 42px;
        }
    }

    .popup-form,
    .popup-form-otp {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #000000CC;
        width: 100dvw;
        height: 100dvh;
        display: flex;
        justify-content: center;
        align-items: center;

        .inner-popup {
            position: relative;
            width: calc(100% - 48px);
            background-color: white;
            border-radius: 4px 20px;
            overflow: hidden;

            &>.image {
                background: linear-gradient(225deg, #06386C 0%, #0872AE 100%);
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 20px;
                height: 120px;

                img,
                svg {
                    width: auto;
                }
            }

            .close {
                position: absolute;
                top: 16px;
                right: 16px;
                width: 32px;
                height: 32px;
            }

            .bottom-part {
                padding: 32px 16px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 24px;

                .content {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    gap: 12px;

                    h3 {
                        font-weight: 700;
                        font-size: 20px;
                        line-height: 24px;
                        text-align: center;
                        color: #222943;
                    }

                    p {
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 22px;
                        text-align: center;
                        color: #586473;
                    }
                }
            }

            form {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 24px;
                width: 100%;

                .outer-input {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    width: 100%;

                    .inner-input {
                        max-width: inherit;
                        width: inherit;
                        position: relative;

                        input[type="text"],
                        input[type="tel"],
                        input[type="number"] {
                            width: 100%;
                            height: 56px;
                            border: 1px solid #DEE3ED;
                            padding: 26px 16px 6px;
                            font-weight: 400;
                            font-size: 16px;
                            line-height: 22px;
                            color: #222943;

                            &+label {
                                font-weight: 400;
                                font-size: 14px;
                                line-height: 18px;
                                color: #717D8D;
                                position: absolute;
                                left: 16px;
                                top: 50%;
                                transform: translateY(-50%);

                                &.placeholder {
                                    top: 8px;
                                    font-weight: 400;
                                    font-size: 12px;
                                    line-height: 15px;
                                    transform: unset;
                                }
                            }

                            &:focus {
                                outline: none;
                            }
                        }
                    }

                    &.counter-input {
                        display: flex;
                        flex-wrap: wrap;
                        flex-direction: row !important;
                        gap: unset;

                        .inner-input {
                            flex: 1 1 60%;
                        }

                        .counter {
                            flex: 0 1 18%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            height: 56px;
                            min-width: 93px;
                            border: 1px solid #DEE3ED;
                            border-left: unset;
                            border-radius: 0 6px 6px 0;

                            span {
                                color: #222943;
                                font-weight: bold;
                            }
                        }

                        .error-message {
                            flex: 1 1 100%;
                        }

                        &.error {
                            .counter {
                                border-bottom: 3px solid #CC2D1F;
                                color: #CC2D1F !important;
                            }
                        }
                    }

                    &.error {
                        .inner-input {

                            input[type="text"],
                            input[type="tel"],
                            input[type="number"] {
                                border-bottom: 3px solid #CC2D1F;
                            }

                            label {
                                color: #CC2D1F !important;
                            }
                        }
                    }

                    .error-message {
                        &:empty {
                            height: 0;
                            margin: 0 !important;
                            display: none;
                        }
                    }
                }

                fieldset {
                    position: relative;
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    .checkbox {
                        display: flex;
                        align-items: center;

                        input[type="checkbox"] {
                            cursor: pointer;
                            visibility: hidden;
                            position: absolute;

                            &:checked {
                                &+label {
                                    &::before {
                                        background-color: #049EAD;
                                    }
                                }
                            }

                            &+label {
                                position: static;
                                cursor: pointer;
                                position: relative;
                                font-size: 16px;
                                font-stretch: normal;
                                font-style: normal;
                                line-height: 24px;
                                letter-spacing: normal;
                                color: #586473;
                                /* padding-left: 32px; */
                                padding-right: 8px;
                                transition: color 0.6s linear;
                                pointer-events: auto;

                                &::before {
                                    content: "\2713";
                                    color: white;
                                    width: 24px;
                                    height: 24px;
                                    border-radius: 2px;
                                    outline: 1px solid #A0ACBD;
                                    text-align: center;
                                    background-color: #fff;
                                    transition: all 0.4s linear;
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                }
                            }
                        }

                        &>span {
                            font-size: 14px;
                            font-weight: 600;
                            a {
                                color: #049EAD;
                            }
                        }
                    }

                    &.error {
                        .checkbox {
                            &>span {
                                a {
                                    color: #CC2D1F;
                                }
                            }
                        }
                    }
                }
            }

            .buttons {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 12px;
                justify-content: center;
                align-items: center;

                button,
                a {
                    height: 54px;
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding: 16px 20px;
                    border-radius: 100px;

                    span {
                        font-weight: 700;
                        font-size: 16px;
                        line-height: 22px;
                        text-align: center;
                    }

                    &.btn-dark {
                        background: #002855;

                        span {
                            color: white;
                        }
                        &:disabled {
                            background-color: #E2E6EB;
                            span {
                                color: #B8BEC6;
                            }
                        }
                    }

                    &.btn-text {
                        background-color: unset;

                        span {
                            color: #002855;
                            font-weight: bold;
                        }

                        &:disabled {
                            span {
                                color: #A5B2C3;
                            }
                        }
                    }
                }
            }

            .form-lead {
                padding: 42px 16px;
                display: flex;
                flex-direction: column;
                gap: 24px;

                .form-lead-title-box {
                    padding: unset !important;
                    margin: unset !important;
                }

                .form-group {
                    margin: unset;

                    button {
                        &.btn-send-again {
                            font-weight: 700;
                            font-style: Bold;
                            font-size: 16px;
                            line-height: 22px;
                            text-align: center;
                            color: #049EAD;
                            width: 100%;

                            &:disabled {
                                color: #A5B2C3;
                            }
                        }
                    }

                    &>a {
                        border-radius: 4px;
                    }
                }

                .form-group-2 {
                    position: relative;
                    display: flex;
                    text-align: center;
                    align-items: center;
                    margin-bottom: 0px !important;
                    border-radius: 4px;

                    input {
                        height: 72px;
                        padding: 16px !important;
                        border-right: unset !important;
                    }

                    label.error {
                        display: none !important;
                    }
                }
            }
        }

        &.result {
            .inner-popup {
                .form-lead {
                    padding: 24px 16px;
                }
            }
        }
    }
}