/* Universal Sizing Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevents horizontal scroll globally */
}

html {
    height: 100%;
}

body {
    background-color: #033284;
    font-family: 'Fira Sans', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}


.slider {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* Extra bottom padding to ensure content doesn't collide with absolute image */
    padding-bottom: 220px; 
}

.button{
    background-color: #FECB09;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    height: 44px;
    min-width: 164px;
    position: relative;
    z-index: 5;
    display: inline-block;
}

.button:hover{
    background-color: #FFE06B;
}



/* LOGO SECTION */
.logo-section img{
    width: 280px;
    margin: 1.2rem auto 2rem;
    padding: 0 1.2rem;
    justify-content: center;
    display: flex;
}

/* LOGO SECTIONS ENDS */

.main-Pauls {
    position: absolute;
    bottom: 0;
    left: 80%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    display: block;
    z-index: 2;
    height: auto;
    width: clamp(200px, 45vw, 350px);
}

.main-info{
    color: #fff;
    text-align: center;
}

.text{
    line-height: 1.6rem;
    margin-bottom: 1.2rem;
}

/* MAIN PART */
.big-win-main-section{
    margin: auto;
    margin-bottom: 2rem;
}
.big-win-info-section{
    color: #fff;
    font-family: Fira Sans, sans-serif;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    max-width: 700px;
    margin: 0 auto;
}
.big-win-info-section:first-child{
    margin-top: 0.8rem;
}
h4{
    font-size: 1.2rem !important;
    margin: 0.8rem 0;
}
/* MAIN PART ENDS */


/* BONUS CODE SECTION */
.bonus-code-section {
    background: radial-gradient(circle, #fcd541 0%, #feb909 100%);
    margin: 1.2rem auto;
    
    height: 70px;
    /* position: relative; */
    width: 100% !important;
    overflow: hidden;
    z-index: 3;
    padding: 0;
}
.bonus-code {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
}

span {
    color: #032f7f;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 1.2rem 2rem; /* Creates horizontal spacing between items */
    display: inline-block;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Smooth seamless loop when content is doubled */
    }
}
/*  BONUS CODE SECTION ENDS */


@media only screen and (max-width: 686px) {
    .slider {
        padding-bottom: 180px;
    }
    .big-win-info-section{
        flex-wrap:wrap;
        padding: 0 1.8rem;
        gap: 2rem;
    }
    .bonus-code-section{
        width: 100% !important;
    }
    h4 {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .main-Pauls {
        /* Extra control for tiny screens if needed */
        width: clamp(180px, 60vw, 250px);
    }
    .slider {
        padding-bottom: 150px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    /* 1. Ensure enough spacing below the button for the image */
    .slider {
        padding-bottom: 220px !important;
    }

    /* 2. Scale character smaller so it takes up less vertical real estate */
    .main-Pauls {
        width: 160px !important;
        max-width: 100%;
    }

    /* 3. Compact text spacing so content isn't unnecessarily tall */
    .logo-section img {
        width: 180px;
        margin: 0.5rem auto;
    }

    .main-info title {
        margin: 0.5rem 0;
    }

    .text {
        line-height: 1.4rem;
        margin-bottom: 1.2rem;
    }
}