body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f8ff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Asegura que siempre ocupe el alto de la pantalla */
    margin: 0;
    /* CAMBIO AQUÍ: Permitimos el scroll vertical y ocultamos el horizontal */
    overflow-y: auto; 
    overflow-x: hidden; 
    text-align: center;
    background-image: linear-gradient(to right top, #a2ccf2, #94c0ee, #86b4eb, #77a8e8, #679ce6);
    padding: 20px 0; /* Un poco de espacio arriba y abajo */
}

.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

header h1 {
    color: #679ce6; /* Azul vibrante */
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

main p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 25px;
}

main p strong {
    color: #FF6347; /* Rojo anaranjado */
    font-weight: 700;
}

.animation-area {
    margin: 30px 0;
    position: relative;
}

.animated-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: bounceScale 3s infinite ease-in-out;
}

@keyframes bounceScale {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading-bar {
    width: 80%;
    max-width: 300px;
    height: 15px;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin: 20px auto 0;
    overflow: hidden;
}

.loading-bar .progress {
    width: 0%;
    height: 100%;
    background-color: #4CAF50; /* Verde */
    border-radius: 8px;
    animation: progressFill 4s infinite ease-in-out;
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.countdown {
    margin-top: 30px;
    font-size: 1.5em;
    font-weight: 600;
    color: #32CD32; /* Verde Lima */
}

footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #679ce6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon.facebook::before { content: 'f'; font-family: 'Font Awesome 5 Brands'; } /* Necesitarías Font Awesome */
.social-icon.instagram::before { content: '\f16d'; font-family: 'Font Awesome 5 Brands'; }
.social-icon.twitter::before { content: '\f099'; font-family: 'Font Awesome 5 Brands'; }

.social-icon:hover {
    background-color: #FF6347;
    transform: translateY(-5px) scale(1.1);
}

footer p {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

/* Animaciones de fondo */
.area{
    background: #4e54c8;
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    width: 100%;
    height:100vh;
    position: absolute;
    top:0;
    left:0;
    z-index: 0;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}