/* ================= RESET & VARIÁVEIS ================= */
:root {
    /* Paleta de Cores */
    --bg-color: #05050A;
    --text-color: #E1E1E6;
    --text-muted: #A8A8B3;
    
    --primary: #00FFC2; /* Verde Neon sólido */
    /* NOVO: Gradiente para botões e textos */
    --gradient-primary: linear-gradient(135deg, #00eeff 0%,  #00FFC2  100%);
    
    --header-bg: rgba(5, 5, 10, 0.6);
    --dropdown-bg: #0D0D14;
    --border-color: rgba(255, 255, 255, 0.08);

    --bg-cards: #070b14ce;
    
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    /* Gradiente sutil no fundo */
    background-image: radial-gradient(circle at 50% 0%, #121220 0%, #05050A 40%);
    min-height: 100vh;
}

a { text-decoration: none; }
ul { list-style: none; }

/* ================= CONTAINER GERAL DO SITE ================= */
/* Para o restante do site (Hero, etc) manteremos centralizado */
.container {
    max-width: 1280px; 
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}


/* ================= HEADER ================= */
.header {
    width: 100%;
    height: 88px;
    background-color: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    
    display: flex;
    align-items: center;
}

/* --- AJUSTE PARA COLAR NOS CANTOS --- */
/* Removemos o limite de largura apenas no header */
.header .container {
    max-width: 100%; 
    padding: 0 40px; /* Margem lateral para não colar na borda do monitor */
    width: 100%;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Esquerda - Meio - Direita */
    align-items: center;
    width: 100%;
}

/* ================= 1. LOGO (Esquerda) ================= */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFF;
    font-weight: 700;
    font-size: 1.25rem;
    justify-self: start; /* Força total para esquerda */
}

.logo-box {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #05050A;
    font-size: 22px;
}

.logo-text .highlight {
    color: var(--primary);
}

/* ================= 2. NAVEGAÇÃO (Centro) ================= */
.nav {
    justify-self: center; /* Centraliza no espaço disponível */
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link i { font-size: 1.2rem; opacity: 0.8; }
.nav-link .arrow { font-size: 0.8rem; margin-left: 2px; transition: transform 0.2s; }

.nav-link:hover, .nav-item:hover .nav-link { color: #FFF; }
.nav-item:hover .arrow { transform: rotate(180deg); color: var(--primary); }

/* --- DROPDOWN --- */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0px);
}

/* Triângulo do Dropdown */
.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--dropdown-bg);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.dropdown li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.dropdown li a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ================= 3. BOTÕES (Direita) ================= */
.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-self: end; /* Força total para direita */
}

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex; /* Para alinhar ícones se houver */
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- Botão Secundário (Ghost/Outline) --- */
.btn-ghost {
    background: transparent;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borda um pouco mais visível */
}

/* O efeito do terceiro print: fica branco com texto escuro */
.btn-ghost:hover {
    background-color: #FFF;
    border-color: #FFF;
    color: var(--bg-color); /* Texto fica preto/escuro */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2); /* Brilho branco suave */
}

/* --- Botão Principal (Gradiente) --- */
.btn-primary {
    background: var(--gradient-primary); /* Usa o gradiente */
    color: var(--bg-color); /* Texto escuro para contraste */
    border: none; /* Remove borda para o gradiente ficar limpo */
    box-shadow: 0 0 0 rgba(0, 255, 194, 0); 
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Efeito de brilho extra no hover do gradiente */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #00E0AA 0%, #0088cc 100%); /* Gradiente um pouco mais escuro */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 255, 194, 0.5); /* Sombra neon intensa */
}

