@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --background: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--background);
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent, rgba(15, 23, 42, 0.8));
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
}

header h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.countdown-item {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 600;
}

.footer {
    margin-top: 4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.6;
}

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

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

.container {
    animation: fadeIn 1s ease-out forwards;
}

.countdown-item:nth-child(1) { animation: float 6s ease-in-out infinite; }
.countdown-item:nth-child(2) { animation: float 7s ease-in-out infinite; }
.countdown-item:nth-child(3) { animation: float 8s ease-in-out infinite; }
.countdown-item:nth-child(4) { animation: float 9s ease-in-out infinite; }

@media (max-width: 640px) {
    .countdown {
        gap: 1rem;
    }
    .countdown-item {
        min-width: 110px;
        padding: 1.5rem;
    }
    .number {
        font-size: 2.5rem;
    }
}
