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

:root {
    --font-main-weight: 900;
    --font-main-color: #fff;
    --font-main-style: normal;
    --font-main: "Poppins", sans-serif;
}

body {
    line-height: 1;
    text-rendering: optimizeSpeed;
    -webkit-text-decoration-skip: objects;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-main), sans-serif;
    font-weight: var(--font-main-weight);
    color: var(--font-main-color);
    font-style: var(--font-main-style);
    text-transform: uppercase;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    position: relative;
    text-shadow: 0 0 13px #0A0A5D;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: url('../img/bg.webp') no-repeat center center;
    background-size: cover;
}

.main--overflow-hidden {
    overflow: hidden;
}

.content__wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    aspect-ratio: 340 / 98;
    max-width: 340px;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 2px;
    line-height: 1;
}

.slot__btn {
    aspect-ratio: 469 / 130;
    max-width: 469px;
    cursor: pointer;
    background: url('../img/slots/slot_btn.svg') no-repeat center center;
    background-size: contain;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
}

.slot__btn:hover {
    -webkit-filter: brightness(1.1);
    filter: brightness(1.1);
}

.slot__btn-pulse {
    -webkit-animation: 1.5s pulse ease-in-out infinite;
    animation: 1.5s pulse ease-in-out infinite;
    transform-origin: center center;
}

.coin__left-bottom,
.coin__left-top,
.coin__right-bottom,
.coin__right-top {
    position: absolute;
}

.coin__left-bottom {
    animation: 2.5s float-left ease-in-out infinite;
    -webkit-animation: 2.5s float-left ease-in-out infinite;
}

.coin__right-top {
    animation: 2.5s .5s float-left ease-in-out infinite;
    -webkit-animation: 2.5s .5s float-left ease-in-out infinite;
}

.coin__left-top {
    animation: 2.5s .8s float-right ease-in-out infinite;
    -webkit-animation: 2.5s .8s float-right ease-in-out infinite;
}

.coin__right-bottom {
    animation: 2.5s .9s float-right ease-in-out infinite;
    -webkit-animation: 2.5s .9s float-right ease-in-out infinite;
}

.coin__left-bottom {
    aspect-ratio: 253 / 285;
    background: url('../img/coins/coin_left_bottom.webp') no-repeat center center;
    background-size: cover;
}

.coin__right-bottom {
    aspect-ratio: 127 / 142;
    background: url('../img/coins/coin_right_bottom.webp') no-repeat center center;
    background-size: cover;
}

.coin__left-top {
    aspect-ratio: 163 / 377;
    background: url('../img/coins/coin_left_top.webp') no-repeat center center;
    background-size: cover;
}

.coin__right-top {
    aspect-ratio: 163 / 377;
    background: url('../img/coins/coin_right_top.webp') no-repeat center center;
    background-size: cover;
}

