/* ===== ROOT VARIABLES ===== */
:root {
    /* Fire Theme Colors */
    --primary-color: #FF6B35;
    --primary-dark: #E85D2F;
    --primary-light: #FF8C5F;
    --secondary-color: #FFA500;
    --accent-yellow: #FFD700;
    --accent-red: #FF4500;
    --background: #0F1419;
    --surface: #1A1F26;
    --surface-elevated: #252B33;
    --text-primary: #E6E8EB;
    --text-secondary: #9BA3AF;
    --text-muted: #6B7280;
    --border: #2D3440;
    --success: #32CD32;
    --warning: #FFA500;
    --error: #FF4500;
    --gradient-fire: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FFD700 100%);
    --gradient-fire-reverse: linear-gradient(135deg, #FFD700 0%, #FF6B35 50%, #FF4500 100%);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== ANIMATED BACKGROUND ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.construction-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(255, 107, 53, 0.03) 60px,
            rgba(255, 107, 53, 0.03) 120px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 60px,
            rgba(255, 165, 0, 0.03) 60px,
            rgba(255, 165, 0, 0.03) 120px
        );
    animation: constructionMove 20s linear infinite;
}

@keyframes constructionMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(120px) translateY(120px); }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.floating-particles::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.08) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-60px) translateX(-20px); }
    75% { transform: translateY(-30px) translateX(20px); }
}

/* ===== MAIN CONTAINER ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* ===== LOGO ===== */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.4));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CONSTRUCTION ICON ===== */
.construction-icon {
    position: relative;
    display: inline-block;
    margin: 20px 0 40px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.construction-icon svg {
    filter: drop-shadow(0 8px 24px rgba(255, 107, 53, 0.3));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.construction-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.4) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

/* ===== CONTENT ===== */
.content {
    margin: 40px 0;
    animation: fadeIn 1s ease-out 0.5s both;
}

.headline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== LAUNCH DATE ===== */
.launch-date {
    display: inline-block;
    background: var(--surface-elevated);
    padding: 20px 40px;
    border-radius: 16px;
    border: 2px solid var(--border);
    margin: 40px 0 30px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.date-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.date-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.countdown-item {
    background: var(--surface-elevated);
    padding: 24px 28px;
    border-radius: 16px;
    border: 2px solid var(--border);
    min-width: 120px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-muted);
    margin: 0 -10px;
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.progress-percentage {
    font-weight: 700;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.progress-bar {
    height: 12px;
    background: var(--surface-elevated);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-fire);
    border-radius: 10px;
    position: relative;
    transition: width 1s ease;
    animation: progressGrow 2s ease-out 1.5s both;
}

@keyframes progressGrow {
    from { width: 0% !important; }
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ===== STATUS GRID ===== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.status-card {
    background: var(--surface-elevated);
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.status-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface);
}

.status-card.completed .status-icon {
    background: linear-gradient(135deg, #32CD32, #28A745);
}

.status-card.in-progress .status-icon {
    background: var(--gradient-fire);
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-card.pending .status-icon {
    background: linear-gradient(135deg, #6B7280, #4B5563);
    opacity: 0.7;
}

.status-text {
    flex: 1;
    font-weight: 600;
    text-align: left;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: var(--surface-elevated);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border);
    margin: 60px 0 40px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.subscribe-btn {
    padding: 16px 32px;
    background: var(--gradient-fire);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.newsletter-message {
    min-height: 24px;
    font-size: 0.9rem;
    margin-top: 12px;
}

.newsletter-message.success {
    color: var(--success);
}

.newsletter-message.error {
    color: var(--error);
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 90px;
        padding: 16px 20px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .construction-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .newsletter {
        padding: 24px 20px;
    }
}
