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

body {
    font-family: "Georgia", serif;
    background: linear-gradient(135deg, #1a472a 0%, #2d5f3f 50%, #1a472a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Efecto de nieve de fondo */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent);
    background-size: 200% 200%;
    animation: snow 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes snow {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }

    100% {
        background-position: 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%;
    }
}

h1 {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4), 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
    padding: 0 1rem;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8),
            0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

div {
    background: linear-gradient(145deg, #d32f2f, #b71c1c);
    border: 4px solid #ffd700;
    border-radius: 20px;
    padding: 3rem 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

/* Decoración de esquinas */
div::before,
div::after {
    content: "❄";
    position: absolute;
    font-size: 2rem;
    color: #fff;
    opacity: 0.8;
    animation: rotate 4s linear infinite;
}

div::before {
    top: -15px;
    left: -15px;
}

div::after {
    bottom: -15px;
    right: -15px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

p {
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#dias {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    display: inline-block;
    padding: 0 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: glow 1.5s ease-in-out infinite alternate;
}

#anio {
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

    div {
        padding: 2rem 2rem;
        margin: 0 1rem;
    }

    p {
        font-size: 1.3rem;
    }

    #dias {
        font-size: 2.2rem;
    }
}
