/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent any content from exceeding viewport width */
img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* ============================================
   COMPLETE SCROLLING SYSTEM REDESIGN
   ============================================ */

html {
    /* Lock to viewport: no overflow, full width/height */
    scroll-behavior: smooth !important;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-top: var(--header-h);
    height: 100%;
    width: 100%;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Force smooth scrolling on all elements */
* {
    scroll-behavior: smooth !important;
}

/* Smooth scrolling for all anchor links */
a[href^="#"] {
    scroll-behavior: smooth !important;
    cursor: pointer;
}

/* Scrollbar styling for modern browsers */
html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid rgba(74, 158, 255, 0.1);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(
        to bottom,
        rgba(74, 158, 255, 0.4),
        rgba(139, 126, 200, 0.4)
    );
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
    transition: background 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        to bottom,
        rgba(74, 158, 255, 0.6),
        rgba(139, 126, 200, 0.6)
    );
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 158, 255, 0.4) var(--bg-primary);
}

:root {
    /* Viewport-based layout: site adapts to screen width and height */
    --header-h: 80px;
    --section-min-h: calc(100vh - var(--header-h));
    --section-min-h-dynamic: calc(100dvh - var(--header-h));
    --safe-w: min(100vw, 100%);
    --safe-h: 100dvh;
    --safe-h-fallback: 100vh;

    /* Color-Blind Friendly & Eye-Comfortable Colors */
    --primary-color: #4a9eff;        /* Muted blue - less bright */
    --primary-dark: #3a7fcc;
    --accent-cyan: #5ab3d6;          /* Softer cyan */
    --accent-blue: #6b8dd6;          /* Accessible blue */
    --accent-yellow: #d4af37;        /* Gold/yellow for contrast */
    --accent-purple: #8b7ec8;         /* Muted purple */
    
    /* Blue background – one consistent blue for entire site */
    --bg-primary: #0d1525;
    --bg-secondary: #111c32;
    --bg-card: rgba(17, 28, 50, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.02);
    
    /* Text Colors - High Contrast for Dark Mode Readability */
    --text-primary: #f8fafc;         /* Very light grey-white for excellent readability */
    --text-secondary: #e2e8f0;       /* Light grey for secondary text */
    --text-muted: #cbd5e1;          /* Medium light grey for muted text */
    
    /* Borders & Shadows - Reduced Brightness */
    --border-color: rgba(74, 158, 255, 0.15);      /* Much more muted */
    --border-glow: rgba(74, 158, 255, 0.25);       /* Reduced glow */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 15px rgba(74, 158, 255, 0.15);  /* Much reduced glow */
    --transition: all 0.3s ease;
}


/* Dark mode text improvements */
body {
    color: var(--text-primary);
}

/* Ensure paragraphs and body text are readable */
p, li, span, div {
    color: var(--text-primary);
}

/* Headings should use primary text color */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: linear-gradient(180deg, #0d1525 0%, #0f1a2e 50%, #0d1525 100%);
    background-attachment: fixed;
    min-height: var(--safe-h-fallback);
    min-height: var(--safe-h);
    height: auto;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    transition: filter 0.3s ease, background-image 1s ease, background-color 0.5s ease, color 0.5s ease;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
}


/* Interactive Live Animated Background for Dark Mode */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(74, 158, 255, 0.08) 30px,
            rgba(74, 158, 255, 0.08) 32px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(74, 158, 255, 0.08) 30px,
            rgba(74, 158, 255, 0.08) 32px
        ),
        linear-gradient(90deg, transparent 0%, rgba(74, 158, 255, 0.15) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(90, 179, 214, 0.12) 50%, transparent 100%),
        radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.2) 0%, transparent 4%),
        radial-gradient(circle at 80% 70%, rgba(139, 126, 200, 0.18) 0%, transparent 4%),
        radial-gradient(circle at 50% 50%, rgba(74, 158, 255, 0.15) 0%, transparent 5%),
        radial-gradient(circle at 30% 80%, rgba(90, 179, 214, 0.16) 0%, transparent 4%),
        radial-gradient(circle at 70% 20%, rgba(74, 158, 255, 0.14) 0%, transparent 4%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
    animation: interactiveGrid 20s ease-in-out infinite, nodePulse 8s ease-in-out infinite;
}

@keyframes interactiveGrid {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

@keyframes nodePulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

/* Live Interactive Data Streams for Dark Mode */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 4px,
            rgba(74, 158, 255, 0.1) 4px,
            rgba(74, 158, 255, 0.1) 6px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 12px,
            rgba(139, 126, 200, 0.08) 12px,
            rgba(139, 126, 200, 0.08) 14px
        ),
        linear-gradient(45deg, 
            transparent 0%,
            rgba(74, 158, 255, 0.1) 20%,
            transparent 40%,
            rgba(90, 179, 214, 0.08) 60%,
            transparent 80%,
            rgba(74, 158, 255, 0.1) 100%
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    animation: dataStreamFlow 18s linear infinite, streamPulse 6s ease-in-out infinite;
}

@keyframes dataStreamFlow {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    25% {
        transform: translateY(50px) translateX(30px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(100px) translateX(0);
        opacity: 0.6;
    }
    75% {
        transform: translateY(150px) translateX(-30px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(200px) translateX(0);
        opacity: 0.5;
    }
}

@keyframes streamPulse {
    0%, 100% {
        filter: brightness(1) hue-rotate(0deg);
    }
    50% {
        filter: brightness(1.2) hue-rotate(10deg);
    }
}


/* Background AI Robots Styling */
.background-ai-robot {
    display: inline-block;
    text-align: center;
    line-height: 1;
    user-select: none;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Live Snow Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.4);
    animation: snowfall linear infinite;
    user-select: none;
    will-change: transform, opacity;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 20px)) translateX(var(--drift, 0px)) rotate(720deg);
        opacity: 0;
    }
}

/* Different snowflake sizes and speeds for realistic effect */
.snowflake-small {
    font-size: 0.7em;
    animation-duration: 12s;
    opacity: 0.7;
}

.snowflake-medium {
    font-size: 1em;
    animation-duration: 18s;
    opacity: 0.8;
}

