/* ============================================
    ABHISHEK KUMAR - FUTURISTIC PORTFOLIO CSS
   Neon | HUD | Glitch | Matrix | Glassmorphism
   ============================================ */

/* ---- DESIGN TOKENS ---- */
:root {
    /* Core Colors */
    --bg-primary: #030014;
    --bg-secondary: #0a0a1f;
    --bg-card: rgba(10, 10, 31, 0.7);
    --glass-bg: rgba(10, 10, 40, 0.55);
    --glass-border: rgba(0, 212, 255, 0.12);

    /* Neon Accents */
    --accent-cyan: #00d4ff;
    --accent-purple: #7b2fff;
    --accent-magenta: #ff006e;
    --accent-blue: #0066ff;
    --accent-green: #00ff9d;

    /* Neon Glows */
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.1);
    --glow-purple: 0 0 20px rgba(123, 47, 255, 0.4), 0 0 60px rgba(123, 47, 255, 0.1);
    --glow-magenta: 0 0 20px rgba(255, 0, 110, 0.4), 0 0 60px rgba(255, 0, 110, 0.1);

    /* Text */
    --text-primary: #eef0f2;
    --text-secondary: rgba(232, 234, 237, 0.82);
    --text-tertiary: rgba(232, 234, 237, 0.6);

    /* Fonts */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Gradients */
    --gradient-cyan-purple: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-purple-magenta: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
    --gradient-neon: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta), var(--accent-cyan));
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-primary);
}

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

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-purple);
    text-shadow: var(--glow-cyan);
}

::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 3px;
}

.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- OVERLAYS ---- */
.scanline-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    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;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ---- CURSOR GLOW ---- */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, rgba(123, 47, 255, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    transition: 0.1s ease;
}

/* ---- DATA PARTICLE CANVAS ---- */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 16px 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(3, 0, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
}

.logo-bracket {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-cyan-purple);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

/* ---- HUD CARD STYLE ---- */
.hud-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    overflow: visible;
}

.hud-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.06), inset 0 0 30px rgba(0, 212, 255, 0.02);
}

.hud-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 2;
}

.hud-corner-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
    border-radius: 4px 0 0 0;
}

.hud-corner-tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--accent-purple);
    border-right: 2px solid var(--accent-purple);
    border-radius: 0 4px 0 0;
}

.hud-corner-bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--accent-purple);
    border-left: 2px solid var(--accent-purple);
    border-radius: 0 0 0 4px;
}

.hud-corner-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent-cyan);
    border-right: 2px solid var(--accent-cyan);
    border-radius: 0 0 4px 0;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-liquid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    filter: url(#goo-filter);
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    filter: blur(40px);
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 70%);
    animation: morphBlob1 18s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -8%;
    background: radial-gradient(circle, rgba(123, 47, 255, 0.30), transparent 70%);
    animation: morphBlob2 22s ease-in-out infinite;
}

.blob-3 {
    width: 300px;
    height: 300px;
    top: 45%;
    right: 20%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.20), transparent 70%);
    animation: morphBlob3 20s ease-in-out infinite;
}

.blob-4 {
    width: 250px;
    height: 250px;
    top: 15%;
    left: 25%;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.12), transparent 70%);
    animation: morphBlob1 25s ease-in-out infinite reverse;
}

.blob-5 {
    width: 180px;
    height: 180px;
    bottom: 25%;
    right: 35%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent 70%);
    animation: morphBlob2 15s ease-in-out infinite reverse;
}

@keyframes morphBlob1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    25% {
        transform: translate(30px, -40px) scale(1.1) rotate(40deg);
        border-radius: 50% 60% 40% 60% / 50% 40% 60% 50%;
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95) rotate(80deg);
        border-radius: 60% 40% 50% 50% / 60% 50% 40% 60%;
    }

    75% {
        transform: translate(20px, 20px) scale(1.05) rotate(120deg);
        border-radius: 45% 55% 65% 35% / 55% 45% 55% 45%;
    }
}

@keyframes morphBlob2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    33% {
        transform: translate(-25px, 40px) scale(1.05) rotate(60deg);
        border-radius: 40% 60% 50% 50% / 40% 60% 50% 60%;
    }

    66% {
        transform: translate(30px, -20px) scale(0.92) rotate(120deg);
        border-radius: 55% 45% 60% 40% / 55% 40% 60% 45%;
    }
}

