/* ==========================================================================
   TABLE OF CONTENTS
   1. Variáveis & Reset
   2. Navegação & UI Geral
   3. Hero Section
   4. Profile Section (Sobre)
   5. Skills & Architecture
   6. Projects Grid
   7. Timeline (Liquid Neon)
   8. Terminal & Contact
   9. Modals
   10. Footer
   11. Animações & Media Queries
   ========================================================================== */

/* ==========================================================================
   1. VARIÁVEIS & RESET
   ========================================================================== */
:root {
    --bg: #000000;
    --legacy-color: #f727d8; /* Roxo Neon */
    --tech-color: #00ffea;   /* Ciano Neon */
    --text: #ffffff;
    --modal-bg: rgba(10, 10, 10, 0.95);
    
    --font-display: 'Teko', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-code: 'Fira Code', monospace;

    --global-padding: 10%; 

    --z-back: -1;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background-color: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; }

/* ==========================================================================
   2. NAVEGAÇÃO & UI GERAL
   ========================================================================== */
/* #main-interface removido ou simplificado, pois não precisa mais de opacidade */
#main-interface { min-height: 100vh; }

.top-nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center; z-index: var(--z-fixed);
    background: rgba(5, 5, 5, 0.6); backdrop-filter: blur(20px); border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, var(--legacy-color), var(--tech-color)) 1; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}
