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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow: hidden;
    background: #0a1929;
}

/* Three.js Canvas */
#threejs-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a1929;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 198, 255, 0.3);
    border-top: 4px solid #00c6ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Content Overlay */
.content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(10, 25, 47, 0.85);
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Header Section */
.header-section {
    margin-bottom: 40px;
}

.energy-icon {
    font-size: 3.5rem;
    color: #00c6ff;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 40, 85, 0.7);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00c6ff;
    border-radius: 50%;
    margin-right: 10px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    color: #8bb9fe;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Countdown Section */
.countdown-section {
    margin-bottom: 40px;
}

.countdown-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.countdown-section h2 span {
    color: #00c6ff;
}

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

.countdown-item {
    background: rgba(0, 40, 85, 0.7);
    border-radius: 12px;
    padding: 20px 15px;
    min-width: 100px;
    border: 1px solid rgba(0, 150, 255, 0.3);
    backdrop-filter: blur(10px);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00c6ff;
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    color: #8bb9fe;
    font-weight: 500;
}

/* Form Section */
.form-section {
    margin-bottom: 40px;
}

.success-message, .error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}

.success-message {
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #a8e6cf;
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff9999;
}

.notify-form .input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    width: 300px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.email-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 150, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 150, 255, 0.6);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.notify-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, #0072ff, #00c6ff);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
    background: linear-gradient(to right, #0066e0, #00b8f0);
}

/* Social Section */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 40, 85, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8bb9fe;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.social-icon:hover {
    background: rgba(0, 114, 255, 0.8);
    color: white;
    transform: translateY(-5px);
    border-color: rgba(0, 150, 255, 0.5);
    box-shadow: 0 8px 15px rgba(0, 114, 255, 0.2);
}

/* Footer Section */
.copyright {
    color: #8bb9fe;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Scene Controls */


/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.8rem;
    }
    
    .countdown-section h2 {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .email-input {
        width: 100%;
    }
    
    .notify-form .input-group {
        flex-direction: column;
        align-items: center;
    }
    
    .scene-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px 8px;
    }
    
    .countdown-value {
        font-size: 1.7rem;
    }
}