* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #0066ff;
    --accent-color: #ff0066;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --background-dark: #0a0a0a;
    --background-darker: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(0, 255, 136, 0.3);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Particle Animation Background */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary-color);
}

.particle:nth-child(1) { left: 10%; animation-delay: -0.5s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; animation-delay: -1s; animation-duration: 7s; }
.particle:nth-child(3) { left: 30%; animation-delay: -1.5s; animation-duration: 9s; }
.particle:nth-child(4) { left: 40%; animation-delay: -2s; animation-duration: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: -2.5s; animation-duration: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: -3s; animation-duration: 7s; }
.particle:nth-child(7) { left: 70%; animation-delay: -3.5s; animation-duration: 9s; }
.particle:nth-child(8) { left: 80%; animation-delay: -4s; animation-duration: 6s; }
.particle:nth-child(9) { left: 90%; animation-delay: -4.5s; animation-duration: 8s; }
.particle:nth-child(10) { left: 95%; animation-delay: -5s; animation-duration: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Overlay for depth effect */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 102, 0.05) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 2rem;
}

.logo {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.logo-inner {
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(0, 255, 136, 0.1);
    animation: logoSpin 10s linear infinite;
}

.logo-inner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: logoSpin 3s linear infinite reverse;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

@keyframes logoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    width: 100%;
}

/* Title Animation */
.title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title .line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out forwards;
}

.title .line:nth-child(1) { animation-delay: 0.2s; }
.title .line:nth-child(2) { animation-delay: 0.4s; color: var(--primary-color); text-shadow: 0 0 30px var(--glow-color); }
.title .line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle */
.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
    max-width: 500px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.time-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    min-width: 100px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
    border-color: var(--primary-color);
}

.time-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.time-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Email Section */
.email-section {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.email-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    min-width: 250px;
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.notify-btn {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    color: var(--background-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: 1rem;
}

.notify-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.notify-btn:hover .btn-glow {
    left: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.4s forwards;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Bottom Section */
.bottom-section {
    width: 100%;
    max-width: 400px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.6s forwards;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--card-bg);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: progressLoad 3s ease-out infinite;
}

@keyframes progressLoad {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .countdown {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .time-box {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .email-form {
        flex-direction: column;
        gap: 1rem;
        border-radius: 20px;
        padding: 1rem;
    }
    
    .email-input {
        min-width: auto;
        width: 100%;
    }
    
    .notify-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.5rem;
    }
    
    .time-box {
        min-width: 70px;
        padding: 0.8rem 0.3rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.7rem;
    }
}

/* Additional Glow Effects */
@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.title .amazing {
    animation: slideUp 1s ease-out 0.4s forwards, glow 2s ease-in-out 2s infinite;
}

/* Loading Animation for Page Load */
body.loading {
    overflow: hidden;
}

body.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-darker);
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
} 