/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Countdown Timer */
.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.75rem;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-15px) rotate(12deg); }
    100% { transform: translateY(0px) rotate(12deg); }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 3s ease-in-out infinite 1s;
}

/* FAQ Accordion */
.faq-question.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    opacity: 0.8;
    animation: confetti-fall 5s ease-in-out infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Spinning Wheel Animation */
@keyframes spin-wheel {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinning {
    animation: spin-wheel 3s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countdown-box {
        padding: 8px 12px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 640px) {
    .countdown-box {
        padding: 6px 10px;
    }
    
    .countdown-number {
        font-size: 1rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
}

/* Particles.js Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Form Input Focus States */
input:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Button Hover Effects */
button:hover {
    transform: translateY(-2px);
}



/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modal Animation */
#success-modal.hidden .modal-content {
    transform: scale(0.8);
    opacity: 0;
}

#success-modal .modal-content {
    transform: scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

/* Loading State */
#submit-btn.loading {
    position: relative;
    pointer-events: none;
}

#submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
