/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dance-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.dance-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.dance-image img {
    width: 100%;
    transition: var(--transition);
}

.dance-image:hover img {
    transform: scale(1.05);
}

.dance-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem;
    color: var(--text-light);
    transform: translateY(100%);
    transition: var(--transition);
}

.dance-image:hover .dance-caption {
    transform: translateY(0);
}

.animate-once {
    animation: fadeSlideIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de gradiente para el texto del hero */
@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h1,
.hero-content p {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ff9966 25%,
        #ffffff 50%,
        #ff9966 75%,
        #ffffff 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textGradient 8s linear infinite;
}

.hero-content h1 {
    animation-delay: 0.5s;
}

.hero-content p {
    animation-delay: 1s;
}

/* Otros elementos de animación pueden agregarse aquí */

/* Estrellas titilantes */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle var(--twinkle-duration) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Estrella fugaz */
.shooting-star {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0));
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    animation: shootingStar 5s linear infinite;
    box-shadow: 0 0 10px 1px rgba(255, 255, 255, 0.8);
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 70px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
}

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(calc(100vw - 100px), 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translate(calc(100vw - 100px), 20px);
    }
} 