:root {
    --petroleo: #130a24;
    --roxo: #7c3aed;
    --roxo-azulado: #231244;
    --cyan-claro: #8b5cf6;
    --glow-color: #8b5cf6;
    --verde: #22c55e;
    --amarelo: #ffe1a7;
}

/* ==========================================================================
   6. BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 15px;
    background-color: var(--verde);
    color: #fff !important;
    border-radius: 10px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: none !important;
}

.whatsapp-float i {
    color: #fff !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #88e84a;
    /* Um verde mais claro no hover */
}

/* Ajuste para telas pequenas */
@media (max-width: 667px) {
    .whatsapp-float {
        bottom: 70px;
        /* Reduz a distância do fundo em mobile */
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 15px;
    }
}

/* ==========================================================================
   1. BASE & TIPOGRAFIA
   ========================================================================== */
html,
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--petroleo);
}

html {
    scroll-behavior: smooth;
    /* Garante a rolagem suave com JS */
}

body {
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 3rem 3rem;
    transition: background-position 0.2s linear;
    padding-top: 70px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Seções com transições */
section {
    transition: all 0.3s ease;
}

/* Efeito de parallax sutil */
.parallax-element {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.h-screen {
    height: 95vh !important;
}

body.menu-no-scroll {
    overflow: hidden;
}

.HeaderPortfolio~main i {
    font-size: 13px;
}

/* Ícones da seção Quem Sou - mesmo tamanho dos ícones de Serviços */
#sou .service-card .mb-6 i {
    font-size: 40px !important;
    color: var(--cyan-claro);
}



/* ==========================================================================
   2. UTILIDADES VISUAIS E ANIMAÇÕES
   ========================================================================== */

/* Efeito de brilho */
.text-glow {
    color: var(--cyan-claro);
    text-shadow: 0 0 8px #000000, 0 0 15px rgba(173, 216, 230, 0.5);
}

/* Animações de entrada melhoradas */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeitos de transição entre seções */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(173, 216, 230, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.section-transition.active::before {
    left: 100%;
}

/* Indicador de seção ativa */
.section-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(173, 216, 230, 0.3);
    border: 2px solid rgba(173, 216, 230, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.section-dot.active {
    background: var(--cyan-claro);
    border-color: var(--cyan-claro);
    box-shadow: 0 0 15px rgba(173, 216, 230, 0.6);
}

.section-dot:hover {
    transform: scale(1.2);
    background: rgba(173, 216, 230, 0.6);
}

/* Efeito de ondulação ao navegar */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(173, 216, 230, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Seta de Scroll Interativa */
#scroll-down-arrow {
    animation: bounce 2.5s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -20px);
    }

    60% {
        transform: translate(-50%, -10px);
    }
}

/* Canvas para o fundo dinâmico */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

/* Album de Fotos */
.AlbumFoto {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.AlbumFoto .BoxAlbum {
    width: 140px;
    height: auto;
    opacity: 0.08;
    flex-grow: 1;
    margin: 1px;
}

/* Tools category subtitle */
.tools-category-title {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cyan-claro);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.tools-category-title:first-child {
    margin-top: 0;
}

/* Lazy loading placeholder */
.lazy-img {
    background: #0d1117;
    min-height: 120px;
}

/* ==========================================================================
   3. LAYOUTS: HEADER & NAVIGATION
   ========================================================================== */

/* Header Base com Transições */
.HeaderPortfolio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(19, 10, 36, 0.95);
    backdrop-filter: blur(10px);
    min-height: 70px;
    padding: 0 25px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 225, 167, 0.1);
    transition: all 0.3s ease;
}

/* Header com efeito de scroll */
.HeaderPortfolio.scrolled {
    background-color: rgba(19, 10, 36, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 225, 167, 0.2);
}

.HeaderPortfolio .site-logo {
    display: block;
    z-index: 101;
}

.HeaderPortfolio .site-logo img {
    width: 210px;
}

.HeaderPortfolio .Navegacao {
    display: flex;
    align-items: center;
}

