/* ===================================
   ABOUT PAGE â€” AURA FARM RPG EDITION
   =================================== */

/* Atmospheric overlays */
:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* CRT scanlines */
:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-scanlines {
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(var(--bg-primary-rgb), 0.03) 2px,
            rgba(var(--bg-primary-rgb), 0.03) 4px);
}

:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-vignette {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(var(--bg-primary-rgb), 0.7) 100%);
}


/* Cursor spotlight - follows mouse */
:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-cursor-spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(var(--text-primary-rgb), 0.035) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-cursor-spotlight.active {
    opacity: 1;
}

/* Floating dust particles */
:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

:is(.about-page, .gaming-page, .pro-page, .contact-page, .home-page) .about-ambient-orb {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}

.about-ambient-orb.orb-1 {
    top: 10%;
    left: -10%;
    background: radial-gradient(circle, rgba(var(--text-primary-rgb), 0.6), transparent 70%);
    animation: orbFloat1 15s ease-in-out infinite;
}

.about-ambient-orb.orb-2 {
    bottom: 20%;
    right: -10%;
    background: radial-gradient(circle, rgba(var(--text-primary-rgb), 0.4), transparent 70%);
    animation: orbFloat2 20s ease-in-out infinite;
}

.about-ambient-orb.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--text-primary-rgb), 0.15), transparent 70%);
    animation: orbPulse 10s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(80px, 50px);
    }

    66% {
        transform: translate(-30px, 80px);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-60px, -40px);
    }

    66% {
        transform: translate(40px, -70px);
    }
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.02;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.05;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ---- AURA COUNTER ---- */
.aura-counter {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(var(--bg-primary-rgb), 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--text-primary-rgb), 0.08);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.aura-counter:hover {
    border-color: rgba(var(--text-primary-rgb), 0.15);
}

.aura-counter.pulse {
    border-color: rgba(var(--text-primary-rgb), 0.3);
    box-shadow: 0 0 25px rgba(var(--text-primary-rgb), 0.08);
}

.aura-icon {
    font-size: 0.9rem;
    color: #fff;
    filter: drop-shadow(0 0 6px rgba(var(--text-primary-rgb), 0.3));
    animation: auraBurn 2s ease-in-out infinite;
}

@keyframes auraBurn {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.aura-info {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.aura-label {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    opacity: 0.5;
}

.aura-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(var(--text-primary-rgb), 0.2);
}

.aura-plus {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(var(--text-primary-rgb), 0.4);
}

.aura-plus.show {
    animation: auraPopUp 0.8s ease forwards;
}

@keyframes auraPopUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* ---- HERO ---- */
.about-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Animated Perspective Grid */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-grid-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image:
        linear-gradient(rgba(var(--text-primary-rgb), 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--text-primary-rgb), 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(400px) rotateX(60deg);
    transform-origin: center bottom;
    animation: gridScroll 8s linear infinite;
    mask-image: linear-gradient(to top, rgba(var(--bg-primary-rgb), 0.5) 0%, rgba(var(--bg-primary-rgb), 0.2) 30%, transparent 60%);
    -webkit-mask-image: linear-gradient(to top, rgba(var(--bg-primary-rgb), 0.5) 0%, rgba(var(--bg-primary-rgb), 0.2) 30%, transparent 60%);
}

.hero-grid-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(var(--text-primary-rgb), 0.06) 0%, transparent 70%);
    animation: heroOrbPulse 4s ease-in-out infinite;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 50px;
    }
}

@keyframes heroOrbPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) scaleX(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(var(--bg-primary-rgb), 0.9) 70%);
    z-index: 1;
}

/* Horizontal line removed per user request */

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* Glitch effect */
.glitch-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.glitch {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.1;
    color: var(--text-primary);
    text-shadow: 0 0 80px rgba(var(--text-primary-rgb), 0.1), 0 0 40px rgba(var(--text-primary-rgb), 0.05);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: heroNameReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s,
        heroBreathingGlow 4s ease-in-out infinite 1.8s;
}

