/* =====================================================
   Jurassic Park — Design Tokens (Explorer Edition)
   Palette sourced from the JP Ford Explorer:
     body  → lime green  #78bf1c
     stripe → red-orange #cc3300
     wheels → yellow     #f5d400
   ===================================================== */
:root {
    --bg:           #040c04;
    --bg-card:      #060e04;
    --bg-card-alt:  #0a1407;

    /* Explorer body — lime green */
    --lime:         #78bf1c;
    --lime-bright:  #8fd42a;
    --lime-light:   #b8e860;

    /* Explorer stripe — red-orange */
    --jp-red:       #cc3300;
    --jp-red-bright:#e84010;

    /* Explorer wheels — yellow */
    --jp-yellow:    #f5d400;
    --jp-yellow-dim:#c8aa00;

    --text:         #d0e8b0;
    --text-mid:     #88aa58;
    --text-muted:   #4a6830;

    --border-lime:   rgba(120, 191, 28, 0.5);
    --border-red:    rgba(204, 51, 0, 0.45);
    --border-yellow: rgba(245, 212, 0, 0.45);

    --glow-lime:    0 0 10px rgba(120, 191, 28, 0.7), 0 0 28px rgba(120, 191, 28, 0.3);
    --glow-red:     0 0 10px rgba(204, 51, 0, 0.65),  0 0 28px rgba(204, 51, 0, 0.28);
    --glow-yellow:  0 0 10px rgba(245, 212, 0, 0.7),  0 0 28px rgba(245, 212, 0, 0.3);

    --shadow:       0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-sm:    0 4px 16px rgba(0, 0, 0, 0.45);
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes amber-flicker {
    0%,  100% { opacity: 1;    text-shadow: var(--glow-lime); }
    42%        { opacity: 0.88; text-shadow: 0 0 5px rgba(120,191,28,0.35); }
    44%        { opacity: 1;    text-shadow: var(--glow-lime); }
    78%        { opacity: 0.93; text-shadow: 0 0 8px rgba(120,191,28,0.5); }
}

@keyframes fog-drift {
    0%, 100% { transform: translate(0, 0)    scale(1); }
    33%       { transform: translate(50px, -30px) scale(1.06); }
    66%       { transform: translate(-30px, 20px) scale(0.95); }
}

@keyframes electric-pulse {
    0%, 100% { box-shadow: var(--glow-lime); }
    50%       { box-shadow: 0 0 18px rgba(120,191,28,0.9), 0 0 40px rgba(120,191,28,0.45); }
}

@keyframes scan-terminal {
    0%   { top: -10%; }
    100% { top: 110%; }
}

@keyframes bio-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.65; }
}

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

html, body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

::selection { background: var(--lime); color: #000; }

a { color: var(--lime); text-decoration: none; transition: color 0.15s, text-shadow 0.15s; }
a:hover { color: var(--lime-bright); text-shadow: var(--glow-lime); }

strong { color: var(--lime-bright); font-weight: 700; }

code {
    font-family: 'Courier New', monospace;
    background: rgba(120, 191, 28, 0.08);
    border: 1px solid rgba(120, 191, 28, 0.2);
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 0.88em;
    color: var(--lime);
}

/* =====================================================
   Background — jungle fog
   ===================================================== */
.bg-jp {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Explorer body — lime green mist, bottom-left */
.bg-jp::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    bottom: -250px;
    left: -200px;
    background: radial-gradient(circle, rgba(80, 160, 10, 0.55) 0%, transparent 65%);
    filter: blur(100px);
    animation: fog-drift 20s ease-in-out infinite;
}

/* Explorer stripe — red glow, top-right */
.bg-jp::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(204, 51, 0, 0.28) 0%, transparent 65%);
    filter: blur(90px);
    animation: fog-drift 16s ease-in-out infinite reverse;
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(4, 12, 4, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-lime);
    box-shadow: 0 1px 30px rgba(120, 191, 28, 0.1);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--lime);
    text-shadow: var(--glow-lime);
    letter-spacing: 0.12em;
    white-space: nowrap;
    animation: amber-flicker 6s ease-in-out infinite;
}
.brand:hover {
    color: var(--lime-bright);
    text-shadow: 0 0 14px var(--lime-bright), 0 0 35px rgba(120,191,28,0.5);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* =====================================================
   Social links
   ===================================================== */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.social-link:hover {
    color: var(--lime);
    border-color: var(--border-lime);
    box-shadow: var(--glow-lime);
    background: rgba(120, 191, 28, 0.07);
    text-shadow: none;
}

.social-link svg { display: block; flex-shrink: 0; }

.nav-mobile-socials {
    display: flex;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(120, 191, 28, 0.15);
    margin-top: 0.25rem;
}

.nav-mobile-socials .social-link {
    width: 40px;
    height: 40px;
}

/* =====================================================
   Navigation
   ===================================================== */
.nav-links {
    display: flex;
    gap: 0;
}

.nav-links a {
    position: relative;
    padding: 0.45rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--lime);
    box-shadow: var(--glow-lime);
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--lime);
    text-shadow: none;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 80%; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-lime);
    cursor: pointer;
    padding: 7px 9px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-hamburger:hover { border-color: var(--lime); box-shadow: var(--glow-lime); }
