/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

/* ============================================ *
* main styles
* ============================================ */

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    min-height: 100%;
    background-color: #fff;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
    perspective: 1200px;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.header__container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.header__wrapper {
    padding-top: 1rem;
    text-align: right;
}

.header__select {
    outline: none;
}

.page {
    height: 100%;
}

._container {
    max-width: 56rem;
    margin: 0 auto;
}

.welcome__content {
    width: 100%;
}

.welcome__container {
    text-align: center;
    padding: 2rem 1.25rem;
}

.welcome__wrapper {
    width: 100%;
}

.welcome__wrapper.active {
    display: block;
}

.page__welcome {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    background: url(../../assets/images/hero-bg.webp) center no-repeat;
    background-size: cover;
}

.welcome__header {
    background: linear-gradient(180deg, #CAE8D5 0%, #EFFFF5 39.43%);
    border: 1px solid #CAE8D5;
    box-shadow: 0px 3px 0px 0px #CAE8D5;
    border-radius: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.welcome__logo {
    max-width: 10.5rem;
    margin-bottom: 1rem;
}

.welcome__title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.1;
    color: #285845;
    margin-bottom: 1rem;
}

.welcome__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #285845;
}

.welcome__banners {
    width: 100%;
}

.welcome__banner {
    width: 100%;
    background: linear-gradient(90deg, #1F1F1F 0%, #373737 100%), linear-gradient(135deg, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0) 50%);
    box-shadow: 0px 10px 0px 0px #434343;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
}

.welcome__banner.stake {
    background: linear-gradient(90deg, #03224B 0%, #1169D9 100%);
    box-shadow: 0px 10px 0px 0px #0A499A;
}

.welcome__banner.duelbits {
    background: linear-gradient(90deg, #0E602D 0%, #3EC16F 100%);
    box-shadow: 0px 10px 0px 0px #238A49;
}

.welcome__banner.duel {
    background: linear-gradient(90deg, #131E7D 0%, #3B4EFF 100%);
    box-shadow: 0px 10px 0px 0px #3143E4;
}

.welcome__banner.realbet {
    background: linear-gradient(90deg, #711218 0%, #F6343F 100%);
    box-shadow: 0px 10px 0px 0px #CD121C;
}

.welcome__banner-left {
    display: flex;
    align-items: center;
}

.welcome__banner-number {
    margin-right: 2rem;
}

.welcome__banner-number.show-mobile-landscape {
    display: none;
}

.welcome__banner-info {
    text-align: left;
}

.welcome__banner-bonuses {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.welcome__banner-spins {
    font-size: 1.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.welcome__banner-rating {
    margin-bottom: 1rem;
}

.welcome__banner-link {
    width: 100%;
    display: inline-block;
    text-decoration: none;
    background-color: #FCE301;
    border-radius: 0.625rem;
    padding: 0.75rem 1.5rem 0.75rem 1.5rem;
    box-shadow: 0px 4px 0px 0px #837600;
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    text-align: center;
}

.welcome__banner-link.show-mobile-landscape {
    display: none;
}

.welcome__banner.stake .welcome__banner-link {
    background-color: #116ADD;
    box-shadow: 0px 4px 0px 0px #0A499A;
    color: #fff;
}

.welcome__banner.duelbits .welcome__banner-link {
    background-color: #3EC16F;
    box-shadow: 0px 4px 0px 0px #1A9648;
    color: #fff;
}

.welcome__banner.duel .welcome__banner-link {
    background-color: #3B4EFF;
    box-shadow: 0px 4px 0px 0px #2F3CB0;
    color: #fff;
}

.welcome__banner.realbet .welcome__banner-link {
    background-color: #F6343F;
    box-shadow: 0px 4px 0px 0px #AD2930;
    color: #fff;
}


.welcome__music {
    display: none;
}

.welcome__button {
    color: #000;
    background-color: rgba(0, 0, 0, .5);
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 0.9375rem;
    padding: 0.75rem 3rem 0.75rem 3rem;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
}

.welcome__button.active {
    display: inline-block;
}

.swiper {
    overflow: visible !important;
}

.swiper-pagination {
    position: static;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8125rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    display: none;
}

.swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: none;
    outline: none;
    background-color: #00000059;
    cursor: pointer;
    padding: 0;
    margin: 0 !important;
    opacity: 1;
    display: inline-block;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.welcome__boxes {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 0;
    padding-top: 0.625rem;
    margin-bottom: 1.625rem !important;
    position: relative;
    transition: all .200s ease;
}

.welcome__box {
    cursor: pointer;
    width: 100%;
    max-width: 18rem;
    position: relative;
    transition: all 0.6s ease;
}

.welcome__box.active #box-img {
    display: none;
}

#box-opening-img {
    display: none;
}

.welcome__box.active #box-opening-img {
    display: inline-block;
}

.welcome__box:hover {
    transform: translateY(-5px);
}

.welcome__box:first-child.active {
    left: 0;
    transform: translate(110%) scale(1.5);
}

.welcome__box:nth-child(2).active {
    transform: scale(1.5);
}

.welcome__box:last-child.active {
    right: 0;
    transform: translate(-110%) scale(1.5);
}

.welcome__box img.active {
    position: absolute;
    width: 100%;
    bottom: -40%;
    left: 0;
}

.welcome__box.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0) rotate(0);
    }

    25% {
        transform: translateX(-15px) rotate(-2deg);
    }

    50% {
        transform: translateX(15px) rotate(2deg);
    }

    75% {
        transform: translateX(-13px) rotate(-1deg);
    }
}

.welcome__bottom {
    font-size: 0.875rem;
    color: #fff;
    text-transform: uppercase;
}

.modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100svh;
    z-index: 9999;

    backdrop-filter: blur(35px);
    overflow: hidden;
    display: none;
}