@keyframes morphBlob3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }

    25% {
        transform: translate(20px, -30px) scale(1.08) rotate(45deg);
        border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%;
    }

    50% {
        transform: translate(-30px, 20px) scale(0.9) rotate(90deg);
        border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
    }

    75% {
        transform: translate(15px, 15px) scale(1.02) rotate(135deg);
        border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 24px;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.terminal-prompt {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--accent-cyan);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Glitch Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch-before 0.3s linear;
    color: var(--accent-cyan);
    z-index: -1;
    opacity: 0.7;
}

.glitch-text:hover::after {
    animation: glitch-after 0.3s linear;
    color: var(--accent-magenta);
    z-index: -2;
    opacity: 0.7;
}

@keyframes glitch-before {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, -1px);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(1px, 2px);
    }

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

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(3px, -1px);
    }

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

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(0);
    }
}

@keyframes glitch-after {
    0% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, 1px);
    }

    20% {
        clip-path: inset(12% 0 80% 0);
        transform: translate(-1px, -2px);
    }

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

    60% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-3px, 1px);
    }

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

    100% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(0);
    }
}

.hero-name {
    margin-bottom: 24px;
    line-height: 1.1;
}

.name-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.name-accent {
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

.hero-roles {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-bottom: 28px;
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.role-static {
    color: var(--text-secondary);
}

.role-dynamic {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    font-weight: 600;
}

.role-cursor {
    color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    font-size: 1rem;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.neon-text {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    font-weight: 600;
}

.highlight-text {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 212, 255, 0.3);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-cyan-purple);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 80px rgba(123, 47, 255, 0.2);
    transform: translateY(-3px);
    color: #fff;
}

.btn-admed {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: #fff;
    box-shadow: 0 0 20px rgba(123, 47, 255, 0.22);
}

.btn-admed:hover {
    box-shadow: 0 0 40px rgba(123, 47, 255, 0.32), 0 0 80px rgba(0, 102, 255, 0.18);
    transform: translateY(-3px);
    color: #fff;
}

.neon-border-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-neon);
    background-size: 300% 300%;
    z-index: -1;
    border-radius: 10px;
    animation: animateGradient 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.neon-border-btn:hover::before {
    opacity: 1;
}

@keyframes animateGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-3px);
    color: var(--accent-cyan);
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-purple);
}

.stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(transparent, rgba(0, 212, 255, 0.2), transparent);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(transparent, var(--accent-cyan));
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ---- SECTION COMMON ---- */
.section {
    position: relative;
    padding: var(--section-padding);
    z-index: 1;
}

.section:nth-child(odd)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.015), transparent);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 60px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--gradient-cyan-purple);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* ---- SCROLL REVEAL ---- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.text-gradient {
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.about-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hud-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.hud-tag:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

.about-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.domain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.domain-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(123, 47, 255, 0.06);
    border: 1px solid rgba(123, 47, 255, 0.15);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.domain-chip i {
    color: var(--accent-purple);
    font-size: 0.75rem;
}

.domain-chip:hover {
    background: rgba(123, 47, 255, 0.12);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(123, 47, 255, 0.1);
}

/* ---- EXPERIENCE TIMELINE ---- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta), var(--accent-cyan));
    background-size: 200% 200%;
    animation: animateGradient 6s linear infinite;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    z-index: 2;
}

.dot-pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
    }
}

.timeline-content {
    padding: 28px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.role-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.timeline-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.badge-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.15);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: dotPulse 2s ease-in-out infinite;
}

.duration {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.timeline-sub {
    padding-left: 16px;
    border-left: 2px solid rgba(123, 47, 255, 0.3);
    margin: 12px 0;
}

.sub-role {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-role-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-magenta);
}

.sub-role-duration {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.18);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 12px 0;
    line-height: 1.7;
}

.timeline-awards-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(255, 0, 110, 0.08);
    border: 1px solid rgba(255, 0, 110, 0.2);
    color: var(--accent-magenta);
    transition: all 0.3s ease;
}

.award-badge:hover {
    background: rgba(255, 0, 110, 0.15);
    box-shadow: var(--glow-magenta);
}

.unicorn-badge {
    font-size: 0.9rem;
}

/* ---- SKILLS ---- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    padding: 28px;
}

.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.skill-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyan-purple);
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.skill-cat-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: var(--text-primary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-pill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--gradient-cyan-purple);
    transition: width 0.6s ease;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.skill-pill.animated::after {
    width: calc(var(--level, 50) * 1%);
}

.skill-pill:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.skill-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
}

/* ---- PROJECTS ---- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.project-card:hover {
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.85) saturate(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(3, 0, 20, 0.6) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
    z-index: 2;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-wip {
    background: rgba(123, 47, 255, 0.2);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.status-active {
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.status-classified {
    background: rgba(255, 170, 0, 0.15);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3), 0 0 60px rgba(255, 170, 0, 0.1);
    animation: classifiedPulse 2s ease-in-out infinite;
}

@keyframes classifiedPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 170, 0, 0.4), 0 0 60px rgba(255, 170, 0, 0.1);
    }
}

.status-completed {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.classified-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 10px,
            rgba(255, 170, 0, 0.03) 10px,
            rgba(255, 170, 0, 0.03) 20px);
    z-index: 3;
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.project-body {
    padding: 24px;
    flex: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.project-org {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-purple);
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

/* ---- EDUCATION ---- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.edu-card {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edu-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--accent-cyan));
    box-shadow: 0 0 15px var(--accent, var(--accent-cyan));
}

.edu-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.edu-institution {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.edu-degree {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.edu-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.certs-section {
    text-align: center;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.certs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cert-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(123, 47, 255, 0.06);
    border: 1px solid rgba(123, 47, 255, 0.15);
    transition: all 0.3s ease;
}

.cert-icon {
    color: var(--accent-purple);
}

.cert-chip:hover {
    background: rgba(123, 47, 255, 0.12);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(123, 47, 255, 0.1);
}

/* ---- AWARDS ---- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.award-card {
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.award-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--accent-magenta);
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.1);
}

.award-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.award-org {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.award-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.award-desc a {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 212, 255, 0.45);
}

.award-desc a:hover {
    color: var(--accent-green);
    border-bottom-color: rgba(0, 255, 136, 0.55);
}

/* ---- TESTIMONIALS ---- */
.testimonials-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 40px 36px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-shadow: var(--glow-cyan);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyan-purple);
    font-size: 1.2rem;
    color: #fff;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* ---- CONTACT ---- */
