@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;300;400;500;800&family=Krona+One&family=Oxanium:wght@200;400;600;800&display=swap');

:root {
    --neon-green: #00ff41;
    --dark-green: #003b00;
    --black: #000000;
    --hacker-glow: 0 0 15px rgba(0, 255, 65, 0.4);
}
/* ========================================================================
           MERGED STYLESHEET - SECTION 1: CORE & HOME PAGE
           ======================================================================== */
        :root {
            /* SHARED / HOME PALETTE */
            --void-bg: #030303;
            --void-deep: #000000;
            --neon-green: #00ff41;    
            --neon-dim: rgba(0, 255, 65, 0.3);
            --neon-cyan: #00f3ff;     
            --neon-alert: #ff003c;    
            --glass-panel: rgba(10, 15, 10, 0.75);
            --glass-border: rgba(0, 255, 65, 0.15);

            /* LOADING / FINAL PAGE PALETTE (NAMESPACE: OMEGA) */
            --omega-void: #050505;
            --omega-gold: #ffd700;
            --text-main: #e0e0e0;
            --text-dim: #8892b0;

            /* TYPOGRAPHY */
            --font-hud: 'Oxanium', display;
            --font-body: 'Rajdhani', sans-serif;
            --font-code: 'JetBrains Mono', monospace;
            --font-display: 'Krona One', sans-serif;
            --font-terminal: 'Share Tech Mono', monospace;

            /* ANIMATIONS */
            --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
            --ease-snap: cubic-bezier(0.23, 1, 0.32, 1);
        }

        /* RESET */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            outline: none;
        }

        html, body {
            width: 100%;
            height: 100%;
            background-color: var(--void-deep);
            color: #fff;
            overflow: hidden; 
            font-family: var(--font-body);
        }

        /* --- GLOBAL LAYERS (Scanlines, Noise) --- */
        #crt-layer {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            z-index: 9999; pointer-events: none;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            background-size: 100% 3px, 3px 100%;
            mix-blend-mode: overlay;
        }

        #noise-layer {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            z-index: 9998; pointer-events: none; opacity: 0.05;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            animation: noise-shift 0.5s steps(5) infinite;
        }

        .vignette-glow {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.9) 90%);
            z-index: 900; pointer-events: none;
        }

        @keyframes noise-shift {
            0% { transform: translate(0,0); } 10% { transform: translate(-5%,-5%); }
            20% { transform: translate(-10%,5%); } 30% { transform: translate(5%,-10%); }
            40% { transform: translate(-5%,15%); } 50% { transform: translate(-10%,5%); }
            60% { transform: translate(15%,0); } 70% { transform: translate(0,10%); }
            80% { transform: translate(-15%,0); } 90% { transform: translate(10%,5%); }
            100% { transform: translate(5%,0); }
        }

        /* --- WRAPPERS FOR SPA TRANSITION --- */
        #home-wrapper {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            z-index: 100;
            transition: opacity 1s var(--ease-out-expo);
        }
        
        #omega-wrapper {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            z-index: 101;
            opacity: 0; 
            pointer-events: none; /* Initially disabled */
            display: none; /* Hard hidden initially */
        }
        
        #omega-wrapper.active {
            display: block;
            opacity: 1;
            pointer-events: all;
        }

        /* --- HOME PAGE CANVAS --- */
        canvas#enigma-visuals {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
        }

        /* --- HOME BOOT SEQUENCE --- */
        #boot-sequence {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: #000; z-index: 10000; padding: 20px;
            font-family: var(--font-code); font-size: 12px; color: var(--neon-green);
            overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
        }
        .boot-line { opacity: 0; animation: text-appear 0s forwards; white-space: pre-wrap; line-height: 1.4; text-shadow: 0 0 5px var(--neon-green); }
        @keyframes text-appear { to { opacity: 1; } }

        /* --- HOME UI --- */
        #app-interface {
            position: relative; z-index: 100; width: 100%; height: 100%;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 1s ease;
        }

        .scene {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            padding: 25px; opacity: 0; pointer-events: none;
            transform: scale(1.1) translateY(20px); filter: blur(10px);
            transition: all 1.2s var(--ease-out-expo);
        }
        .scene.active { opacity: 1; pointer-events: all; transform: scale(1) translateY(0); filter: blur(0); }
        .scene.exit { opacity: 0; transform: scale(0.9) translateY(-30px); filter: blur(20px); transition-duration: 0.8s; }

        /* MODIFICAÇÃO: Cursor pointer na tela inicial para indicar que tudo é clicável */
        #scene-0 {
            cursor: pointer;
        }

        .hud-header { position: absolute; top: 30px; width: 100%; text-align: center; }
        
        .sys-badge {
            display: inline-flex; align-items: center; gap: 8px;
            border: 1px solid var(--neon-cyan); background: rgba(0, 243, 255, 0.05);
            padding: 6px 16px; border-radius: 2px;
            font-family: var(--font-code); font-size: 0.7rem; color: var(--neon-cyan);
            letter-spacing: 2px; box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
        }
        .sys-badge::before { content: ''; width: 6px; height: 6px; background: var(--neon-cyan); border-radius: 50%; animation: blink 1s infinite; }

        .hero-title {
            font-family: var(--font-display); font-size: clamp(2rem, 8vw, 4rem);
            line-height: 1.1; text-align: center; text-transform: uppercase;
            margin: 20px 0; position: relative; color: #fff;
        }

        .glitch-text { position: relative; color: #fff; }
        .glitch-text::before, .glitch-text::after {
            content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--void-bg);
        }
        .glitch-text::before { left: 2px; text-shadow: -1px 0 var(--neon-alert); clip-path: inset(20% 0 30% 0); animation: glitch-anim-1 2s infinite linear alternate-reverse; }
        .glitch-text::after { left: -2px; text-shadow: 2px 0 var(--neon-cyan); clip-path: inset(60% 0 10% 0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }

        .sub-text {
            font-family: var(--font-body); font-size: 1.1rem; color: #ccc;
            text-align: center; max-width: 500px; line-height: 1.6; margin-bottom: 40px; opacity: 0.8;
        }
        .highlight { color: var(--neon-green); font-weight: 700; text-shadow: 0 0 10px rgba(0, 255, 65, 0.4); }

        /* NUCLEAR BUTTON */
        .nuclear-btn {
            position: relative; width: 140px; height: 140px; display: flex;
            justify-content: center; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
        }
        .nuclear-core {
            position: absolute; width: 80px; height: 80px; background: rgba(0,0,0,0.8);
            border: 2px solid var(--neon-green); border-radius: 50%; z-index: 2;
            display: flex; justify-content: center; align-items: center; transition: all 0.3s;
            box-shadow: 0 0 20px var(--neon-dim);
        }
        
        .nuclear-btn:active .nuclear-core { transform: scale(0.9); background: var(--neon-green); }
        .nuclear-btn:active .nuclear-core svg { fill: #000; }
        .nuclear-ring {
            position: absolute; width: 100%; height: 100%; border: 1px dashed var(--neon-green);
            border-radius: 50%; animation: rotate-ring 10s linear infinite; opacity: 0.5;
        }
        .nuclear-ring:nth-child(2) {
            width: 120%; height: 120%; border: 1px solid var(--neon-cyan);
            border-left-color: transparent; border-right-color: transparent;
            animation: rotate-ring 6s linear reverse infinite; opacity: 0.3;
        }
        .fingerprint-icon { width: 40px; height: 40px; fill: var(--neon-green); filter: drop-shadow(0 0 5px var(--neon-green)); }

        /* CYBER BUTTONS */
        .cyber-btn {
            position: relative; background: transparent; border: none; padding: 0;
            cursor: pointer; margin-top: 20px; width: 100%; max-width: 320px;
        }
        .cyber-btn-content {
            display: flex; align-items: center; justify-content: center; height: 60px;
            background: var(--neon-green); clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); position: relative; overflow: hidden;
        }
        .cyber-btn-content::after {
            content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); transition: 0.5s;
        }
        .cyber-btn:hover .cyber-btn-content::after { left: 100%; }
        .cyber-btn:active .cyber-btn-content { transform: scale(0.96); background: #fff; }
        .cyber-text { font-family: var(--font-hud); font-weight: 800; font-size: 1.2rem; color: #000; text-transform: uppercase; letter-spacing: 2px; z-index: 2; }

        /* FORM HUD */
        .form-hud {
            width: 100%; max-width: 400px; background: rgba(15, 20, 15, 0.85);
            backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.1); padding: 2px;
            border-radius: 4px; position: relative;
        }
        .form-hud-inner { background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(10,20,10,0.9) 100%); padding: 30px 20px; }
        .form-hud::before {
            content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
            background: linear-gradient(45deg, var(--neon-green), transparent, var(--neon-cyan)); z-index: -1;
            border-radius: 6px; opacity: 0.5;
        }
        .input-group { margin-bottom: 25px; position: relative; }
        .input-group label {
            display: block; font-family: var(--font-hud); font-size: 0.8rem; color: var(--neon-green);
            margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px;
            display: flex; justify-content: space-between;
        }
        .input-field {
            width: 100%; background: rgba(255,255,255,0.05); border: 1px solid #333; color: #fff;
            padding: 16px; font-family: var(--font-body); font-size: 1.1rem; border-radius: 2px; transition: 0.3s;
        }
        .input-field:focus { border-color: var(--neon-green); box-shadow: 0 0 15px rgba(0, 255, 65, 0.2); background: rgba(0, 255, 65, 0.05); }

        /* ========================================================================
           MERGED STYLESHEET - SECTION 2: PROTOCOL OMEGA (LOADING/FINAL)
           ======================================================================== */
        
        /* SECOND CANVAS (MATRIX) */
        canvas#matrix-visuals {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            z-index: 0; opacity: 0; filter: contrast(1.2) brightness(0.8);
            transition: opacity 1s ease;
        }
        
        .cyber-grid {
            position: fixed; bottom: -50%; left: -50%; width: 200%; height: 100%;
            background: 
                linear-gradient(transparent 0%, var(--neon-green) 2%, transparent 3%),
                linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.1) 2%, transparent 3%);
            background-size: 100px 100px;
            transform: perspective(500px) rotateX(60deg);
            animation: grid-move 20s linear infinite;
            z-index: 1; opacity: 0; pointer-events: none;
            mask-image: linear-gradient(to top, rgba(0,0,0,1), transparent 80%);
            transition: opacity 1s;
        }
        
        #omega-wrapper.active canvas#matrix-visuals,
        #omega-wrapper.active .cyber-grid {
            opacity: 0.25; /* Activate visuals when wrapper is active */
        }

        /* OMEGA COMPONENTS */
        .glitch-text-fx { position: relative; display: inline-block; }
        .glitch-text-fx::before, .glitch-text-fx::after {
            content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--omega-void);
        }
        .glitch-text-fx::before { left: 2px; text-shadow: -2px 0 var(--neon-alert); clip-path: inset(44% 0 61% 0); animation: glitch-anim-1 3s infinite linear alternate-reverse; }
        .glitch-text-fx::after { left: -2px; text-shadow: -2px 0 var(--neon-cyan); clip-path: inset(50% 0 30% 0); animation: glitch-anim-2 2.5s infinite linear alternate-reverse; }

        .pulse-alert-text {
            color: var(--neon-alert); font-weight: 700; text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
            animation: pulse-red 2s infinite ease-in-out;
        }

        .highlight-green { color: var(--neon-green); font-weight: 700; text-shadow: 0 0 8px rgba(0,255,65,0.4); }

        .cyber-btn-wrapper {
            position: relative; width: 100%; max-width: 340px; height: 70px; margin-top: 20px;
            cursor: pointer; transition: transform 0.2s var(--ease-snap);
        }
        .cyber-btn-wrapper:active { transform: scale(0.96); }

        .cyber-btn-core {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 255, 65, 0.1); border: 1px solid var(--neon-green);
            display: flex; align-items: center; justify-content: center;
            clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
            transition: all 0.3s ease; box-shadow: 0 0 15px rgba(0, 255, 65, 0.1); overflow: hidden;
        }
        .cyber-btn-core.filled { background: var(--neon-green); color: #000; }
        .cyber-btn-core.filled-gold {
            background: var(--omega-gold); border-color: #e6c200; color: #000;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
        }
        .cyber-btn-wrapper:hover .cyber-btn-core.filled-gold { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); border-color: #fff; }
        
        .cyber-btn-core.whatsapp-theme { background: #25D366; border-color: #128C7E; color: #000; }

        .glare {
            position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
            transform: skewX(-20deg); animation: glare-anim 3s infinite ease-in-out; pointer-events: none;
        }

        .btn-label {
            font-family: var(--font-hud); font-weight: 800; font-size: 1.1rem; letter-spacing: 2px;
            text-transform: uppercase; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
        }

        .pre-loader-text {
            font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem);
            text-align: center; text-transform: uppercase; color: #fff; margin-bottom: 20px;
            text-shadow: 0 0 20px rgba(255,255,255,0.5);
        }

        .loader-wrapper { width: 100%; max-width: 450px; margin-bottom: 30px; position: relative; }
        .loader-track { width: 100%; height: 20px; background: rgba(255,255,255,0.05); border: 1px solid #333; padding: 2px; position: relative; overflow: hidden; }
        .loader-fill {
            height: 100%; width: 0%; background: var(--neon-green); position: relative;
            transition: width 0.05s linear; box-shadow: 0 0 15px var(--neon-green);
        }
        .loader-fill::after {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(0,0,0,0.5) 10px, rgba(0,0,0,0.5) 20px);
            animation: stripe-move 1s linear infinite;
        }

        .loader-text {
            display: flex; justify-content: space-between; font-family: var(--font-terminal);
            font-size: 0.9rem; color: var(--neon-green); margin-top: 8px; text-transform: uppercase;
        }
        .huge-percent {
            font-family: var(--font-display); font-size: 4rem; color: #fff;
            text-shadow: 0 0 20px var(--neon-green); text-align: center; margin-bottom: 10px;
        }

        .footer-fixed {
            position: fixed; bottom: 0; width: 100%; background: rgba(0,0,0,0.9);
            border-top: 1px solid #222; padding: 15px; text-align: center;
            font-family: var(--font-code); font-size: 0.65rem; color: #666; z-index: 200;
        }
        .footer-fixed a { color: #888; text-decoration: none; transition: 0.3s; }
        .footer-fixed a:hover { color: var(--neon-green); }

        .warning-box {
            margin-top: 25px; padding: 10px; border: 1px dashed var(--neon-alert);
            background: rgba(255, 0, 60, 0.05); color: var(--neon-alert);
            font-family: var(--font-terminal); font-size: 0.8rem; text-transform: uppercase;
            text-align: center; max-width: 350px; animation: flash-border 2s infinite;
        }

        /* UTILITIES */
        .d-none { display: none !important; }
        .invisible { opacity: 0; pointer-events: none; }
        .fade-in-up { animation: fadeInUp 0.6s forwards var(--ease-snap); }

        /* YOUTUBE HIDDEN */
        #yt-container {
            position: absolute; top: -9999px; left: -9999px; width: 1px; height: 1px;
            opacity: 0.01; pointer-events: none;
        }

        /* ANIMATIONS */
        @keyframes rotate-ring { 100% { transform: rotate(360deg); } }
        @keyframes blink { 50% { opacity: 0; } }
        @keyframes glitch-anim-1 { 0% { clip-path: inset(20% 0 80% 0); } 20% { clip-path: inset(60% 0 10% 0); } 100% { clip-path: inset(30% 0 20% 0); } }
        @keyframes glitch-anim-2 { 0% { clip-path: inset(10% 0 60% 0); } 100% { clip-path: inset(50% 0 30% 0); } }
        @keyframes scroll-scanlines { 0% { background-position: 0 0; } 100% { background-position: 0 100%; } }
        @keyframes grid-move { 0% { transform: perspective(500px) rotateX(60deg) translateY(0); } 100% { transform: perspective(500px) rotateX(60deg) translateY(100px); } }
        @keyframes glare-anim { 0%, 85% { left: -100%; opacity: 0; } 90% { left: -100%; opacity: 1; } 100% { left: 200%; opacity: 0; } }
        @keyframes btn-shake { 91% { transform: translate(-2px, 1px); } 92% { transform: translate(2px, -1px); } 93% { transform: translate(-1px, 2px); } 94% { transform: translate(1px, -2px); } 95% { transform: translate(0,0); } }
        @keyframes pulse-scale { 0% { transform: scale(1); box-shadow: 0 0 0 rgba(37,211,102, 0); } 50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(37,211,102, 0.4); } 100% { transform: scale(1); box-shadow: 0 0 0 rgba(37,211,102, 0); } }
        @keyframes stripe-move { 0% { background-position: 0 0; } 100% { background-position: 50px 0; } }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes flash-border { 0%, 100% { border-color: var(--neon-alert); opacity: 1; } 50% { border-color: transparent; opacity: 0.7; } }
        @keyframes pulse-red { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