.modal__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.modal__content {
    max-width: 32.375rem;
    background: #3E478CBF;
    border: 2px solid #6672D4;
    box-shadow: 0px 5px 0px 0px #3E478C;
    backdrop-filter: blur(100px);
    border-radius: 1.875rem;
    padding: 2rem 1.5rem 1rem 1.5rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    transform-origin: center;
    opacity: 0;
    transform: scale(0.3) rotateX(90deg) translateY(50px);
    display: none;
    transition: transform 1.5s cubic-bezier(.25, 1.5, .5, 1), opacity .5s;
}

.modal__content-logo {
    max-width: 6rem;
}

.modal__content-block {
    text-align: left;
    padding: 1rem 1.3rem 1rem 1.3rem;
    border: 1px solid #6672D4;
    border-radius: 0.9375rem;
}

.modal__content-img {
    max-width: 4.6875rem;
}

.modal__content-title {
    font-size: 3.75rem;
    font-weight: 800;
    background-image: linear-gradient(90deg, #FFFFFF 0%, #A9B4C3 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal__content-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
}

.modal__content-text.big {
    font-size: 2.25rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.modal__content-text.yellow {
    color: #FCE301;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.modal__content-text.small {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    line-height: 1.2;
}

.modal__content-footnote-wrapper {
    border: 2px solid #fff;
    border-radius: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1rem;
}

.modal__content-footnote {
    font-size: 1rem;
    color: #fff;
}

.modal__content-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.modal__content-link-text {
    color: #271A01;
}

.modal__content-link-text.big {
    font-size: 1.625rem;
    font-weight: 800;
    text-transform: uppercase;
}

.modal__content-link-text.small {
    font-size: 1rem;
    font-weight: 400;
}

.confetti {
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    border-radius: 2px;
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

@media screen and (max-width: 767px) {
    .welcome__header {
        margin-bottom: 1.5rem;
    }

    .welcome__title {
        font-size: 1.125rem;
    }

    .welcome__subtitle {
        font-size: 1rem;
    }

    .welcome__banner {
        margin-bottom: 1.5rem;
    }

    .welcome__banner-number,
    .welcome__banner-link {
        display: none;
    }

    .show-mobile-landscape {
        display: block;
    }

    .welcome__banner-number.show-mobile-landscape {
        margin-right: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .welcome__banner-rating {
        margin-bottom: 0.5rem;
    }

    .welcome__banner-rating svg {
        width: 6.25rem;
    }

    .welcome__banner-bonuses {
        font-size: 2.5rem;
    }

    .welcome__banner-spins {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .welcome__banner-link.show-mobile-landscape {
        display: inline;
        font-size: 1.125rem;
        padding: 0.5rem 1rem;
    }
}

@media screen and (max-width: 479px) {
    .welcome__banner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .welcome__banner-info svg {
        max-width: 9.625rem;
    }
}