.snowflake-large {
    font-size: 1.4em;
    animation-duration: 25s;
    opacity: 0.9;
}

.snowflake-extra-large {
    font-size: 1.8em;
    animation-duration: 35s;
    opacity: 1;
}

/* Snowflakes naturally drift with wind effect */
.snowflake {
    animation-timing-function: linear;
}

.main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
    overflow: visible;
    width: 100%;
    max-width: 100%;
    
    /* Smooth scroll snap: sections behave like pages on any screen size */
    scroll-snap-type: y proximity;
}

/* Section scroll snap points – each section snaps into view (viewport pagination) */
section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    scroll-margin-top: 80px; /* Account for sticky header */
    min-width: 0; /* Prevent overflow on narrow viewports */
}

/* AI Background Animated Elements - Reduced Brightness */
/* Live Interactive Neural Network for Dark Mode */
.main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Interactive Neural Network Nodes */
        radial-gradient(circle at 15% 25%, rgba(74, 158, 255, 0.15) 0%, transparent 6%),
        radial-gradient(circle at 85% 75%, rgba(139, 126, 200, 0.14) 0%, transparent 6%),
        radial-gradient(circle at 50% 50%, rgba(74, 158, 255, 0.12) 0%, transparent 8%),
        radial-gradient(circle at 25% 80%, rgba(90, 179, 214, 0.13) 0%, transparent 6%),
        radial-gradient(circle at 75% 20%, rgba(74, 158, 255, 0.11) 0%, transparent 7%),
        radial-gradient(circle at 10% 60%, rgba(139, 126, 200, 0.1) 0%, transparent 5%),
        radial-gradient(circle at 90% 40%, rgba(90, 179, 214, 0.12) 0%, transparent 6%);
    pointer-events: none;
    z-index: 0;
    animation: aiNodesPulse 10s ease-in-out infinite, nodeFloat 15s ease-in-out infinite;
    filter: blur(45px);
    opacity: 0.8;
}

@keyframes aiNodesPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes nodeFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(20px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 30px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* AI Connection Lines - Much More Subtle */
.main::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Subtle connection lines */
        linear-gradient(
            45deg,
            transparent 30%,
            rgba(74, 158, 255, 0.03) 50%,
            transparent 70%
        ),
        linear-gradient(
            -45deg,
            transparent 30%,
            rgba(74, 158, 255, 0.025) 50%,
            transparent 70%
        ),
        linear-gradient(
            135deg,
            transparent 40%,
            rgba(139, 126, 200, 0.02) 50%,
            transparent 60%
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
    animation: connectionFlow 10s linear infinite;
    background-size: 200% 200%;
}

@keyframes connectionFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.container {
    max-width: min(1200px, 100vw);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    width: 100%;
    box-sizing: border-box;
}


/* Header Styles */
.header {
    background: rgba(5, 5, 16, 0.85);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 217, 255, 0.1);
    transition: background 0.5s ease, border-color 0.5s ease;
}



.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.3);
    letter-spacing: -0.5px;
}

.nav-brand a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 12px rgba(74, 158, 255, 0.4);
    transform: scale(1.05);
}

/* SG brand logo - circle, glow, pop in/out */
.nav-brand a.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 50%;
    border: 2px solid rgba(74, 158, 255, 0.6);
    background: rgba(74, 158, 255, 0.12);
    box-shadow:
        0 0 12px rgba(74, 158, 255, 0.5),
        0 0 24px rgba(74, 158, 255, 0.3),
        inset 0 0 12px rgba(74, 158, 255, 0.15);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.08em;
    animation: brandLogoPop 2.5s ease-in-out infinite;
}

.nav-brand a.brand-logo:hover {
    border-color: rgba(74, 158, 255, 0.9);
    box-shadow:
        0 0 20px rgba(74, 158, 255, 0.7),
        0 0 40px rgba(74, 158, 255, 0.4),
        inset 0 0 16px rgba(74, 158, 255, 0.2);
    animation: none;
    transform: scale(1.08);
}

/* Section buttons bar – separate from header: Technical Skills, Conferences, System Health */
.section-buttons-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
}
.section-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(17, 28, 50, 0.5);
    border: 1px solid rgba(74, 158, 255, 0.25);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.section-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(74, 158, 255, 0.15);
    box-shadow: 0 0 12px rgba(74, 158, 255, 0.3);
}

@keyframes brandLogoPop {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(74, 158, 255, 0.5), 0 0 24px rgba(74, 158, 255, 0.3), inset 0 0 12px rgba(74, 158, 255, 0.15);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 20px rgba(74, 158, 255, 0.7), 0 0 36px rgba(74, 158, 255, 0.4), inset 0 0 14px rgba(74, 158, 255, 0.2);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-actions .nav-menu {
    margin: 0;
    padding: 0;
}

/* Theme Toggle Switch Styles */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    text-shadow: 0 0 6px rgba(74, 158, 255, 0.4);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    box-shadow: 0 0 6px rgba(74, 158, 255, 0.4);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 4px rgba(74, 158, 255, 0.3);
}

