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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 800px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.countdown-item:hover::before {
    transform: scaleX(1);
}

.countdown-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

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

.target-date {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out 0.9s both;
}

.target-date p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.target-date span {
    color: #667eea;
    font-weight: 600;
}

.progress-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 1s ease-out 1.2s both;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.progress-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.progress-text span {
    color: #ffd700;
    font-weight: 600;
}

.footer {
    text-align: center;
    padding: 40px 0 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .countdown-item {
        padding: 24px 16px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .header {
        margin-bottom: 40px;
        padding: 20px 0;
    }
}

/* Special effects for countdown numbers */
.countdown-number.animate {
    animation: pulse 0.6s ease-in-out;
}

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