@keyframes heroBreathingGlow {

    0%,
    100% {
        text-shadow: 0 0 80px rgba(var(--text-primary-rgb), 0.08), 0 0 40px rgba(var(--text-primary-rgb), 0.03);
    }

    50% {
        text-shadow: 0 0 120px rgba(var(--text-primary-rgb), 0.15), 0 0 60px rgba(var(--text-primary-rgb), 0.08), 0 0 200px rgba(var(--text-primary-rgb), 0.03);
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: var(--text-primary);
    animation: glitch1 4s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    color: var(--text-primary);
    animation: glitch2 4s infinite;
    clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitch1 {

    0%,
    92%,
    100% {
        opacity: 0;
        transform: translate(0);
    }

    93% {
        opacity: 0.8;
        transform: translate(3px, -2px);
    }

    94% {
        opacity: 0.8;
        transform: translate(-3px, 2px);
    }

    95% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes glitch2 {

    0%,
    96%,
    100% {
        opacity: 0;
        transform: translate(0);
    }

    97% {
        opacity: 0.8;
        transform: translate(-2px, 1px);
    }

    98% {
        opacity: 0.8;
        transform: translate(2px, -1px);
    }

    99% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes heroNameReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Class badge */
.hero-class-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    opacity: 0;
    animation: aboutFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
}

.class-badge {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border: 1px solid rgba(var(--text-primary-rgb), 0.4);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(var(--text-primary-rgb), 0.4);
}

.class-name {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.8;
}

.about-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease-out 1.5s backwards;
}

.about-hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(var(--text-primary-rgb), 0.2);
}

@keyframes aboutFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- CONTAINER & SECTIONS ---- */
.about-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.about-section {
    position: relative;
    margin-bottom: 8rem;
    padding-top: 4rem;
}

/* Reduced section gaps (30% smaller) for Professional, Gaming, and About pages */
.pro-page .about-section,
.gaming-page .about-section,
.about-page .about-section {
    margin-bottom: 5.6rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.3;
    text-shadow: 0 0 20px rgba(var(--text-primary-rgb), 0.15);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(var(--text-primary-rgb), 0.08);
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

/* ---- ORIGIN STORY (Bio) ---- */
.bio-lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-shadow: 0 0 40px rgba(var(--text-primary-rgb), 0.04);
}

.bio-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.bio-highlight-item {
    position: relative;
    text-align: center;
    padding: 2.5rem 1rem;
    border: 1px solid rgba(var(--text-primary-rgb), 0.06);
    border-radius: var(--radius-md);
    background: rgba(var(--text-primary-rgb), 0.01);
    overflow: hidden;
    cursor: default;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.bio-highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--text-primary-rgb), 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bio-highlight-item:hover {
    border-color: rgba(var(--text-primary-rgb), 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(var(--bg-primary-rgb), 0.5), 0 0 50px rgba(var(--text-primary-rgb), 0.03);
}

.bio-highlight-item:hover::before {
    opacity: 1;
}

.highlight-number {
    display: inline;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(var(--text-primary-rgb), 0.2), 0 0 80px rgba(var(--text-primary-rgb), 0.05);
}

.highlight-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.highlight-label {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Passive Abilities */
.bio-what-i-bring h3 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(var(--text-primary-rgb), 0.08);
}

.bio-what-i-bring ul {
    list-style: none;
    padding: 0;
}

.bio-what-i-bring li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease, transform 0.3s ease;
}

.bio-what-i-bring li:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.bio-what-i-bring li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(var(--text-primary-rgb), 0.15);
    border-radius: 2px;
    transform: rotate(45deg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.bio-what-i-bring li:hover::before {
    border-color: rgba(var(--text-primary-rgb), 0.5);
    background: rgba(var(--text-primary-rgb), 0.15);
    box-shadow: 0 0 12px rgba(var(--text-primary-rgb), 0.15);
}

/* ---- ABILITIES (RPG Stat Bars) ---- */
.stat-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.stat-bar-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-bar-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.stat-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.stat-name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-level {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.stat-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(var(--text-primary-rgb), 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(var(--text-primary-rgb), 0.3), rgba(var(--text-primary-rgb), 0.7));
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(var(--text-primary-rgb), 0.15), 0 0 30px rgba(var(--text-primary-rgb), 0.05);
}

.stat-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 12px;
    background: rgba(var(--text-primary-rgb), 0.9);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--text-primary-rgb), 0.5);
    opacity: 0;
    transition: opacity 0.3s ease 1.5s;
}

.stat-fill.animate::after {
    opacity: 1;
}

/* ---- ARSENAL (Tool Cards) ---- */
.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    perspective: 800px;
}

.arsenal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 1rem;
    border: 1px solid rgba(var(--text-primary-rgb), 0.06);
    border-radius: var(--radius-md);
    background: rgba(var(--text-primary-rgb), 0.01);
    text-align: center;
    cursor: default;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.arsenal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.arsenal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(var(--bg-primary-rgb), 0.5);
}

