*, :after, :before {
    box-sizing: inherit;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

html {
    box-sizing: border-box
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0
}

p {
    margin: 0
}

picture {
    display: block
}

img {
    display: block;
    border: none
}

img, svg {
    vertical-align: middle
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none
}

:focus {
    outline: none
}

button {
    all: unset
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    display: flex;
    flex-direction: column;
    height: 100svh;
    position: relative;
    background: linear-gradient(to bottom, #000D27 0%, #002DA0 48%, #000D27 100%);
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: calc(var(--var-board-w) * var(--logo-wrapper-w-coeff));
    height: calc(var(--var-board-w) * var(--logo-wrapper-w-coeff));
    position: relative;
}

.logo {
    aspect-ratio: 1;
    width: calc(var(--var-board-w) * var(--logo-w-coeff));
}

.line-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title {
    position: relative;
    z-index: 2;
    font-size: calc(var(--var-board-w) * var(--title-fs-coeff));
    text-align: center;
    color: #fff;
    line-height: 1.44;
    text-transform: uppercase;
    width: auto;
    flex: 0 0 auto;
    text-shadow: 0 0 11px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    font-style: italic;
}

.line__left,
.line__right {
    position: relative;
    flex: 1 1 0;
    width: 100%;
}

.line__left:before,
.line__right:before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.line--white,
.line--white:before {
    background: #fff;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.5);
}

.line--green,
.line--green:before {
    background: #41FF02;
    box-shadow: 0 0 16px 0 rgba(65, 255, 2, 1);
}

.line__left:before {
    right: 0;
}

.line__right:before {
    left: 0;
}

.btn {
    position: relative;
    aspect-ratio: 530 / 144;
    max-width: 530px;
    height: fit-content;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--var-board-w) * var(--btn-w-coeff));
    font-size: calc(var(--var-board-w) * var(--btn-w-coeff) * var(--btn-fs-coeff));
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    text-transform: uppercase;
    font-weight: 900;
}

