:root {
    --green: #4ade80;
    --green-dim: #22c55e;
    --green-dark: #166534;
    --green-glow: rgba(74,222,128,0.12);
    --green-glow-strong: rgba(74,222,128,0.22);
    --bg: #0a0f0a;
    --bg2: #0f1a0f;
    --bg3: #111d11;
    --surface: #141f14;
    --surface2: #192619;
    --border: rgba(74,222,128,0.15);
    --border-hover: rgba(74,222,128,0.35);
    --text: #e8f5e8;
    --text-muted: #8aab8a;
    --text-dim: #4a6b4a;
    --mono: 'Space Mono', monospace;
    --display: 'Syne', sans-serif;
}

/* ===================== IMPRESSUM / SUBPAGES ===================== */

.nav-back {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.nav-back:hover { color: var(--green); }

.nav-back::before {
    content: '←';
    font-size: 0.9rem;
}

main {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 8rem 3rem 5rem;
    width: 100%;
}

.page-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-label::before {
    content: '';
    display: inline-block;
    width: 20px; height: 1px;
    background: var(--green);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin: 1.5rem 0 3rem;
}

.imprint-block {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.block-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.imprint-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0.5rem 1.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(74,222,128,0.07);
    align-items: baseline;
}

.imprint-row:last-child { border-bottom: none; }

.row-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.row-value {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.row-value a {
    color: var(--green);
    text-decoration: none;
    transition: opacity 0.2s;
}

.row-value a:hover { opacity: 0.75; }

.note-block {
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
}

.note-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.note-text {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.75;
}

/* Subpage body layout */
body.subpage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    main { padding: 6rem 1.5rem 4rem; }
    .imprint-block { padding: 1.5rem; }
    .imprint-row { grid-template-columns: 1fr; gap: 0.2rem; }
    .row-label { font-size: 0.65rem; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--display);
    overflow-x: hidden;
    cursor: default;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Scanlines */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.03) 2px,
            rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* NAV */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: rgba(10,15,10,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--mono);
    font-size: 1rem;
    color: var(--green);
    letter-spacing: 0.05em;
    text-decoration: none;
}

.nav-logo span { color: var(--text-muted); }

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav ul a {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--green);
    transition: width 0.25s;
}

nav ul a:hover { color: var(--green); }
nav ul a:hover::after { width: 100%; }

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(var(--border) 1px, transparent 1px),
            linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    top: 20%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 28px; height: 1px;
    background: var(--green);
}

h1.hero-name {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 0.3rem;
}

h1.hero-name .accent { color: var(--green); }

.hero-title {
    font-family: var(--mono);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin: 1.8rem 0 2.5rem;
    line-height: 1.7;
    max-width: 560px;
}

.hero-title .highlight { color: var(--green); }

.hero-cta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    background: var(--green);
    color: #0a0f0a;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
    background: #86efac;
    transform: translateY(-2px);
}

