/* Estilos generales */
body, html {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #8CD9FF, #5EAEFD);
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Estilos del contenido principal para index.html */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px 0;
    position: relative;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

main h2 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

main p {
    font-size: 1.4em;
    margin-bottom: 30px;
}

.animated-button {
    background-color: white;
    color: #FF0000;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.animated-button:hover {
    background-color: #FF0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.animated-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.animated-button:hover::after {
    transform: translate(-50%, -50%) scale(3);
}

.white-bar {
    height: 50px;
    background-color: white;
    width: 100%;
    flex-shrink: 0;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-text {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

/* Animación de perro */
.dog-animation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3em;
    color: white;
    animation: dogWalk 10s linear infinite;
}

@keyframes dogWalk {
    0% {
        transform: translateX(100%) rotate(0deg);
    }
    50% {
        transform: translateX(-100vw) rotate(0deg);
    }
    51% {
        transform: translateX(-100vw) rotate(180deg);
    }
    100% {
        transform: translateX(100%) rotate(180deg);
    }
}

/* Partículas de fondo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#fff 1px, transparent 1px),
        radial-gradient(#fff 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: particlesAnimation 20s linear infinite;
}

@keyframes particlesAnimation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    main h2 {
        font-size: 2em;
    }

    main p {
        font-size: 1.1em;
    }

    .animated-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .dog-animation {
        font-size: 2em;
    }
}