/* ============================================================
   PORSCHE-PRECISION / MILITARY-BRUTALIST — Vritik Valabdás Portfolio
   Archetype: marathonthegame.com — dark sci-fi · industrial · tactical · premium
   Font: Bebas Neue (display) + JetBrains Mono (mono/labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Backgrounds — pure black system */
    --bg-void: #000000;
    --bg-deep: #0a0a0a;
    --bg-surface: #1C1C1C;
    --bg-card: #111111;
    --bg-card-alt: #0d0d0d;

    /* Marathon color system */
    --theme-green: #a8ff3e;          /* primary accent — Marathon lime */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-muted: rgba(255, 255, 255, 0.60);
    --color-dim: rgba(255, 255, 255, 0.30);
    --color-faint: rgba(255, 255, 255, 0.12);

    /* Aliases — all accent-green now */
    --neon-green: #a8ff3e;
    --neon-acid: #a8ff3e;
    --neon-cyan: #a8ff3e;
    --neon-magenta: #a8ff3e;
    --neon-yellow: #a8ff3e;
    --neon-orange: #a8ff3e;
    --neon-purple: rgba(168, 255, 62, 0.60);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.60);
    --text-muted: rgba(255, 255, 255, 0.30);

    /* Borders */
    --border-neon: rgba(168, 255, 62, 0.40);
    --border-hot: rgba(168, 255, 62, 0.40);
    --border-subtle: rgba(255, 255, 255, 0.12);

    /* Flat glow using Marathon green */
    --glow-green: 0 0 20px rgba(168, 255, 62, 0.30);
    --glow-cyan: 0 0 20px rgba(168, 255, 62, 0.30);
    --glow-magenta: 0 0 20px rgba(168, 255, 62, 0.20);
    --glow-acid: 0 0 20px rgba(168, 255, 62, 0.30);

    /* Navigation */
    --navigation-height: 60px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    background: var(--bg-void);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before,
body::after {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--theme-green);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-white);
    text-shadow: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

code,
pre {
    font-family: 'JetBrains Mono', monospace;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 0;
}

/* ============================================================
      HERO — INDEX
      ============================================================ */

.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px 80px;
    background: var(--bg-deep);
    overflow: hidden;
    perspective: 1000px;
}

/* Subtle grid — low opacity white */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Bottom border */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

#hero-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 9rem);
    color: #ffffff;
    position: relative;
    display: inline-block;
    cursor: default;
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow: none;
    filter: none;
}

/* Cada letra individualmente */
.char {
    display: inline-block;
    position: relative;
    transition:
        transform 0.6s cubic-bezier(.22, .61, .36, 1),
        opacity 0.6s ease;
    will-change: transform;
}

.char.dust {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.6);
}

#subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    color: var(--theme-green);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 16px;
    opacity: 0.85;
}

/* Typing cursor effect */
#subtitle::after {
    content: '█';
    animation: blink 1s step-end infinite;
    color: var(--text-muted);
    margin-left: 4px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-buttons a,
.hero-buttons button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    padding: 0 28px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--theme-green);
    border: 1px solid var(--theme-green);
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
    clip-path: none;
    border-radius: 0;
}

.hero-buttons a:hover,
.hero-buttons button:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: none;
    text-shadow: none;
}

/* ===== PARTICLES ===== */
.particle {
    position: absolute;
    font-size: 14px;
    color: var(--color-white);
    pointer-events: none;
    animation: dust 1.2s forwards;
}

@keyframes dust {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) scale(0.2);
    }
}

/* ===== MAGNET EFFECT ===== */
.magnet-char {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

/* ============================================================
      SECTIONS
      ============================================================ */

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    color: #fff;
}

/* Accent line under section titles */
section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
}

@media (min-width: 900px) {
    section {
        padding: 70px 5%;
    }
}

/* ============================================================
      PROJECTS GRID
      ============================================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    padding: 0;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease;
    clip-path: none;
    border-radius: 0;
}

/* Top neon bar on hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--theme-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.project-card::after {
    display: none;
}

.project-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
    filter: saturate(0.0) contrast(1.05) brightness(0.75);
    transition: filter 0.35s ease;
}

.project-card:hover img {
    filter: saturate(0.0) contrast(1.1) brightness(1.0);
}

/* Card body */
.project-card h3,
.project-card p,
.project-card span,
.project-card a {
    padding-left: 20px;
    padding-right: 20px;
}

