/* Base Styles */
body {
    background: url('images/Background.png?v=1') no-repeat center center fixed;
    background-size: cover;
    color: #000;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.2; }
}

.lights-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/lights.png?v=1') no-repeat center center;
    background-size: cover;
    pointer-events: none;
    z-index: 5;
    animation: fadeInOut 2s infinite ease-in-out;
}

/* Layout */
.container-fluid {
    padding: 0;
}

.landing-page {
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    position: relative;
}

/* Slot Machine Styles */
.slot-machine-container {
    display: flex;
    justify-content: center;
    margin: 0.2rem 0 10px 0;
}

.slot-machine {
    display: flex;
    gap: 20px;
}

@keyframes digitNudge {
    0% { transform: scale(1); }
    20% { transform: scale(1.2); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.15); }
    80% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

.digit-nudge {
    animation: digitNudge 0.5s cubic-bezier(.4,2,.6,1) 1;
}

.slot-digit {
    width: 60px;
    height: 80px;
    background: #000000;
    color: #fff;
    font-size: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-family: 'Courier New', Courier, monospace;
    transition: background 0.2s;
    border: 6px solid #eb2027;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.digit-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateY(0);
}

.digit-strip div {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: #fff;
    user-select: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 0.2rem;
}

.logo-image {
    width: 210px;
    height: 80px;
}

/* Main Image Section */
.main-image-section {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.jili-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Text Content */
.text-content {
    text-align: center;
    width: 100%;
    margin-bottom: 0rem;
}

.text-content h1 {
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffce01;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.text-content h2 {
    font-size: 1.8rem;
    color: #fefefe;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.text-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffce01;
    opacity: 0.9;
    margin-bottom: 0.1rem;
}

h4 {
    font-size: 2rem !important;
    font-weight: 700;
    margin-bottom: 0rem;
    color: #FEFEFE;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h5 {
    font-size: 1.4rem;
    color: #fefefe;
    opacity: 0.9;
}

/* Prize Text Scroll Animation */
.prize-text-scroll-out {
    animation: prizeTextScrollOut 0.3s forwards;
}

.prize-text-scroll-in {
    animation: prizeTextScrollIn 0.3s forwards;
}

@keyframes prizeTextScrollOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-30px); }
}

@keyframes prizeTextScrollIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Prize Image Animator */
.prize-image-animator {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 220px;
    margin: 0 auto 20px auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prize-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.prize-image.active {
    opacity: 1;
    z-index: 2;
}

@keyframes slideOutLeft {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100vw); opacity: 0; }
}

@keyframes slideInRight {
    0% { transform: translateX(100vw); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.prize-image.slide-out {
    animation: slideOutLeft 0.3s forwards;
}

.prize-image.slide-in {
    animation: slideInRight 0.3s forwards;
}

/* CTA Section */
.cta-section {
    width: 100%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

@keyframes ctaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}


.signup-button:hover {
    box-shadow: 0 5px 15px rgba(255,206,1,0.3);
}

.signup-button:active {
    box-shadow: 0 2px 10px rgba(255,206,1,0.2);
}

.text-content {
    position: relative;
    overflow: visible;
}

@keyframes goldPulse {
    0% {
        transform: scale(1);
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(255, 215, 0, 0.9),
            0 0 20px rgba(255, 215, 0, 0.7),
            0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(255, 215, 0, 0.9),
            0 0 40px rgba(255, 215, 0, 0.7),
            0 0 60px rgba(255, 215, 0, 0.5);
    }
    100% {
        transform: scale(1);
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(255, 215, 0, 0.9),
            0 0 20px rgba(255, 215, 0, 0.7),
            0 0 30px rgba(255, 215, 0, 0.5);
    }
}

.gold-text {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #fff7c4 10%,
        #ffd700 20%,
        #ffed4a 40%,
        #ffd700 60%,
        #f4bd0b 80%,
        #e8a806 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
    padding: 0.2em 0;
    transform-origin: center center;
    animation: goldPulse 2s infinite ease-in-out;
    will-change: transform;
}

.prize-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.prize-image.active {
    opacity: 1;
    z-index: 2;
}

@keyframes slideOutLeft {
    0% { transform: translateX(0); opacity: 1;}
    100% { transform: translateX(-100vw); opacity: 0;}
}

@keyframes slideInRight {
    0% { transform: translateX(100vw); opacity: 0;}
    100% { transform: translateX(0); opacity: 1;}
}

.prize-image.slide-out {
    animation: slideOutLeft 0.3s forwards;
}

.prize-image.slide-in {
    animation: slideInRight 0.3s forwards;
}

/* CTA Section */
.cta-section {
    width: 100%;
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 1rem;
}

@keyframes buttonShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    50% { transform: translateX(-1px); }
    60% { transform: translateX(1px); }
    70% { transform: translateX(0); }
}

.signup-button {
    display: inline-block;
    padding: 0.8em 2em;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    background: linear-gradient(to bottom, #ffed4a, #ffd700);
    border: none;
    border-radius:0.5rem;
    cursor: pointer;
    transition: box-shadow 0.3s;
    animation: none;
    animation-play-state: paused;
}

.signup-button.shake {
    animation: buttonShake 0.5s ease-in-out;
    animation-iteration-count: 1;
}

.signup-button:hover {
    box-shadow: 0 5px 15px rgba(255, 206, 1, 0.3);
}

.signup-button:active {
    box-shadow: 0 2px 10px rgba(255, 206, 1, 0.2);
    transform: translateY(1px);
}


.button-container {
    margin-bottom: 0;
    z-index: 100;
}

/* Spin Button */
.cta-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
    margin: 2rem 0;
}

.cta-image {
    position: absolute;
    width: 200px;
    height: 200px;
    z-index: 1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cta-image.left {
    left: 50px;
    transform: translateX(-50%);
}

.cta-image.right {
    right: 50px;
    transform: translateX(50%);
}

.cta-decoration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.cta-decoration.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.signup-button {
    padding: 15px 70px;
    font-weight: 800;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 0;
    position: relative;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
    border-radius: 0.1rem;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: perspective(500px) rotateX(0deg);
    border: none;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #fff7c4 10%,
        #ffd700 20%,
        #ffed4a 40%,
        #ffd700 60%,
        #f4bd0b 80%,
        #e8a806 100%
    );
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 215, 0, 0.9),
        0 0 20px rgba(255, 215, 0, 0.7),
        0 0 30px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
}



.signup-button:hover {
    transform: perspective(500px) rotateX(-5deg);
}

.signup-button:active {
    transform: perspective(500px) rotateX(-2deg) translateY(2px);
}


/* Features Container */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    max-width: 300px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
    border: 1px solid rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
    border-color: rgba(255, 0, 255, 0.5);
}

.feature-icon {
    font-size: 2rem;
    min-width: 40px;
    text-align: center;
}

.feature-text {
    color: black;
    flex: 1;
    min-width: 0;
}

.feature-text h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-text p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: #cccccc;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Social Media */
.social-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.social-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Responsive Design - Mobile */
@media (max-width: 800px) and (min-width: 451px) {
    .features-container {
        display: none;
    }

    .container-fluid {
        padding: 0;
        overflow-x: hidden;
    }

    .logo-image {
        width: 90vw;
        max-width: 320px;
    }

    .wheel-container {
        width: 300vw;
        height: 300vw;
        max-width: 400px;
        max-height: 400px;
    }

    .wheel-pointer {
        width: 30px;
    }

    .lead {
        font-size: 1rem;
    }

    .text-content {
        bottom: 100px; /* Keep the same fixed distance */
    }
}