* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    overflow: hidden;
    transition: 0.4s;
}

/* Themes */
body.dark {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
}

body.light {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #000;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #444;
    border-top: 6px solid #00d9ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content */
.container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    top: 50%;
    transform: translateY(-50%);
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

p {
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown div {
    background: rgba(255,255,255,0.15);
    padding: 15px 25px;
    border-radius: 15px;
    min-width: 90px;
}

.countdown span {
    font-size: 2rem;
    font-weight: 600;
}

/* Theme Toggle */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: none;
    border: 2px solid currentColor;
    color: inherit;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
}

.brand {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media(max-width:600px){
    h1{font-size:2.2rem;}
}
