*, :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
}

:root {
    --content-w: 1;
    --btn-fs: calc(100cqw * var(--btn-fs-coeff));
    --btn-r: calc(100cqw * var(--btn-r-coeff));
    --btn-b: calc(var(--player-w) * var(--btn-b-coeff));
}

button {
    all: unset
}

body {
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
            "slnt" 0,
            "CRSV" 0,
            "SHRP" 0;
    display: flex;
    flex-direction: column;
    height: 100svh;
    position: relative;
    background: linear-gradient(to bottom, #011634 0%, #001C3C 100%);
}

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

.mask {
    position: absolute;
    z-index: 2;
    background: linear-gradient(70deg, #0370FF 0%, #001558 58%, #0243AC 100%);
    filter: blur(60px);
}

.content {
    display: grid;
}

.content__data {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(var(--content-w) * var(--content-gap-coeff));
    /*height: 100%;*/
    width: var(--content-w);
}

.player-wrapper {
    position:  relative;
    z-index: auto;
    width: var(--player-w);
    height: 100%;
    overflow: visible;
}

.player__image {
    aspect-ratio: 1229 / 1557;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.logo {
    aspect-ratio: 289 / 64;
    width: calc(var(--content-w) * var(--logo-w-coeff));
    height: auto;
    display: block;
    margin: 0 auto;
}

.title {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: start;
    align-items: center;
    -webkit-filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.22));
    filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.22));
    line-height: 1.1;
}

.title__1,
.title__2 {
    display: inline-block;
    background-image:
            radial-gradient(
                    ellipse 8% 60% at center,
                    rgba(255, 255, 255, 0.95) 0%,
                    rgba(255, 255, 255, 0.55) 40%,
                    rgba(255, 255, 255, 0) 75%
            ),
            linear-gradient(to right, #038AFF 0%, #E7F2FF 100%);
    background-size: 300% 300%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: 100% 0%, center center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shimmer 3.5s linear infinite;
    animation: shimmer 3.5s linear infinite;
}

.title__1 {
    font-size: calc(var(--content-w) * var(--title-1-fs-coeff));
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.title__2 {
    font-size: calc(var(--content-w) * var(--title-2-fs-coeff));
}

@keyframes shimmer {
    0%   { background-position: 100% 0%, center center; }
    100% { background-position: 0% 100%, center center; }
}

@-webkit-keyframes shimmer {
    0%   { background-position: 100% 0%, center center; }
    100% { background-position: 0% 100%, center center; }
}

.title__3 {
    font-size: calc(var(--content-w) * var(--title-3-fs-coeff));
}

.btn-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--btn-w);
    bottom: var(--btn-b);
    z-index: 3;
    container-type: inline-size;
}