.project-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 8px;
}

.project-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-bottom: 10px;
}

.project-card span {
    display: block;
    font-size: 11px;
    color: var(--theme-green);
    opacity: 0.7;
    letter-spacing: 0.1em;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.project-card a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--theme-green);
    padding-top: 4px;
    padding-bottom: 20px;
    text-transform: uppercase;
    transition: color 0.2s ease, gap 0.2s ease;
}

.project-card a:last-child::after {
    content: '→';
    transition: transform 0.2s ease;
}

.project-card:hover a:last-child {
    color: var(--neon-acid);
    gap: 10px;
    text-shadow: none;
}

.project-card:hover a:last-child::after {
    transform: translateX(4px);
}

/* ============================================================
      FOOTER
      ============================================================ */

footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

footer::before {
    content: '// EOF';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 11px;
    opacity: 0.5;
}

/* ============================================================
      ABOUT PAGE — MARATHON CINEMATIC STYLE
      ============================================================ */

.about-section {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== ABOUT HERO — full viewport ===== */
.about-section>.back-link {
    position: fixed;
    top: 32px;
    left: 40px;
    z-index: 100;
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    padding: 8px 0;
    border: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.about-section>.back-link:hover {
    opacity: 1;
    text-shadow: var(--glow-green);
}

.about-section h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 9rem);
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0;
    padding: 25vh 5% 0;
    text-shadow: none;
    line-height: 0.95;
    position: relative;
}

/* Underline after h1 */
.about-section h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--theme-green);
    box-shadow: 0 0 12px rgba(168, 255, 62, 0.4);
    margin-top: 30px;
}

/* ===== BACK LINK (generic) ===== */
.back-link {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--theme-green);
    text-decoration: none;
    margin-bottom: 40px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    color: var(--theme-green);
    opacity: 1;
    text-shadow: var(--glow-green);
}

/* ===== INTRO CARD — Marathon pitch block ===== */
.intro-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-deep);
    padding: 60px 5%;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 0;
    position: relative;
    clip-path: none;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.20);
    box-shadow: none;
}

.texto-intro {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
}

.texto-intro strong {
    color: var(--theme-green);
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 0;
    object-fit: cover;
    border: 2px solid var(--theme-green);
    box-shadow: var(--glow-green);
    filter: saturate(0) contrast(1.05) brightness(0.9);
    transition: filter 0.35s ease, border-color 0.25s ease;
    animation: none;
    clip-path: none;
}

.profile-pic:hover {
    transform: scale(1.04);
    border-color: var(--theme-green);
    box-shadow: var(--glow-green);
    filter: saturate(0) contrast(1.1) brightness(1.0);
}

@keyframes glowPulse {
    0%, 50%, 100% { opacity: 1; }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .intro-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }

    .texto-intro {
        text-align: center;
    }

    .about-section>.back-link {
        top: 20px;
        left: 20px;
    }

    .about-section h1 {
        padding: 20vh 20px 0;
    }
}

/* ===== CONTENT BLOCKS — Marathon full-width sections ===== */
.content-block {
    margin: 0;
    padding: 70px 5%;
    border-bottom: 1px solid var(--border-subtle);
}

/* Alternating backgrounds for about content blocks */
.content-block:nth-of-type(odd) {
    background: var(--bg-void);
}

.content-block:nth-of-type(even) {
    background: var(--bg-deep);
}

.content-block h2,
.letra-iman {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.06em;
    color: #fff;
    position: relative;
    display: block;
    margin-bottom: 12px;
}

/* Bar before section titles */
.content-block h2::before,
.letra-iman::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--theme-green);
    box-shadow: 0 0 12px var(--theme-green);
    margin-bottom: 20px;
}

/* Remove the default section h2::after underline inside about */
.about-section .content-block h2::after,
.about-section .letra-iman::after,
.about-section .skills-section .letra-iman::after,
.about-section .github-section .letra-iman::after {
    display: none;
}

