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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header {
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.target-date {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
}

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

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.time-unit:hover .time-value {
    transform: scale(1.1);
}

.time-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.milliseconds .time-value {
    font-size: 1.8rem;
    min-width: 60px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.status {
    padding: 15px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.status-text {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-card {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .time-unit {
        min-width: 60px;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .milliseconds .time-value {
        font-size: 1.5rem;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 10px;
    }
    
    .time-unit {
        min-width: 50px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .milliseconds .time-value {
        font-size: 1.2rem;
        min-width: 40px;
    }
}

/* Animation for countdown completion */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.completed {
    animation: pulse 2s infinite;
}

/* Smooth transitions for all elements */
* {
    transition: all 0.3s ease;
} 