/* Nav Buttons Container */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LinkedIn Button */
.linkedin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--amarelo) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    transform: scale(1.1);
    color: #ffffff !important;
}

.linkedin-btn i {
    font-size: 28px;
    border-right: 1px dashed var(--amarelo);
    padding: 0 20px 0 0;
    margin: 0px 20px 0 0;
}

/* Menu Overlay - Removido para dropdown */
.menu-overlay {
    display: none;
}

/* Responsive LinkedIn Button */
@media (max-width: 480px) {
    .linkedin-btn {
        width: 36px;
        height: 36px;
    }

    .linkedin-btn i {
        font-size: 28px;
        border-right: 1px dashed var(--cyan-claro);
        padding: 0 20px 0 0;
        margin: 0px 20px 0 0;
    }
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    transition: transform 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--amarelo);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Dropdown Cyber-Glass (HUD Style) */
ul.menuPortfolio {
    position: absolute;
    top: 100%;
    right: 15px;
    width: 290px;
    background: rgba(19, 10, 36, 0.9);
    /* Roxo profundo translúcido */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 225, 167, 0.15);
    /* Borda amarela sutil */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 1.2rem 0;
    margin: 1rem 0 0 0;
    font-family: "Montserrat", sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 99;
}

.Navegacao.menu-aberto ul.menuPortfolio {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

ul.menuPortfolio li.menu-logo-item {
    display: none;
}

ul.menuPortfolio li:not(.menu-logo-item) {
    border-bottom: 1px solid rgba(255, 225, 167, 0.05);
}

ul.menuPortfolio li:not(.menu-logo-item):last-child {
    border-bottom: none;
}

ul.menuPortfolio li:not(.menu-logo-item) a {
    display: flex;
    align-items: center;
    padding: 1rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #f8fafc !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

ul.menuPortfolio li:not(.menu-logo-item) a i {
    color: var(--amarelo);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

ul.menuPortfolio li:not(.menu-logo-item) a:hover {
    color: var(--amarelo) !important;
    background: rgba(255, 225, 167, 0.06);
    padding-left: 2.2rem;
}

ul.menuPortfolio li:not(.menu-logo-item) a:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--amarelo);
}

ul.menuPortfolio li:not(.menu-logo-item) a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--amarelo);
    transition: height 0.3s ease;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--amarelo);
}

ul.menuPortfolio li:not(.menu-logo-item) a:hover::before {
    height: 60%;
}

.Navegacao nav {
    display: block;
}

/* Footer Melhorado */
.FooterPortfolio {
    background: #0a0c10;
    border-top: 2px solid var(--roxo-azulado);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.FooterPortfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-claro), transparent);
}

/* Footer Grid Layout */
.FooterPortfolio .grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .FooterPortfolio .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .FooterPortfolio .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Section Titles */
.FooterPortfolio h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.FooterPortfolio h3 i {
    margin-right: 0.5rem;
    color: var(--cyan-claro);
}

/* Footer Links */
.FooterPortfolio a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.FooterPortfolio a:hover {
    color: var(--cyan-claro) !important;
    transform: translateX(4px);
}

/* Contact Items */
.FooterPortfolio .group {
    transition: all 0.3s ease;
}

.FooterPortfolio .group:hover {
    transform: translateY(-2px);
}

.FooterPortfolio .group:hover .w-8 {
    transform: scale(1.1);
}

/* Status Indicator */
.FooterPortfolio .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Technology Grid */
.FooterPortfolio .grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

