/* Base styles */
html {
    background-color: #000000;
}

body {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Fira Sans', sans-serif;
    min-width: 320px;
    background-image: url('./background_vertical.webp');
}

/* Container styles */
.container {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 24px 22px 67px 22px;
    min-height: 376px;
    position: relative;
}

/* Header section */
.header-container {
    max-width: 100%;
    z-index: 1;
}

.logo-container {
    max-width: 100%;
    padding-bottom: 26px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.logo {
    max-width: 132px;
}

.heading-wrapper {
    max-width: 100%;
}

.main-heading {
    text-shadow: 2px 4px 0 #000000;
    line-height: 110%;
    text-align: center;
    font-family: 'Fira Sans', sans-serif;
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: white;
    margin: 0;
}

/* Button section */
.button-container {
    z-index: 3;
}

.bonus-button {
    display: block;
    width: fit-content;
    white-space: nowrap;
    max-width: 900px;
    border-radius: 9999px;
    padding: 12px 24px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: black;
    background-image: linear-gradient(295.85deg, #FF9839 8.74%, #FEF601 76.1%);
    transition: transform 300ms;
    text-decoration: none;
}

.bonus-button:hover {
    transform: scale(1.05);
}

/* Offer image */
.offer-image {
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    text-align: center;
    width: 330px;
    z-index: 1;
    margin: auto;
}

.offer-image img {
    max-width: 100%;
}

.shadow-image {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
}

.shadow-image svg {
    width: 100%;
    height: auto;
}

@media (min-width: 360px) {
    body {
        background-position: 50% 40%;
    }
    .inner {
        padding: 81px 22px 147px 22px;
        min-height: 620px;
    }
    .logo-container {
        padding-bottom: 53px;
    }
    .logo {
        max-width: 220px;
    }
    .main-heading {
        font-size: 30.24px;
    }
    .offer-image {
        width: 360px;
        transform: scale(1.25);
        top: 25%;
    }
    .bonus-button {
        padding: 17.5px 36px;
        font-size: 20px;
    }
}

@media (min-width: 414px) {
    body {
        background-position: 50% 38%;
        background-size: cover;
    }
    .inner {
        padding: 30.7px 22px 143px 22px;
        min-height: calc(736px - 30.7px - 143px)
    }
    .logo-container {
        padding-bottom: 68px;
    }
    .logo {
        max-width: 254px;
    }
    .main-heading {
        font-size: 27.55px;
    }
    .offer-image {
        width: 414px;
        transform: scale(1.03);
        top: 18%;
    }
}

@media (min-width: 540px) {
    body {
        background-position: 0 42%;
    }
    .inner {
        padding: 40px 22px 59px 22px;
        min-height: calc(717px - 40px - 59px)
    }
    .logo-container {
        padding-bottom: 42px;
    }
    .logo {
        max-width: 220px;
    }
    .main-heading {
        font-size: 31.96px;
    }
    .offer-image {
        width: 540px;
        transform: scale(1);
        top: 12%;
    }
}

@media (orientation: landscape) and (min-width: 768px) {
    body {
        background-image: url('./background.webp');
        background-position: 70% center;
        max-height: 540px;
        position: relative;
    }
    body::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, black, transparent);
        pointer-events: none;
        z-index: 1;
    }
    .inner {
        padding: 37px 35px 166px 35px;
        min-height: calc(540px - 37px - 166px);
        align-items: flex-start;
        justify-content: flex-start;
    }
    .logo-container {
        justify-content: flex-start;
        padding-bottom: 114px;
    }
    .logo {
        max-width: 261px;
    }
    .main-heading {
        text-align: start;
        font-size: 34.43px;
        width: 300px;
        padding-bottom: 28px;
        text-shadow: 3px 5px 0 #000000;
    }
    .bonus-button {
        padding: 15px 30px;
        font-size: 17.49px;
        margin-bottom: auto;
    }
    .offer-image {
        top: 62px;
        width: 550px;
        right: 0;
        left: 0;
        transform: translateX(12vw);
        z-index: 2;
    }
    .shadow-image {
        display: none;
    }
}

@media (orientation: portrait) and (min-width: 820px) {
    body {
        background-size: 120%;
        background-position: 50% 30%;
    }
    .inner {
        padding: 60px 52px 153px 52px;
        min-height: calc(1180px - 60px - 153px);
    }
    .logo-container {
        padding-bottom: 89px;
    }
    .logo {
        max-width: 331px;
    }
    .main-heading {
        font-size: 48.5px;
    }
    .bonus-button {
        font-size: 35.48px;
        line-height: 34.4px;
        padding: 30px 61px;
    }
    .offer-image {
        width: 820px;
        transform: scale(1);
        top: 14%;
    }
}

@media (orientation: portrait) and (min-width: 876px) {
    .inner {
        padding: 64px 52px 226px 52px;
        min-height: calc(1400px - 64px - 226px);
    }
    .logo-container {
        padding-bottom: 100px;
    }
    .logo {
        max-width: 352px;
    }
    .main-heading {
        font-size: 56.24px;
    }
    .bonus-button {
        font-size: 41.07px;
        line-height: 39.82px;
        padding: 35px 71px;
    }
    .offer-image {
        width: 870px;
        transform: scale(1.1);
        top: 15%;
    }
}

@media (orientation: portrait) and (min-width: 1024px) {
    .offer-image {
        top: 24%;
        width: 950px;
        transform: scale(1.1) translateX(-75px);
    }
}

@media (orientation: landscape) and (min-width: 1024px) {
    body {
        max-height: 630px;
    }
    .inner {
        padding: 50px;
        min-height: calc(630px - 100px);
    }
    .logo-container {
        padding-bottom: 119px;
    }
    .logo {
        max-width: 352px;
    }
    .main-heading {
        font-size: 44.43px;
        width: 581px;
        padding-bottom: 35px;
    }
    .bonus-button {
        font-size: 24.08px;
        line-height: 23.35px;
        padding: 20px 42px;
    }
    .offer-image {
        top: 20px;
        width: 800px;
    }
}

@media (orientation: landscape) and (min-width: 1440px) {
    body {
        max-height: 800px;
    }
    .inner {
        padding: 71px;
        min-height: calc(800px - 142px);
    }
    .logo-container {
        padding-bottom: 129px;
    }
    .logo {
        max-width: 495px;
    }
    .main-heading {
        font-size: 62.16px;
        width: 763px;
        padding-bottom: 49px;
        text-shadow: 5px 7px 0 #000000;
    }
    .bonus-button {
        font-size: 34.23px;
        line-height: 33.2px;
        padding: 28px 60px;
    }
    .offer-image {
        width: 1100px;
        top: 0;
    }
}

@media (orientation: landscape) and (min-width: 1920px) {
    body {
        max-height: 1080px;
    }
    .inner {
        padding: 95px;
        min-height: calc(1080px - 190px);
    }
    .logo-container {
        padding-bottom: 153px;
    }
    .logo {
        max-width: 656px;
    }
    .main-heading {
        font-size: 83.05px;
        width: 1033px;
        padding-bottom: 71px;
        text-shadow: 7px 9px 0 #000000;
    }
    .bonus-button {
        font-size: 46.81px;
        line-height: 45.39px;
        padding: 39px 81px;
    }
    .offer-image {
        width: 1480px;
        transform: translateX(11vw);
    }
}
