* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #360000;
    color: #ffffff;
    overflow: hidden;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    background: linear-gradient(145deg, #b80000, #ff1e1e);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5);
    animation: glow 3s infinite alternate;
}

.hero-section p {
    margin-top: 1rem;
    font-size: 1.5rem;
    color: #ffd9d9;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
}

.countdown-wrapper {
    margin-top: -15vh;
    z-index: 3;
    background: linear-gradient(145deg, #8b0000, #ff4d4d);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    display: flex;
    justify-content: center;
}

.countdown {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.time-section {
    text-align: center;
    flex: 1;
    padding: 15px;
    border: 3px solid #ffffff;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0px 6px 15px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease-in-out;
}

.time-section:hover {
    transform: translateY(-10px);
}

.time-value {
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

.time-label {
    font-size: 1.4rem;
    color: #ffe6e6;
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

#snow div {
    position: absolute;
    background-image: url('https://cdn.pixabay.com/photo/2014/03/24/17/14/snowflake-295196_640.png');
    background-size: 100%;
    width: 30px;
    height: 30px;
    opacity: 0.8;
    animation: snow 10s linear infinite, moveRandom 10s linear infinite;
}

@keyframes snow {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes moveRandom {
    0% {
        transform: translateX(calc(100vw * (0.1 + 0.8 * random())));
    }
    100% {
        transform: translateX(calc(100vw * (0.1 + 0.8 * random())));
    }
}

@keyframes glow {
    0% {
        text-shadow: 0px 0px 10px #ff0000, 0px 0px 20px #ff3333, 0px 0px 30px #ff6666;
    }
    100% {
        text-shadow: 0px 0px 20px #ff6666, 0px 0px 30px #ff9999, 0px 0px 40px #ffcccc;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .countdown-wrapper {
        padding: 20px;
    }

    .time-value {
        font-size: 4rem;
    }

    .time-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .time-value {
        font-size: 3rem;
    }

    .time-label {
        font-size: 1rem;
    }
}