*, :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 {
    --promo-code-fs-coef: 1;
    --content-w: 1;
    --btn-fs: calc(100cqw * var(--btn-fs-coeff));
    --btn-p: calc(100cqw * var(--btn-p-coeff));
    --btn-wrapper-p: calc(100cqw * var(--btn-wrapper-p-coeff));
    --btn-b: calc(var(--player-w) * var(--btn-b-coeff));


    --promo-w: calc(var(--content-w) * var(--promo-w-coeff));
    --promo-copy-btn-w: calc(var(--content-w) * var(--promo-copy-btn-w-coeff));
    --promo-title-fs: calc(var(--content-w) * var(--promo-title-fs-coeff));
    --promo-wrapper-gap: calc(var(--content-w) * var(--promo-wrapper-gap-coeff));
    --promo-wrapper-mb: calc(var(--content-w) * var(--promo-wrapper-mb-coeff));
    --promo-cut: calc(var(--content-w) * var(--promo-cut-coeff));
}

button {
    all: unset
}

body {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    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);
}

.ellipse {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ellipse__2 {
    z-index: 2;
    aspect-ratio: 2597 / 879;
    background: #15120E;
}

.content {
    display: grid;
}

.content__data {
    position: relative;
    display: flex;
    flex-direction: column;
    width: var(--content-w);
}

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

.player__image {
    aspect-ratio: 999 / 1351;
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 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;
    margin-bottom: calc(var(--content-w) * var(--logo-mb-coeff));
    position: relative;
    z-index: 1;
}

.title {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
    -webkit-filter: drop-shadow(0 4px 1px rgba(254, 187, 1, .37));
    filter: drop-shadow(0 4px 1px rgba(254, 187, 1, .37));
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: calc(var(--content-w) * var(--title-mb-coef));
}

.title__1 {
    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, #FFBC00 48%, #FF7700 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; }
}

.btn-wrapper {
    position: absolute;
    left: 50%;
    width: var(--btn-w);
    bottom: var(--btn-b);
    z-index: 3;
    container-type: inline-size;
    border-radius: 5px;
    padding: var(--btn-p);
}

.btn-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--btn-wrapper-p);
    background: linear-gradient(to right, #FF7700 17%, #FFE7D0 51%, #FF7700 86%);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
}

.btn {
    width: 100%;
    aspect-ratio: 559 / 138;
    background: #FF7700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
            0 4px 74px 0 rgba(255, 158, 74, 0.43),
            inset 0 0 11px 0 #EDC431;
    cursor: pointer;
    container-type: inline-size;
    font-size: var(--btn-fs);
    border-radius: 5px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
            "slnt" 0,
            "CRSV" 0,
            "SHRP" 0;
}

.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;
    color: #000;
    text-transform: uppercase;
}

.promo__wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--promo-wrapper-gap);
    margin: 0 auto;
    margin-bottom: var(--promo-wrapper-mb);
}

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

.promo__block {
    background: #FFBC00;
    aspect-ratio: 667 / 103;
    width: var(--promo-w);
    clip-path: polygon(
        var(--promo-cut) 0,
        100% 0,
        100% calc(100% - var(--promo-cut)),
        calc(100% - var(--promo-cut)) 100%,
        0 100%,
        0 var(--promo-cut)
    );
    color: #000;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--promo-w) * var(--promo-code-fs-coef, 0.11));
}

.promo__title {
    color: #FFBB00;
    font-size: var(--promo-title-fs);
}