@media (orientation: portrait) and (min-width: 0px) {
    .coin__left-bottom,
    .coin__left-top,
    .coin__right-bottom,
    .coin__right-top,
    .chef__wrapper-landscape,
    .chef_logo_landscape {
        display: none;
    }

    .content__wrapper {
        padding: clamp(20px, 5vw, 36px) clamp(10px, 4vw, 40px);
        align-items: flex-start;
    }

    .left {
        width: 100%;
    }

    .logo {
        width: 50%;
        max-width: 260px;
        margin-bottom: clamp(10px, 3vw, 32px);
    }

    .title {
        font-size: clamp(12px, 4vw, 30px);
        margin-bottom: 10px;
    }

    .slot {
        width: 100%;
    }

    .slot__btn {
        padding-top: 5px;
        width: 60%;
        font-size: clamp(12px, 4vw, 32px);
        margin-top: 10px;
    }

    .chef__wrapper-portrait {
        position: relative;
        margin-bottom: 20px;
        width: 100%;
    }

    .chef-portrait {
        aspect-ratio: 262 / 268;
        max-width: 262px;
        width: 50%;
        margin: 0 auto;
    }

    .sugar-rush-logo-portrait {
        aspect-ratio: 402 / 104;
        max-width: 402px;
        margin: 0 auto;
        width: 80%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -15%;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (min-height: 1024px) {
    .coin__left-bottom,
    .coin__left-top,
    .coin__right-bottom,
    .coin__right-top {
        display: block;
    }

    .coin__left-bottom {
        left: -5%;
        bottom: -5%;
        width: clamp(150px, 25vw, 253px);
    }

    .coin__right-bottom {
        right: 0;
        bottom: 0;
        width: clamp(70px, 12vw, 127px);
    }

    .coin__left-top {
        left: 0;
        top: 0;
        width: clamp(70px, 15vw, 163px);
    }

    .coin__right-top {
        right: 0;
        top: -3%;
        width: clamp(70px, 15vw, 163px);
    }

    .slot__btn {
        font-size: clamp(12px, 3.5vw, 34px);
    }
}

@media (orientation: portrait) and (min-width: 768px) and (max-height: 1099px) {
    .slot {
        width: 80%;
    }

    .slot__btn {
        width: 50%;
    }
}

@media (orientation: portrait) and (min-width: 768px) and (min-height: 1100px) {
    .slot {
        width: 85%;
    }
}

@media (orientation: landscape) and (min-width: 0px) {
    .content__wrapper {
        display: flex;
        padding: clamp(10px, 2vw, 36px) clamp(10px, 4vw, 40px);
    }

    .left {
        max-width: 908px;
        width: min-content;
    }

    .chef_logo_landscape {
        display: block;
        max-width: 495px;
    }

    .chef_logo_landscape-img {
        aspect-ratio: 495 / 676;
        width: clamp(200px, 25vw, 495px);
    }

    .chef__wrapper-portrait {
        display: none;
    }

    .logo {
        width: 35%;
        margin-bottom: clamp(10px, 2vw, 40px);
    }

    .title {
        font-size: clamp(12px, 1.5vw, 40px);
    }

    .slot {
        width: clamp(200px, 50vw, 908px);
    }

    .slot__btn {
        padding-top: 2px;
        width: 50%;
        font-size: clamp(12px, 1.5vw, 32px);
    }

    .coin__left-bottom,
    .coin__left-top,
    .coin__right-bottom,
    .coin__right-top {
        display: block;
    }

    .coin__left-bottom {
        left: -5%;
        bottom: -5%;
        width: clamp(50px, 15vw, 253px);
    }

    .coin__right-bottom {
        right: 5%;
        bottom: 0;
        width: clamp(30px, 9vw, 127px);
    }

    .coin__left-top {
        left: 0;
        top: 0;
        width: clamp(30px, 9vw, 163px);
    }

    .coin__right-top {
        right: 0;
        top: 0;
        width: clamp(30px, 9vw, 163px);
    }
}

@media (orientation: landscape) and (min-width: 880px) and (max-height: 600px) {
    .slot {
        width: clamp(200px, 38vw, 908px);
    }
}

@media (orientation: landscape) and (min-width: 1024px) {
    .slot__btn {
        padding-top: 3px;
        width: 50%;
        font-size: clamp(12px, 1.9vw, 32px);
    }
}

@media (orientation: landscape) and (min-width: 1200px) and (min-height: 768px) {
    .slot {
        width: clamp(200px, 40vw, 908px);
    }

    .slot__btn {
        padding-top: 5px;
        font-size: clamp(12px, 1.5vw, 32px);
    }
}

@media (orientation: landscape) and (min-width: 1200px) and (min-height: 1024px) {
    .slot {
        width: clamp(200px, 55vw, 908px);
    }
}

@media (orientation: landscape) and (min-width: 1440px) and (min-height: 1024px) {
    .logo {
        width: 40%;
    }

    .title {
        font-size: clamp(12px, 2.5vw, 46px);
    }

    .slot__btn {
        font-size: clamp(12px, 1.8vw, 32px);
        margin-top: clamp(10px, 2vw, 32px);
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes float-left {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@-webkit-keyframes float-left {
    0%   { -webkit-transform: translateY(0px) rotate(0deg); }
    50%  { -webkit-transform: translateY(-10px) rotate(2deg); }
    100% { -webkit-transform: translateY(0px) rotate(0deg); }
}

@keyframes float-right {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(10px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@-webkit-keyframes float-right {
    0%   { -webkit-transform: translateY(0px) rotate(0deg); }
    50%  { -webkit-transform: translateY(10px) rotate(-2deg); }
    100% { -webkit-transform: translateY(0px) rotate(0deg); }
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
        -webkit-transform: rotate(-5deg);
    }
}

@-webkit-keyframes wobble {
    0%, 100% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
        -webkit-transform: rotate(-5deg);
    }
}
