 /* Contenedor del intro */
 .intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Contenedor de la animación */
.animation-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Globo giratorio */
.globe {
    font-size: 150px;
    color: #960e53;
    animation: spin 6s linear infinite;
    position: relative;
    z-index: 2; /* Aumentado para estar sobre la trayectoria */
}

/* SVG para el texto curvo */
.text-svg {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Sobre el globo y la trayectoria */
}

.text-svg text {
    font-size: 15px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    fill: #FA741A;
}

/* Avión volando */
.plane {
    font-size: 40px;
    color: #960e53;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    animation: orbit 4s linear infinite;
    z-index: 4; /* Sobre todo lo demás */
}

/* Trayectoria punteada */
.trajectory {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 2px dashed #dc3545;
    border-radius: 50%;
    top: 50%; /* Ajustado a 50% para alinearse con el centro */
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    z-index: 1; /* Detrás del globo, texto y avión */
}

/* Fondo de estrellas */
.starry-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 0; /* Detrás de todo */
    overflow: hidden;
}

.star {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FA741A;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
}

/* Animaciones */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(1); }
}

/* Contenido principal */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.visible {
    opacity: 1;
}