.content-block p {
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 700px;
    font-size: 15px;
}

/* ===== TIMELINE (TREE) — Marathon section ===== */
#timeline {
    padding: 70px 5%;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-deep);
}

.project-overview1 {
    margin-bottom: 20px;
}

.project-overview1 h2 {
    font-family: 'Bebas Neue', sans-serif;
    text-align: left;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.06em;
    margin-top: 0;
}

.project-overview1 h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--theme-green);
    box-shadow: 0 0 12px var(--theme-green);
    margin-bottom: 20px;
}

.tree-container {
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-green) var(--bg-void);
}

.tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    min-width: 600px;
}

.node {
    background: var(--bg-card);
    padding: 16px 24px;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    text-align: center;
    min-width: 220px;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    transition: border-color 0.25s ease;
    clip-path: none;
    border-radius: 0;
}

.node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--theme-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.node small {
    color: var(--theme-green);
    font-size: 11px;
    letter-spacing: 0.15em;
}

.node:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.node:hover::before {
    transform: scaleX(1);
}

.root {
    margin-bottom: 40px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    border-color: var(--theme-green);
    color: var(--theme-green);
    background: var(--bg-surface);
}

.root::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: var(--theme-green);
    box-shadow: 0 0 8px var(--theme-green);
}

.branches {
    display: flex;
    gap: 40px;
    position: relative;
}

.branches::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--theme-green);
    box-shadow: 0 0 6px var(--theme-green);
}

.branch {
    position: relative;
}

.branch::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    width: 1px;
    height: 20px;
    background: var(--theme-green);
    box-shadow: 0 0 6px var(--theme-green);
}

.year-node {
    border-color: rgba(168, 255, 62, 0.6);
    color: var(--theme-green);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    background: var(--bg-surface);
}

.sub-branches {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

/* ===== TECH SLIDER — Marathon marquee ===== */
.tech-slider {
    width: 100%;
    overflow: hidden;
    background: var(--bg-void);
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.tech-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-void) 0%, transparent 10%, transparent 90%, var(--bg-void) 100%);
    pointer-events: none;
    z-index: 1;
}

.tech-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.tech-track img {
    height: clamp(40px, 8vw, 65px);
    margin: 0 40px;
    filter: grayscale(100%) brightness(0.4);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.tech-track img:hover {
    filter: grayscale(100%) brightness(1.0);
    transform: scale(1.1);
}

.tech-slider:hover .tech-track {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== SKILLS GRID — Marathon grid blocks ===== */
.skills-section {
    margin: 0;
    padding: 70px 5%;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-void);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    margin-top: 30px;
    background: var(--border-subtle);
    max-width: 1200px;
}

.skill-item {
    background: var(--bg-card);
    border: none;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    clip-path: none;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    background: var(--bg-surface);
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.skill-item:hover::before {
    transform: scaleX(1);
}

.skill-item .divs strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--theme-green);
    display: block;
    margin-bottom: 8px;
}

.skill-item span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ===== GITHUB / CONTACT — Marathon section ===== */
.github-section {
    margin: 0;
    padding: 70px 5%;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-deep);
}

.github-link {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.15em;
    color: var(--theme-green);
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.github-link:hover {
    color: var(--theme-green);
    text-shadow: 0 0 15px rgba(168, 255, 62, 0.4);
}

.escrever {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

#contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* ============================================================
      PROJECT HERO PAGES — MARATHON CINEMATIC STYLE
      ============================================================ */

.project-hero {
    position: relative;
    background: var(--bg-void);
    padding: 0;
    text-align: left;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Subtle grid */
.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 100%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 100%, black 30%, transparent 80%);
}

/* Bottom line */
.project-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.20);
    box-shadow: none;
}

/* Top-left glow accent */
.project-hero .back-link {
    position: absolute;
    top: 32px;
    left: 40px;
    margin: 0;
    z-index: 10;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    padding: 8px 0;
    border: none;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.project-hero .back-link:hover {
    opacity: 1;
    text-shadow: var(--glow-green);
}

.project-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0;
    line-height: 0.95;
    padding: 0 5%;
    position: relative;
    text-shadow: none;
    max-width: 900px;
}

