*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'AA Bebas Neue', 'Bebas Neue', sans-serif;
}

html {
    color: white;
}

body, main {
    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;
}

main {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
    url("/assets/images/background.png");
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-color: #000;
    background-repeat: no-repeat;
    overflow-y: hidden;
}

@media (max-width: 839px) {
    main {
        background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
        url("/assets/images/background--adaptive.png");
        background-size: cover;
        background-position: center center;
    }
}

a {
    text-decoration: none;
}

h1, h2 {
    font-weight: normal;
    line-height: 120%;
    padding-inline: 24px;
    text-transform: uppercase;
    letter-spacing: 2%;
    text-align: center;
}

.hero__title,
.hero__subtitle {
    text-shadow: 0 18px 40px 0 rgba(0, 0, 0, 0.45);
    -webkit-filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

h1 {
    font-size: 96px;
}

h2 {
    font-size: 64px;
}

@media (max-width: 1240px) {
    h1 {
        font-size: 72px;
    }

    h2 {
        font-size: 52px;
    }
}

@media (max-width: 840px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }
}

.button {
    position: relative;
    outline: none;
    border: none;
    color: white;
    text-transform: uppercase;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: visible;
    z-index: 1;
    text-decoration: none;
}

.button:hover {
    filter: grayscale(0.2);
    cursor: pointer;
}

.button::before {
    content: "";
    position: absolute;
    top: 71%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.button > * {
    position: relative;
    z-index: 1;
}

.button--lg {
    font-size: 42px;
    width: 360px;
    height: 80px;
}

.button--lg::before {
    width: 440px;
    height: 160px;
    background-image: url("/assets/images/button--lg.png");
}

.button--sm {
    font-size: 36px;
    width: 220px;
    height: 80px;
}

.button--sm::before {
    width: 300px;
    height: 160px;
    background-image: url("/assets/images/button--sm.png");
}

.copy-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.copy-badge {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    transform: translate(-50%, 8px);
    display: inline-block;
    padding: 10px 18px;
    font-size: 18px;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(180deg, #005DE6 0%, #00ACF6 49.52%, #0054E4 100%);
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 84, 228, 0.28);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    white-space: nowrap;
    z-index: 10;
}

.copy-badge.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.hero__copy-block__promocode {
    font-weight: 400;
    font-size: 64px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(180deg, #005DE6 0%, #00ACF6 49.52%, #0054E4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    text-shadow: 0 0 21.5px #0054E4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

@media (max-width: 1040px) {
    .hero__copy-block__promocode {
        font-size: 48px;
    }
}

.logo {
    position: fixed;
    top: 100px;
    left: 60px;
}

@media (max-width: 1040px) {
    .logo {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 288px;
        height: 62px;
    }
}

.hero {
    margin-top: 243px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero__titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero__subtitle {
    font-weight: 400;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(#FFFFFF 0%, #89E9FC 49.52%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

.hero__copy-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 886px;
    height: 232px;
    background-image: url("/assets/images/card-background.png");
    background-size: contain;
    position: relative;
}

.hero__copy-block__promocode {
    position: relative;
    width: 570px;
    height: 80px;
    padding-top: 10px;
    border-radius: 8px;
    z-index: 0;
    background: transparent;
}

.promo-text {
    display: inline-block;
    font-weight: 400;
    background: linear-gradient(
            180deg,
            #FBFDFD 10%,
            #00ACF6 45.38%,
            #0054E4 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    z-index: 1;
}

.hero__copy-block__promocode::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 3px;
    background: linear-gradient(
            188.13deg,
            #0059BC 26.84%,
            #D9F9FB 54.83%,
            #0059BC 77.82%
    );
    -webkit-mask:
            linear-gradient(#fff, #fff) content-box,
            linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 1040px) {
    .hero {
        margin-top: 95px;
        gap: 15px;
    }

    .hero__copy-block {
        flex-direction: column;
        width: 356px;
        height: 356px;
        background-image: url("/assets/images/card-background--adaptive.png");
        background-size: 356px 356px;
    }

    .hero__copy-block__button {
        width: 182px;
        height: 59px;
        font-size: 24px;
    }

    .hero__copy-block__button::before {
        width: 220px;
        height: 74.42px;
        top: 34%;
        background-size: cover;
    }

    .hero__copy-block__promocode {
        padding-top: 24px;
        width: 182px;
        height: 91px;
    }

    .copy-badge {
        padding: 8px 14px;
        font-size: 16px;
        top: calc(100% + 10px);
    }
}

@media (max-width: 540px) {
    .hero__copy-block {
        width: 280px;
        height: 280px;
        background-size: 280px 280px;
    }

    .button--lg {
        font-size: 36px;
        width: 310px;
        height: 80px;
    }

    .button--lg:before {
        width: 375px;
        height: 145px;
    }
}

.loader {
    position: absolute;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: linear-gradient(#1067D9, #1E3A5F);
    opacity: 1;
    transition: opacity 400ms ease;
}

.loader--hidden {
    opacity: 0;
    pointer-events: none;
}

.loader__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(70px, calc(31.65px + 9.54vw), 215.6px);
}

.loader__spinner img {
    width: 100%;
    height: auto;
    animation: spin 2s linear infinite;
}

.loader__logo {
    position: absolute;
    top: 30px;
    right: clamp(36px, calc(2.77px + 8.28vw), 162px);
    width: clamp(155px, calc(83.4px + 17.82vw), 425.5px);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
