:root {
    --bg-color: #0f0c29;
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --primary-color: #7b2cbf;
    --accent-color: #9d4edd;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --font-main: 'Poppins', 'Hind Siliguri', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color); /* Fallback */
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Background Animation Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Main Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    max-width: 800px;
    width: 100%;
    margin: 20px 0;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(123, 44, 191, 0.2);
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    transition: transform 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--primary-color);
}

.time-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* Form */
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.newsletter-form button {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.5);
}

.message-box {
    margin-top: 15px;
    height: 20px;
    font-size: 0.9rem;
}

.success { color: #00ff88; }
.error { color: #ff4d4d; }

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(15, 12, 41, 0.8);
    width: 100%;
}

.social-links {
    margin-bottom: 10px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .time-box {
        min-width: 70px;
        padding: 10px;
    }
    
    .time-val {
        font-size: 1.8rem;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

/* --- New Footer Styles --- */

.site-footer {
    background: rgba(15, 12, 41, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
    width: 100%;
    margin-top: auto;
}

/* Override .container behavior within footer if needed, 
   but since .container has flex:1 it might expand weirdly. 
   We reset some properties for the footer context. */
.site-footer .container {
    flex: initial; /* Don't expand to fill height */
    display: block; /* Use block layout for grid */
    text-align: left;
    min-height: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.col-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
}

.col-links {
    list-style: none;
    padding: 0;
}

.col-links li {
    margin-bottom: 12px;
}

.col-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.col-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(157, 78, 221, 0.4);
}

.col-links svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary-color);
}

.col-links a:hover svg {
    color: var(--accent-color);
}

.site-footer .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* WhatsApp Floating Action Button */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-fab:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20bd5a;
}

.whatsapp-fab svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer .container {
        text-align: center;
    }
    
    .col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .col-links a {
        justify-content: center;
    }
    
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-fab svg {
        width: 26px;
        height: 26px;
    }
}