.project-hero p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 1;
    padding: 0 5%;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Actions inside hero — bottom aligned */
.project-hero .project-actions {
    padding: 30px 5% 50px;
    justify-content: flex-start;
    margin: 0;
}

/* ============================================================
      PROJECT CONTENT — MARATHON FULL-WIDTH SECTIONS
      ============================================================ */

.project-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== PROJECT OVERVIEW — Marathon pitch block ===== */
.project-overview {
    background: var(--bg-deep);
    padding: 80px 5%;
    padding-right: 240px;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 0;
    position: relative;
    clip-path: none;
    max-width: 100%;
    overflow: hidden;
}

.project-overview::before {
    content: 'VISÃO GERAL';
    position: absolute;
    right: 0;
    top: 40px;
    bottom: 40px;
    width: 220px;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 5vw, 6rem);
    letter-spacing: 0.02em;
    color: var(--theme-green);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    word-break: break-word;
    transform: none;
    opacity: 1;
    padding: 0 8px;
    overflow: hidden;
    line-height: 1.1;
}

.project-overview h2 {
    display: none;
}

.project-overview h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.40);
    box-shadow: none;
}

.project-overview p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 15px;
    max-width: 700px;
}

.project-overview strong {
    color: var(--neon-green);
}

/* ===== PROJECT SECTION — Marathon alternating blocks ===== */
.project-section {
    margin-bottom: 0;
    padding: 70px 5%;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

/* Alternating background */
.project-section:nth-child(even) {
    background: var(--bg-deep);
}

.project-section:nth-child(odd) {
    background: var(--bg-void);
}

.project-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

.project-section h2::before {
    content: '';
    position: static;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--theme-green);
    box-shadow: 0 0 12px var(--theme-green);
    margin-bottom: 20px;
}

/* Subtitle label under h2 */
.project-section h2::after {
    display: none;
}

.project-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 12px;
    max-width: 700px;
}

.project-section strong {
    color: var(--text-primary);
}

/* ===== FEATURES GRID — Marathon card grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    margin-top: 30px;
    background: var(--border-subtle);
    max-width: 1200px;
}

.feature-item {
    background: var(--bg-card);
    padding: 32px 28px;
    border: none;
    position: relative;
    transition: all 0.3s ease;
    clip-path: none;
}

/* Top accent line on hover */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-item:hover {
    background: var(--bg-surface);
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    max-width: 100%;
}

/* ===== TECH STACK TAGS — Marathon inline badges ===== */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tech-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    clip-path: none;
    border-radius: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tech-tag:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(168, 255, 62, 0.3);
    border-color: var(--theme-green);
}

/* ===== ARCHITECTURE BLOCK — Marathon columns ===== */
.architecture-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    margin-top: 30px;
    background: var(--border-subtle);
    max-width: 1200px;
}

.arch-column {
    background: var(--bg-card);
    padding: 28px 24px;
    border-left: none;
    position: relative;
}

/* Top colored line per column */
.arch-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-green);
    opacity: 0.4;
}

.arch-column h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin: 0 0 18px 0;
    text-transform: uppercase;
    opacity: 1;
}

.arch-column code {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 1;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.arch-column code::before {
    content: '› ';
    color: var(--text-muted);
}

.arch-column:hover code {
    color: var(--color-white);
}

/* ===== IMPLEMENTATION DETAILS — Marathon stacked blocks ===== */
.implementation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    margin-top: 30px;
    background: var(--border-subtle);
    max-width: 1200px;
}

