/* styles/loading-sentinela.css */

#sentinela-loader {
    position: fixed;
    inset: 0; /* Ocupa o ecrã todo */
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #d4a373; /* Castanho Claro */
}

.tower-visual-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

/* O Ícone Central */
.tower-visual-container i {
    font-size: 50px;
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(212, 163, 115, 0.6));
    animation: towerPulse 2s infinite ease-in-out;
}

/* Anéis de Radar (O que dá o movimento) */
.radar-ring {
    position: absolute;
    border: 2px solid #d4a373;
    border-radius: 50%;
    opacity: 0;
    animation: radarExpand 3s infinite cubic-bezier(0, 0.5, 0.5, 1);
}

.radar-ring:nth-child(1) { animation-delay: 0s; }
.radar-ring:nth-child(2) { animation-delay: 1s; }
.radar-ring:nth-child(3) { animation-delay: 2s; }

@keyframes radarExpand {
    0% { width: 40px; height: 40px; opacity: 0.8; border-width: 4px; }
    100% { width: 250px; height: 250px; opacity: 0; border-width: 1px; }
}

@keyframes towerPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.loader-text {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    animation: blink 1.5s infinite;
}

.loader-subtext {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 15px;
    font-family: monospace;
    letter-spacing: 1px;
}

@keyframes blink {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(212, 163, 115, 0.5); }
    50% { opacity: 0.3; }
}