/* Hero Section - Full first page (Sasi Gunturu + subtitle = complete home), blue to match site */
.hero {
    background: linear-gradient(135deg, rgba(13, 21, 37, 0.98) 0%, rgba(74, 158, 255, 0.06) 40%, rgba(15, 26, 46, 0.98) 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(74, 158, 255, 0.2);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(74, 158, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(90, 179, 214, 0.08) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw + 1rem, 3.5rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 1.5vh, 1rem);
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb347 35%, #ffd93d 70%, #ffb347 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 179, 71, 0.3)) drop-shadow(0 0 35px rgba(255, 107, 107, 0.3));
    animation: titleFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes titleFadeIn {
    to {
        opacity: 1;
    }
}

/* Sasi Gunturu - minimal glow (no pulse) */
.hero-title::before {
    display: none;
}

/* Combined floating, rotating, and scaling animation */
@keyframes titleFloatRotateScale {
    0%, 100% {
        transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) translateZ(10px) rotateX(3deg) rotateY(5deg) rotateZ(2deg) scale(1.03);
    }
    50% {
        transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(10deg) rotateZ(0deg) scale(1);
    }
    75% {
        transform: translateY(10px) translateZ(-5px) rotateX(-3deg) rotateY(5deg) rotateZ(-2deg) scale(0.98);
    }
}


.hero-title::after {
    display: none;
}



/* Removed titleGlow animation - static glow only */


@keyframes titleGlowPulse {
    0%, 100% {
        opacity: 0.2;
        filter: blur(15px);
    }
    50% {
        opacity: 0.3;
        filter: blur(18px);
    }
}

/* Removed titleAuraColorShift - static aura only */


@keyframes titleAura {
    0%, 100% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

/* Title emerging from background - simplified and faster */
@keyframes titleEmergeFromBackground {
    0% {
        opacity: 0;
        transform: translateZ(-1000px) scale(0.5);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateZ(-200px) scale(0.95);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateZ(0) scale(1);
         filter: blur(0px) drop-shadow(0 0 8px rgba(0, 255, 255, 0.5))
                drop-shadow(0 0 16px rgba(0, 128, 255, 0.4))
                drop-shadow(0 0 24px rgba(128, 0, 255, 0.3))
                drop-shadow(0 0 32px rgba(255, 0, 255, 0.25));
    }
}

/* Removed titleColorShift - static gradient only */


/* 3D rotation animation */
@keyframes titleRotate3D {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: rotateX(5deg) rotateY(5deg) rotateZ(2deg);
    }
    50% {
        transform: rotateX(0deg) rotateY(10deg) rotateZ(0deg);
    }
    75% {
        transform: rotateX(-5deg) rotateY(5deg) rotateZ(-2deg);
    }
}

/* Scale pulse animation */
@keyframes titleScalePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Simplified floating animation - reduced movement */
@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mini Robot Styling */
.mini-robot {
    display: inline-block;
    text-align: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.title-robots-container {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}


.hero-subtitle {
    font-size: clamp(0.875rem, 2vw + 0.5rem, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb347 35%, #ffd93d 70%, #ffb347 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 16px rgba(255, 179, 71, 0.3)) drop-shadow(0 0 28px rgba(255, 107, 107, 0.3));
    animation: titleFadeIn 0.6s ease-out 0.4s forwards;
    opacity: 0;
    display: block;
}

/* Technical Skills Section - Compact Scrolling Animation */
.skills-section {
    padding: 2rem 0 2.5rem 0;
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
    background: transparent;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: flex-start;
}

.skills-section .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 1280px;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 217, 255, 0.08) 50%,
            transparent 100%
        );
    pointer-events: none;
    animation: aiPulse 4s ease-in-out infinite;
}

.skills-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 217, 255, 0.03) 2px,
            rgba(0, 217, 255, 0.03) 4px
        );
    pointer-events: none;
    opacity: 0.5;
}

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

.skills-title-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.skills-title-row .skills-title {
    margin-bottom: 0;
}

.btn-view-skills-list {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    min-height: 22px;
    min-width: 52px;
    border-radius: 4px;
    border: 1px solid rgba(255, 179, 71, 0.5);
    background: rgba(255, 179, 71, 0.12);
    color: #ffb347;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view-skills-list:hover {
    background: rgba(255, 179, 71, 0.25);
    border-color: rgba(255, 179, 71, 0.7);
}

.skills-scroll-zone {
    position: relative;
    margin-bottom: 0;
}

.skills-inline-list {
    display: none;
    margin-top: 0.5rem;
    padding: 0.75rem 0;
    border-radius: 10px;
    background: rgba(18, 20, 32, 0.6);
    border: 1px solid rgba(255, 179, 71, 0.2);
}

.skills-overlay-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem 1rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.skills-inline-list .skill-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    color: #e8e8e8;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.skills-inline-list a.skill-list-item {
    color: inherit;
}

.skills-inline-list a.skill-list-item:hover {
    color: inherit;
}

.skills-inline-list .skill-list-item:hover {
    background: rgba(255, 179, 71, 0.28);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 179, 71, 0.15);
}

.skills-inline-list .skill-list-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.skills-inline-list .skill-list-icon-img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.skills-inline-list .skill-list-name {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 700px) {
    .skills-overlay-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem 0.75rem;
    }
    .skills-inline-list .skill-list-item {
        padding: 0.4rem 0.5rem;
    }
    .skills-inline-list .skill-list-icon {
        font-size: 1.1rem;
        width: 1.75rem;
    }
    .skills-inline-list .skill-list-name {
        font-size: 0.85rem;
    }
}

.skills-title {
    font-size: clamp(1.25rem, 4vw + 0.5rem, 2rem);
    font-weight: 700;
    cursor: pointer;
    padding: 0.25em 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb347 35%, #ffd93d 70%, #ffb347 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: auto;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 25px rgba(255, 179, 71, 0.42)) drop-shadow(0 0 42px rgba(255, 107, 107, 0.42));
    transition: filter 0.25s ease;
    animation: skillsTitlePop 2.2s ease-in-out infinite;
}

.skills-title:hover {
    animation: none;
    transform: scale(1.05) translateY(-3px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 34px rgba(255, 179, 71, 0.63)) drop-shadow(0 0 56px rgba(255, 107, 107, 0.49));
}

@keyframes skillsTitlePop {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.04) translateY(-3px);
    }
}


.skills-title::after {
    content: '🤖';
    display: inline-block;
    margin-left: 1rem;
    animation: aiRotate 3s linear infinite;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

@keyframes aiRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

/* Skills container – scroll with fade at edges */
.skills-popup-container {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.skills-scroll-wrapper {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 162px;
    gap: 1.25rem 1.35rem;
    width: fit-content;
    margin: 0 auto;
    padding: 0 1rem;
    will-change: transform;
    animation: scrollSkillsHorizontal 50s linear infinite;
}

.skills-scroll-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scrollSkillsHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Circular skill tiles – max size */
.skill-item {
    position: relative;
    width: 152px;
    height: 152px;
    min-width: 152px;
    min-height: 152px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

a.skill-item {
    text-decoration: none;
    color: inherit;
}

/* Circular top accent */
.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    border-radius: 2px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Window Glow Effect */
.skill-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(12px);
}

/* Pop-up Hover Effect */
.skill-item:hover {
    transform: scale(1.06) translateY(-4px) !important;
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
    z-index: 10;
}


.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover::after {
    opacity: 0.4;
}

.skill-icon {
    font-size: 1.65rem;
    filter: drop-shadow(0 0 6px rgba(74, 158, 255, 0.4));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    line-height: 1;
    flex-shrink: 0;
}

.skill-icon .skill-icon-img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    display: block;
}

.skill-item:hover .skill-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(74, 158, 255, 0.6));
}

