/* General Body Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #FFDDC1, #FFC288), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF8C42' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-blend-mode: overlay;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Main Landing Container */
.landing-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo */
.logo {
    max-width: 200px;
    margin-bottom: 10px;
}

/* Headings and Paragraphs */
h1 {
    color: #D9534F; /* A shade of red */
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
}

main strong {
    color: #D9534F; /* A shade of red, same as h1 */
    font-weight: 700;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 30px;
}

.countdown-timer div {
    background: rgba(255, 140, 66, 0.1); /* Light orange tint */
    padding: 10px;
    border-radius: 10px;
    width: 80px;
    border: 1px solid rgba(255, 140, 66, 0.2);
}

.countdown-timer span {
    display: block;
    font-weight: 700;
    font-size: 2em;
    color: #D9534F; /* Red color for numbers */
}

.countdown-timer span.label {
    font-size: 0.7em;
    font-weight: 400;
    color: #555;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Call-to-Action Button */
.cta-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: radial-gradient(circle at 20% 30%, #FF5F6D 0%, #FFC371 40%, #FF8C42 70%, #FF5F6D 100%);
    background-size: 200% 200%;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
    border-radius: 50px;
    transition: 
        transform 0.2s cubic-bezier(.4,2,.3,1),
        box-shadow 0.2s cubic-bezier(.4,2,.3,1);
    box-shadow: 0 6px 24px rgba(255, 95, 109, 0.18), 0 1px 8px rgba(255, 195, 113, 0.12);
    overflow: hidden;
    animation: liquid-gradient 4s ease-in-out infinite, pop-in 0.6s ease-out forwards;
    animation-delay: 0s, 0.4s;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50px;
    background: conic-gradient(
        from 0deg,
        #FF5F6D 0%,
        #FFC371 25%,
        #FFDDC1 50%,
        #FF8C42 75%,
        #FF5F6D 100%
    );
    z-index: -1;
    animation: rotate-glow 2.5s linear infinite;
    box-shadow: 0 0 8px 2px #FFC371, 0 0 16px 4px #FF5F6D;
    opacity: 1;
    pointer-events: none;
    transition: box-shadow 0.2s cubic-bezier(.4,2,.3,1);
}

/* Hover effect: intensify glow and slightly lift button */
.cta-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 95, 109, 0.22), 0 2px 16px rgba(255, 195, 113, 0.15);
}

.cta-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 95, 109, 0.14), 0 1px 4px rgba(255, 195, 113, 0.09);
}

/* Page Load Animations */
@keyframes pop-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo, main h1, main p, .countdown-timer, .cta-button, .qr-container {
    opacity: 0; /* Start hidden */
    animation: pop-in 0.6s ease-out forwards;
}

/* Stagger the animations for a cascade effect */
main h1 { animation-delay: 0.1s; }
main p { animation-delay: 0.2s; }
.countdown-timer { animation-delay: 0.3s; }
.cta-button {
    /* Override group animation to remove pulse-glow */
    animation: pop-in 0.6s ease-out forwards;
    animation-delay: 0.4s;
}
.qr-container { animation-delay: 0.5s; }

/* QR Code Section */
.qr-container {
    margin-top: 30px;
}

.qr-container p {
    margin-bottom: 10px;
    color: #777;
    font-size: 0.9em;
}

.qr-code {
    max-width: 180px;
    border: 5px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    margin-top: 30px;
    font-size: 0.8em;
    color: #999;
}

/* Responsive Design */
@media (max-width: 600px) {
    .landing-container {
        padding: 30px 25px;
    }

    h1 {
        font-size: 2em;
        margin-bottom: 15px;
    }

    p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    
    .countdown-timer {
        gap: 10px;
        margin: 15px 0 25px;
    }

    .countdown-timer div {
        width: 65px;
        padding: 8px;
    }
    
    .countdown-timer span {
        font-size: 1.5em;
    }

    .qr-container {
        /* Hide QR code on mobile as the button is the primary action */
        display: none;
    }
}