.detail-card {
    background: var(--bg-card);
    padding: 32px 28px;
    border-left: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Numbered counter */
.detail-card {
    counter-increment: detail-counter;
}

.project-section .implementation-details {
    counter-reset: detail-counter;
}

.detail-card::before {
    content: counter(detail-counter, decimal-leading-zero);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.detail-card:hover {
    background: var(--bg-surface);
    border-color: transparent;
}

.detail-card:hover::before {
    color: rgba(255, 255, 255, 0.20);
}

.detail-card strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.detail-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 100%;
}

.detail-card code {
    color: var(--color-white);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 0;
}

/* ===== SCREENSHOTS GRID — Marathon media display ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2px;
    margin-top: 30px;
    max-width: 1200px;
}

.screenshots-grid img {
    width: 100%;
    border: none;
    transition: filter 0.4s ease;
    filter: saturate(0.9) contrast(1.1) brightness(0.85);
}

.screenshots-grid img:hover {
    transform: none;
    border-color: transparent;
    filter: saturate(1.4) contrast(1.1) brightness(1.0);
    box-shadow: none;
}

/* ===== PROJECT ACTIONS — Marathon bottom CTA ===== */
.project-actions {
    text-align: center;
    margin: 0;
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
}

/* ===== BUTTONS ===== */
.btn-primary {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    padding: 0 36px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--theme-green);
    border: 1px solid var(--theme-green);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    transition: background 0.25s ease, color 0.25s ease;
    clip-path: none;
    border-radius: 0;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: var(--glow-green);
    text-shadow: none;
}

/* ===== BACK BUTTON ===== */
.back-button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    display: inline-flex;
    align-items: center;
    padding: 0 32px;
    height: 52px;
    background: transparent;
    color: var(--theme-green);
    border: 1px solid var(--theme-green);
    text-decoration: none;
    text-transform: uppercase;
    clip-path: none;
    border-radius: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.back-button:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: var(--glow-green);
}

/* ============================================================
      "EM DESENVOLVIMENTO" PAGE
      ============================================================ */

.unavailable-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.unavailable-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: fadeUp 0.8s ease;
}

.unavailable-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 0.15em;
    color: #fff;
    text-shadow: 2px 0 var(--neon-green), -2px 0 var(--neon-magenta);
    animation: fadeUp 1s ease;
    margin-bottom: 16px;
}

.unavailable-section p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
    animation: fadeUp 1.2s ease;
}

.coming-soon-badge {
    display: inline-block;
    margin: 1.5rem 0;
    padding: 8px 24px;
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.50);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    animation: fadeUp 1.4s ease;
    box-shadow: none;
    clip-path: none;
    border-radius: 0;
}

/* ============================================================
      DIVS (icon containers in about)
      ============================================================ */

.divs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards {
    flex-shrink: 0;
}

/* ============================================================
      GLITCH ANIMATION (utility)
      ============================================================ */

@keyframes glitch {
    0% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-4px, 0);
    }

    20% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(4px, 0);
    }

    40% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(2px, 0);
    }

    80% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-4px, 0);
    }

    100% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(0, 0);
    }
}

/* ============================================================
      RESPONSIVE
      ============================================================ */

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .project-hero {
        min-height: 70vh;
    }

    .project-hero .back-link {
        top: 20px;
        left: 20px;
    }

    .project-hero h1 {
        padding: 0 20px;
    }

    .project-hero p {
        padding: 0 20px;
    }

    .project-hero .project-actions {
        padding: 24px 20px 40px;
    }

    .project-overview {
        grid-template-columns: 1fr;
        padding: 50px 20px;
    }

    .project-overview::before {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1rem;
    }

    .project-section {
        padding: 50px 20px;
    }

    .features-grid,
    .architecture-block,
    .implementation-details {
        grid-template-columns: 1fr;
    }

    .intro-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }

    .texto-intro {
        text-align: center;
    }

    #timeline {
        padding: 50px 20px;
    }

    .skills-section {
        padding: 50px 20px;
    }

    .github-section {
        padding: 50px 20px;
    }

    .content-block {
        padding: 50px 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .texto-intro {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    #hero-name {
        padding: 0 1rem;
    }
}

@media (min-width: 900px) {
    .project-section {
        padding: 80px 8%;
    }

    .project-overview {
        padding: 80px 8%;
    }

    .project-actions {
        padding: 70px 8%;
    }
}

@media (min-width: 1400px) {
    .project-hero h1 {
        font-size: 8rem;
    }

    .project-section {
        padding: 100px 12%;
    }

    .project-overview {
        padding: 100px 12%;
    }
}

/* ============================================================
      MARATHON-STYLE LAYOUT — Index Sections
      ============================================================ */

