/* General Reset and Styling */
body {
    background: #a0a0a0;
}

/* Countdown Container */
.countdown-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 50px 30px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), 0 0 10px rgba(173, 173, 173, 0.5);
    transform-style: preserve-3d; /* 3D styling */
    /* animation: tiltRotate 5s infinite alternate ease-in-out; */
}

/* Neon Border Animation */
.countdown-container::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
    border: 4px solid transparent;
    /* border-radius: 30px; */
    background: #000000;
    background-size: 300% 300%;
    /* animation: neonGlow 6s infinite ease-in-out; */
}

/* Heading Styling */
.countdown-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    /* text-shadow: 0 0 15px #000000, 0 0 30px #ffffff, 0 0 45px rgba(175, 174, 174, 0.5); */
}

/* Countdown Grid */
.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    /* transform: rotateX(20deg);  */
}

/* Individual Time Block */
.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    text-align: center;
    padding: 30px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, #ffffff, #696969);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.5);
    /* animation: blockHover 4s infinite ease-in-out; */
}

/* Glowing Numbers */
.time span {
    font-size: 3.5rem;
    font-weight: bold;
    color: #050505;
    text-shadow: 0 0 10px #eeebeb, 0 0 30px #2a2b2b, 0 0 50px rgba(255, 255, 255, 0.5);
    animation: bounceGlow 1s infinite alternate ease-in-out;
}

.time p {
    margin: 0;
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    text-shadow: 0 0 10px #ffffff, 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Background Animation */
@keyframes backgroundShift {
    0% {
        background: radial-gradient(circle, #0f0f3a, #1a1a60, #00072d);
    }
    50% {
        background: radial-gradient(circle, #1a1a60, #00072d, #0f0f3a);
    }
    100% {
        background: radial-gradient(circle, #0f0f3a, #1a1a60, #00072d);
    }
}

/* Tilt and Rotate Animation */
@keyframes tiltRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(0deg) rotateY(0deg);
    }
}

/* Neon Glow Animation */
@keyframes neonGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Time Block Animation */
@keyframes blockHover {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-80px);
    }
}

/* Bounce Glow for Numbers */
@keyframes bounceGlow {
    0% {
        transform: translateY(0);
        text-shadow: 0 0 10px #000000, 0 0 5px #cdd1d1, 0 0 10px rgba(121, 124, 124, 0.7);
    }
    100% {
        transform: translateY(-8px);
        text-shadow: 0 0 20px #040505, 0 0 20px #cdd1d1, 0 0 30px rgb(133, 133, 133);
    }
}
