/* Variáveis globais baseadas no Tailwind config */
:root {
    --color-cyan: #00F0FF;
    --color-purple: #8A2BE2;
    --color-green: #39FF14;
}

/* Scrollbar Customizada */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #02040a; border-left: 1px solid rgba(0, 240, 255, 0.1); }
::-webkit-scrollbar-thumb { background: #1a2233; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-cyan); box-shadow: 0 0 10px var(--color-cyan); }

/* Vanta JS Background Container */
#vanta-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Efeito Scanline e Ruído */
.scanlines {
    position: fixed; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 51%);
    background-size: 100% 4px;
    z-index: 9998; pointer-events: none; opacity: 0.5;
}
.noise {
    position: fixed; inset: 0;
    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');
    opacity: 0.04; z-index: 9997; pointer-events: none;
}

/* Glassmorphism */
.glass-card {
    background: rgba(10, 15, 24, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
}

/* Navbar Scrolled */
.nav-scrolled {
    background: rgba(2, 4, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Textos Gradientes Animados */
.text-gradient {
    background: linear-gradient(90deg, var(--color-cyan), var(--color-purple), var(--color-cyan));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: flow 4s linear infinite;
}
@keyframes flow { to { background-position: 200% center; } }

/* Botões Cyberpunk */
.cyber-btn {
    position: relative;
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    background: transparent;
    overflow: hidden;
    transition: 0.3s;
}
.cyber-btn::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: rgba(0, 240, 255, 0.1);
    transition: 0.3s; z-index: -1;
}
.cyber-btn:hover::before { left: 0; }
.cyber-btn:hover { box-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }

.cyber-btn-solid {
    position: relative;
    background: var(--color-cyan);
    color: #02040a;
    border: 1px solid var(--color-cyan);
    transition: 0.3s;
}
.cyber-btn-solid:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

/* Perspective Wrapper for 3D elements */
.perspective { perspective: 1000px; }