.skill-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-item:hover .skill-name {
    color: var(--primary-color);
    transform: scale(1.05);
}


.skill-level {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.skill-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover .skill-level::before {
    left: 100%;
}


.skill-level-advanced {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.1));
    color: var(--accent-green);
    border: 1.5px solid rgba(0, 255, 136, 0.6);
    box-shadow: 
        0 0 15px rgba(0, 255, 136, 0.4),
        inset 0 0 10px rgba(0, 255, 136, 0.1);
}

.skill-item:hover .skill-level-advanced {
    box-shadow: 
        0 0 25px rgba(0, 255, 136, 0.8),
        inset 0 0 15px rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

.skill-level-intermediate {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(0, 217, 255, 0.1));
    color: var(--primary-color);
    border: 1.5px solid rgba(0, 217, 255, 0.6);
    box-shadow: 
        0 0 15px rgba(0, 217, 255, 0.4),
        inset 0 0 10px rgba(0, 217, 255, 0.1);
}

.skill-item:hover .skill-level-intermediate {
    box-shadow: 
        0 0 25px rgba(0, 217, 255, 0.8),
        inset 0 0 15px rgba(0, 217, 255, 0.2);
    transform: scale(1.1);
}

.skill-level-beginner {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.3), rgba(157, 78, 221, 0.1));
    color: var(--accent-purple);
    border: 1.5px solid rgba(157, 78, 221, 0.6);
    box-shadow: 
        0 0 15px rgba(157, 78, 221, 0.4),
        inset 0 0 10px rgba(157, 78, 221, 0.1);
}

.skill-item:hover .skill-level-beginner {
    box-shadow: 
        0 0 25px rgba(157, 78, 221, 0.8),
        inset 0 0 15px rgba(157, 78, 221, 0.2);
    transform: scale(1.1);
}

/* AI Particle Effects */
.ai-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.8);
}

.skill-item:hover .ai-particle {
    animation: particleBurst1 0.6s ease-out forwards;
}

.skill-item:hover .ai-particle:nth-child(2) {
    animation: particleBurst2 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.skill-item:hover .ai-particle:nth-child(3) {
    animation: particleBurst3 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes particleBurst1 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(30px, -40px) scale(0);
    }
}

@keyframes particleBurst2 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-35px, -30px) scale(0);
    }
}

@keyframes particleBurst3 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(25px, 45px) scale(0);
    }
}

.ai-floating-particle {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px);
        opacity: 0.6;
    }
    50% {
        transform: translate(-15px, -50px);
        opacity: 0.4;
    }
    75% {
        transform: translate(25px, -20px);
        opacity: 0.5;
    }
}

@keyframes connectionFade {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
}

/* Blog Posts / Conferences Section */
.blog-posts {
    padding: clamp(2rem, 6vmin, 4rem) 0;
    position: relative;
    z-index: 1;
}

.blog-posts .section-heading {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb347 35%, #ffd93d 70%, #ffb347 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 179, 71, 0.4)) drop-shadow(0 0 36px rgba(255, 107, 107, 0.4));
    animation: conferencesHeadingGlow 3s ease-in-out infinite;
}

@keyframes conferencesHeadingGlow {
    0%, 100% {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 179, 71, 0.4)) drop-shadow(0 0 36px rgba(255, 107, 107, 0.4));
        background-position: 0% 50%;
    }
    50% {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 28px rgba(255, 179, 71, 0.6)) drop-shadow(0 0 48px rgba(255, 107, 107, 0.55));
        background-position: 100% 50%;
    }
}

.post-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

/* Conference cards: dark mode card, white only behind logo so banner is visible */
.blog-posts .post-image {
    background-color: #fff;
}
.blog-posts .post-image::after {
    display: none;
}
.blog-posts .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.blog-posts .post-date {
    font-size: 1.125rem;
    font-weight: 500;
    margin-left: auto;
    color: var(--text-secondary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

/* Status tiles: small tiles between blog posts and contact */
.status-tile-section {
    padding: 0 0 clamp(2rem, 5vmin, 3rem);
    position: relative;
    z-index: 1;
}

/* System Health Checks heading: red → green gradient, animated + glow */
.system-health-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 1.25rem;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 25%, #22c55e 50%, #16a34a 75%, #ef4444 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.25), 0 0 12px rgba(34, 197, 94, 0.2);
    animation: health-heading-gradient 5s ease-in-out infinite, health-heading-glow 2.5s ease-in-out infinite;
}

@keyframes health-heading-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes health-heading-glow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.35)) drop-shadow(0 0 8px rgba(34, 197, 94, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.4)) drop-shadow(0 0 10px rgba(239, 68, 68, 0.25));
    }
}

.status-tiles-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    align-items: stretch;
    width: 100%;
}

.status-tile {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
    min-height: 0;
    width: 100%;
    min-height: 88px;
    box-sizing: border-box;
}
.status-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-glow);
}
.status-tile-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #9d4edd);
    flex-shrink: 0;
}
.status-tile-content {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    flex-grow: 1;
}
.status-tile-title-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.status-tile-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}
.status-tile-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    align-self: flex-end;
}