.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-muted);
    transition: background 0.2s;
}
.nav-hamburger:hover span { background: var(--lime); }

/* Mobile menu */
.nav-mobile {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(4, 12, 4, 0.98);
    border-bottom: 1px solid var(--border-lime);
    display: flex;
    flex-direction: column;
    z-index: 99;
    box-shadow: 0 8px 30px rgba(120, 191, 28, 0.12);
}

.nav-mobile a {
    padding: 1rem 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(120, 191, 28, 0.1);
    transition: color 0.15s, background 0.15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--lime); background: rgba(120, 191, 28, 0.05); }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    border-top: 1px solid var(--border-lime);
    margin-top: 5rem;
    padding: 1.5rem;
    box-shadow: 0 -1px 20px rgba(120, 191, 28, 0.06);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* =====================================================
   Section containers & titles
   ===================================================== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '>>';
    color: var(--lime);
    text-shadow: var(--glow-lime);
    font-size: 1rem;
    letter-spacing: 0;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--lime), var(--jp-red), transparent);
    box-shadow: 0 0 8px rgba(120, 191, 28, 0.4);
    margin-left: 0.5rem;
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
    position: relative;
    padding: 7rem 1.5rem 5rem;
    overflow: hidden;
}

/* Electric fence grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 191, 28, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 191, 28, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Red stripe glow + lime body glow */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 80% 70%, rgba(204, 51, 0, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 40%, rgba(80, 160, 10, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-identity {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 1rem;
}

.hero-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--lime);
    box-shadow: 0 0 0 3px rgba(120, 191, 28, 0.2), var(--glow-lime);
    flex-shrink: 0;
}

.hero-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--lime);
    text-shadow: var(--glow-lime);
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: bio-pulse 3s ease-in-out infinite;
}

/* Glitch — kept as subtle amber chromatic aberration */
.glitch { position: relative; display: inline-block; }

.glitch::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: rgba(120, 191, 28, 0.35);
    transform: translate(-2px, 0);
    pointer-events: none;
    clip-path: inset(30% 0 50% 0);
}

.glitch::after { display: none; }

.hero-name-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-name-wrap::after { display: none; }

.hero-name-wrap::before { display: none; }

.hero-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--lime-light);
    text-shadow: var(--glow-lime);
    line-height: 1.0;
    margin-bottom: 0.5rem;
    animation: amber-flicker 8s ease-in-out infinite;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lime);
    text-shadow: var(--glow-lime);
    margin-bottom: 0.35rem;
}

.hero-location {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.contact-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(120, 191, 28, 0.3);
    transition: all 0.2s;
}

.contact-link::before { content: '↗  '; color: var(--lime); }

.contact-link:hover {
    color: var(--lime-bright);
    text-shadow: none;
    border-color: var(--lime);
    box-shadow: var(--glow-lime);
    background: rgba(120, 191, 28, 0.07);
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* =====================================================
   Skill badges
   ===================================================== */
.skill-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime);
    background: rgba(120, 191, 28, 0.08);
    border: 1px solid var(--border-lime);
    box-shadow: 0 0 8px rgba(120, 191, 28, 0.1);
    transition: all 0.2s;
}