.btn {
    width: 100%;
    aspect-ratio: 559 / 138;
    background: #62FF00;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 3px 10px 1px #fff;
    cursor: pointer;
    container-type: inline-size;
    font-size: var(--btn-fs);
    border-radius: var(--btn-r);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:active {
    transform: scale(0.95);
    -webkit-animation: none;
    animation: none;
}

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

.btn__text {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: linear-gradient(to bottom, #030F3F 0%, #0B3798 46%, #030B2C 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.btn__mask {
    position: absolute;
    top: -10%;
    right: -2%;
    width: 20%;
    height: 50%;
    z-index: 1;
    background: linear-gradient(-45deg, #40FF69 0%, #4BFF45 100%);
    filter: blur(40px);
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        background: #FFF421;
    }

    .btn:hover > .btn__mask {
        background: linear-gradient(-45deg, #FCFF40 0%, #FFE945 100%);
    }
}

@media (orientation: portrait) and (min-width: 0px) {
    :root {
        --content-w: clamp(100px, min(92vw, 52svh), 700px);
        --content-gap-coeff: 0.05769;
        --logo-w-coeff: 0.353;
        --title-1-fs-coeff: 0.094;
        --title-2-fs-coeff: 0.094;
        --title-3-fs-coeff: 0.0675;
        --player-w: 100%;
        --player-b-coeff: 0.175;
        --btn-w: clamp(100px, min(65vw, 36svh), 420px);
        --btn-r-coeff: 0.29;
        --btn-fs-coeff: 0.0810677;
        --btn-b-coeff: 0.2519;
    }

    .main {
        padding-top: clamp(12px, min(7.2vw, 4svh), 52px);
        background: image-set(
                url("../../img/bg/bg_portrait_mobile@1x.webp") 1x,
                url("../../img/bg/bg_portrait_mobile@2x.webp") 2x
        ) center/cover no-repeat;
    }

    .content {
        height: 100%;
        grid-template-rows: max-content;
        align-items: center;
        gap: clamp(8px, min(7.1vw, 3.2svh), 30px);
        width: 100%;
    }

    .content__data {
        margin: 0 auto;
        align-items: center;
        gap: clamp(16px, min(5vw, 3svh), 22px);
    }

    .player-wrapper {
        height: 100%;
        margin: 0 auto;
    }

    .player__image {
        width: 100%;
        height: auto;
        top: 0;
        bottom: auto;
        background: image-set(
                url("../../img/player_v1/player_landscape_mobile@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_mobile@2x.webp") 2x
        ) center/contain no-repeat;
    }

    .mask {
        width: 100%;
        height: 50%;
        bottom: -25%;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (min-height: 800px) {
    :root {
        --player-w: clamp(100px, min(92vw, 52svh), 700px);
        --btn-b-coeff: 0.19219;
    }

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

    .player__image {
        background: image-set(
                url("../../img/player_v1/player_landscape_tablet@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_tablet@2x.webp") 2x
        ) center/contain no-repeat;
    }
}

@media (orientation: landscape) and (min-width: 0px) {
    :root {
        --content-w: clamp(100px, min(41vw, 79svh), 1040px);
        --content-gap-coeff: 0.05769;
        --logo-w-coeff: 0.2778;
        --title-1-fs-coeff: 0.094;
        --title-2-fs-coeff: 0.094;
        --title-3-fs-coeff: 0.0675;
        --player-w: clamp(100px, min(48vw, 93svh), 1230px);
        --player-b-coeff: 0.175;
        --btn-w: calc(var(--player-w) * var(--btn-w-coeff));
        --btn-w-coeff: 0.4544;
        --btn-r-coeff: 0.161;
        --btn-fs-coeff: 0.0844;
        --btn-b-coeff: 0.1219;
    }

    .main {
        background: image-set(
                url("../../img/bg/bg_landscape_mobile@1x.webp") 1x,
                url("../../img/bg/bg_landscape_mobile@2x.webp") 2x
        ) center/cover no-repeat;
        padding-top: clamp(12px, min(2.6vw, 5svh), 66px);
    }

    .mask {
        width: 70%;
        height: 70%;
        bottom: -35%;
        right: 25%;
        transform: translateX(50%);
        background: linear-gradient(70deg, #0370FF 0%, #001558 58%, #0243AC 100%);
        filter: blur(60px);
    }

    .content {
        z-index: auto;
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 5%;
        height: 100%;
        justify-content: center;
    }

    .player__image {
        bottom: calc(var(--player-w) * var(--player-b-coeff) * -1);
    }

    .player__image {
        background: image-set(
                url("../../img/player_v1/player_landscape_mobile@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_mobile@2x.webp") 2x
        ) center/contain no-repeat;
    }
}

@media (orientation: landscape) and (min-width: 800px) {
    .main {
        background: image-set(
                url("../../img/bg/bg_landscape_tablet@1x.webp") 1x,
                url("../../img/bg/bg_landscape_tablet@2x.webp") 2x
        ) center/cover no-repeat;
    }

    .player__image {
        background: image-set(
                url("../../img/player_v1/player_landscape_tablet@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_tablet@2x.webp") 2x
        ) center/contain no-repeat;
    }
}

@media (orientation: landscape) and (min-width: 1024px) {
    .main {
        background: image-set(
                url("../../img/bg/bg_landscape_laptop@1x.webp") 1x,
                url("../../img/bg/bg_landscape_laptop@2x.webp") 2x
        ) center/cover no-repeat;
    }

    .player__image {
        background: image-set(
                url("../../img/player_v1/player_landscape_laptop@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_laptop@2x.webp") 2x
        ) center/contain no-repeat;
    }
}

@media (orientation: landscape) and (min-width: 1280px) {
    .main {
        background: image-set(
                url("../../img/bg/bg_landscape_desktop@1x.webp") 1x,
                url("../../img/bg/bg_landscape_desktop@2x.webp") 2x
        ) center/cover no-repeat;
    }

    .player__image {
        background: image-set(
                url("../../img/player_v1/player_landscape_desktop@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_desktop@2x.webp") 2x
        ) center/contain no-repeat;
    }
}

@media (orientation: landscape) and (min-width: 1680px) {
    .main {
        background: image-set(
                url("../../img/bg/bg_landscape_wide@1x.webp") 1x,
                url("../../img/bg/bg_landscape_wide@2x.webp") 2x
        ) center/cover no-repeat;
    }

    .player__image {
        background: image-set(
                url("../../img/player_v1/player_landscape_wide@1x.webp") 1x,
                url("../../img/player_v1/player_landscape_wide@2x.webp") 2x
        ) center/contain no-repeat;
    }
}