.btn > span {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: linear-gradient(to bottom, #011C5E 0%, #023AC4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.btn:after,
.btn:before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.2s ease;
    -webkit-filter: drop-shadow(0 0 30px rgba(7, 255, 82, 1));
    filter: drop-shadow(0 0 30px rgba(7, 255, 82, 1));
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity, filter;
}

.btn:before {
    background: image-set(
            url("../../img/btn/btn@1x.webp") 1x,
            url("../../img/btn/btn@2x.webp") 2x
    ) center/cover no-repeat;
    opacity: 1;
}

.btn:after {
    background: image-set(
            url("../../img/btn/btn_hover@1x.webp") 1x,
            url("../../img/btn/btn_hover@2x.webp") 2x
    ) center/cover no-repeat;
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover::before {
        opacity: 0;
    }

    .btn:hover::after {
        opacity: 1;
    }
}

@supports (-webkit-touch-callout: none) {
    .btn:before,
    .btn:after {
        -webkit-animation: ios-btn-shadow-refresh 0.12s ease-out 1;
        animation: ios-btn-shadow-refresh 0.12s ease-out 1;
    }
}

@-webkit-keyframes ios-btn-shadow-refresh {
    0%,
    100% {
        -webkit-transform: translateZ(0);
    }
    50% {
        -webkit-transform: translateZ(0) scale(1.0001);
    }
}

@keyframes ios-btn-shadow-refresh {
    0%,
    100% {
        transform: translateZ(0);
    }
    50% {
        transform: translateZ(0) scale(1.0001);
    }
}

.btn-pulse {
    -webkit-animation: pulse 1.5s ease-in-out infinite;
    animation: pulse 1.5s ease-in-out infinite;
}

.btn:active {
    -webkit-animation: none;
    animation: none;
    transform: scale(0.98) translateY(1px);
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify {
    position: fixed;
    right: 1%;
    top: 1%;
    z-index: 100;
    background: #41FF02;
    padding: clamp(4px, min(1vw, 2svh), 18px);
    border-radius: clamp(4px, min(1vw, 2svh), 12px);
    opacity: 0;
    transform: translateY(-120%);
    pointer-events: none;
    transition: transform 300ms ease, opacity 300ms ease;
    font-size: clamp(12px, min(1vw, 2svh), 18px);
}

.notify.show {
    opacity: 1;
    transform: translateY(0);
}

.notify > span {
    display: inline-block;
    background: linear-gradient(to bottom, #011C5E 0%, #023AC4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.social {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.social > a > img {
    display: block;
    width: 100%;
    height: auto;
}

.social > a {
    display: block;
    transform-origin: center;
    transition: transform 0.2s ease;
}

.legal-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-basis: 100%;
    width: 100%;
}

.adult-sign {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='37' fill='none' viewBox='0 0 37 37'%3E%3Cpath fill='%23fff' d='M16.73 35.458c-1.591 0-3.182-.01-4.773 0-1.406.01-2.607-.469-3.602-1.48a4364 4364 0 0 1-6.897-6.991C.493 26.007.01 24.809.01 23.423c-.01-3.313-.02-6.637 0-9.95.01-1.334.493-2.501 1.427-3.46 2.33-2.376 4.65-4.752 7-7.106.8-.803 1.786-1.334 2.925-1.345 3.602-.03 7.215-.03 10.818.01 1.118.011 2.073.564 2.863 1.355 2.207 2.22 4.413 4.46 6.61 6.7.482.5.513 1.011.092 1.417-.39.376-.893.334-1.355-.135-2.134-2.157-4.27-4.314-6.383-6.481-.73-.75-1.591-1.105-2.618-1.094-3.007 0-6.024.02-9.032-.01-1.21-.011-2.196.364-3.068 1.27-2.125 2.23-4.311 4.408-6.477 6.607-.687.698-1.026 1.531-1.026 2.521 0 3.158.01 6.325 0 9.483-.01 1.094.37 1.98 1.129 2.74 2.186 2.199 4.352 4.418 6.528 6.627.718.73 1.57 1.125 2.617 1.115 3.11-.021 6.23-.021 9.34 0 1.077.01 1.94-.386 2.699-1.157 2.135-2.198 4.3-4.376 6.456-6.554.472-.48.964-.52 1.355-.146.41.407.369.928-.113 1.417-2.238 2.272-4.465 4.554-6.713 6.805-.924.927-2.052 1.417-3.366 1.417-1.673-.01-3.326-.01-4.988-.01'/%3E%3Cpath fill='%23fff' d='M11.094 22.569h2.577c.923.01 1.847.02 2.77.041.483.011.72.271.72.761 0 .26.01.521 0 .782-.021.844-.196 1.042-1.038 1.052-2.257.01-4.515.01-6.763 0-.934-.01-1.14-.187-1.119-1.125.02-1.084.072-2.178.216-3.262.113-.833.616-1.521 1.344-1.938a67 67 0 0 1 3.53-1.865c.606-.302.945-.667.873-1.407-.072-.687-.154-.969-.831-1.01-.862-.052-1.724.062-2.586.135-.247.021-.493.146-.74.188-.728.125-.882.03-1.18-.657-.482-1.115-.277-1.625.873-2 1.59-.532 3.222-.553 4.854-.25 1.242.229 2.032.99 2.227 2.26.124.782.124 1.595.103 2.387-.04 1.063-.626 1.834-1.519 2.313-1.006.542-2.053 1.021-3.09 1.5-1.056.49-1.251.782-1.22 2.095'/%3E%3Cpath fill='%23fff' d='M23.247 22.642c.534 0 .995-.02 1.447.01.595.042.77.25.79.855 0 .187.01.385 0 .573-.01.99-.03 1.063-.985 1.084-1.796.03-3.592.03-5.378.01-.708-.01-.821-.167-.831-.875v-.677c.01-.803.143-.949.964-.98.39-.02.78 0 1.19 0v-7.273c-.297.146-.564.281-.84.396-.35.156-.668.114-.894-.24-.215-.354-.451-.698-.646-1.063-.216-.427-.134-.823.297-1.073.873-.5 1.725-1.083 2.648-1.448.534-.209 1.201-.084 1.807-.052.133.01.318.26.349.427.072.313.061.656.061.98v8.69c.02.197.02.385.02.656M31.54 17.286c0-.854-.01-1.615 0-2.376.01-.708.38-1.136.985-1.146.595-.01.995.438 1.006 1.125.01.772 0 1.553 0 2.397h2.042c.185 0 .38-.01.564.01a.96.96 0 0 1 .873.98.93.93 0 0 1-.893.948c-.616.031-1.232.01-1.848.02h-.728c0 .876.02 1.7-.01 2.523-.031.802-.883 1.27-1.51.802-.235-.177-.42-.552-.45-.854-.062-.793-.021-1.584-.021-2.47-.832 0-1.622.01-2.412 0-.534-.01-.945-.313-1.047-.75-.144-.615.287-1.178.944-1.199.81-.03 1.622-.01 2.504-.01'/%3E%3C/svg%3E") center/contain no-repeat;
    flex: 0 0 auto;
}

.legal {
    color: #fff;
    font-weight: 400;
    line-height: 1.28;
}

@media (hover: hover) and (pointer: fine) {
    .social > a:hover {
        transform: scale(1.06);
    }
}

@media (orientation: portrait) and (min-width: 0px) {
    :root {
        --logo-w-coeff: 1;
        --btn-w-coeff: 0.5;
        --btn-fs-coeff: 0.12;
        --title-fs-coeff: 0.0487;
        --main-gap-coeff: 0.025;
        --logo-wrapper-w-coeff: 0.5661;
        --legal-fs-coeff: 0.01;
    }

    .main {
        background: url("../../img/bg/bg_portrait_mobile.webp") center 80% no-repeat;
        background-size: 100% 50%;
    }

    .logo-wrapper--landscape {
        display: none;
    }

    .logo-wrapper {
        flex: 1;
        width: 100%;
    }

    .content-wrapper {
        flex: 1.2;
    }

    .content {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        margin-bottom: clamp(14px, min(10vw, 8svh), 50px);
    }

    .title {
        white-space: break-spaces;
    }

    .line__left,
    .line__right {
        height: 2px;
    }

    .line__left:before,
    .line__right:before {
        width: 6px;
        height: 6px;
    }

    .social {
        margin-top: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: clamp(14px, min(2vw, 2.5svh), 24px);
        padding: clamp(10px, min(6vw, 4svh), 18px) 0;
    }

    .social > a {
        aspect-ratio: 175 / 57;
        width: clamp(40px, min(30vw, 17svh), 175px);
    }

    .social > img {
        aspect-ratio: 1;
        display: block;
        width: clamp(12px, min(5vw, 3svh), 34px);
        height: auto;
    }

    .legal-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-basis: 100%;
        width: 100%;
        padding: 0 12px;
    }

    .legal {
        font-size: clamp(8px, min(1.5vw, 2.5svh), 12px);
        width: 100%;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (min-height: 800px) {
    .main {
        background: url("../../img/bg/bg_portrait_tablet.webp") center/cover no-repeat;
    }
}

@media (orientation: landscape) and (min-width: 0px) {
    :root {
        --logo-w-coeff: 0.6976;
        --btn-w-coeff: 0.477;
        --btn-fs-coeff: 0.12;
        --title-fs-coeff: 0.0387;
        --main-gap-coeff: 0.025;
        --logo-wrapper-w-coeff: 0.5661;
        --legal-fs-coeff: 0.01;
        --legal-w-coeff: 1;
    }

    .logo-wrapper--portrait {
        display: none;
    }

    .main {
        justify-content: center;
        gap: calc(var(--var-board-w) * var(--main-gap-coeff));
        background: url("../../img/bg/bg_landscape_mobile.webp") center/cover no-repeat;
    }

    .content-wrapper {
        display: contents;
    }

    .content {
        display: flex;
        flex-direction: row;
    }

    .title {
        white-space: nowrap;
    }

    .line__left,
    .line__right {
        height: 4px;
    }

    .line__left:before,
    .line__right:before {
        width: 11px;
        height: 11px;
    }

    .social {
        position: absolute;
        left: 2%;
        bottom: 1%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        /*gap: clamp(4px, min(2vw, 2.5svh), 12px) clamp(14px, min(2vw, 2.5svh), 24px);*/
        gap: 2px clamp(14px, min(2vw, 2.5svh), 24px);
    }

    .social > a {
        aspect-ratio: 175 / 57;
        width: clamp(40px, min(11vw, 18svh), 175px);
    }

    .social > img {
        aspect-ratio: 1;
        display: block;
        width: clamp(12px, min(2vw, 3svh), 34px);
        height: auto;
    }

    .legal-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        flex-basis: 100%;
        width: 100%;
    }

    .legal {
        font-size: clamp(6px, min(0.5vw, 1.5svh), 12px);
        width: calc(var(--var-board-w) * var(--legal-w-coeff));
    }

    .adult-sign {
        width: clamp(12px, min(1.5vw, 2.5svh), 28px);
    }
}

@media (orientation: landscape) and (min-width: 1024px) {
    :root {
        --legal-w-coeff: 0.6;
    }

    .main {
        background: url("../../img/bg/bg_landscape_tablet.webp") center/cover no-repeat;
    }

    .legal {
        font-size: clamp(9px, min(0.5vw, 1.5svh), 12px);
    }

    .social {
        bottom: 4%;
        gap: clamp(4px, min(2vw, 2.5svh), 12px) clamp(14px, min(2vw, 2.5svh), 24px);
    }
}

@media (orientation: landscape) and (min-width: 1440px) {
    .main {
        background: url("../../img/bg/bg_landscape_desktop.webp") center/cover no-repeat;
    }
}
