/* --- RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-font-smoothing: antialiased;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #0a0a0c;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- TELA DO LOADER --- */
#loader-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #121216 0%, #050508 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #ffffff;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.loader-container {
    text-align: center;
    width: 90%;
    max-width: 400px;
}

/* --- ANIMAÇÃO RADAR / PULSO --- */
.radar-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-logo {
    width: 70px;
    height: 70px;
    background: #0a0a0c;
    border: 2px solid #00c3ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 16px;
    color: #00c3ff;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.4);
    z-index: 10;
}

.pulse-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(0, 195, 255, 0.6);
    border-radius: 50%;
    background: transparent;
    animation: radar-glow 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    z-index: 1;
}

.pin-2 { animation-delay: 0.8s; }
.pin-3 { animation-delay: 1.6s; }

@keyframes radar-glow {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: inset 0 0 10px rgba(0, 195, 255, 0.3);
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
        box-shadow: inset 0 0 30px rgba(0, 195, 255, 0);
    }
}

/* --- TEXTOS --- */
h2 { 
    font-size: 22px;
    font-weight: 600; 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

p { 
    color: #00c3ff; 
    font-size: 13px;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* --- BOTÃO ANIMADO --- */
#btn-manual {
    display: none;
    margin: 30px auto 0 auto;
    padding: 14px 28px;
    background: transparent;
    color: #00c3ff;
    border: 1px solid #00c3ff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#btn-manual:hover {
    background: rgba(0, 195, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
    transform: translateY(-1px);
}

/* Classe injetada pelo JS ao clicar */
#btn-manual.clicado {
    background: #00c3ff;
    color: #0a0a0c;
    border-color: #00c3ff;
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.6);
    transform: scale(0.95);
}

/* --- IFRAME --- */
.app-container { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; }
iframe { width: 100%; height: 100%; border: none; display: block; }