/* Full-width section wrapper sem max-width (para layout Marathon) */
.section-full {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Label de categoria */
.section-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--theme-green);
    margin-bottom: 12px;
    opacity: 0.7;
}

/* Título de secção Marathon — grande, bold, sem max-width */
.section-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 5% 40px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.06em;
    color: #fff;
    margin: 0;
    line-height: 1;
    position: relative;
}

/* Remove o underline automático nas section h2 dentro de section-header */
.section-header h2::after {
    display: none;
}

.section-header .section-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* ===== CARD TAG — badge sobre a imagem ===== */
.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bg-void);
    background: var(--theme-green);
    padding: 3px 10px 2px;
    line-height: 1.4;
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.project-card:hover .card-tag {
    background: var(--neon-acid);
}

/* Grid Marathon — sem gap dramático, colunas largas */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border-subtle);
    max-width: 100%;
}

/* Cada card é agora sem clip-path nos bordos do grid */
.project-card {
    background: var(--bg-card);
    padding: 0;
    border: none;
    border-right: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    clip-path: none;
    /* Marathon usa cantos retos */
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
}

.project-card:hover {
    background: var(--bg-surface);
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.25);
}

.project-card:hover::before {
    transform: scaleX(1);
}

/* Imagem do card — aspect ratio forçado */
.project-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
    filter: saturate(0) contrast(1.05) brightness(0.75);
    transition: filter 0.4s ease;
}

.project-card:hover img {
    filter: saturate(1.4) contrast(1.1) brightness(1.0);
}

/* Card content padding */
.project-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    color: #fff;
    padding: 20px 20px 6px;
    margin: 0;
    line-height: 1.2;
}

.project-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 0 20px 8px;
    margin: 0;
}

.project-card span {
    display: block;
    font-size: 10px;
    color: var(--neon-green);
    opacity: 0.6;
    letter-spacing: 0.12em;
    padding: 0 20px 8px;
    text-transform: uppercase;
}

.project-card a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--neon-green);
    padding: 4px 20px 20px;
    text-transform: uppercase;
    transition: color 0.2s ease, gap 0.2s ease;
}

.project-card a:last-child::after {
    content: '→';
    transition: transform 0.2s ease;
}

.project-card:hover a:last-child {
    color: var(--neon-acid);
    gap: 10px;
}

.project-card:hover a:last-child::after {
    transform: translateX(4px);
}

/* Wrapper do grid — full width com linha divisória */
.projects-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 2px 0;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================
      CONTACT LINKS — ícones uniformes
      ============================================================ */

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    padding: 10px 18px;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    background: transparent;
    clip-path: none;
    border-radius: 0;
}

.contact-link svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}

/* Hover com a cor da plataforma mantida como verde Marathon */
.github-link:hover {
    color: var(--theme-green);
    border-color: var(--theme-green);
    box-shadow: 0 0 15px rgba(168, 255, 62, 0.2);
}

.gmail-link:hover {
    color: #ea4335;
    border-color: #ea4335;
    box-shadow: 0 0 15px rgba(234, 67, 53, 0.2);
}

.whatsapp-link:hover {
    color: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.instagram-link:hover {
    color: #e1306c;
    border-color: #e1306c;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.2);
}

/* Container de contactos — already defined above */

/* ============================================================
      HERO GRID & SECTION OVERRIDE para index
      ============================================================ */

/* Section com id="projects" — remove max-width automático */
#projects {
    max-width: 100%;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-subtle);
}

/* ============================================================
      PROFILE PIC — Marathon green border
      ============================================================ */

/* ============================================================
      NODE TREE & SKILLS — unified Marathon green
      ============================================================ */

/* ============================================================
      TECH TRACK hover
      ============================================================ */

.tech-track img:hover {
    filter: grayscale(100%) brightness(1.0);
}

/* ============================================================
      FEATURE ITEMS
      ============================================================ */

.feature-item strong {
    color: var(--color-white);
}

/* ============================================================
      PROJECT OVERVIEW
      ============================================================ */

.project-overview strong {
    color: var(--color-white);
}

/* ============================================================
      BTN PRIMARY / BACK BUTTON
      ============================================================ */

.btn-primary {
    color: var(--theme-green);
    border-color: var(--theme-green);
}