.arsenal-icon {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.arsenal-card:hover .arsenal-icon {
    color: var(--text-primary);
    transform: scale(1.1);
    text-shadow: 0 0 25px rgba(var(--text-primary-rgb), 0.3);
}

.arsenal-name {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.arsenal-rarity {
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid;
}

.rarity-epic {
    color: rgba(180, 130, 255, 0.8);
    border-color: rgba(180, 130, 255, 0.2);
    text-shadow: 0 0 10px rgba(180, 130, 255, 0.2);
}

.rarity-legendary {
    color: rgba(255, 180, 50, 0.8);
    border-color: rgba(255, 180, 50, 0.2);
    text-shadow: 0 0 10px rgba(255, 180, 50, 0.2);
}

.rarity-mythic {
    color: rgba(255, 80, 80, 0.8);
    border-color: rgba(255, 80, 80, 0.2);
    text-shadow: 0 0 10px rgba(255, 80, 80, 0.2);
}

.arsenal-card:hover .rarity-epic {
    box-shadow: 0 0 15px rgba(180, 130, 255, 0.1);
}

.arsenal-card:hover .rarity-legendary {
    box-shadow: 0 0 15px rgba(255, 180, 50, 0.1);
}

.arsenal-card:hover .rarity-mythic {
    box-shadow: 0 0 15px rgba(255, 80, 80, 0.1);
}

.arsenal-card:hover {
    border-color: rgba(var(--text-primary-rgb), 0.12);
}

/* ---- QUEST LOG (Timeline) ---- */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(var(--text-primary-rgb), 0.06), rgba(var(--text-primary-rgb), 0.03));
}

/* Glow trail that fills as you scroll */
.timeline::after {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    width: 3px;
    height: var(--timeline-progress, 0%);
    background: linear-gradient(180deg, rgba(var(--text-primary-rgb), 0.4), rgba(var(--text-primary-rgb), 0.15));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(var(--text-primary-rgb), 0.15), 0 0 20px rgba(var(--text-primary-rgb), 0.05);
    transition: height 0.3s ease;
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.3rem;
    width: 11px;
    height: 11px;
    border: 1.5px solid rgba(var(--text-primary-rgb), 0.25);
    border-radius: 50%;
    background: var(--bg-primary);
    z-index: 1;
    transition: all 0.4s ease;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.timeline-item:hover .timeline-marker {
    border-color: var(--text-primary);
    background: var(--text-primary);
    box-shadow: 0 0 20px rgba(var(--text-primary-rgb), 0.25), 0 0 40px rgba(var(--text-primary-rgb), 0.08);
}

.timeline-item:hover .timeline-marker::after {
    border-color: rgba(var(--text-primary-rgb), 0.1);
}

.timeline-content {
    position: relative;
    padding: 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(var(--text-primary-rgb), 0.06);
    background: rgba(var(--text-primary-rgb), 0.01);
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    transition: text-shadow 0.3s ease;
}

.timeline-item:hover .timeline-role {
    text-shadow: 0 0 20px rgba(var(--text-primary-rgb), 0.12);
}

.timeline-company {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.timeline-location {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.timeline-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 0.8rem;
}

.timeline-bullets li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    background: rgba(var(--text-primary-rgb), 0.25);
    border-radius: 50%;
}

/* Quest status badges */
.quest-status {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid;
}

.quest-active {
    color: rgba(100, 255, 100, 0.8);
    border-color: rgba(100, 255, 100, 0.2);
    text-shadow: 0 0 8px rgba(100, 255, 100, 0.2);
    animation: questPulse 2s ease-in-out infinite;
}

@keyframes questPulse {

    0%,
    100% {
        box-shadow: 0 0 0px rgba(100, 255, 100, 0);
    }

    50% {
        box-shadow: 0 0 12px rgba(100, 255, 100, 0.08);
    }
}

.quest-complete {
    color: rgba(var(--text-primary-rgb), 0.4);
    border-color: rgba(var(--text-primary-rgb), 0.1);
}

/* ---- TRAINING GROUNDS (Education) ---- */
.edu-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.edu-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0%;
    background: rgba(255, 255, 255, 0.4);
    transition: height 0.4s ease;
    border-radius: 1px;
}

.edu-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.edu-card:hover::before {
    height: 60%;
}

.edu-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding-top: 0.2rem;
    flex-shrink: 0;
    transition: text-shadow 0.3s ease;
}