/* CTA Button */
.FooterPortfolio .bg-cyan-600 {
    background-color: #0891b2;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.FooterPortfolio .bg-cyan-600:hover {
    background-color: #0e7490;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Footer Bottom Border */
.FooterPortfolio .border-t {
    border-top: 1px solid #334155;
    padding-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .FooterPortfolio .flex-col {
        flex-direction: column;
        text-align: center;
    }

    .FooterPortfolio .space-y-4>*+* {
        margin-top: 1rem;
    }
}

/* Legacy Footer Styles for Compatibility */
.FooterPortfolio .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

.FooterPortfolio .FooterCopy {
    font-size: 12px;
    line-height: 22px;
    color: #718096;
}

.FooterPortfolio .FooterCopy a {
    color: #a0aec0 !important;
    text-decoration: none;
}

.FooterPortfolio .FooterCopy a:hover {
    color: var(--cyan-claro) !important;
    text-decoration: underline;
}

/* Voltar ao Topo */
a#voltar-topo {
    position: fixed;
    right: 15px;
    z-index: 50;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    bottom: 16px;
    background: var(--amarelo);
    color: var(--petroleo) !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    width: 50px;
    height: 50px;
    font-size: 26px;
}

a#voltar-topo.visible {
    opacity: 1;
    visibility: visible;
}

a#voltar-topo:hover {
    background: #fff;
    color: var(--petroleo) !important;
}

/* ==========================================================================
   4. COMPONENTES
   ========================================================================== */

/* Services content above AlbumFoto */
#services>.container {
    position: relative;
    z-index: 1;
}

/* Card de Serviço */
.service-card {
    background: rgba(19, 10, 36, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.15s ease-out;
}

.service-card:hover {
    border-color: var(--cyan-claro);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.25), inset 0 0 10px rgba(139, 92, 246, 0.1);
}

/* Botão Tecnológico Interativo */
.btn-techno {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--amarelo);
    color: var(--amarelo) !important;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
    z-index: 1;
    text-decoration: none;
}

.btn-techno::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--amarelo);
    transition: left 0.4s ease-in-out;
    z-index: -1;
}

.btn-techno:hover {
    color: var(--petroleo) !important;
    text-shadow: none;
}

.btn-techno:hover::before {
    left: 0;
}

/* Formulário de Contato */
.floating-label-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.floating-label-group .form-control-float {
    width: 100%;
    height: 50px;
    padding: 14px 15px 0px 15px;
    border: 1px solid var(--roxo-azulado);
    border-radius: 5px;
    background-color: rgba(15, 23, 42, 0.9) !important;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.floating-label-group textarea.form-control-float {
    height: 120px;
    padding-top: 20px;
    resize: vertical;
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}

.floating-label-group label {
    position: absolute;
    top: 15px;
    left: 16px;
    font-size: 15px;
    color: #94a3b8;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.floating-label-group .form-control-float:focus+label,
.floating-label-group .form-control-float:not(:placeholder-shown)+label {
    top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan-claro);
    text-shadow: 0 0 4px rgba(173, 216, 230, 0.3);
}

.floating-label-group .form-control-float:focus {
    outline: none;
    border-color: var(--cyan-claro);
    box-shadow: 0 0 10px rgba(173, 216, 230, 0.3);
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}

/* Remove autocomplete styling */
.floating-label-group .form-control-float:-webkit-autofill,
.floating-label-group .form-control-float:-webkit-autofill:hover,
.floating-label-group .form-control-float:-webkit-autofill:focus,
.floating-label-group .form-control-float:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(15, 23, 42, 0.9) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}

/* Remove browser default styling */
.floating-label-group input:-internal-autofill-selected {
    background-color: rgba(15, 23, 42, 0.9) !important;
    color: #ffffff !important;
}

.LabelDuplo {
    display: flex;
    width: 100%;
    gap: 15px;
}

.LabelDuplo .floating-label-group {
    flex-grow: 1;
}

/* Checkbox */
.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
}

