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

body {
    background: linear-gradient(125deg, #000428, #004e92);
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
}

.countdown {
    display: flex;
    gap: 1.5rem;
    margin: 2rem auto;
    justify-content: center;
    align-items: center;
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.time:hover {
    transform: translateY(-5px);
}

.time span {
    font-size: 12rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time small {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0a0a0;
}

.new-year {
    font-size: 6rem;
    animation: neon 1.5s ease-in-out infinite alternate;
}

.hidden {
    display: none;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

@keyframes neon {
    from {
        text-shadow: 0 0 10px #fff,
                     0 0 20px #fff,
                     0 0 30px #fff,
                     0 0 40px #ffd700;
    }
    to {
        text-shadow: 0 0 5px #fff,
                     0 0 10px #fff,
                     0 0 15px #fff,
                     0 0 20px #ffd700;
    }
}

@keyframes smokeFade {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(2); }
}

.intro-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #fff, #7ee8fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(126, 232, 250, 0.5);
    text-align: center;
    width: 100%;
}

.poetic-line {
    font-size: 1.8rem;
    line-height: 1.6;
    margin: 0.5rem 0;
    font-style: italic;
    letter-spacing: 0.5px;
}

.poetic-line:first-child {
    font-size: 2.2rem;
    color: #ffd700;
}

#intro-year {
    color: #ffd700;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    font-size: 1.1em;
}

.celebration-text h1 {
    font-size: 7rem;
    font-family: 'Unbounded', sans-serif;
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: titleScale 1s ease-out;
    letter-spacing: -2px;
}

.subtext {
    font-size: 2rem;
    margin-top: 1rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(126, 232, 250, 0.5);
    animation: fadeIn 2s ease-out;
}

@keyframes titleScale {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

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

.sparkles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
}

@media (max-width: 600px) {
    .intro-text {
        font-size: 2rem;
    }
    .countdown .time span {
        font-size: 4rem;
    }
    .time {
        padding: 1rem 1.5rem;
    }
}

@media (min-width: 1200px) {
    .intro-text {
        font-size: 6rem;
    }
    .time span {
        font-size: 14rem;
    }
}