.brand { font-family: var(--font-display); font-size: 2rem; letter-spacing: 2px; }
.blink { animation: blink 1s infinite; color: var(--tech-color); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-item { color: #aaa; text-decoration: none; font-weight: 500; font-size: 1rem; transition: 0.3s; position: relative; }
.nav-item:hover { color: var(--legacy-color); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
.hire-btn { padding: 10px 30px; background: transparent; color: var(--tech-color); border: 1px solid var(--tech-color); text-decoration: none; font-weight: 700; font-family: var(--font-display); font-size: 1.2rem; transition: 0.3s; }
.hire-btn:hover { background: var(--tech-color); color: #000; box-shadow: 0 0 30px var(--tech-color); }
/* ==========================================================================
   BOTÃO DE TRANSIÇÃO (TECH -> EXECUTIVE)
   ========================================================================== */
.switch-btn-executive {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    
    /* Cor Dourada para indicar o mundo Executivo */
    color: var(--tech-color); 
    border: 1px solid var(--legacy-color);
    
    text-decoration: none;
    font-family: var(--font-display); /* Fonte Teko (Tech) */
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    
    background: rgba(212, 175, 55, 0.05); /* Fundo dourado muito sutil */
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Clip-path para dar um corte tecnológico nos cantos */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.switch-btn-executive i {
    width: 16px;
    height: 16px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.switch-btn-executive:hover {
    background: var(--tech-color); /* Preenche de dourado */
    color: var(--legacy-color);      /* Texto preto para contraste */
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); /* Glow Dourado */
    transform: translateY(-2px);
}

/* Ajuste para Mobile */
@media (max-width: 900px) {
    .switch-btn-executive {
        display: none; /* Em mobile, geralmente esconde-se no menu hambúrguer */
    }
}

.section-padding { padding: 100px var(--global-padding); width: 100%; margin: 0; }
.section-header { display: flex; align-items: center; gap: 20px; width: 100%; margin-bottom: 50px; }
.title-gradient { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; text-transform: uppercase; background: linear-gradient(90deg, var(--tech-color), var(--legacy-color)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; filter: drop-shadow(0 0 5px rgba(247, 39, 216, 0.5)); }
.line-animated { height: 2px; flex-grow: 1; border-radius: 2px; background: linear-gradient(90deg, var(--tech-color), var(--legacy-color), var(--tech-color)); background-size: 200% 100%; animation: flowGradient 3s linear infinite; box-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-content {
    position: relative; height: 100vh; width: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 50px; padding: 0 var(--global-padding); max-width: 1400px; margin: 0 auto;
    padding-top: 80px; /* Ajuste para não ficar colado na nav fixa */
}
.hero-status-line { font-family: var(--font-code); font-size: 1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; opacity: 0.8; }
.sys-label { color: #666; font-weight: 500; }
.sys-message { color: var(--tech-color); font-weight: bold; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--tech-color); width: 0; animation: typing 2.5s steps(30, end) forwards, blink-caret 0.75s step-end infinite; animation-delay: 1s; }
.hero-text { flex: 1; max-width: 650px; z-index: 2; }
h1 { font-family: var(--font-display); font-size: 6vw; line-height: 0.9; text-transform: uppercase; margin-bottom: 20px; }
.gradient-text-legacy { background: linear-gradient(90deg, #f727d8, #bd1fa3); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(247, 39, 216, 0.4)); }
.gradient-text-tech { background: linear-gradient(90deg, #00f3ff, #008cff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 20px rgba(0, 243, 255, 0.6); }
.hero-desc { font-size: 1.5rem; color: #ccc; max-width: 700px; line-height: 1.5; }
.highlight { color: var(--legacy-color); font-weight: bold; }
.highlight-tech { color: var(--tech-color); font-weight: bold; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; animation: bounce 2s infinite; color: #fff; font-family: var(--font-display); letter-spacing: 2px; }

/* Compiler Artifact (Visual) */
.compiler-artifact { position: absolute; right: 15%; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; perspective: 1000px; z-index: 1; pointer-events: none; }
.data-ring { position: absolute; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
.outer { width: 100%; height: 100%; border-top: 2px dashed var(--tech-color); border-bottom: 2px dashed var(--tech-color); animation: spin-tech 10s linear infinite; opacity: 0.6; }
.inner { width: 70%; height: 70%; border-left: 4px solid var(--legacy-color); border-right: 4px solid var(--legacy-color); animation: spin-legacy 6s linear infinite reverse; box-shadow: 0 0 15px var(--legacy-color); }
.code-hologram { font-family: var(--font-code); font-weight: 900; font-size: 5rem; display: flex; gap: 10px; transform-style: preserve-3d; animation: float-code 4s ease-in-out infinite; }
.bracket { color: var(--tech-color); text-shadow: 0 0 20px var(--tech-color); animation: glitch-text 3s infinite; }
.slash { color: var(--legacy-color); text-shadow: 0 0 20px var(--legacy-color); transform: rotate(15deg); }
.holo-base { position: absolute; bottom: -20px; width: 60%; height: 20px; background: radial-gradient(ellipse at center, var(--tech-color) 0%, transparent 70%); opacity: 0.3; filter: blur(10px); transform: rotateX(80deg); animation: pulse-base 2s infinite; }

/* ==========================================================================
   4. PROFILE SECTION (SOBRE)
   ========================================================================== */
.profile-container { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.profile-avatar-wrapper { position: relative; width: 350px; height: 400px; flex-shrink: 0; border: 1px solid #333; padding: 10px; background: rgba(255, 255, 255, 0.02); }
.profile-img { width: 100%; height: 100%; background-size: cover; background-position: center; filter: grayscale(100%) contrast(1.2); transition: 0.5s; }
.profile-avatar-wrapper:hover .profile-img { filter: grayscale(0%); }
.scanner-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--tech-color); box-shadow: 0 0 15px var(--tech-color); opacity: 0.5; animation: scan 4s linear infinite; z-index: 2; }
.tech-border-corner { position: absolute; bottom: -5px; right: -5px; width: 40px; height: 40px; border-bottom: 3px solid var(--legacy-color); border-right: 3px solid var(--legacy-color); }
.profile-data { flex-grow: 1; }
.data-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.id-badge { font-family: var(--font-code); color: var(--tech-color); border: 1px solid var(--tech-color); padding: 2px 8px; font-size: 0.8rem; letter-spacing: 1px; }
.terminal-text-block { background: #080808; border-left: 3px solid var(--tech-color); padding: 15px; font-family: var(--font-code); font-size: 0.9rem; color: #aaa; margin-bottom: 25px; }
.cmd-keyword { color: #ff0055; } .cmd-var { color: #00ffea; } .string { color: #f1fa8c; } .indent { padding-left: 20px; }
.bio-text { font-size: 1.1rem; line-height: 1.7; color: #ccc; margin-bottom: 30px; }
.bio-text strong { color: #fff; font-weight: 700; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid #222; padding-top: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--legacy-color); line-height: 1; }
.stat-label { font-family: var(--font-code); font-size: 0.8rem; color: #666; margin-top: 5px; text-transform: uppercase; }

/* ==========================================================================
   5. SKILLS & ARCHITECTURE
   ========================================================================== */
.subsection-title { font-family: var(--font-display); font-size: 1.5rem; color: #666; margin: 40px 0 20px; letter-spacing: 2px; }
.tech-marquee-wrapper { width: 100%; overflow: hidden; background: rgba(255, 255, 255, 0.03); border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 20px 0; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.tech-marquee-content { display: flex; gap: 60px; width: max-content; animation: scrollMarquee 20s linear infinite; }
.tech-marquee-content:hover { animation-play-state: paused; }
.tech-item { font-family: var(--font-code); color: var(--tech-color); font-size: 1.1rem; font-weight: bold; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.tech-item i { color: #fff; width: 18px; height: 18px; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.skill-chip { background: #0a0a0a; border: 1px solid #333; padding: 20px; border-radius: 8px; display: flex; align-items: center; gap: 15px; transition: 0.3s; }
.skill-chip:hover { border-color: var(--legacy-color); transform: translateY(-5px); box-shadow: 0 5px 20px rgba(247, 39, 216, 0.2); }
.chip-icon { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tech-color); }
.skill-chip:hover .chip-icon { background: var(--tech-color); color: #000; }
.chip-info h4 { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 5px; }
.chip-info p { font-size: 0.9rem; color: #888; line-height: 1.2; }

/* ==========================================================================
   6. PROJECTS GRID
   ========================================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; justify-content: flex-start; }
.neon-card { width: 100%; padding: 0; border: none; background: #050505; text-align: left; font-family: inherit; color: inherit; cursor: pointer; border: 1px solid #222; height: 450px; position: relative; overflow: hidden; transition: 0.4s; display: flex; flex-direction: column; justify-content: flex-end; }
.neon-card:hover { border-color: var(--legacy-color); transform: translateY(-10px); box-shadow: 0 10px 40px -20px var(--tech-color); }
.card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; filter: grayscale(100%); transition: 0.5s; }
.neon-card:hover .card-bg { opacity: 0.6; filter: grayscale(0%); transform: scale(1.05); }
.card-content { position: relative; z-index: 2; padding: 30px; background: linear-gradient(to top, #000 0%, transparent 100%); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.tech-tag { font-family: var(--font-display); font-size: 1.2rem; color: var(--tech-color); }

/* ==========================================================================
   7. TIMELINE (LIQUID NEON BORDER)
   ========================================================================== */
.timeline-container { position: relative; padding: 20px 0; margin-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.timeline-block { position: relative; margin-bottom: 60px; padding-left: 50px; }
.timeline-content { position: relative; background: #050505; border-radius: 10px; padding: 3px; overflow: hidden; transition: transform 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.timeline-block:hover .timeline-content { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 255, 234, 0.15); }
.timeline-content::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(transparent, var(--tech-color), transparent 30%, var(--legacy-color), transparent); animation: rotateBorder 4s linear infinite; opacity: 0.4; transition: 0.3s; }
.timeline-block:hover .timeline-content::before { opacity: 1; animation: rotateBorder 2s linear infinite; }
.timeline-inner { position: relative; background: #080808; border-radius: 8px; padding: 30px; z-index: 1; height: 100%; }
.marker { position: absolute; left: -6px; top: 35px; width: 10px; height: 10px; background: #000; border: 2px solid #555; border-radius: 50%; z-index: 2; transition: 0.3s; }
.timeline-block:hover .marker { background: var(--tech-color); border-color: #fff; box-shadow: 0 0 15px var(--tech-color); transform: scale(1.5); }
.timeline-inner h3 { font-family: var(--font-display); font-size: 2rem; color: #fff; margin-bottom: 5px; text-transform: uppercase; background: linear-gradient(90deg, #fff, #aaa); -webkit-background-clip: text; background-clip: text; }
.year { font-family: var(--font-code); color: var(--tech-color); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; display: inline-block; padding: 4px 8px; background: rgba(0, 255, 234, 0.1); border-radius: 4px; }
.timeline-inner p { color: #999; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
.current .year { color: #bd1fa3; background: rgba(189, 31, 163, 0.1); }
.legacy .year { color: var(--legacy-color); background: rgba(247, 39, 216, 0.1); }

/* ==========================================================================
   8. TERMINAL & FOOTER
   ========================================================================== */
.section-header-transition { display: flex; align-items: center; gap: 20px; padding: 40px var(--global-padding) 20px; margin-top: 40px; background-color: #000; }
.section-header-transition h2 { font-family: var(--font-code); font-size: 1.8rem; margin: 0; white-space: nowrap; }
.title-cyan { color: #00ffff; text-shadow: 0 0 5px #00ffff; }
.title-pink { color: #ff00ff; text-shadow: 0 0 5px #ff00ff; }
.transition-line { flex-grow: 1; height: 2px; background: linear-gradient(to right, #ff00ff, #00ffff); box-shadow: 0 0 10px rgba(255, 0, 255, 0.5); }

.terminal-section { padding: 100px 40px; background: #050505; display: flex; justify-content: center; }
.terminal-window { width: 100%; max-width: 800px; background: rgba(10, 10, 10, 0.95); border: 1px solid #333; border-radius: 8px; box-shadow: 0 0 40px rgba(0, 255, 234, 0.1); font-family: var(--font-code); overflow: hidden; position: relative; }
.terminal-window::before { content: " "; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%); background-size: 100% 4px; z-index: 2; pointer-events: none; }
.terminal-header { background: #1a1a1a; padding: 12px 20px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #333; }
.dots { display: flex; gap: 8px; } .dots span { width: 12px; height: 12px; border-radius: 50%; } .dots span:nth-child(1) { background: #ff5f56; } .dots span:nth-child(2) { background: #ffbd2e; } .dots span:nth-child(3) { background: #27c93f; }
.terminal-title { color: #666; font-size: 0.8rem; margin-left: auto; }
.terminal-body { padding: 30px; color: #ccc; font-size: 1rem; line-height: 1.8; position: relative; z-index: 1; }
.cmd { margin-bottom: 5px; } .cmd::before { content: "> "; color: #666; } .highlight-green { color: #53ff03; text-shadow: 0 0 5px #53ff03; }
.cmd-links { margin-top: 25px; display: flex; flex-direction: column; gap: 12px; } .link-item { color: var(--tech-color); text-decoration: none; transition: 0.3s; display: inline-block; padding: 5px 10px; border: 1px solid transparent; } .link-item:hover { background: rgba(0, 255, 234, 0.1); border-color: var(--tech-color); transform: translateX(10px); }
.cursor { display: inline-block; width: 10px; height: 1.2em; background: var(--tech-color); animation: blink 1s infinite; vertical-align: middle; margin-left: 5px; }
.terminal-footer { background: #1a1a1a; padding: 5px 20px; border-top: 1px solid #333; font-size: 0.7rem; color: #555; display: flex; justify-content: space-between; }

.main-footer { background: #000; border-top: 1px solid #333; position: relative; padding: 30px 40px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-code); font-size: 0.8rem; color: #555; overflow: hidden; }
.main-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #00ffea, #f727d8, transparent); box-shadow: 0 0 10px rgba(0, 255, 234, 0.81); }
.system-status { display: flex; align-items: center; gap: 10px; color: var(--tech-color); text-transform: uppercase; letter-spacing: 1px; }
.status-dot { width: 8px; height: 8px; background: #1bf72a; border-radius: 50%; box-shadow: 0 0 10px #1bf72a; animation: blink 2s infinite; }
.footer-text span { color: #333; }

/* ==========================================================================
   9. MODALS
   ========================================================================== */
dialog.modal-overlay { margin: auto; background: transparent; border: none; padding: 0; max-width: 100vw; max-height: 100vh; color: inherit; font-family: inherit; opacity: 0; transform: scale(0.9); transition: opacity 0.4s ease, transform 0.4s ease; }
dialog.modal-overlay[open] { opacity: 1; transform: scale(1); }
dialog.modal-overlay::backdrop { background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.4s; }
dialog.modal-overlay[open]::backdrop { opacity: 1; }
.modal-content { width: 90%; max-width: 1000px; background: #000; border: 1px solid #333; padding: 40px; position: relative; box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); font-family: var(--font-body) !important; color: #fff; text-align: left; }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; z-index: 10; }
.close-modal:hover { color: var(--legacy-color); }
.modal-header h2 { font-family: var(--font-display) !important; font-size: 3rem; color: var(--tech-color) !important; text-shadow: 0 0 20px rgba(0, 255, 234, 0.3); margin: 0; }
.modal-badge { border: 1px solid var(--tech-color); padding: 5px 10px; font-size: 0.8rem; font-family: var(--font-body); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.modal-img { height: 400px; background-size: cover; background-position: center; border: 1px solid #333; }
.modal-text h3 { font-family: var(--font-display) !important; font-size: 1.5rem; color: var(--legacy-color); margin-top: 20px; margin-bottom: 10px; border-left: 3px solid var(--tech-color) !important; padding-left: 10px; line-height: 1; }
.modal-text ul { list-style: none !important; padding-left: 0 !important; margin: 0; color: #ccc; }
.modal-text li { margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 5px; display: block; }
.modal-text p { color: #999; line-height: 1.6; }

/* ==========================================================================
   10. ANIMAÇÕES & MEDIA QUERIES
   ========================================================================== */
@keyframes blink { 50% { opacity: 0; } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes glitch-anim { 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); } }
@keyframes spin-tech { 0% { transform: rotateZ(0deg) rotateX(20deg); } 100% { transform: rotateZ(360deg) rotateX(20deg); } }
@keyframes spin-legacy { 0% { transform: rotateZ(0deg) rotateX(-20deg); } 100% { transform: rotateZ(360deg) rotateX(-20deg); } }
@keyframes float-code { 0%, 100% { transform: translateY(0) rotateY(0deg); } 50% { transform: translateY(-15px) rotateY(10deg); } }
@keyframes glitch-text { 95% { opacity: 1; transform: scale(1); } 96% { transform: scale(1.1) skewX(10deg); } 100% { transform: scale(1); } }
@keyframes pulse-base { 50% { opacity: 0.5; transform: rotateX(80deg) scale(1.2); } }
@keyframes flowGradient { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(189, 31, 163, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(189, 31, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(189, 31, 163, 0); } }
@keyframes rotateBorder { 100% { transform: rotate(360deg); } }
@keyframes typing { from { width: 0; } to { width: 280px; } }
@keyframes blink-caret { from, to { border-color: transparent; } 50% { border-color: var(--tech-color); } }
@keyframes scan { 0% { top: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 900px) {
    :root { --global-padding: 5%; }
    .hero-content h1 { font-size: 12vw; }
    .hero-status-line { font-size: 0.8rem; justify-content: center; }
    @keyframes typing { to { width: 230px; } }
    .profile-container { flex-direction: column; gap: 30px; }
    .profile-avatar-wrapper { width: 100%; height: 300px; }
    .profile-stats { grid-template-columns: 1fr; gap: 15px; text-align: center; }
    .projects-grid, .modal-grid { grid-template-columns: 1fr; }
    .modal-img { height: 200px; }
    .nav-links { display: none; }
    .top-nav { justify-content: center; }
    .compiler-artifact { display: none !important; }
    .section-header-transition { flex-direction: column; align-items: flex-start; gap: 10px; }
    .transition-line { width: 100%; }
    .timeline-container { margin-left: 0; border-left: none; }
    .timeline-block { padding-left: 0; }
    .marker { display: none; }
}

/* Destaque para o Projeto Principal */
.highlight-tag {
    background: var(--neon-cyan);
    color: var(--tech-color);
    font-weight: 800;
    box-shadow: 0 0 10px var(--neon-cyan);
    border: none;
}

.card-footer-tags {
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-mono);
}

/* Botão de Link para o Repo no Modal */
.repo-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: rgba(0, 255, 234, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: var(--font-tech);
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

.repo-link-btn:hover {
    background: var(--neon-cyan);
    color: var(--legacy-color);
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.4);
}