.btn-primary:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: var(--glow-green);
}

.back-button {
    color: var(--theme-green);
    border-color: var(--theme-green);
}

.back-button:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: var(--glow-green);
}

/* Coming soon badge */
.coming-soon-badge {
    color: var(--theme-green);
    border-color: var(--theme-green);
    box-shadow: 0 0 20px rgba(168, 255, 62, 0.2);
}

/* ============================================================
      ABOUT / PROJECT HERO
      ============================================================ */

.about-section h1 {
    text-shadow: none;
}

.project-hero h1 {
    text-shadow: none;
}

.project-hero p {
    color: var(--theme-green);
}

.project-hero::after {
    background: var(--theme-green);
    box-shadow: 0 0 30px rgba(168, 255, 62, 0.3);
}

/* ARCH COLUMN */
.arch-column code {
    color: var(--theme-green);
}

.arch-column code::before {
    color: rgba(168, 255, 62, 0.5);
}

/* ============================================================
   HERO OVERRIDE — fullscreen, conteúdo ancorado em baixo
   ============================================================ */

   .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 6vw 0 6vw;
    text-align: left;
}

.hero::after { display: none; } /* remove a linha ::after antiga */

/* HUD corners */
.hero-hud-left,
.hero-hud-right {
    position: absolute;
    top: 2.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(168, 255, 62, 0.45);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}
.hero-hud-left  { left: 6vw; }
.hero-hud-right { right: 6vw; }

.hero-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--theme-green);
    box-shadow: 0 0 8px var(--theme-green), 0 0 20px rgba(168,255,62,0.4);
    animation: hud-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes hud-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Nome — override ao inline-block e tamanho */
#hero-name {
    font-size: clamp(5.5rem, 15vw, 14rem);
    line-height: 0.88;
    display: block;
    animation: hero-glitch 12s infinite;
    text-shadow: none;
}
@keyframes hero-glitch {
    0%, 94%, 100% {
        text-shadow: none;
        transform: none;
    }
    95% {
        text-shadow: none;
        transform: skewX(-0.8deg);
        opacity: 0.85;
    }
    96% {
        transform: skewX(0deg);
        opacity: 1;
    }
}

/* Subtitle — espaçamento */
#subtitle {
    margin-top: 1rem;
    margin-bottom: 1.2rem;
}

/* Linha divisória */
.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--theme-green) 15%,
        rgba(168,255,62,0.5) 50%,
        var(--theme-green) 85%,
        transparent
    );
    box-shadow: 0 0 12px rgba(168,255,62,0.3);
    overflow: visible;
    position: relative;
}

.hero-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    color: rgba(168, 255, 62, 0.35);
    white-space: nowrap;
    padding-top: 4px;
    display: inline-block;
    animation: hero-ticker 24s linear infinite;
}
@keyframes hero-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Botões — colados à linha, alinhados à esquerda */
.hero-buttons {
    margin-top: 0;
    padding: 1rem 0 4rem 0;
    justify-content: flex-start;
    gap: 0;
}
.hero-buttons a + a,
.hero-buttons a + button,
.hero-buttons button + a {
    margin-left: -1px;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 1.8rem;
    right: 6vw;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    color: rgba(168, 255, 62, 0.30);
    text-transform: uppercase;
    animation: scroll-hint 2.5s ease-in-out infinite;
}
@keyframes scroll-hint {
    0%, 100% { transform: translateY(0);   opacity: 0.3; }
    50%       { transform: translateY(6px); opacity: 0.7; }
}

/* V de Vritik — acid highlight */
.char-v {
    color: var(--theme-green);
    text-shadow:
        0 0 20px rgba(168, 255, 62, 0.5),
        0 0 50px rgba(168, 255, 62, 0.25);
}

/* Botão Download PDF — secondary style (magenta → green) */
.hero-buttons button {
    color: var(--theme-green);
    border-color: var(--theme-green);
    background: transparent;
}
.hero-buttons button:hover {
    background: var(--theme-green);
    color: var(--color-black);
    box-shadow: var(--glow-green);
    text-shadow: none;
    border-color: var(--theme-green);
}