body.index {
    margin: 0; padding: 0; height: 100vh; width: 100vw;
    overflow: hidden; background: #000;
    display: flex; justify-content: center; align-items: center;
    font-family: 'Inter', sans-serif;
}

/* CAPA DE PARTÍCULAS */
.particles-container {
    position: absolute;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.dust-particle {
    position: absolute;
    background: rgba(255, 230, 180, 0.5);
    border-radius: 50%;
    filter: blur(1px);
    animation: egyptianDust infinite linear;
}

@keyframes egyptianDust {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    50% { transform: translate(30px, 40vh) scale(1.2); }
    90% { opacity: 0.6; }
    100% { transform: translate(-20px, 90vh) scale(0.8); opacity: 0; }
}

/* ZOOM INICIAL */
.zoom-layer {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw; height: 100vh;
    transform-origin: 50% 80%; 
    transform: translate(-50%, -50%) scale(1.1);
    animation: masterZoom 5.0s cubic-bezier(0.5, 0, 0.2, 1) forwards;
}

@keyframes masterZoom {
    0% { transform: translate(-50%, -50%) scale(1.1); } 
    100% { transform: translate(-50%, -50%) scale(2.1); } 
}

.scene-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* EFECTO GOLPE */
.shake-active { animation: knockEffect 0.2s ease-in-out; }

@keyframes knockEffect {
    0% { transform: translate(0,0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    100% { transform: translate(0,0); }
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 10%, rgba(0,0,0,0.9) 100%);
    z-index: 2; opacity: 0;
    animation: fadeIn 2s ease forwards 3.5s;
}

@keyframes fadeIn { to { opacity: 1; } }

/* CONTENEDOR CENTRAL (REVELADO) */
.door-container {
    position: absolute; 
    /* AJUSTE: Cambiado de 50% a 42% para subir el logo y el botón */
    top: 42%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; display: none;
    flex-direction: column; align-items: center;
    width: 100%;
}

.door-container.revealed { display: flex; animation: fadeInUp 0.8s ease forwards; }

@keyframes fadeInUp {
    /* AJUSTE: La animación ahora termina en el mismo 'top' definido arriba */
    from { opacity: 0; transform: translate(-50%, -35%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* LOGO AJUSTADO (DOBLE TAMAÑO Y RESPONSIVE) */
.index-logo {
    width: 280px; 
    height: auto;
    margin-bottom: 30px;
    cursor: pointer;
    filter: drop-shadow(0 0 20px rgba(197, 160, 40, 0.5));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 80vw;
}

.index-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(197, 160, 40, 0.8));
}

.enter-btn {
    pointer-events: auto; padding: 16px 50px;
    background: linear-gradient(145deg, #C5A028, #D4AF37);
    color: #000; font-size: 18px; text-transform: uppercase;
    letter-spacing: 3px; border-radius: 50px;
    text-decoration: none; font-weight: bold;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: 0.3s;
}

.enter-btn:hover {
    box-shadow: 0 0 25px rgba(197, 160, 40, 0.7);
    transform: scale(1.05);
}

/* FOOTER */
.legal-footer {
    position: fixed; bottom: 15px; width: 100%; text-align: center;
    z-index: 100; font-family: sans-serif; font-size: 11px;
    color: rgba(255, 255, 255, 0.4); box-sizing: border-box; padding: 0 25px;
}
.footer-links { margin-top: 8px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; margin: 0 10px; }

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 600px) {
    /* Opcional: Si en móvil quieres que esté más arriba o más abajo, ajustas el 'top' aquí */
    .door-container { top: 40%; }
    .index-logo { width: 180px; } 
    .enter-btn { font-size: 16px; padding: 12px 35px; }
}