/* Smaller than blog post: narrow, compact tile – same size in grid */
.status-tile--small {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.status-tile--small .status-tile-content {
    padding: 0.75rem 1rem;
    gap: 0.25rem;
}
.status-tile--small .status-tile-title {
    font-size: 0.9375rem;
}
.status-tile--small .status-tile-link {
    font-size: 0.8125rem;
}

/* Microsoft Health Status page */
.status-page-wrap { padding: clamp(2rem, 6vmin, 4rem) 0; position: relative; z-index: 1; }
.status-page-wrap .section-heading { margin-bottom: 1.5rem; font-size: 1.5rem; font-weight: 600; }
.status-embed-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.status-embed-card iframe { display: block; width: 100%; min-height: 640px; border: none; }
.status-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.status-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.status-actions a:hover { filter: brightness(1.1); box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3); }

.status-page-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.status-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}
.status-preview-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.status-preview-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg);
}
.status-preview-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.status-preview-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.status-preview-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}
.status-preview-card:hover .status-preview-link {
    text-decoration: underline;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-glow);
    background: rgba(26, 31, 58, 0.95);
}

.post-card:hover::before {
    opacity: 1;
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.3) 0%, rgba(157, 78, 221, 0.3) 50%, rgba(0, 255, 136, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 217, 255, 0.1) 10px,
            rgba(0, 217, 255, 0.1) 20px
        );
    opacity: 0.5;
}

.post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(74, 158, 255, 0.3);
    padding: 0.25rem 0.75rem;
    background: rgba(74, 158, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.2);
    display: inline-block;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Google brand: animated gradient (blue, red, yellow, blue, green, red) */
@keyframes google-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-title .google-brand {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #4285F4,
        #EA4335,
        #FBBC05,
        #4285F4,
        #34A853,
        #EA4335,
        #4285F4
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: google-gradient-shift 4s ease-in-out infinite;
}

/* Hero name: fewer colors + shimmer + pop in/out */
@keyframes hero-name-rainbow-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes hero-name-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes hero-name-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-title .hero-name-wrap {
    position: relative;
    display: inline-block;
    animation: hero-name-pop 2.5s ease-in-out infinite;
}

.hero-title .hero-name-rainbow {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #ff0080,
        #ff8c00,
        #40e0d0,
        #9d4edd,
        #06ffa5,
        #3a86ff,
        #ff0080
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-name-rainbow-shift 5s ease-in-out infinite;
}

.hero-title .hero-name-shimmer {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.85) 50%,
        transparent 65%,
        transparent 100%
    );
    background-size: 50% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-name-shimmer 2.5s ease-in-out infinite;
    pointer-events: none;
}


/* NVIDIA brand: animated green gradient + glow */
@keyframes nvidia-glow {
    0%, 100% {
        filter: brightness(1);
        color: #76B900;
        text-shadow: 0 0 8px rgba(118, 185, 0, 0.5);
    }
    50% {
        filter: brightness(1.15);
        color: #9dd33c;
        text-shadow: 0 0 14px rgba(118, 185, 0, 0.7);
    }
}

.post-title .nvidia-brand {
    display: inline-block;
    color: #76B900;
    font-weight: 700;
    animation: nvidia-glow 2.5s ease-in-out infinite;
}

/* India brand: flag colors – saffron, white, green (animated gradient) */
@keyframes india-flag-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-title .india-brand {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #FF9933,
        #FFFFFF,
        #138808,
        #FF9933,
        #FFFFFF,
        #138808
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: india-flag-shift 4s ease-in-out infinite;
}

/* AI Dev World (blog 1): icon colors – cyan, blue, purple (#1a1a2e palette) animated */
@keyframes aidevworld-icon-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-title .aidevworld-brand {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #22d3ee,
        #6366f1,
        #a855f7,
        #22d3ee,
        #6366f1,
        #a855f7
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aidevworld-icon-shift 4s ease-in-out infinite;
}

/* The AI CONFERENCE 26 (blog 6): icon colors – purple palette animated */
@keyframes taic-icon-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-title .taic-brand {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #6d28d9,
        #7c3aed,
        #a855f7,
        #c084fc,
        #7c3aed,
        #6d28d9
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: taic-icon-shift 4s ease-in-out infinite;
}

/* Ai4 26 card: banner with yellow–purple gradient + "Ai4" text */
.post-image.ai4-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 50%, #c4b5fd 100%);
}

/* Override .blog-posts .post-image::after { display: none } so Ai4 shows when using ::after fallback */
.blog-posts .post-image.ai4-banner::after {
    display: block;
}

.post-image.ai4-banner .ai4-banner-wrap {
    position: relative;
    display: inline-block;
}

.post-image.ai4-banner .ai4-banner-text {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000000;
}

/* White shimmer on text only (same technique as hero .hero-name-shimmer) */
.post-image.ai4-banner .ai4-banner-shimmer {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.85) 50%,
        transparent 65%,
        transparent 100%
    );
    background-size: 50% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-name-shimmer 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* Ai4 26: purple animated (same style as other brand titles) */
@keyframes ai4-brand-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-title .ai4-brand {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #6d28d9,
        #7c3aed,
        #a855f7,
        #c084fc,
        #7c3aed,
        #6d28d9
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ai4-brand-shift 4s ease-in-out infinite;
}

/* HumanX 26 (blog 4): X styled like icon square brackets + pop in/out */
@keyframes humanx-pop {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 1; }
}

.post-title .humanx-x {
    display: inline-block;
    color: #38bdf8;
    font-weight: 800;
    padding: 0 0.15em;
    border-left: 2px solid #38bdf8;
    border-right: 2px solid #38bdf8;
    margin-left: 0.12em;
    margin-right: 0.05em;
    transform-origin: left center;
    animation: humanx-pop 1.4s ease-in-out infinite;
}

/* Gartner Data & Analytics Summit: Gartner color, matched size, strong glow for dark background */
@keyframes gartner-glow {
    0%, 100% {
        color: #3b6bb5;
        text-shadow:
            0 0 8px rgba(59, 107, 181, 0.6),
            0 0 16px rgba(59, 107, 181, 0.4),
            0 0 24px rgba(15, 44, 90, 0.3);
    }
    50% {
        color: #5b8fd9;
        text-shadow:
            0 0 14px rgba(91, 143, 217, 0.8),
            0 0 28px rgba(59, 107, 181, 0.5),
            0 0 40px rgba(15, 44, 90, 0.4);
    }
}

