/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Space+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Star Animation */
.stars, .stars2 {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.stars::before, .stars2::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0.5px, transparent 1px),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.3) 0.5px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.3) 0.5px, transparent 1px);
    background-size: 400px 400px;
    animation: animStar 200s linear infinite;
}

.stars2::before {
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(255,255,255,0.5) 0.5px, transparent 1px),
        radial-gradient(circle at 10% 70%, rgba(255,255,255,0.5) 0.5px, transparent 1px);
    background-size: 600px 600px;
    animation-duration: 300s;
}

@keyframes animStar {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-100vh) translateX(-50vw); }
}

/* Main Content */
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.content {
    text-align: center;
    position: relative;
    max-width: 670px;
    width: 95%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

.title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

.sub-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: #a0a0a0;
    font-weight: 300;
}

.description {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    margin-bottom: 1.5rem;
    color: #888;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.time-segment {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    max-width: 120px;
    flex: 1;
}

.days, .hours, .minutes, .seconds {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    font-weight: 700;
    color: #00ffff;
}

.label {
    font-size: clamp(0.75rem, 3vw, 0.9rem);
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.newsletter {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter input {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    flex: 1;
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
    max-width: 300px;
}

.newsletter button:hover {
    transform: scale(1.05);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: #fff;
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.construction-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.hammer, .wrench {
    position: absolute;
    font-size: 2rem;
    animation: tool-float 3s ease-in-out infinite;
}

@keyframes tool-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
    .content {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .countdown {
        gap: 0.1rem;
    }
    
    .time-segment {
        padding: 0.75rem;
        min-width: min(100px, 30vw);
    }
    
    .newsletter button {
        width: 100%;
    }

    .newsletter input {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .time-segment {
        min-width: 70px;
        padding: 10px;
    }
    
    .construction-icon {
        width: 60px;
        height: 60px;
    }
    
    .hammer, .wrench {
        font-size: 1.5rem;
    }
}

.launch-message {
    font-size: clamp(1.5rem, 6vw, 2rem);
    color: #00ff00;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Add to CSS */
.form-status {
    display: block;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0;
}

.form-status.visible {
    height: auto;
    opacity: 1;
    margin-top: 1rem;
}

.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

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