.btn-primary:hover::before {
    opacity: 1; /* Mostra o gradiente de hover */
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDownMobile {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVIDADE & CORREÇÕES ================= */

/* --- 1. AJUSTES PARA DESKTOP (A Correção do Layout) --- */
@media (min-width: 993px) {
    /* A Mágica: 'display: contents' faz o .nav-wrapper "desaparecer" 
       estruturalmente pro navegador. Assim, a .nav e os .header-actions 
       voltam a ser filhos diretos do grid, ocupando as colunas laterais certas.
    */
    .nav-wrapper {
        display: contents;
    }

    .mobile-btn {
        display: none;
    }
}

@media (max-width: 1440px) {
    
    /* 1. Diminuir a altura geral do Header */
    .header {
        height: 72px; /* Reduz de 88px para 72px */
    }

    /* 2. Ajustar margens laterais para aproveitar mais a tela */
    .header .container {
        padding: 0 30px; /* Reduz um pouco a borda lateral */
    }

    /* 3. Logo um pouco menor */
    .logo-box {
        width: 38px;
        height: 38px;
        font-size: 19px;
        border-radius: 10px;
    }
    .brand {
        font-size: 1.1rem;
    }

    /* 4. Fonte do Menu e Espaçamento */
    .nav-list {
        gap: 24px; /* Aproxima os itens (era 40px) */
    }
    .nav-link {
        font-size: 0.85rem; /* Fonte um pouco mais delicada */
    }
    .nav-link i {
        font-size: 1.1rem;
    }

    /* 5. Botões mais compactos */
    .btn {
        padding: 10px 22px; /* Menos "gordo" */
        font-size: 0.85rem;
    }
    
    .header-actions {
        gap: 12px;
    }

    /* 6. Ajustar a posição do Dropdown para a nova altura do header */
    .dropdown {
        transform: translateX(-50%) translateY(10px); /* Sobe um pouco a posição inicial */
    }
    
    /* Quando passar o mouse, ele sobe para a posição certa (ajustada para header menor) */
    .nav-item:hover .dropdown {
        transform: translateX(-50%) translateY(0px);
    }
}


/* --- 2. NOTEBOOKS (Max 1200px) --- */
@media (max-width: 1200px) {
    .header { height: 70px; }
    .logo-box { width: 36px; height: 36px; font-size: 18px; }
    .brand { font-size: 1.1rem; }
    .nav-list { gap: 20px; }
    .nav-link { font-size: 0.85rem; }
    .btn { padding: 8px 20px; font-size: 0.85rem; }
}

/* --- 3. MOBILE & TABLET (Max 992px) --- */
@media (max-width: 992px) {
    
    .header-container {
        display: flex; /* Flexbox para separar Logo e Hamburguer */
        justify-content: space-between;
        padding: 0 20px !important;
    }

    /* Menu Lateral (Gaveta) */
    .nav-wrapper {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        padding: 2rem 1.5rem;
        
        display: flex;
        flex-direction: column;
        gap: 2rem;
        
        /* Efeito Vidro Escuro */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        
        /* Animação */
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-wrapper.active {
        transform: translateX(0);
    }

    /* Lista Vertical */
    .nav-list {
        flex-direction: column;
        align-items: flex-start; /* Alinha tudo à esquerda */
        width: 100%;
        gap: 0; /* Remove gap geral para controlar por item */
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        padding: 0; /* Reset de padding */
    }

    /* Link Principal do Mobile */
    .nav-link {
        font-size: 1.1rem;
        padding: 1.2rem 0;
        justify-content: space-between; /* Texto na esq, seta na dir */
        width: 100%;
    }
    
    .nav-link i:first-child {
        display: none; /* Remove ícones da esq (código, nuvem) no mobile para ficar mais limpo */
    }

    /* Setinha que gira */
    .nav-link .arrow {
        font-size: 1.2rem;
        transition: transform 0.3s;
    }
    
    /* Classe para girar a seta quando aberto */
    .nav-item.dropdown-open .arrow {
        transform: rotate(180deg);
        color: var(--primary);
    }

    /* --- DROPDOWNS NO MOBILE (Sanfona) --- */

    .dropdown {
        /* 1. Reset total das posições do Desktop */
        position: static !important; /* Remove position absolute */
        float: none;
        display: none; /* Garante que nasça escondido */
        
        /* 2. Removemos a transformação do Desktop que centralizava */
        transform: none !important; 
        left: auto !important;
        top: auto !important;
        
        /* 3. Estilo Mobile */
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        border-radius: 8px;
        padding: 0;
        box-shadow: none;
        width: 100%;
        margin-bottom: 1rem;
        
        /* 4. IMPORTANTE: Removemos transition do estado oculto 
           para ele não animar "sumindo" ou "movendo" ao carregar */
        transition: none; 
        opacity: 1;
        visibility: visible;
    }

    .dropdown li a {
        padding: 12px 16px;
        padding-left: 2rem;
        font-size: 0.95rem;
        border-left: 2px solid transparent; /* Detalhe visual */
    }
    
    .dropdown li a:hover {
        border-left-color: var(--primary); /* Detalhe visual ao passar mouse */
    }
    
    /* Classe que o JS adiciona para mostrar */
    .dropdown.show {
        display: block;
        /* Só animamos a "descida" suave, sem mexer na posição */
        animation: slideDownMobile 0.3s ease forwards;
    }

    /* Botões Mobile */
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: auto; /* Empurra para o final se sobrar espaço */
    }

    .btn { width: 100%; padding: 16px; }

    /* Ícone Hamburguer */
    /* --- BOTÃO HAMBURGUER ANIMADO --- */
    .mobile-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px; /* Espaço entre os riscos */
        
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002; /* Fica acima do menu */
        padding: 0;
    }

    /* O estilo dos risquinhos */
    .mobile-btn .bar {
        width: 28px;
        height: 2px;
        background-color: #FFF;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }

    /* Quando o botão tiver a classe 'active' (JS vai adicionar) */
    
    /* 1. O risco de cima gira 45 graus e desce */
    .mobile-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary); /* Fica verde neon */
    }

    /* 2. O risco do meio some (opacity 0) */
    .mobile-btn.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px); /* Efeito de deslizar pro lado */
    }

    /* 3. O risco de baixo gira -45 graus e sobe */
    .mobile-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary); /* Fica verde neon */
    }
}