.promo__copy {
    aspect-ratio: 89 / 84;
    width: var(--promo-copy-btn-w);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.promo__copy:active,
.promo__copy.is-pressed {
    transform: scale(0.95);
}

.promo_notify {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: var(--promo-title-fs);
    padding: 0.4em 0.9em;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.promo_notify.show {
    opacity: 1;
}

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

@media (orientation: portrait) and (min-width: 0px) {
    :root {
        --content-w: clamp(100px, min(92vw, 52svh), 700px);
        --logo-w-coeff: 0.353;
        --logo-mb-coeff: 0.059429;
        --title-mb-coef: 0.0357;
        --title-1-fs-coeff: 0.099;
        --title-2-fs-coeff: 0.099;
        --player-w: 90%;
        --player-b-coeff: 0.175;
        --btn-w: clamp(100px, min(57vw, 26svh), 420px);
        --btn-r-coeff: 0.008347;
        --btn-p-coeff: 0.0165;
        --btn-fs-coeff: 0.0844;
        --btn-b-coeff: 0.08;
        --btn-wrapper-p-coeff: 0.0075;


        --promo-w-coeff: 0.85;
        --promo-copy-btn-w-coeff: 0.08461;
        --promo-title-fs-coeff: 0.047;
        --promo-wrapper-gap-coeff: 0.03076;
        --promo-wrapper-mb-coeff: 0.056;
        --promo-cut-coeff: 0.026923;
    }

    .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;
        grid-template-columns: 100%;
        align-items: center;
        justify-items: center;
        gap: clamp(8px, min(7.1vw, 3.2svh), 30px);
        width: 100%;
    }

    .content__data {
        margin: 0 auto;
        align-items: center;
    }

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

    .player__image {
        width: 100%;
        height: auto;
        top: auto;
        bottom: 0;
        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;
        max-height: 100%;
    }

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

    .ellipse__2 {
        bottom: -10%;
        left: 50%;
        transform: translateX(-50%) rotate(171deg);
        aspect-ratio: 474 / 160;
        width: 130%;
        filter: blur(40px);
    }

    .promo__block {
        max-width: 450px;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (min-height: 800px) {
    :root {
        --player-w: clamp(100px, min(54.5vw, 41svh), 560px);
        --title-1-fs-coeff: 0.068;
        --title-2-fs-coeff: 0.068;
        --btn-p-coeff: 0.01;
        --logo-mb-coeff: 0.041315;
    }

    .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;
    }

    .title {
        white-space: nowrap;
    }

    .ellipse__2 {
        filter: blur(50px);
    }
}

@media (orientation: landscape) and (min-width: 0px) {
    :root {
        --content-w: clamp(100px, min(38.95vw, 75.05svh), 1040px);
        --logo-w-coeff: 0.346;
        --logo-mb-coeff: 0.06;
        --title-mb-coef: 0.031;
        --title-1-fs-coeff: 0.0922;
        --title-2-fs-coeff: 0.0922;
        --player-w: clamp(100px, min(35vw, 68svh), 999px);
        --player-b-coeff: 0.0275;
        --btn-w: calc(var(--player-w) * var(--btn-w-coeff));
        --btn-w-coeff: 0.5695;
        --btn-r-coeff: 0.008347;
        --btn-p-coeff: 0.00585;
        --btn-fs-coeff: 0.0844;
        --btn-b-coeff: 0.08;
        --btn-wrapper-p-coeff: 0.0055;

        --promo-w-coeff: 0.6413;
        --promo-copy-btn-w-coeff: 0.08461;
        --promo-title-fs-coeff: 0.03846;
        --promo-wrapper-gap-coeff: 0.03076;
        --promo-wrapper-mb-coeff: 0.056;
        --promo-cut-coeff: 0.026923;
    }

    .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);
    }

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

    .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;
    }

    .btn-wrapper {
        left: 43%;
    }

    .ellipse__1 {
        z-index: 0;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        aspect-ratio: 1267 / 745;
        width: var(--content-w);
        background: #131212;
        filter: blur(100px);
    }

    .ellipse__2 {
        bottom: -20%;
        left: -50%;
        transform: rotate(171deg);
        aspect-ratio: 2597 / 879;
        width: calc(var(--player-w) * 2);
        filter: blur(40px);
    }
}

@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;
    }

    .ellipse__2 {
        filter: blur(90px);
    }
}

@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;
    }
}
