/* Casa Ascendente - Divine Laser Beams */
/* Sharp • Intense • VR Power */

/* ═══════════════════════════════════════════════════════════════
   DIVINE LASER RAYS - SHARP & INTENSE
   ═══════════════════════════════════════════════════════════════ */

/* Override Inner Light Rays to be LASERS */
.inner-light-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 2;
}

.inner-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 400px;
    transform-origin: bottom center;
    animation: laserPulse 3s ease-in-out infinite;
}

/* Laser Beam Core - Bright White Center */
.inner-ray::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 223, 128, 0.8) 20%,
        rgba(212, 175, 55, 0.6) 50%,
        transparent 100%
    );
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 223, 128, 0.8),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 40px rgba(212, 175, 55, 0.4);
}

/* Laser Glow - Outer Aura */
.inner-ray::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(255, 215, 0, 0.3) 0%,
        rgba(212, 175, 55, 0.15) 30%,
        transparent 70%
    );
    filter: blur(5px);
}

/* Individual Ray Rotations */
.inner-ray:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.inner-ray:nth-child(2) { transform: rotate(30deg); animation-delay: 0.25s; }
.inner-ray:nth-child(3) { transform: rotate(60deg); animation-delay: 0.5s; }
.inner-ray:nth-child(4) { transform: rotate(90deg); animation-delay: 0.75s; }
.inner-ray:nth-child(5) { transform: rotate(120deg); animation-delay: 1s; }
.inner-ray:nth-child(6) { transform: rotate(150deg); animation-delay: 1.25s; }
.inner-ray:nth-child(7) { transform: rotate(180deg); animation-delay: 1.5s; }
.inner-ray:nth-child(8) { transform: rotate(210deg); animation-delay: 1.75s; }
.inner-ray:nth-child(9) { transform: rotate(240deg); animation-delay: 2s; }
.inner-ray:nth-child(10) { transform: rotate(270deg); animation-delay: 2.25s; }
.inner-ray:nth-child(11) { transform: rotate(300deg); animation-delay: 2.5s; }
.inner-ray:nth-child(12) { transform: rotate(330deg); animation-delay: 2.75s; }

@keyframes laserPulse {
    0%, 100% { 
        opacity: 0.6;
        height: 350px;
    }
    50% { 
        opacity: 1;
        height: 450px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ROTATING LASER SCANNER
   ═══════════════════════════════════════════════════════════════ */

.laser-scanner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
    animation: scannerRotate 20s linear infinite;
}

.laser-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 223, 128, 0.9) 10%,
        rgba(212, 175, 55, 0.6) 40%,
        transparent 100%
    );
    transform-origin: bottom center;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(255, 223, 128, 0.7),
        0 0 30px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 0.3);
}

.laser-beam:nth-child(1) { transform: rotate(0deg); }
.laser-beam:nth-child(2) { transform: rotate(120deg); }
.laser-beam:nth-child(3) { transform: rotate(240deg); }

@keyframes scannerRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   DIVINE BURST - STARBURST EFFECT
   ═══════════════════════════════════════════════════════════════ */

.divine-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.burst-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 250px;
    background: linear-gradient(
        to top,
        rgba(255, 215, 0, 0.8) 0%,
        rgba(212, 175, 55, 0.4) 30%,
        transparent 60%
    );
    transform-origin: bottom center;
    animation: burstPulse 4s ease-in-out infinite;
    box-shadow: 
        0 0 4px rgba(255, 215, 0, 0.6),
        0 0 8px rgba(212, 175, 55, 0.4);
}

/* 24 burst rays for full coverage */
.burst-ray:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.burst-ray:nth-child(2) { transform: rotate(15deg); animation-delay: 0.15s; }
.burst-ray:nth-child(3) { transform: rotate(30deg); animation-delay: 0.3s; }
.burst-ray:nth-child(4) { transform: rotate(45deg); animation-delay: 0.45s; }
.burst-ray:nth-child(5) { transform: rotate(60deg); animation-delay: 0.6s; }
.burst-ray:nth-child(6) { transform: rotate(75deg); animation-delay: 0.75s; }
.burst-ray:nth-child(7) { transform: rotate(90deg); animation-delay: 0.9s; }
.burst-ray:nth-child(8) { transform: rotate(105deg); animation-delay: 1.05s; }
.burst-ray:nth-child(9) { transform: rotate(120deg); animation-delay: 1.2s; }
.burst-ray:nth-child(10) { transform: rotate(135deg); animation-delay: 1.35s; }
.burst-ray:nth-child(11) { transform: rotate(150deg); animation-delay: 1.5s; }
.burst-ray:nth-child(12) { transform: rotate(165deg); animation-delay: 1.65s; }
.burst-ray:nth-child(13) { transform: rotate(180deg); animation-delay: 1.8s; }
.burst-ray:nth-child(14) { transform: rotate(195deg); animation-delay: 1.95s; }
.burst-ray:nth-child(15) { transform: rotate(210deg); animation-delay: 2.1s; }
.burst-ray:nth-child(16) { transform: rotate(225deg); animation-delay: 2.25s; }
.burst-ray:nth-child(17) { transform: rotate(240deg); animation-delay: 2.4s; }
.burst-ray:nth-child(18) { transform: rotate(255deg); animation-delay: 2.55s; }
.burst-ray:nth-child(19) { transform: rotate(270deg); animation-delay: 2.7s; }
.burst-ray:nth-child(20) { transform: rotate(285deg); animation-delay: 2.85s; }
.burst-ray:nth-child(21) { transform: rotate(300deg); animation-delay: 3s; }
.burst-ray:nth-child(22) { transform: rotate(315deg); animation-delay: 3.15s; }
.burst-ray:nth-child(23) { transform: rotate(330deg); animation-delay: 3.3s; }
.burst-ray:nth-child(24) { transform: rotate(345deg); animation-delay: 3.45s; }

@keyframes burstPulse {
    0%, 100% { 
        opacity: 0.4;
        height: 200px;
    }
    50% { 
        opacity: 0.9;
        height: 280px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CENTRAL LIGHT SOURCE - INTENSE CORE
   ═══════════════════════════════════════════════════════════════ */

.light-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 223, 128, 0.7) 30%,
        rgba(212, 175, 55, 0.4) 60%,
        transparent 100%
    );
    animation: corePulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes corePulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Second Layer Core */
.light-core::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 223, 128, 0.8),
        0 0 60px rgba(212, 175, 55, 0.6),
        0 0 100px rgba(212, 175, 55, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .inner-light-rays {
        width: 600px;
        height: 600px;
    }
    
    .inner-ray {
        height: 300px;
    }
    
    @keyframes laserPulse {
        0%, 100% { opacity: 0.6; height: 250px; }
        50% { opacity: 1; height: 350px; }
    }
    
    .laser-scanner {
        width: 450px;
        height: 450px;
    }
    
    .divine-burst {
        width: 400px;
        height: 400px;
    }
    
    .burst-ray {
        height: 200px;
    }
    
    @keyframes burstPulse {
        0%, 100% { opacity: 0.4; height: 150px; }
        50% { opacity: 0.9; height: 220px; }
    }
    
    .light-core {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .inner-light-rays {
        width: 450px;
        height: 450px;
    }
    
    .inner-ray {
        height: 225px;
    }
    
    .laser-scanner {
        width: 350px;
        height: 350px;
    }
    
    .divine-burst {
        display: none;
    }
    
    .light-core {
        width: 60px;
        height: 60px;
    }
}
