/* /opt/tlshive/public/landing/styles_v2.css */
/* === ESTILOS DEL PORTAL RADIAL TeLabS v2.1 (PRELOADER TELABSCRAFT - CENTRADO PERFECTO) === */

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617;
    background-image: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.03) 0%, transparent 60%);
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Resplandor Ambiental */
.ambient-sunrise {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-tech) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.4;
}

/* Escena de Control Dial */
.dial-stage {
    position: relative;
    isolation: isolate;
    width: 460px;
    height: 460px;
    margin: 0 auto;
}

/* === ANILLO DE CHEVRONES FIJOS === */
.chevrons-ring-fixed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 80;
    will-change: opacity;
}

.chevron-fixed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86px;
    height: 56px;
    margin-left: -43px;
    margin-top: -28px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 200ms ease, z-index 200ms;
    outline: none;
    will-change: transform;
}

.chevron-shape {
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 50% 80%, 0% 100%, 0% 25%);
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 40%, #94a3b8 80%, #64748b 100%);
    transition: all 300ms ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.chevron-icon {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    color: #0f172a;
    font-size: 22px;
    pointer-events: none;
    transition: color 300ms ease, filter 300ms ease;
}

.chevron-fixed:hover .chevron-shape {
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 40%, #cbd5e1 70%, #f8fafc 100%);
}
.chevron-fixed:hover .chevron-icon { color: #334155; }

.chevron-south { transform: rotate(0deg) translateY(202px); }
.chevron-south .chevron-icon { transform: rotate(0deg); }

.chevron-north { transform: rotate(180deg) translateY(202px); }
.chevron-north .chevron-icon { transform: rotate(-180deg); }

.chevron-west { transform: rotate(90deg) translateY(202px); }
.chevron-west .chevron-icon { transform: rotate(-90deg); }

.chevron-east { transform: rotate(270deg) translateY(202px); }
.chevron-east .chevron-icon { transform: rotate(-270deg); }

.chevron-fixed.active { z-index: 30; }

.chevron-fixed.active .chevron-icon {
    color: #020617 !important;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5)) !important;
}

.chevron-fixed.active .chevron-shape {
    background: linear-gradient(180deg, #ffffff 0%, #facc15 40%, #ca8a04 80%, #fbbf24 100%) !important;
    filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.6)) !important;
}

.chevron-south.active { transform: rotate(0deg) translateY(202px) scale(1.15); }
.chevron-north.active { transform: rotate(180deg) translateY(202px) scale(1.15); }
.chevron-west.active { transform: rotate(90deg) translateY(202px) scale(1.15); }
.chevron-east.active { transform: rotate(270deg) translateY(202px) scale(1.15); }

/* Contenedor 3D Card Flip */
.disk-flip-container {
    perspective: 1200px;
    width: 360px;
    height: 360px;
    position: relative;
    transform-style: preserve-3d;
    will-change: opacity;
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%) !important;
}

.disk-flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: pointer;
}

.disk-flip-card.flipped { transform: rotateY(180deg); }

.disk-front, .disk-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
}

.disk-front { z-index: 2; transform: rotateY(0deg); }

.disk-back {
    transform: rotateY(180deg);
    z-index: 10;
    background-color: #02040a;
    border: 4px solid var(--accent-gold);
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9);
}

.portal-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 
        inset 0 0 60px 25px rgba(0, 0, 0, 0.98), 
        inset 0 0 0 6px rgba(15, 23, 42, 0.8), 
        inset 0 0 15px 8px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(56, 189, 248, 0.15);
    pointer-events: none;
    z-index: 25;
}

.disk-rotor {
    width: 100%; height: 100%;
    position: relative;
    will-change: transform;
}

.disk-img {
    width: 100%; height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    filter: contrast(1.05) saturate(0.95);
}

/* Satélites de Órbita */
.sat-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;        
    height: 68px;       
    margin-left: -34px;  
    margin-top: -34px;   
    background: #090d16;
    border: 3px solid var(--primary-color, #334155); 
    border-radius: 50%;
    color: var(--primary-color, #94a3b8);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 9px;
    font-weight: bold;
    transform: rotate(var(--angle)) translateY(170px) rotate(calc(var(--angle) * -1)) translateZ(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 110; 
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 0 10px var(--glow-color, rgba(56, 189, 248, 0.2));
    will-change: transform;
    box-sizing: border-box;
}

.sat-btn i { font-size: 18px; color: var(--primary-color, #cbd5e1); }
.sat-btn span { font-size: 8.5px; color: var(--primary-color, #94a3b8); font-family: 'JetBrains Mono', monospace; font-weight: bold; }

.sat-btn:hover, .sat-btn.active {
    background: #1e293b !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 0 20px var(--glow-color, rgba(56, 189, 248, 0.4)) !important;
    transform: rotate(var(--angle)) translateY(170px) rotate(calc(var(--angle) * -1)) translateZ(20px) scale(1.15) !important;
}

/* Preloader Orbe ALMA */
.preloader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 500;
    pointer-events: none;
    transition: opacity 1.5s ease;
}
.preloader-container.fade-out { opacity: 0 !important; }

.alma-preloader-orb {
    position: absolute;
    width: 42px; 
    height: 42px;
    margin-top: -15px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #d8e2ec 30%, #6a7b92 70%, #03050a 100%);
    border: 2px solid #38bdf8;
    box-shadow: 0 0 25px 5px rgba(56, 189, 248, 0.5), inset 0 0 10px #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: preloaderPulse 2s infinite alternate;
}

.alma-preloader-orb.crystallizing {
    animation: none !important; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.preloader-text {
    position: absolute;
    bottom: 30px;
    left: 0; 
    right: 0;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    color: #38bdf8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@media (max-width: 768px) {
    .dial-stage { width: 340px; height: 340px; }
    .disk-flip-container { width: 260px; height: 260px; }
    
    .chevron-fixed { width: 66px; height: 42px; margin-left: -33px; margin-top: -21px; }
    .chevron-icon { font-size: 16px; bottom: 6px; }
    
    .chevron-south { transform: rotate(0deg) translateY(148px); }
    .chevron-north { transform: rotate(180deg) translateY(148px); }
    .chevron-west { transform: rotate(90deg) translateY(148px); }
    .chevron-east { transform: rotate(270deg) translateY(148px); }

    .sat-btn {
        width: 52px; height: 52px;
        margin-left: -26px; margin-top: -26px;
        transform: rotate(var(--angle)) translateY(125px) rotate(calc(var(--angle) * -1)) translateZ(20px);
    }

    .preloader-container { width: 260px; height: 260px; }
    .alma-preloader-orb { width: 32px; height: 32px; }
    .preloader-text { font-size: 9px; bottom: 20px; }
}