.skill-badge:hover {
    background: rgba(120, 191, 28, 0.16);
    box-shadow: var(--glow-lime);
}

.skill-badge.secondary {
    color: var(--lime);
    background: rgba(120, 191, 28, 0.07);
    border-color: var(--border-lime);
    box-shadow: 0 0 8px rgba(120, 191, 28, 0.08);
}

.skill-badge.secondary:hover {
    background: rgba(120, 191, 28, 0.14);
    box-shadow: var(--glow-lime);
}

/* =====================================================
   About card & quick links
   ===================================================== */
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-lime);
    border-left: 3px solid var(--lime);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: -4px 0 20px rgba(120, 191, 28, 0.08), inset 0 0 30px rgba(120, 191, 28, 0.02);
    position: relative;
    overflow: hidden;
}

/* Hazard stripe accent — top edge */
.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--jp-yellow)    0px,
        var(--jp-yellow)    12px,
        #000                12px,
        #000                24px
    );
    opacity: 0.5;
}

.about-card p { color: var(--text); margin-bottom: 0.85rem; }
.about-card p:last-child { margin-bottom: 0; }

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1px;
    background: var(--border-lime);
    border: 1px solid var(--border-lime);
}

.ql-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    padding: 0.9rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.ql-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--lime), var(--jp-red));
    box-shadow: var(--glow-lime);
    transition: width 0.3s ease;
}

.ql-card:hover { background: var(--bg-card-alt); }
.ql-card:hover::before { width: 100%; }
.ql-card:hover .ql-label { color: var(--lime); text-shadow: var(--glow-lime); }

.ql-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    transition: all 0.2s;
}

.ql-sub {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-family: 'Courier New', monospace;
}

/* =====================================================
   Timeline (Experience)
   ===================================================== */
.timeline {
    position: relative;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--lime), var(--jp-red), transparent 90%);
    box-shadow: 0 0 10px rgba(120, 191, 28, 0.4);
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -1.25rem;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--lime);
    transform: rotate(45deg);
    box-shadow: var(--glow-lime);
    flex-shrink: 0;
    margin-left: 4px;
}

.timeline-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-lime);
    border-left: 2px solid var(--lime);
    padding: 1.5rem 1.75rem;
    box-shadow: -3px 0 16px rgba(120, 191, 28, 0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-card:hover {
    box-shadow: -4px 0 24px rgba(120, 191, 28, 0.16), inset 0 0 20px rgba(120, 191, 28, 0.03);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(120, 191, 28, 0.15);
}

.job-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.job-company {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--lime);
    text-shadow: 0 0 8px rgba(120,191,28,0.3);
    margin-top: 0.2rem;
}

.job-date {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.job-description {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.65;
}

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

/* =====================================================
   Accomplishments
   ===================================================== */
.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    gap: 1px;
    background: var(--border-lime);
    border: 1px solid var(--border-lime);
}

.accomplishment-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-card);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.accomplishment-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--lime), var(--jp-red));
    box-shadow: var(--glow-lime);
    transition: height 0.35s ease;
}

.accomplishment-card:hover { background: var(--bg-card-alt); }
.accomplishment-card:hover::before { height: 100%; }

.ac-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1.2;
    filter: drop-shadow(0 0 6px rgba(120, 191, 28, 0.4));
}

.ac-body h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    text-shadow: 0 0 10px rgba(120, 191, 28, 0.3);
    margin-bottom: 0.5rem;
}

.ac-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

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

/* =====================================================
   Game Dev
   ===================================================== */
.gamedev-card {
    background: var(--bg-card);
    border: 1px solid var(--border-lime);
    border-left: 3px solid var(--lime);
    padding: 2rem;
    box-shadow: -4px 0 20px rgba(120, 191, 28, 0.08), inset 0 0 30px rgba(120, 191, 28, 0.02);
    position: relative;
    overflow: hidden;
}