.edu-card:hover .edu-icon {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.edu-info h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.edu-degree {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.edu-date {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.4;
    margin-bottom: 0.4rem;
}

.edu-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ---- SIDE QUESTS (Volunteering) ---- */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.volunteer-card {
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.volunteer-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-radius: 0 var(--radius-md) 0 0;
    transition: border-color 0.4s ease;
}

.volunteer-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.volunteer-card:hover::before {
    border-top-color: rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.2);
}

.volunteer-org {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.4;
    margin-bottom: 0.8rem;
}

.volunteer-card h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.volunteer-event {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.volunteer-date {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    opacity: 0.35;
    margin-bottom: 0.8rem;
}

.volunteer-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- CTA ---- */
.about-cta {
    position: relative;
    text-align: center;
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 600px;
    margin: 0 auto 1.2rem;
}

.cta-subtext {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.05);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button i {
    font-size: 0.75rem;
    transition: transform 0.4s ease;
}

.cta-button:hover i {
    transform: translateX(6px);
}

/* ---- SCROLL REVEAL STATES ---- */
.edu-card,
.volunteer-card,
.bio-highlight-item,
.bio-what-i-bring,
.about-cta,
.arsenal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease, box-shadow 0.4s ease;
}

.edu-card.revealed,
.volunteer-card.revealed,
.bio-highlight-item.revealed,
.bio-what-i-bring.revealed,
.about-cta.revealed,
.arsenal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 820px) {
    .about-container {
        padding: 0 1.5rem 3rem;
    }

    .about-section {
        margin-bottom: 5rem;
    }

    /* Reduced section gaps for Professional, Gaming, and About pages */
    .pro-page .about-section,
    .gaming-page .about-section,
    .about-page .about-section {
        margin-bottom: 3.5rem;
    }

    .bio-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .highlight-number {
        font-size: 1.8rem;
    }

    .arsenal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
    }

    .about-ambient-orb {
        width: 300px;
        height: 300px;
    }

    .about-ambient-orb.orb-3 {
        width: 500px;
        height: 500px;
    }

    .aura-counter {
        top: auto;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 600px) {
    /* Glitch responsive sizing moved to hero-standardization.css */

    .about-container {
        padding: 0 1.2rem 2rem;
    }

    .about-section {
        margin-bottom: 4rem;
    }

    /* Reduced section gaps for Professional, Gaming, and About pages */
    .pro-page .about-section,
    .gaming-page .about-section,
    .about-page .about-section {
        margin-bottom: 2.8rem;
    }

    .section-header {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .bio-highlights {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .bio-highlight-item {
        padding: 1.8rem 1rem;
    }

    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .arsenal-card {
        padding: 1.5rem 0.8rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .edu-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .volunteer-card {
        padding: 1.5rem;
    }

    .about-ambient-orb {
        display: none;
    }

    .aura-counter {
        top: auto;
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
    }

    .aura-value {
        font-size: 0.75rem;
    }
}

@media (max-width: 375px) {
    /* Glitch and hero role responsive sizing moved to hero-standardization.css */

    .bio-lead {
        font-size: 1rem;
    }

    .timeline-role {
        font-size: 0.95rem;
    }

    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   GAMING PAGE STYLES
   =================================== */

/* Featured Video */
.gaming-featured {
    margin-bottom: 8rem;
    padding-top: 2rem;
}

.featured-header {
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-display);
}

.video-container-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000;
    z-index: 2;
    border: 1px solid rgba(var(--text-primary-rgb), 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(var(--text-primary-rgb), 0.1), transparent 70%);
    z-index: 1;
    filter: blur(20px);
    pointer-events: none;
    animation: videoBreath 4s ease-in-out infinite;
}

@keyframes videoBreath {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Active Duty / Library */
.gaming-library {
    margin-bottom: 8rem;
}

.library-header {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-display);
}

.library-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(calc(var(--bg-primary-rgb) + 5), 0.5);
    border: 1px solid rgba(var(--text-primary-rgb), 0.05);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--text-primary-rgb), 0.2);
    box-shadow: 0 15px 40px rgba(var(--bg-primary-rgb), 0.6), 0 0 20px rgba(var(--text-primary-rgb), 0.05);
}

.game-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    background-color: rgba(var(--text-primary-rgb), 0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
    filter: brightness(1.1);
}

/* Game background gradients */
.bg-apex {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(239, 68, 68, 0.04));
}

.bg-arc {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(96, 165, 250, 0.04));
}

.bg-finals {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(192, 132, 252, 0.04));
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.game-status {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.game-status.active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.game-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.game-genre {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* The Armory / PC Specs */
.gaming-loadout {
    margin-bottom: 8rem;
}

.loadout-header {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-display);
}

.loadout-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 1rem;
}

.loadout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.loadout-category {
    background: rgba(calc(var(--bg-primary-rgb) + 5), 0.3);
    border: 1px solid rgba(var(--text-primary-rgb), 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.loadout-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--text-primary-rgb), 0.2), transparent);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    color: rgba(var(--text-primary-rgb), 0.5);
}

.gear-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gear-list li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(var(--text-primary-rgb), 0.08);
}

.gear-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gear-type {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.7;
}

.gear-model {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Loadout Animations */
.loadout-category {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.loadout-category:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--text-primary-rgb), 0.15);
}