.post-title .gartner-brand {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    color: #3b6bb5;
    line-height: inherit;
    text-shadow:
        0 0 8px rgba(59, 107, 181, 0.6),
        0 0 16px rgba(59, 107, 181, 0.4);
    animation: gartner-glow 2.8s ease-in-out infinite;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

@keyframes countdown-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.post-countdown {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-block;
    animation: countdown-pop 2s ease-in-out infinite;
}

.post-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-shadow: 0 0 6px rgba(74, 158, 255, 0.3);
}

.post-link:hover {
    gap: 0.75rem;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

/* Post Page Styles */
.post-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.post-header {
    margin-bottom: 2rem;
}

.post-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-page-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.post-page-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.12) 0%, rgba(139, 126, 200, 0.12) 50%, rgba(90, 179, 214, 0.08) 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.post-page-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(74, 158, 255, 0.04) 15px,
            rgba(74, 158, 255, 0.04) 30px
        );
    opacity: 0.3;
}

.post-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-body h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.post-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
    opacity: 0.95;
}

.post-body p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.8;
    opacity: 0.95;
}

.post-body ul,
.post-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    opacity: 0.95;
}

.post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
    background: rgba(0, 217, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
    opacity: 0.9;
}

/* Light mode blockquote */
/* Removed light mode */
    background: rgba(26, 26, 46, 0.05);
    color: #2d3748;
    border-left-color: #1a1a2e;
    font-weight: 500;
}

/* Light mode heading improvements */
/* Removed light mode */
    color: #1a1a2e;
    border-bottom-color: rgba(26, 26, 46, 0.3);
    font-weight: 700;
}

/* Removed light mode - dark mode only */ 
        /* Computer Screen Grid - Modern Terminal Look */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 24px,
            rgba(255, 140, 66, 0.06) 24px,
            rgba(255, 140, 66, 0.06) 25px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 24px,
            rgba(255, 140, 66, 0.06) 24px,
            rgba(255, 140, 66, 0.06) 25px
        ),
        /* Code Editor Lines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(255, 163, 102, 0.03) 20px,
            rgba(255, 163, 102, 0.03) 21px
        ),
        /* Monitor/Display Frame Effect */
        linear-gradient(90deg, rgba(255, 140, 66, 0.08) 0%, transparent 5%, transparent 95%, rgba(255, 140, 66, 0.08) 100%),
        linear-gradient(0deg, rgba(255, 140, 66, 0.08) 0%, transparent 5%, transparent 95%, rgba(255, 140, 66, 0.08) 100%),
        /* Computer Screen Glow */
        radial-gradient(ellipse at center, rgba(255, 179, 128, 0.1) 0%, transparent 70%),
        /* Subtle Tech Gradient */
        linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, transparent 50%, rgba(255, 163, 102, 0.04) 100%);
    background-attachment: fixed;
    background-size: 100% 100%, 100% 100%, 100% 20px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}


@keyframes computerScreen {
    0%, 100% {
        opacity: 0.5;
        filter: brightness(1);
    }
    50% {
        opacity: 0.7;
        filter: brightness(1.05);
    }
}

@keyframes techPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}


@keyframes codeTyping {
    0% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(30px);
        opacity: 0.6;
    }
    100% {
        transform: translateY(60px);
        opacity: 0.4;
    }
}

/* Computer Desktop Icons/Windows for Light Mode */
[data-theme="light"] .main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Computer Desktop Icons */
        radial-gradient(circle at 15% 20%, rgba(255, 140, 66, 0.12) 0%, transparent 3%),
        radial-gradient(circle at 85% 80%, rgba(255, 163, 102, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 50% 50%, rgba(255, 179, 128, 0.08) 0%, transparent 4%),
        radial-gradient(circle at 25% 75%, rgba(255, 140, 66, 0.09) 0%, transparent 3%),
        radial-gradient(circle at 75% 25%, rgba(255, 163, 102, 0.08) 0%, transparent 3%),
        /* Window Frames */
        linear-gradient(90deg, rgba(255, 140, 66, 0.06) 0%, transparent 10%, transparent 90%, rgba(255, 140, 66, 0.06) 100%),
        linear-gradient(0deg, rgba(255, 140, 66, 0.06) 0%, transparent 10%, transparent 90%, rgba(255, 140, 66, 0.06) 100%);
    pointer-events: none;
    z-index: 0;
    animation: desktopIcons 15s ease-in-out infinite;
    filter: blur(35px);
    opacity: 0.5;
}

@keyframes desktopIcons {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Removed light mode */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Screen Refresh Lines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 200px,
            rgba(255, 140, 66, 0.08) 200px,
            rgba(255, 140, 66, 0.08) 205px
        ),
        /* Computer Taskbar Effect */
        linear-gradient(0deg, 
            transparent 0%,
            transparent 95%,
            rgba(255, 140, 66, 0.1) 95%,
            rgba(255, 140, 66, 0.1) 100%
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    animation: screenRefresh 8s linear infinite;
}

@keyframes screenRefresh {
    0% {
        transform: translateY(-100%);
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100%);
        opacity: 0.3;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.back-link:hover {
    gap: 0.75rem;
    background: rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

/* Footer */
/* Contact Section – viewport-sized padding and typography */
#contact {
    scroll-margin-top: var(--header-h);
}

.contact-section {
    padding: clamp(1.5rem, 4vmin, 2.5rem) 0 clamp(4rem, 12vh, 6rem);
    position: relative;
    z-index: 1;
    margin-top: clamp(1.5rem, 4vmin, 2rem);
    min-height: min(400px, 50vh);
    min-height: min(400px, 50dvh);
}

.contact-title {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb347 35%, #ffd93d 70%, #ffb347 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 179, 71, 0.4)) drop-shadow(0 0 36px rgba(255, 107, 107, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: contactTitleGlow 3s ease-in-out infinite;
}

@keyframes contactTitleGlow {
    0%, 100% {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(255, 179, 71, 0.4)) drop-shadow(0 0 36px rgba(255, 107, 107, 0.4));
        background-position: 0% 50%;
    }
    50% {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 28px rgba(255, 179, 71, 0.6)) drop-shadow(0 0 48px rgba(255, 107, 107, 0.55));
        background-position: 100% 50%;
    }
}