.btn-secondary {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--green);
    text-decoration: none;
    border: 1px solid var(--border-hover);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-secondary:hover {
    background: var(--green-glow);
    border-color: var(--green);
    transform: translateY(-2px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(var(--green), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* SECTIONS */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 20px; height: 1px;
    background: var(--green);
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin: 0 0 4rem;
}

/* ABOUT */
#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.about-text p + p { margin-top: 1.2rem; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-text .green { color: var(--green); }

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.fact-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fact-value {
    font-size: 0.95rem;
    color: var(--text);
    text-align: right;
}

/* SKILLS */
#skills {
    background: var(--bg2);
    max-width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#skills .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--green);
    transition: height 0.3s;
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.skill-card:hover::before { height: 100%; }

.skill-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.skill-category {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    background: var(--surface2);
    color: var(--text-muted);
    border: 1px solid var(--border);
    letter-spacing: 0.05em;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-glow);
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover::after { opacity: 1; }

.project-number {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.project-type {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    background: var(--green-glow);
    color: var(--green);
    border: 1px solid var(--border-hover);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.project-desc {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* GAMEDEV */
#gamedev {
    background: var(--bg2);
    max-width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#gamedev .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.gamedev-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.gamedev-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.gamedev-text p + p { margin-top: 1.1rem; }
.gamedev-text strong { color: var(--text); }
.gamedev-text .green { color: var(--green); }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 1.2rem;
    position: relative;
}

.timeline-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.timeline-dot {
    width: 10px; height: 10px;
    background: var(--green);
    border: 2px solid var(--bg2);
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-line {
    width: 1px;
    background: var(--border);
    flex: 1;
    min-height: 20px;
}

.timeline-item:last-child .timeline-line { display: none; }

.timeline-body { padding-bottom: 2rem; }

.timeline-year {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--green);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.timeline-desc {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CONTACT */
#contact {
    text-align: center;
}

#contact .section-label { justify-content: center; }
#contact .section-label::before { display: none; }

.contact-box {
    margin-top: 3rem;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 4rem 3rem;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.contact-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--green-glow), transparent);
    pointer-events: none;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    font-family: var(--mono);
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 1.4rem;
    border: 1px solid var(--border);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    letter-spacing: 0.05em;
}

.contact-link:hover {
    color: var(--green);
    border-color: var(--green);
    background: var(--green-glow);
}

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

/* FOOTER */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

footer span { color: var(--green); }

/* ===================== CONSENT BANNER ===================== */

#consent-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--surface);
    border-top: 1px solid var(--border-hover);
    padding: 1.5rem 3rem;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.45);
}

#consent-banner.consent-visible {
    transform: translateY(0);
}

.consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.consent-text { flex: 1; min-width: 260px; }

.consent-title {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.consent-body {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.consent-body strong { color: var(--text); }

.consent-link {
    color: var(--green);
    text-decoration: none;
}

.consent-link:hover { opacity: 0.75; }

.consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.consent-btn {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    white-space: nowrap;
}

.consent-btn--accept {
    background: var(--green);
    color: #0a0f0a;
    font-weight: 700;
}

.consent-btn--accept:hover {
    background: #86efac;
    transform: translateY(-2px);
}

.consent-btn--decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-hover);
}

.consent-btn--decline:hover {
    color: var(--text);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Cookie-Einstellungen-Link im Footer */
.consent-revoke-link {
    color: var(--text-dim);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.consent-revoke-link:hover { color: var(--green); }

/* Floating-Button unten links */
#consent-fab {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9998;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s, background 0.2s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

#consent-fab.consent-fab--visible {
    opacity: 1;
    transform: translateY(0);
}

#consent-fab:hover {
    border-color: var(--border-hover);
    background: var(--surface2);
}

#consent-fab svg {
    width: 18px;
    height: 18px;
    fill: var(--text-dim);
    transition: fill 0.2s;
    flex-shrink: 0;
}

#consent-fab:hover svg {
    fill: var(--green);
}

@media (max-width: 768px) {
    #consent-banner { padding: 1.2rem 1.5rem; }
    .consent-inner { gap: 1.2rem; }
    .consent-actions { width: 100%; justify-content: stretch; }
    .consent-btn { flex: 1; text-align: center; }
}

/* Screen-reader only – visuell versteckt, für Suchmaschinen sichtbar */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* FADE IN ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* STATUS DOT */
.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2rem;
    letter-spacing: 0.05em;
}

.dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 6px var(--green);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.2s;
}

.hamburger:hover { border-color: var(--green); }

.hamburger span {
    display: block;
    width: 100%; height: 1px;
    background: var(--text-muted);
    transition: transform 0.3s, opacity 0.3s, background 0.2s;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--green); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--green); }

/* RESPONSIVE */
@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }

    .hamburger { display: flex; }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 57px; left: 0; right: 0;
        background: rgba(10,15,10,0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 0.5rem 0 1rem;
    }

    nav ul.open { display: flex; }

    nav ul li a {
        display: block;
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    nav ul a::after { display: none; }

    #hero { padding: 7rem 1.5rem 4rem; }
    section { padding: 4rem 1.5rem; }
    #skills .inner, #gamedev .inner { padding: 4rem 1.5rem; }
    #about .about-grid,
    .gamedev-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-box { padding: 2.5rem 1.5rem; }
}