/* ================= AJUSTE FINO PARA NOTEBOOKS (1024px até 1440px) ================= */
/* Isso vai pegar a maioria dos notebooks (13", 14", 15" com zoom) */






/* ================= FOOTER ================= */
.footer {
    background-color: var(--bg-cards); /* Fundo quase preto */
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    overflow: hidden; /* Segurança para não vazar scroll */
}

/* Grid: Marca (2fr) + 4 Colunas de Links (1fr cada) */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* --- LOGO NO FOOTER (Ajustes para classes .brand herdadas) --- */
.footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 24px;
}

.footer .logo-box {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #05050A;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 194, 0.4);
}

.footer .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFF;
}

.footer .highlight { color: var(--primary); }

/* --- CONTEÚDO DA MARCA --- */
.footer-desc {
    color: #A8A8B3; /* Cinza claro */
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 350px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E1E1E6;
}

.contact-item i { color: var(--primary); font-size: 1.1rem; }

/* Redes Sociais */
.footer-social { display: flex; gap: 12px; }

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A8A8B3;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(0, 255, 194, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
}

/* --- LINKS --- */
.footer-links-col h4 {
    color: #FFF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

.footer-links-col a {
    color: #A8A8B3;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links-col a:hover { color: var(--primary); }

/* --- RODAPÉ INFERIOR --- */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A8A8B3;
    font-size: 0.85rem;
}

.text-neon { color: var(--primary); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 1200px) {
    .footer-grid { gap: 20px; }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 Colunas */
        gap: 50px;
    }
    /* Marca ocupa largura total das 2 colunas */
    .footer-brand-col { grid-column: span 2; text-align: center; align-items: center; display: flex; flex-direction: column; }
    .footer-desc { text-align: center; margin: 0 auto 30px auto; }
}

@media (max-width: 768px) {
    .footer { padding: 60px 0 30px 0; }
    
    .footer-grid {
        grid-template-columns: 1fr; /* 1 Coluna */
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand-col { grid-column: auto; }
    .contact-item { justify-content: center; }
    .footer-links-col ul { align-items: center; }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}



/* ==========================================================================
   SECTION "EM DESENVOLVIMENTO" - FINAL COMPLETO
   (Copie tudo abaixo e cole no final do seu CSS)
   ========================================================================== */

/* 1. CONFIGURAÇÃO DA SEÇÃO (Layout e Centralização) */
.dev-section {
    position: relative;
    /* Garante que ocupe todo o espaço disponível entre Header e Footer */
    flex: 1; 
    min-height: 85vh; /* Altura mínima para ficar bonito em telas grandes */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    overflow: hidden; /* Impede que as bolas neon vazem a tela */
    padding: 120px 20px 40px 20px; /* Margem topo compensando o header fixo */
}

/* 2. BACKGROUND ESPACIAL (Estrelas em movimento) */
.space-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -3; /* Fica lááá no fundo */
    background-color: #05050A;
    
    /* Criação das estrelas via CSS Gradient */
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    
    animation: moveStars 120s linear infinite;
}

@keyframes moveStars {
    from { background-position: 0 0, 40px 60px, 130px 270px; }
    to { background-position: 550px 550px, 390px 410px, 680px 820px; }
}

/* 3. ORBES NEON (Bolas desfocadas no fundo) */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px); /* O segredo do brilho neon suave */
    z-index: -2;
    opacity: 0.5;
}