.contact-title-icon {
    font-size: 2.5rem;
    animation: iconBounce 2s ease-in-out infinite;
    display: inline-block;
}

.contact-title-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Contact info - row of medium icons, match home orange/glow theme */
.contact-info-card {
    max-width: min(480px, 92vw);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
    background: linear-gradient(145deg, rgba(20, 18, 28, 0.95) 0%, rgba(28, 22, 38, 0.95) 100%);
    border: 1px solid rgba(255, 107, 107, 0.25);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 107, 107, 0.08),
        0 0 40px rgba(255, 179, 71, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 107, 107, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 179, 71, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.contact-info-value {
    display: none !important;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 107, 0.2);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.contact-info-item:hover {
    background: rgba(255, 179, 71, 0.35);
    border-color: rgba(255, 179, 71, 0.6);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.25), 0 0 30px rgba(255, 179, 71, 0.2);
}


.contact-info-item--location {
    cursor: pointer;
}

.contact-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-label {
    display: none;
}

.contact-info-icon--animated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.contact-info-icon--animated svg {
    width: 26px;
    height: 26px;
    transition: filter 0.25s ease;
}

/* LinkedIn, GitHub, Email (teal), Phone (green), Location */
.contact-info-item:nth-child(1) .contact-info-icon--animated svg { color: #0a66c2; fill: #0a66c2; }
.contact-info-item:nth-child(2) .contact-info-icon--animated svg { color: #e6edf3; fill: #e6edf3; }
.contact-info-item:nth-child(3) .contact-info-icon--animated svg { color: #4ecdc4; stroke: #4ecdc4; fill: #4ecdc4; }
.contact-info-item:nth-child(4) .contact-info-icon--animated svg { color: #6bcf7f; stroke: #6bcf7f; fill: #6bcf7f; }
.contact-info-item:nth-child(5) .contact-info-icon--animated svg { color: #ffd93d; stroke: #ffd93d; }

a.contact-info-item:hover .contact-info-icon--animated {
    animation: contactIconBounce 0.5s ease;
}

.contact-info-item--location:hover .contact-info-icon--animated {
    animation: contactIconBounce 0.5s ease;
}

a.contact-info-item:hover .contact-info-icon--animated svg,
.contact-info-item--location:hover .contact-info-icon--animated svg {
    filter: brightness(1.1);
}

@keyframes contactIconBounce {
    0% { transform: scale(1); }
    35% { transform: scale(1.25); }
    55% { transform: scale(0.92); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    background: rgba(26, 31, 58, 0.7);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: formFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 217, 255, 0.05) 50%,
        transparent 70%
    );
    animation: formShine 8s linear infinite;
    pointer-events: none;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.label-icon {
    font-size: 1.3rem;
    animation: iconWiggle 3s ease-in-out infinite;
    display: inline-block;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(15, 20, 40, 0.6);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    background: rgba(15, 20, 40, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        0 0 40px rgba(123, 47, 255, 0.2),
        inset 0 0 10px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
    border-color: rgba(0, 255, 150, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.input-feedback {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-input:focus + .input-feedback,
.form-textarea:focus + .input-feedback {
    opacity: 1;
    transform: translateY(0);
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0.7;
}

.char-counter span {
    color: var(--primary-color);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #00d9ff 0%, #7b2fff 50%, #ff00ff 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    box-shadow: 
        0 4px 15px rgba(0, 217, 255, 0.4),
        0 0 30px rgba(123, 47, 255, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 217, 255, 0.6),
        0 0 50px rgba(123, 47, 255, 0.5);
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    animation: iconSpin 2s linear infinite;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    z-index: 1;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: block;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 31, 58, 0.7);
    border: 2px solid rgba(0, 255, 150, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    animation: successPop 0.5s ease-out;
}

.form-success.show {
    display: block;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: successBounce 0.8s ease-out;
    display: inline-block;
}

.form-success h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00ff96 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.reset-btn {
    padding: 0.75rem 2rem;
    background: rgba(0, 217, 255, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: rgba(0, 217, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

/* Animations */
@keyframes titleShimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(123, 47, 255, 0.8));
    }
}

/* Get in Touch – softer glow */
@keyframes contactTitleShimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 3px rgba(0, 217, 255, 0.25));
    }
    50% {
        filter: brightness(1.08) drop-shadow(0 0 6px rgba(123, 47, 255, 0.35));
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-10deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
    75% {
        transform: translateY(-10px) rotate(10deg);
    }
}

@keyframes iconWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes formFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes formShine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes successPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successBounce {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}

.footer {
    background: rgba(26, 31, 58, 0.6);
    border-top: 1px solid var(--border-color);
    padding: clamp(1rem, 3vmin, 2rem) 0;
    margin-top: clamp(2rem, 5vmin, 4rem);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-copyright {
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin: 0;
    color: var(--text-secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 217, 255, 0.15);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
        align-items: stretch;
    }


    .header-actions .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .header-actions {
        margin-right: 1rem;
        gap: 1rem;
    }
    
    .header-actions .nav-menu {
        gap: 1rem;
    }
    
    .theme-switch {
        width: 50px;
        height: 26px;
    }
    
    .theme-slider:before {
        height: 18px;
        width: 18px;
    }
    
    .theme-switch input:checked + .theme-slider:before {
        transform: translateX(24px);
    }
    
    .theme-icon-dark,
    .theme-icon-light {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }


    .skills-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .skills-section {
        padding: 2rem 0;
    }

    .skills-popup-container {
        padding: 1rem 0;
    }

    .skill-item {
        width: 88px;
        height: 88px;
        min-width: 88px;
        min-height: 88px;
        padding: 0.45rem;
    }

    .skill-icon {
        font-size: 1.35rem;
    }

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

    .post-page-title {
        font-size: 2rem;
    }

    .post-page-image {
        height: 250px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .skills-section {
        padding: 1.5rem 0;
    }

    .skills-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .skills-popup-container {
        padding: 0.75rem 0;
    }

    .skills-scroll-wrapper {
        grid-auto-columns: 138px;
        gap: 1rem 1.1rem;
    }

    .skill-item {
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
        padding: 0.55rem;
    }

    .skill-icon {
        font-size: 1.6rem;
    }

    .skill-name {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }

    .blog-posts {
        padding: 2rem 0;
    }

    .post-content {
        padding: 1rem;
    }
    
    /* Scroll to top button - mobile */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top::before {
        font-size: 20px;
    }
    
}

/* Extra-small viewports: keep layout compatible and readable */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .skills-title {
        font-size: 1.1rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }
}

/* Custom cursor removed - using normal system cursor */
.custom-cursor {
    display: none !important;
}

/* Smooth scroll for all scrollable containers */
.scroll-container,
.skills-popup-container,
.posts-grid {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.scroll-to-top:hover::before {
    color: var(--bg-primary);
}

/* ============================================
   NEW TRENDING ANIMATED CURSOR - FROM SCRATCH
   ============================================ */

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
}

/* Cursor Dot - Inner Core */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #00f0ff 0%, #7b2fff 50%, #ff00ff 100%);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100001;
    box-shadow: 
        0 0 12px rgba(0, 240, 255, 1),
        0 0 20px rgba(123, 47, 255, 0.9),
        0 0 30px rgba(255, 0, 255, 0.7),
        0 0 40px rgba(0, 240, 255, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
    transition: transform 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Cursor Outline - Magnetic Ring */
.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2.5px solid rgba(0, 240, 255, 0.9);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(123, 47, 255, 0.1) 50%, transparent 70%);
    box-shadow: 
        0 0 20px rgba(0, 240, 255, 0.8),
        0 0 35px rgba(123, 47, 255, 0.6),
        0 0 50px rgba(255, 0, 255, 0.4),
        inset 0 0 20px rgba(0, 240, 255, 0.2);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease,
                transform 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: outlineRotate 8s linear infinite;
}

/* Multiple Rotating Particles Around Cursor */
.cursor-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #00f0ff;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateX(15px);
    box-shadow: 
        0 0 10px rgba(0, 240, 255, 1),
        0 0 20px rgba(0, 240, 255, 0.8),
        0 0 30px rgba(123, 47, 255, 0.6);
    animation: orbitParticle 3s linear infinite;
    pointer-events: none;
}

.cursor-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #ff00ff;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateX(15px);
    box-shadow: 
        0 0 8px rgba(255, 0, 255, 1),
        0 0 15px rgba(255, 0, 255, 0.8),
        0 0 25px rgba(123, 47, 255, 0.6);
    animation: orbitParticle 2s linear infinite reverse;
    pointer-events: none;
}

/* Additional animated elements using box-shadow for multiple particles */
.cursor-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #7b2fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateX(12px);
    box-shadow: 
        0 0 8px rgba(123, 47, 255, 1),
        0 0 15px rgba(123, 47, 255, 0.8),
        0 0 22px rgba(0, 240, 255, 0.6);
    animation: orbitParticleFast 1.5s linear infinite;
    pointer-events: none;
}

.cursor-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.5px;
    height: 2.5px;
    background: #ff00ff;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateX(12px);
    box-shadow: 
        0 0 6px rgba(255, 0, 255, 1),
        0 0 12px rgba(255, 0, 255, 0.8),
        0 0 18px rgba(123, 47, 255, 0.6);
    animation: orbitParticleFast 1s linear infinite reverse;
    pointer-events: none;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(123, 47, 255, 0.7);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    box-shadow: 
        0 0 15px rgba(123, 47, 255, 0.6),
        0 0 30px rgba(0, 240, 255, 0.4),
        0 0 45px rgba(255, 0, 255, 0.3);
    animation: ringPulse 3s ease-in-out infinite, ringRotate 6s linear infinite;
}

/* Additional rotating dots on the ring */
.cursor-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #00f0ff;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateX(20px);
    box-shadow: 
        0 0 8px rgba(0, 240, 255, 1),
        0 0 15px rgba(0, 240, 255, 0.8),
        0 0 22px rgba(123, 47, 255, 0.6);
    animation: orbitRingParticle 4s linear infinite;
    pointer-events: none;
}

.cursor-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.5px;
    height: 2.5px;
    background: #ff00ff;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateX(20px);
    box-shadow: 
        0 0 6px rgba(255, 0, 255, 1),
        0 0 12px rgba(255, 0, 255, 0.8),
        0 0 18px rgba(123, 47, 255, 0.6);
    animation: orbitRingParticle 3s linear infinite reverse;
    pointer-events: none;
}