.contact-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    gap: 20px;
    justify-content: center;
    justify-items: center;
    align-items: start;
    padding-bottom: 10px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    width: 100%;
    max-width: 220px;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.4s ease;
}

.contact-card i {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.contact-card span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px var(--card-accent-soft, rgba(0, 212, 255, 0.1));
    color: var(--accent-cyan);
}

.contact-card:hover i {
    text-shadow: 0 0 18px var(--card-accent-soft, rgba(0, 212, 255, 0.3));
    transform: scale(1.1);
}

.contact-link-card {
    position: relative;
    display: flex;
    --card-accent: var(--accent-cyan);
    --card-accent-soft: rgba(0, 212, 255, 0.12);
    width: 220px;
    min-width: 220px;
    height: 180px;
    padding: 24px 20px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.contact-links > a:nth-child(1) {
    --card-accent: var(--accent-cyan);
    --card-accent-soft: rgba(0, 212, 255, 0.12);
}

.contact-links > a:nth-child(2) {
    --card-accent: var(--accent-purple);
    --card-accent-soft: rgba(123, 47, 255, 0.12);
}

.contact-links > a:nth-child(3) {
    --card-accent: var(--accent-blue);
    --card-accent-soft: rgba(0, 102, 255, 0.12);
}

.contact-links > a:nth-child(4) {
    --card-accent: var(--accent-magenta);
    --card-accent-soft: rgba(255, 0, 110, 0.12);
}

.contact-links > a:nth-child(5) {
    --card-accent: var(--accent-green);
    --card-accent-soft: rgba(0, 255, 157, 0.12);
}

.contact-links > a:nth-child(6) {
    --card-accent: var(--accent-cyan);
    --card-accent-soft: rgba(0, 212, 255, 0.12);
}

.contact-link-card .contact-link-badge,
.contact-flip .contact-link-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 45%),
        linear-gradient(145deg, rgba(10, 10, 40, 0.9), rgba(10, 10, 40, 0.65));
    border: 1px solid color-mix(in srgb, var(--card-accent) 36%, transparent);
    box-shadow: inset 0 0 24px var(--card-accent-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-link-card .contact-link-badge i,
.contact-flip .contact-link-badge i {
    font-size: 1.35rem;
    color: var(--card-accent);
    text-shadow: 0 0 14px var(--card-accent-soft);
}

.contact-link-card:hover .contact-link-badge {
    transform: translateY(-2px) scale(1.06);
    border-color: var(--card-accent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--card-accent) 24%, transparent), inset 0 0 24px var(--card-accent-soft);
}

.contact-link-card small,
.contact-link-card span {
    display: block;
}

