/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300&display=swap");

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

body {
    /* Dynamic Background */
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient-animation 8s ease infinite;

    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

h1 {
    font-size: 4rem;
    font-family: 'Orbitron', sans-serif;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    animation: pop-out 2s ease infinite alternate;
}

h2 {
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: #00e5ff;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    animation: glow 2s ease infinite alternate;
}

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

.countdown-el {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.big-text {
    font-size: 5rem;
    font-weight: bold;
    color: #ff4081;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

span {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: 300;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .big-text {
        font-size: 3.5rem;
    }

    span {
        font-size: 1.2rem;
    }
}

/* Animated Gradient Keyframes */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Happy New Year Pop-out Animation */
@keyframes pop-out {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        color: #ff4081;
        text-shadow: 0px 5px 10px rgba(255, 64, 129, 0.7);
    }
    100% {
        transform: scale(1);
    }
}

/* Glow Animation for Year */
@keyframes glow {
    0% {
        color: #00e5ff;
        text-shadow: 0px 3px 6px rgba(0, 229, 255, 0.5);
    }
    100% {
        color: #ffffff;
        text-shadow: 0px 6px 12px rgba(255, 255, 255, 0.9);
    }
}