@keyframes orbitRingParticle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(20px) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(20px) rotate(-360deg);
        opacity: 0.8;
    }
}

/* New Animations */
@keyframes dotPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

@keyframes outlineRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbitParticle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(15px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(15px) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes orbitParticleFast {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(12px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(12px) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Trail particles animation */
.cursor-trail-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes trailFade {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
}

/* Additional pulsing rings */
.cursor-outline {
    position: relative;
}

.cursor-outline::before,
.cursor-outline::after {
    animation: orbitParticle 3s linear infinite, particleGlow 2s ease-in-out infinite;
}

.cursor-dot::before,
.cursor-dot::after {
    animation: orbitParticleFast 1.5s linear infinite, particleGlow 1.5s ease-in-out infinite;
}

@keyframes particleGlow {
    0%, 100% {
        box-shadow: 
            0 0 8px rgba(0, 240, 255, 1),
            0 0 15px rgba(123, 47, 255, 0.8);
        opacity: 1;
    }
    50% {
        box-shadow: 
            0 0 15px rgba(0, 240, 255, 1),
            0 0 25px rgba(123, 47, 255, 1),
            0 0 35px rgba(255, 0, 255, 0.8);
        opacity: 0.95;
    }
}






/* Cursor hover effects are handled by JavaScript */

/* Hide cursor on mobile devices */
@media (max-width: 768px) {
    * {
        cursor: auto !important;
    }
    
    .custom-cursor {
        display: none;
    }
}