.gamedev-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--jp-yellow)    0px,
        var(--jp-yellow)    12px,
        #000                12px,
        #000                24px
    );
    opacity: 0.45;
}

.gamedev-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(120, 191, 28, 0.15);
}

.gamedev-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.gamedev-title a {
    color: var(--lime);
    text-shadow: var(--glow-lime);
    transition: color 0.2s, text-shadow 0.2s;
}
.gamedev-title a:hover {
    color: var(--lime-bright);
    text-shadow: 0 0 16px var(--lime-bright), 0 0 40px rgba(120,191,28,0.5);
}

.gamedev-subtitle {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Yellow wheel button */
.steam-btn {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000;
    background: var(--jp-yellow);
    border: 1px solid rgba(245, 212, 0, 0.8);
    box-shadow: var(--glow-yellow);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.steam-btn:hover {
    color: #000;
    background: #ffe033;
    box-shadow: 0 0 18px rgba(245,212,0,0.9), 0 0 40px rgba(245,212,0,0.4);
    text-shadow: none;
    transform: translateY(-1px);
}

.gamedev-card > p {
    color: var(--text);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.gamedev-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: rgba(120, 191, 28, 0.15);
    border: 1px solid rgba(120, 191, 28, 0.15);
    margin-bottom: 1.5rem;
}

.gamedev-section {
    background: var(--bg-card-alt);
    padding: 1.1rem 1.25rem;
    transition: background 0.2s;
}
.gamedev-section:hover { background: #111a0f; }

.gamedev-section h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
    text-shadow: 0 0 8px rgba(120,191,28,0.35);
    margin-bottom: 0.5rem;
}

.gamedev-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

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

/* =====================================================
   Education
   ===================================================== */
.edu-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    border-left: 3px solid var(--jp-red);
    padding: 2rem;
    max-width: 560px;
    box-shadow: -4px 0 20px rgba(204, 51, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--jp-yellow)    0px,
        var(--jp-yellow)    12px,
        #000                12px,
        #000                24px
    );
    opacity: 0.45;
}

.edu-icon { font-size: 2.4rem; flex-shrink: 0; }

.edu-degree {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.edu-school {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jp-red-bright);
    text-shadow: var(--glow-red);
    margin-bottom: 0.2rem;
}

.edu-date {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* =====================================================
   Blazor error + loading
   ===================================================== */
#blazor-error-ui {
    background: rgba(4, 12, 4, 0.97);
    border-top: 1px solid var(--lime);
    color: var(--lime);
    bottom: 0;
    box-shadow: 0 -4px 30px rgba(120, 191, 28, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 1rem; top: 0.5rem; }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: auto;
}
.loading-progress circle {
    fill: none;
    stroke: rgba(120, 191, 28, 0.15);
    stroke-width: 0.5rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}
.loading-progress circle:last-child {
    stroke: var(--lime);
    filter: drop-shadow(0 0 6px var(--lime));
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}
.loading-progress-text {
    position: absolute;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}
.loading-progress-text::after { content: var(--blazor-load-percentage-text, "LOADING"); }

/* =====================================================
   Home page — single viewport, no scroll
   ===================================================== */
.home-page {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 62px);
}

.home-page .hero {
    flex: 1;
    min-height: 0;
    padding: 2.5rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
}

.home-page .home-about {
    flex: 0 0 auto;
    padding: 0 1.5rem 1.5rem;
}

.home-page .section-title {
    margin-bottom: 1.25rem;
}

.home-page .about-card {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.home-page .about-card p {
    margin-bottom: 0.55rem;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 700px) {
    .nav-links   { display: none; }
    .nav-hamburger { display: flex; }

    .hero { padding: 4.5rem 1.25rem 3rem; }

    .accomplishments-grid { grid-template-columns: 1fr; }
    .accomplishment-card  { flex-direction: column; gap: 0.75rem; }

    .quick-links { grid-template-columns: 1fr; }

    .timeline::before { left: -0.5rem; }
    .timeline-marker  { left: calc(-1.25rem + 3px); }
    .job-header       { flex-direction: column; }

    .edu-card { flex-direction: column; gap: 1rem; }

    .footer-inner { flex-direction: column; gap: 0.25rem; }
}