.orb-green {
    width: 350px; height: 350px;
    background: var(--primary); /* Usa seu verde */
    top: 15%; left: 10%;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-purple {
    width: 450px; height: 450px;
    background: #9D00FF; /* Roxo Neon */
    bottom: 5%; right: 5%;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

/* 4. GRID OVERLAY (Linhas finas para dar ar tech - Opcional) */
.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

/* ==========================================================================
   5. O CARD HUD (PAINEL CENTRAL)
   ========================================================================== */
.hud-panel {
    background: rgba(10, 10, 16, 0.75); /* Fundo escuro semitransparente */
    backdrop-filter: blur(20px);         /* Efeito vidro */
    -webkit-backdrop-filter: blur(20px);
    
    border: 1px solid rgba(0, 255, 194, 0.3); /* Borda verde fina */
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.8), /* Sombra preta forte */
        inset 0 0 20px rgba(0, 255, 194, 0.05); /* Brilho interno verde */
        
    border-radius: 16px;
    width: 100%;
    max-width: 580px; /* Largura máxima do card */
    
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Efeito de Scanner (Linha descendo) */
.hud-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 255, 194, 0.05) 51%, transparent 52%);
    background-size: 100% 8px;
    animation: scanline 6s linear infinite;
    pointer-events: none;
    z-index: 10;
}
@keyframes scanline { 0% { background-position: 0 -100vh; } 100% { background-position: 0 100vh; } }

/* --- Cabeçalho da Janela (Bolinhas) --- */
.hud-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #FF5F56; }
.yellow { background: #FFBD2E; }
.green { background: #27C93F; }

.hud-title {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: bold;
}

/* --- Corpo do Card --- */
.hud-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Loader Reator (O Círculo girando) --- */
.reactor-loader {
    width: 90px;
    height: 90px;
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reactor-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-bottom-color: #9D00FF;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 15px rgba(0, 255, 194, 0.3);
}

.reactor-core {
    position: absolute;
    width: 65%; height: 65%;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: spin 4s linear infinite reverse;
}

.icon-core {
    font-size: 1.8rem;
    color: #FFF;
    z-index: 2;
    filter: drop-shadow(0 0 5px var(--primary));
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Título Glitch (Falha Digital) --- */
.glitch-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFF;
    position: relative;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.glitch-title::before, .glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #0e0e0e; /* Cor do fundo do card para esconder o texto original */
}

.glitch-title::before {
    left: 2px;
    text-shadow: -1px 0 #9D00FF;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-title::after {
    left: -2px;
    text-shadow: -1px 0 var(--primary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    40% { clip: rect(30px, 9999px, 50px, 0); }
    100% { clip: rect(90px, 9999px, 120px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 10px, 0); }
    20% { clip: rect(20px, 9999px, 80px, 0); }
    40% { clip: rect(90px, 9999px, 10px, 0); }
    100% { clip: rect(10px, 9999px, 50px, 0); }
}

.dev-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* --- Terminal Logs (Caixinha preta de código) --- */
.terminal-logs {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: left;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #A8A8B3;
    border-left: 3px solid var(--primary);
}

.terminal-logs p { margin-bottom: 6px; }
.typing { color: var(--primary); }
.blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Stats Grid (CPU, RAM, PING) --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin-bottom: 35px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.stat-item .label { 
    font-size: 0.7rem; color: #666; 
    font-weight: 700; letter-spacing: 1px; 
    text-transform: uppercase;
}
.stat-item .value { 
    font-size: 1.1rem; font-weight: 700; font-family: monospace; 
}
.text-green { color: var(--primary); }
.text-purple { color: #9D00FF; }

.mini-bar { width: 100%; height: 4px; background: #333; border-radius: 2px; margin-top: 4px; }
.mini-bar .fill { height: 100%; background: #9D00FF; border-radius: 2px; }

/* --- Botão Brilhante --- */
.action-area { width: 100%; }

.glow-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 255, 194, 0.15);
}

.glow-btn:hover {
    box-shadow: 0 0 35px rgba(0, 255, 194, 0.5);
    transform: translateY(-2px);
}

/* 6. RESPONSIVIDADE */
@media (max-width: 768px) {
    .hud-panel { max-width: 100%; }
    .hud-body { padding: 30px 20px; }
    .glitch-title { font-size: 1.8rem; }
    .orb-green { top: 10%; left: -20%; width: 250px; height: 250px; }
    .orb-purple { bottom: 10%; right: -20%; width: 300px; height: 300px; }
    
    /* No mobile, talvez esconder os stats para ganhar espaço */
    .stats-grid { gap: 10px; }
    .stat-item { padding: 10px; }
    .stat-item .value { font-size: 0.9rem; }
}