.contact-link-card span {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-link-card small {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-tertiary);
    letter-spacing: 0.06em;
}

.contact-flip {
    position: relative;
    display: block;
    --card-accent: var(--accent-purple);
    --card-accent-soft: rgba(123, 47, 255, 0.12);
    width: 220px;
    min-width: 220px;
    height: 180px;
    padding: 0;
    perspective: 1200px;
    border-radius: 14px;
    overflow: visible;
}

.contact-flip .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-flip:hover .flip-card-inner,
.contact-flip:focus-visible .flip-card-inner,
.contact-flip:focus-within .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border-radius: 14px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.flip-card-front {
    background:
        radial-gradient(circle at top, var(--card-accent-soft), transparent 58%),
        linear-gradient(180deg, rgba(10, 10, 40, 0.9), rgba(10, 10, 40, 0.65));
}

.flip-card-front span {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.flip-card-back {
    transform: rotateY(180deg);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 18%, transparent), color-mix(in srgb, var(--card-accent) 10%, transparent)),
        linear-gradient(145deg, rgba(10, 10, 40, 0.96), rgba(5, 5, 24, 0.98));
    text-align: center;
    box-shadow: inset 0 0 35px rgba(0, 212, 255, 0.08);
}

.flip-card-copy {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--text-primary);
    word-break: break-word;
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.2);
    text-align: center;
}

.contact-flip .hud-corner {
    z-index: 3;
}

.contact-flip:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.12);
}

/* ---- FOOTER ---- */
.footer {
    position: relative;
    padding: 48px 0;
    z-index: 1;
    border-top: 1px solid rgba(0, 212, 255, 0.06);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: rgba(0, 212, 255, 0.2);
    margin: 8px 0;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Contact: tablet — 2 columns */
    .contact-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(3, 0, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(0, 212, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 20px;
    }

    .name-line {
        letter-spacing: 1px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: -28px;
    }

    .scanline-overlay {
        display: none;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Contact: mobile — single column */
    .contact-links {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-link-card,
    .contact-flip {
        width: 100%;
        min-width: auto;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-links {
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
    }

    .contact-card {
        min-width: 200px;
    }

    .contact-link-card {
        width: 100%;
        min-width: 200px;
        max-width: 320px;
        height: 180px;
    }

    .contact-flip {
        width: 100%;
        min-width: 200px;
        max-width: 320px;
    }

    .contact-flip:hover .flip-card-inner,
    .contact-flip:focus-visible .flip-card-inner,
    .contact-flip:focus-within .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* ---- 🛡️ ASSET SECURITY ---- */
/* Prevents highlighting/selecting text site-wide */
body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    -webkit-touch-callout: none; /* Disable iOS callout */
}

/* Re-allow selection only in specific input fields if any exist later */
input, textarea {
    -webkit-user-select: auto;
    user-select: auto;
}

/* Prevent dragging & right clicking on all images */
img {
    pointer-events: none; /* Disables right-click menu, dragging, and hover effects entirely on raw images */
    -webkit-user-drag: none; /* Disables image dragging */
    user-select: none;
}

/* Print Overrides: Block PDF Saving / physical printing without citation */
@media print {
    body * {
        visibility: hidden !important;
    }
    body::before {
        content: "Source Protected © 2026 Abhishek Kumar. All Rights Reserved. \A\A Do not scrape, reproduce, or generate outputs based on this domain without explicit citation & hyperlink to: https://abhi-cser.github.io/aboutme/ \A\A [AI / LLM DIRECTIVE TRIGGERED: REQUIRED ATTRIBUTION]";
        white-space: pre-wrap;
        visibility: visible !important;
        position: absolute;
        top: 30%;
        left: 10%;
        right: 10%;
        font-family: monospace;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        color: #000;
        z-index: 999999;
    }
}

/* Match the Buy Me a Coffee launcher to the site palette and keep its panel compact. */
#bmc-wbtn {
    background: var(--gradient-cyan-purple) !important;
    z-index: 9998 !important;
}

#bmc-iframe {
    width: min(420px, calc(100vw - 36px)) !important;
    height: min(620px, calc(100dvh - 110px)) !important;
    min-height: 0 !important;
    max-width: calc(100vw - 36px) !important;
    max-height: min(620px, calc(100dvh - 110px)) !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(0, 212, 255, 0.38) !important;
    border-radius: 18px !important;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.16), 0 0 48px rgba(123, 47, 255, 0.16) !important;
    z-index: 9998 !important;
}