.control .caption {
    color: #a0aec0;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #2a2f4c;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.control:hover input~.control__indicator,
.control input:focus~.control__indicator {
    background: #3b4263;
}

.control input:checked~.control__indicator {
    background: var(--amarelo);
}

.control__indicator:after {
    font-family: 'bootstrap-icons';
    content: '\F272';
    position: absolute;
    display: none;
    font-size: 16px;
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.control input:checked~.control__indicator:after {
    display: block;
    color: var(--petroleo);
}

/* Botão de Envio */
input[type="submit"].btn-primary {
    background-color: var(--amarelo);
    border: 1px solid var(--amarelo);
    color: var(--petroleo);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}

input[type="submit"].btn-primary:hover {
    background-color: transparent;
    border-color: var(--amarelo);
    color: var(--amarelo);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. MEDIA QUERIES
   ========================================================================== */

/* Responsive Adjustments */
@media (max-width: 768px) {
    .HeaderPortfolio {
        padding: 0 20px;
        min-height: 60px;
    }

    ul.menuPortfolio li:not(.menu-logo-item) a {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .HeaderPortfolio {
        padding: 0 15px;
    }

    ul.menuPortfolio li:not(.menu-logo-item) a {
        font-size: 1.1rem;
    }
}

/* Footer Media Query */
@media (min-width: 768px) {
    .FooterPortfolio .copyright {
        text-align: left;
    }

    .FooterPortfolio .footer-social-links {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   X. EXTRA CYBER INTERACTIVITY (Glow & Progress)
   ========================================================================== */

/* Cursor Glow Tracker */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform, left, top;
}

#cursor-glow.active {
    opacity: 1;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 110;
    /* Acima do header */
}

#scroll-progress {
    height: 100%;
    width: 0%;
    background: var(--amarelo);
    box-shadow: 0 0 10px var(--amarelo), 0 0 20px var(--amarelo);
    transition: width 0.1s ease-out;
}

/* Interações do Rodapé */
.FooterPortfolio a {
    transition: all 0.3s ease;
}

.FooterPortfolio a:hover {
    color: #ffe1a7 !important;
    transform: translateX(4px);
}

/* ==========================================================================
   INTERAÇÕES TECH / CYBER HUD
   ========================================================================== */

/* HUD Overlay e Cantoneiras */
.hud-overlay {
    position: absolute;
    inset: 40px;
    z-index: 5;
    opacity: 0.6;
}

.hud-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--amarelo);
    animation: hudPulse 3s infinite ease-in-out;
}

.hud-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.hud-corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.hud-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.hud-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

@keyframes hudPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* Scanline Effect */
.scanline {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, transparent, var(--amarelo), transparent);
    opacity: 0.15;
    z-index: 6;
    animation: scanAnimation 8s linear infinite;
}

@keyframes scanAnimation {
    0% {
        top: -100px;
    }

    100% {
        top: 120%;
    }
}

/* Data Stream (Metadados Laterais) */
.hud-data-stream {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    color: var(--amarelo);
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--amarelo);
}

.hud-data-stream.left-side {
    left: -10px;
    transform: rotate(-90deg) translateY(-50%);
}

.hud-data-stream.right-side {
    right: -10px;
    transform: rotate(90deg) translateY(50%);
}

.hud-stat-item {
    margin: 10px 0;
    opacity: 0.8;
}

/* Hacker Text Styles */
[itemprop="jobTitle"] {
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

/* UI Flicker para HUD e Elementos Tech */
.hud-corner { animation-delay: 0s; }
.hud-stat-item { animation-delay: 0.8s; }
.scanline { animation-delay: 1.5s; }

.hud-overlay.flicker-active {
    animation: uiFlicker 0.1s infinite;
}

@keyframes uiFlicker {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0.9;
    }
}

/* Ajuste no efeito de Glitch para ser menos constante e mais impactante */
[itemprop="jobTitle"]:hover {
    animation: glitchTitle 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes glitchTitle {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Pseudo-glitch layers no hover */
[itemprop="jobTitle"]::before,
[itemprop="jobTitle"]::after {
    content: attr(data-value);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: var(--amarelo);
}

[itemprop="jobTitle"]:hover::before {
    opacity: 0.5;
    left: -2px;
    text-shadow: 2px 0 var(--roxo);
    animation: glitchTitle 0.4s ease-in-out;
}

[itemprop="jobTitle"]:hover::after {
    opacity: 0.5;
    left: 2px;
    text-shadow: -2px 0 var(--amarelo);
    animation: glitchTitle 0.4s ease-in-out reverse;
}