/* ============================================
   CSS Variables - Dark Theme with Purple/Green/Cyan Accents
   ============================================ */
:root {
    /* Gray Scale - Ultra Dark, Blog-Matching Tones */
    --gray-950: #050507;
    --gray-900: #0a0a0f;
    --gray-850: #0f0f18;
    --gray-800: #12121e;
    --gray-700: #1e1e32;
    --gray-600: #2a2a44;
    --gray-500: #6e6e8c;
    --gray-400: #6e6e8c;
    --gray-300: #b0b0cc;
    --gray-200: #d0d0e0;
    --gray-100: #e4e4f0;
    --gray-50: #f0f0f8;

    /* Purple Accent Scale - Solana-Inspired */
    --blue-700: #6b21a8;
    --blue-600: #7b32d9;
    --blue-500: #9945FF;
    --blue-400: #b07aff;
    --blue-300: #c9a5ff;
    --blue-200: #e0d0ff;
    --blue-100: #f0e8ff;
    --blue-glow: rgba(153, 69, 255, 0.3);

    /* Semantic Colors */
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-850);
    --bg-tertiary: var(--gray-800);
    --bg-card: var(--gray-850);
    --bg-elevated: var(--gray-800);

    --text-primary: var(--gray-100);
    --text-secondary: var(--gray-300);
    --text-muted: var(--gray-400);

    --accent-primary: var(--blue-500);
    --accent-secondary: var(--blue-400);
    --accent-muted: var(--blue-600);
    --accent-gradient: linear-gradient(135deg, var(--blue-500), var(--blue-300));

    --border-color: var(--gray-700);
    --border-hover: var(--gray-600);
    --border-accent: var(--blue-500);

    /* Code Colors - Purple-Gray Theme */
    --code-bg: var(--gray-950);
    --code-keyword: var(--blue-400);
    --code-string: var(--blue-200);
    --code-variable: var(--gray-200);
    --code-property: var(--blue-300);
    --code-function: var(--blue-400);
    --code-comment: var(--gray-500);

    /* Solana Green */
    --green-solana: #0bc47a;
    --green-solana-glow: rgba(11, 196, 122, 0.4);

    /* Shadows - Ultra Soft */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 50px rgba(20, 241, 149, 0.25);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 9999px;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background-color: var(--accent-primary);
    color: white;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ============================================
   Cursor Follower
   ============================================ */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-follower.visible {
    opacity: 0.5;
}

.cursor-follower.hover {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: transparent;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-bracket {
    color: var(--green-solana);
}

.logo-text {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9945FF, #14F195);
    transition: var(--transition-base);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: block;
}

[data-theme="light"] .moon-icon {
    display: none;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        transition: var(--transition-slow);
        border-left: 1px solid var(--border-color);
    }

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

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-actions .btn-download {
        display: none;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, #9945FF, #14F195);
    color: white;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #9945FF, #14F195, #00D4FF, #9945FF);
    background-size: 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
    animation: btn-glow-rotate 4s linear infinite;
}

@keyframes btn-glow-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--green-solana-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--green-solana);
}

.btn-download {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(96, 165, 250, 0.15) 1px, transparent 0),
        linear-gradient(rgba(96, 165, 250, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 60px 60px, 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    opacity: 0.15;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hero-greeting .line {
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}

.greeting-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--green-solana);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-name {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(90deg, var(--text-primary), var(--green-solana), var(--text-primary));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-name-shimmer 8s ease-in-out infinite;
}

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

.hero-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.title-static {
    color: var(--text-primary);
    font-weight: 600;
}

.title-dynamic {
    font-family: var(--font-mono);
    color: var(--green-solana);
}

.typing-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px var(--green-solana-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    width: 100%;
    max-width: 480px;
    background: var(--code-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: code-window-float 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.code-window:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(96, 165, 250, 0.15);
}

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

.window-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.window-content {
    padding: var(--space-lg);
    overflow-x: auto;
}

.window-content pre {
    margin: 0;
}

.window-content code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.code-keyword { color: var(--code-keyword); }
.code-string { color: var(--code-string); }
.code-variable { color: var(--code-variable); }
.code-property { color: var(--code-property); }
.code-function { color: var(--code-function); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-greeting {
        justify-content: center;
    }

    .hero-title {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

/* Dot pattern for alternating sections */
.section:nth-child(even)::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(96, 165, 250, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
    z-index: 0;
}

.section:last-of-type::after {
    display: none;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-solana);
    margin-bottom: var(--space-sm);
}

.section-tag-close {
    display: block;
    text-align: center;
    margin-top: var(--space-xl);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   Hero Section - Rust Theme (Merged)
   ============================================ */
.hero-rust {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px var(--container-padding) 60px;
    background: var(--bg-primary);
}

.hero-rust-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.rust-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(153, 69, 255, 0.12) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.rust-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.rust-orb-1 {
    width: 500px;
    height: 500px;
    background: #9945FF;
    top: -150px;
    right: -150px;
    opacity: 0.12;
}

.rust-orb-2 {
    width: 400px;
    height: 400px;
    background: #14F195;
    bottom: -100px;
    left: -100px;
    opacity: 0.08;
}

.rust-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.hero-rust-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
}

.hero-rust-main {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

/* Photo with rings */
.hero-photo-section {
    flex-shrink: 0;
}

.hero-photo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-solana);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 40px var(--green-solana-glow);
}

.hero-ring {
    position: absolute;
    border: 2px solid #9945FF;
    border-radius: 50%;
    animation: ring-float 4s ease-in-out infinite;
}

.hero-ring:first-of-type {
    inset: -10px;
    opacity: 0.4;
}

.hero-ring.ring-2 {
    inset: -20px;
    opacity: 0.25;
    animation-delay: 0.3s;
}

.hero-ring.ring-3 {
    inset: -30px;
    opacity: 0.15;
    animation-delay: 0.6s;
    border-style: dashed;
}

@keyframes ring-float {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.03) rotate(5deg); }
}

/* Text section */
.hero-rust-text {
    text-align: left;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--green-solana);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.hero-rust-name {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-rust-role {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--green-solana);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 8px;
}

.rust-accent {
    color: var(--green-solana);
    font-weight: 500;
}

.hero-rust-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-rust-location svg {
    color: var(--green-solana);
}

/* Card section */
.hero-rust-card {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-rust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9945FF, #14F195, #00D4FF, #14F195, #9945FF);
    background-size: 200% 100%;
    animation: rust-gradient-flow 3s linear infinite;
}

@keyframes rust-gradient-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-rust-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 var(--space-lg);
}

.hero-rust-bio strong {
    color: var(--text-primary);
}

.rust-tech {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin: 2px;
    transition: var(--transition-base);
}

.rust-tech.featured {
    background: rgba(153, 69, 255, 0.15);
    color: #14F195;
    border: 1px solid rgba(153, 69, 255, 0.3);
}

.rust-tech:hover {
    transform: translateY(-2px);
}

/* Action buttons */
.hero-rust-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.btn-rust-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #9945FF, #14F195);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    border: none;
}

.btn-rust-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--green-solana-glow);
}

.btn-rust-primary svg {
    transition: transform 0.3s ease;
}

.btn-rust-primary:hover svg {
    transform: translateX(4px);
}

.btn-rust-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--green-solana);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    border: 2px solid var(--green-solana);
}

.btn-rust-secondary:hover {
    background: rgba(11, 196, 122, 0.1);
    transform: translateY(-3px);
}

/* Social links */
.hero-rust-social {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.rust-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.rust-social-link:hover {
    background: var(--green-solana);
    color: white;
    border-color: var(--green-solana);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--green-solana-glow);
}

.rust-social-link svg {
    width: 20px;
    height: 20px;
}

/* Scroll indicator */
.scroll-rust {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-rust-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #9945FF, transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* Responsive */
@media (max-width: 700px) {
    .hero-rust {
        padding-top: 80px;
    }

    .hero-rust-main {
        flex-direction: column;
        text-align: center;
    }

    .hero-rust-text {
        text-align: center;
    }

    .hero-photo-wrapper {
        width: 120px;
        height: 120px;
    }

    .hero-rust-name {
        font-size: 2rem;
    }

    .hero-rust-actions {
        flex-direction: column;
    }

    .btn-rust-primary,
    .btn-rust-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Legacy About Section styles - Hidden since merged */
.about-rust {
    display: none;
}

/* Photo with animated rings */
.about-photo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.about-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #9945FF;
    position: relative;
    z-index: 2;
}

.photo-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid #9945FF;
    border-radius: 50%;
    opacity: 0.4;
    animation: ring-pulse 3s ease-in-out infinite;
}

.photo-ring.ring-2 {
    inset: -16px;
    opacity: 0.2;
    animation-delay: 0.5s;
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 0.2; }
}

/* Intro text */
.about-intro {
    text-align: left;
}

.about-greeting {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-solana);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 4px 0 8px;
    color: var(--text-primary);
}

.about-role {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.rust-highlight {
    color: var(--green-solana);
    font-weight: 500;
}

.about-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.about-location svg {
    color: var(--green-solana);
}

/* Main card */
.about-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9945FF, #14F195, #7b32d9);
}

.about-card-content {
    padding: var(--space-xl);
}

.about-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 var(--space-lg);
    text-align: center;
}

.about-bio strong {
    color: var(--text-primary);
}

.tech-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin: 2px;
}

.tech-badge.rust-badge {
    background: rgba(153, 69, 255, 0.15);
    color: #14F195;
    border: 1px solid rgba(153, 69, 255, 0.3);
}

/* Highlights */
.about-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-solana);
    line-height: 1;
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Quote */
.about-quote-rust {
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    margin: var(--space-lg) 0 0;
    padding: 0;
    border: none;
    background: none;
}

.about-quote-rust::before {
    content: '"';
    color: var(--green-solana);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 4px;
}

/* Action buttons */
.about-actions {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-tertiary);
    justify-content: center;
}

.btn-rust {
    background: linear-gradient(135deg, #9945FF, #14F195);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-base);
    border: none;
}

.btn-rust:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--green-solana-glow);
}

.btn-rust-outline {
    background: transparent;
    color: var(--green-solana);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-base);
    border: 2px solid var(--green-solana);
}

.btn-rust-outline:hover {
    background: rgba(11, 196, 122, 0.1);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-intro {
        text-align: center;
    }

    .about-photo-wrapper {
        width: 100px;
        height: 100px;
    }

    .about-name {
        font-size: 1.8rem;
    }

    .about-highlights {
        gap: var(--space-lg);
    }

    .highlight-number {
        font-size: 1.5rem;
    }

    .about-actions {
        flex-direction: column;
    }

    .btn-rust, .btn-rust-outline {
        width: 100%;
        text-align: center;
    }
}

/* Legacy about styles (kept for compatibility) */
.about-quote {
    font-style: italic;
    color: var(--text-secondary);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-left: 3px solid var(--accent-primary);
    background: var(--bg-tertiary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-cta {
    display: flex;
    gap: var(--space-md);
}

/* ============================================
   Education Section
   ============================================ */
.education {
    background: var(--bg-primary);
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .about-image {
        max-width: 160px;
        margin: 0 auto;
    }

    .image-frame {
        width: 140px;
        height: 140px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ============================================
   Journey Section - Serpentine Grid Timeline
   ============================================ */
.snake-timeline-wrapper {
    position: relative;
    padding: var(--space-lg) 0;
    overflow: hidden;
    /* Break out of the container to use full viewport width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Scroll fade indicators */
.snake-timeline-wrapper::before,
.snake-timeline-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.snake-timeline-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.snake-timeline-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* SVG connector hidden – replaced by CSS horizontal line */
.snake-connector {
    display: none;
}

.snake-path-line {
    display: none;
}

@keyframes drawTimeline {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

/* Horizontal scrolling flex container */
.snake-timeline {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    gap: 12px;
    padding: 20px 60px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    align-items: stretch;
    position: relative;
    min-height: 500px;
    z-index: 2;
    scrollbar-width: thin;
    scrollbar-color: rgba(153, 69, 255, 0.3) transparent;
    cursor: grab;
}

.snake-timeline:active {
    cursor: grabbing;
}

.snake-timeline::-webkit-scrollbar {
    height: 4px;
}

.snake-timeline::-webkit-scrollbar-track {
    background: transparent;
}

.snake-timeline::-webkit-scrollbar-thumb {
    background: rgba(153, 69, 255, 0.3);
    border-radius: 4px;
}

/* Horizontal connecting line through center */
.snake-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    right: auto;
    width: var(--timeline-line-width, calc(100% - 80px));
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #9945FF 50%, #14F195 100%);
    border-radius: 3px;
    z-index: 1;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.snake-timeline-wrapper.snake-animated .snake-timeline::before {
    opacity: 0.5;
    animation: drawTimeline 1.5s ease-out forwards;
}

/* Snake item – grid: [top-half] [node] [bottom-half] */
.snake-item {
    flex: 0 0 280px;
    display: grid;
    grid-template-rows: 1fr 20px 1fr;
    position: relative;
    z-index: 2;
    scroll-snap-align: center;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.snake-item:nth-child(odd) {
    transform: translateY(-20px);
}

.snake-item:nth-child(even) {
    transform: translateY(20px);
}

.snake-item.snake-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Vertical connector from node to card */
.snake-item::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    z-index: 1;
    transform: translateX(-50%);
    opacity: 0.25;
    transition: opacity 0.3s ease;
}

.snake-item:nth-child(odd)::after {
    bottom: calc(50% + 10px);
    height: 16px;
}

.snake-item:nth-child(even)::after {
    top: calc(50% + 10px);
    height: 16px;
}

.snake-item[data-type="experience"]::after {
    background: #9945FF;
}

.snake-item[data-type="education"]::after {
    background: #10b981;
}

.snake-item.current::after {
    background: #14F195;
}

.snake-item:hover::after {
    opacity: 0.6;
}

/* Year label */
.snake-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 4;
    letter-spacing: 0.05em;
    text-align: center;
}

.snake-item[data-type="experience"] .snake-year {
    color: #b07aff;
}

.snake-item[data-type="education"] .snake-year {
    color: #10b981;
}

.snake-item.current .snake-year {
    color: #14F195;
}

/* Odd items: year BELOW the line */
.snake-item:nth-child(odd) .snake-year {
    grid-row: 3;
    align-self: start;
    margin-top: 16px;
}

/* Even items: year ABOVE the line */
.snake-item:nth-child(even) .snake-year {
    grid-row: 1;
    align-self: end;
    margin-bottom: 16px;
}

/* Node dot on the horizontal line */
.snake-node {
    grid-row: 2;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    z-index: 5;
    align-self: center;
    justify-self: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.snake-item[data-type="experience"] .snake-node {
    background: var(--bg-secondary);
    border: 3px solid #9945FF;
}

.snake-item[data-type="education"] .snake-node {
    background: var(--bg-secondary);
    border: 3px solid #10b981;
}

.snake-item.current .snake-node {
    border-color: #14F195;
    background: var(--bg-secondary);
    animation: pulse-snake-node 2s ease-in-out infinite;
}

.snake-item.current .snake-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #14F195;
    border-radius: 50%;
}

@keyframes pulse-snake-node {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(20, 241, 149, 0); }
}

.snake-item:hover .snake-node {
    transform: scale(1.4);
}

.snake-item[data-type="experience"]:hover .snake-node {
    box-shadow: 0 0 20px var(--green-solana-glow);
}

.snake-item[data-type="education"]:hover .snake-node {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Card positioning – alternating above/below */
.snake-item:nth-child(odd) .snake-card {
    grid-row: 1;
    align-self: end;
    margin-bottom: 16px;
}

.snake-item:nth-child(even) .snake-card {
    grid-row: 3;
    align-self: start;
    margin-top: 16px;
}

/* Card */
.snake-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.snake-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.snake-item[data-type="experience"] .snake-card::before {
    background: linear-gradient(180deg, #9945FF, #7b32d9);
}

.snake-item[data-type="education"] .snake-card::before {
    background: linear-gradient(180deg, #10b981, #818cf8);
}

.snake-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.snake-item[data-type="experience"] .snake-card:hover {
    border-color: var(--green-solana);
}

.snake-item[data-type="education"] .snake-card:hover {
    border-color: #10b981;
}

/* Card header */
.snake-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.snake-card-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: #fff;
    padding: 3px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.snake-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.snake-card-type {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.badge-experience {
    background: rgba(153, 69, 255, 0.15);
    color: #b07aff;
}

.badge-education {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.snake-card-date {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Card content */
.snake-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.snake-card-org {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.snake-item[data-type="experience"] .snake-card-org {
    color: var(--green-solana);
}

.snake-item[data-type="education"] .snake-card-org {
    color: #10b981;
}

.snake-card-summary {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 var(--space-sm) 0;
}

/* Highlights (always visible) */
.snake-card-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-sm) 0;
}

.snake-card-highlights li {
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding-left: 14px;
    position: relative;
    margin-bottom: 3px;
    line-height: 1.4;
}

.snake-card-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: 600;
}

.snake-item[data-type="experience"] .snake-card-highlights li::before {
    color: var(--green-solana);
}

.snake-item[data-type="education"] .snake-card-highlights li::before {
    color: #10b981;
}

/* Tags (always visible) */
.snake-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.snake-card-tags .tag {
    font-size: 0.55rem;
    padding: 2px 6px;
}

/* ---- Responsive: Mobile (vertical timeline) ---- */
@media (max-width: 768px) {
    .snake-timeline-wrapper::before,
    .snake-timeline-wrapper::after {
        display: none;
    }

    .snake-timeline {
        flex-direction: column;
        overflow-x: visible;
        min-height: auto;
        padding: 20px 0 20px 32px;
        gap: var(--space-md);
        cursor: default;
    }

    .snake-timeline::before {
        top: 10px;
        bottom: 10px;
        left: 11px;
        right: auto;
        width: 3px;
        height: auto;
        transform: none;
        opacity: 0.4 !important;
        clip-path: none !important;
        animation: none !important;
    }

    .snake-item {
        flex: none;
        display: block;
        min-height: auto;
    }

    .snake-item:nth-child(odd),
    .snake-item:nth-child(even) {
        transform: translateX(-20px);
    }

    .snake-item.snake-visible {
        transform: translateX(0);
    }

    .snake-item::after {
        display: none;
    }

    .snake-year {
        display: block;
        margin-bottom: 4px;
    }

    .snake-item:nth-child(odd) .snake-year,
    .snake-item:nth-child(even) .snake-year {
        grid-row: auto;
        align-self: auto;
        margin: 0 0 4px 0;
    }

    .snake-node {
        position: absolute;
        left: -25px;
        top: 12px;
        width: 14px;
        height: 14px;
    }

    .snake-item:nth-child(odd) .snake-card,
    .snake-item:nth-child(even) .snake-card {
        grid-row: auto;
        align-self: auto;
        margin: 0;
    }

    .snake-item:hover .snake-node {
        transform: scale(1.3);
    }

    .snake-connector {
        display: none;
    }
}

.tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

/* Certification Badge */
.certification-section {
    margin-top: var(--space-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-card);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.cert-badge:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-soft);
}

.cert-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-info {
    flex: 1;
}

.cert-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cert-status {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.subsection-title svg {
    width: 24px;
    height: 24px;
    color: var(--green-solana);
}

/* ============================================
   Skills Section - Dynamic Marquee Design
   ============================================ */
.skills {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.skills .section-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.skills-marquee-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    width: 100%;
    overflow: hidden;
}

.skills-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.skills-marquee::before,
.skills-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.skills-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.skills-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.skills-track {
    display: flex;
    gap: var(--space-sm);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.skills-marquee.reverse .skills-track {
    animation: marquee-reverse 30s linear infinite;
}

.skills-marquee:hover .skills-track {
    animation-play-state: paused;
}

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

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

.skill-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    transition: var(--transition-fast);
    cursor: default;
}

.skill-chip:hover {
    border-color: var(--green-solana);
    background: rgba(11, 196, 122, 0.1);
    transform: scale(1.05);
}

.skill-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.skill-chip.featured {
    background: rgba(11, 196, 122, 0.15);
    border-color: var(--green-solana);
    color: #14F195;
}

.skill-chip.blockchain {
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.1), rgba(20, 241, 149, 0.05));
    border-color: rgba(153, 69, 255, 0.3);
}

@media (max-width: 600px) {
    .skill-chip {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .skill-chip img {
        width: 18px;
        height: 18px;
    }

    .skills-marquee::before,
    .skills-marquee::after {
        width: 40px;
    }
}


/* Values Section - Compact */
.values-section {
    margin-top: var(--space-xl);
    max-width: 100%;
}

.values-section .subsection-title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.values-section .subsection-title svg {
    color: var(--green-solana);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.value-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    border-color: var(--green-solana);
    transform: translateY(-3px);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9945FF, #14F195);
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.value-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.value-card h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 800px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Projects Section
   ============================================ */
.projects {
    position: relative;
    overflow: hidden;
}

.projects-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.projects-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.projects-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.projects-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
    animation: glow-float 8s ease-in-out infinite;
}

.projects-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -50px;
    left: -50px;
    animation: glow-float 10s ease-in-out infinite reverse;
}

@keyframes glow-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(30px, 30px); opacity: 0.5; }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}



/* Featured badge */
.project-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

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

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-card[data-importance="high"]::before {
    background: linear-gradient(135deg, var(--accent-primary), #10b981);
}

.project-image {
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

/* Platform badges overlay - always visible */
.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-md);
}

.platform-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.platform-badge svg {
    width: 14px;
    height: 14px;
}

.platform-badge.web {
    background: rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.platform-badge.ios {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.platform-badge.android {
    background: rgba(61, 220, 132, 0.3);
    border-color: rgba(61, 220, 132, 0.5);
}

.platform-badge.library {
    background: rgba(247, 76, 0, 0.3);
    border-color: rgba(247, 76, 0, 0.5);
}

.platform-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.project-card:hover .project-image img {
    transform: none;
}

/* Rust project background */
.project-image.rust-project-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.project-image.rust-project-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(247, 76, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 76, 0, 0.1) 0%, transparent 40%);
}

.rust-ferris-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rust-ferris {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(247, 76, 0, 0.3));
}

.project-card.featured .project-image {
    aspect-ratio: auto;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.project-placeholder svg {
    width: 48px;
    height: 48px;
}

.project-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.project-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-links {
    display: flex;
    gap: var(--space-xs);
}

.project-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.project-link svg {
    width: 16px;
    height: 16px;
}

.project-link:hover {
    color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.project-link svg {
    width: 20px;
    height: 20px;
}

.project-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.project-tech span {
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Project title with highlight effect */
.project-title {
    position: relative;
    display: inline-block;
}

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

.project-title .title-highlight {
    display: none;
}

/* Project features list */
.project-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(96, 165, 250, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-primary);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.feature-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Enhanced project links */
.project-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.project-link .link-text {
    opacity: 1;
    width: auto;
    margin-left: 4px;
}

.project-link.live-link {
    background: #ff6b35;
    color: white;
}

.project-link.live-link:hover {
    background: #e55a2b;
    color: white;
}

/* Project CTA container */
.project-cta {
    margin-top: auto;
    padding-top: var(--space-md);
    text-align: center;
}

/* Visit Website Button */
.project-link.visit-website-btn {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #ff6b35;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    gap: 8px;
    white-space: nowrap;
}

.project-link.visit-website-btn:hover {
    background: #e55a2b;
}

.project-link.visit-website-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Visit Website Button - Simple */
.project-link.visit-btn {
    padding: 8px 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.project-link.visit-btn .visit-text {
    opacity: 1;
    width: auto;
}

.project-link.visit-btn svg {
    width: 14px;
    height: 14px;
    margin-left: 6px;
}

.project-link.visit-btn:hover {
    background: var(--accent-secondary);
}

.project-link.github-link:hover {
    background: #24292e;
    color: white;
}

.project-link:hover svg {
    transform: translateX(2px) translateY(-2px);
}

/* Enhanced CTA button */
.projects-cta {
    text-align: center;
    margin-top: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    background-size: 200% 100%;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: gradient-shift 3s linear infinite;
}

.btn-glow:hover::before {
    opacity: 1;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.btn-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-glow:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .project-card.featured {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   Blog Section
   ============================================ */
.blog {
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

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

.blog-image {
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.blog-placeholder svg {
    width: 48px;
    height: 48px;
}

.blog-content {
    padding: var(--space-xl);
}

.blog-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.blog-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-reads {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.blog-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-title a {
    transition: var(--transition-fast);
}

.blog-title a:hover {
    color: var(--green-solana);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.blog-link:hover {
    gap: var(--space-sm);
}

.blog-link svg {
    width: 16px;
    height: 16px;
}

.blog-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.blog-banner {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: #e4e4f0;
    background: #050507;
    border: 1px solid #1e1e32;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.blog-banner:hover {
    border-color: var(--green-solana);
    box-shadow: 0 0 60px rgba(153, 69, 255, 0.15), 0 0 120px rgba(20, 241, 149, 0.06);
    transform: translateY(-3px);
}

.blog-banner-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blog-banner-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(153, 69, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(153, 69, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.blog-banner-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    transition: opacity 0.4s;
}

.blog-banner:hover .blog-banner-glow { opacity: 0.8; }

.blog-banner-glow-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -40px;
    background: rgba(153, 69, 255, 0.15);
}

.blog-banner-glow-2 {
    width: 250px;
    height: 250px;
    bottom: -60px;
    left: -30px;
    background: rgba(20, 241, 149, 0.1);
}

.blog-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 56px 32px;
}

.blog-banner-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #14F195;
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 100px;
    margin-bottom: 20px;
}

.blog-banner-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #9945FF, #14F195);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-banner-desc {
    font-size: 0.95rem;
    color: #b0b0cc;
    margin-bottom: 24px;
    font-weight: 300;
}

.blog-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #9945FF, #14F195);
    transition: box-shadow 0.3s;
}

.blog-banner:hover .blog-banner-btn {
    box-shadow: 0 0 30px var(--green-solana-glow);
}

.blog-banner:hover .blog-banner-btn svg {
    transform: translateX(4px);
}

.blog-banner-btn svg {
    transition: transform 0.3s;
}

@media (max-width: 600px) {
    .blog-banner-content {
        padding: 40px 20px;
    }
}

/* ============================================
   Contact Section
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.contact-method:hover {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.method-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.method-value {
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* Contact CTA Box */
.contact-cta-box {
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.cta-content h4 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
    max-width: 400px;
}

.cta-content .btn-large {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: white;
    color: var(--blue-600);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.cta-content .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-content .btn-large svg {
    width: 20px;
    height: 20px;
}

.cta-decoration {
    position: absolute;
    right: var(--space-xl);
    opacity: 0.15;
}

.cta-decoration svg {
    width: 150px;
    height: 150px;
    color: white;
}

@media (max-width: 600px) {
    .contact-cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-content p {
        max-width: 100%;
    }

    .cta-decoration {
        display: none;
    }
}

/* ============================================
   Footer Minimal - Rust Theme
   ============================================ */
.footer-minimal {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-lg) 0;
}

.footer-minimal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-mini-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    text-decoration: none;
}

.footer-mini-logo .logo-bracket {
    color: var(--green-solana);
}

.footer-mini-logo .logo-text {
    color: var(--text-primary);
}

.footer-mini-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-mini-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.footer-mini-links a:hover {
    color: white;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    transform: translateY(-2px);
}

.footer-mini-links svg {
    width: 18px;
    height: 18px;
}

.footer-mini-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-divider {
    margin: 0 8px;
    color: var(--border-color);
}

.footer-amazigh-inline {
    color: #14F195;
    font-size: 0.9rem;
    cursor: default;
}

@media (max-width: 600px) {
    .footer-minimal-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-mini-links {
        order: -1;
    }
}

/* ============================================
   Footer (Legacy)
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-3xl) 0 var(--space-xl);
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: var(--space-md);
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-flex;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-tech {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Button Ripple Effect
   ============================================ */
.btn {
    position: relative;
    overflow: hidden;
}

.btn-ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   Section Title Animation
   ============================================ */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.title-animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Spotlight Effect on Cards
   ============================================ */
.project-card::before,
.skill-category::before,
.blog-card::before {
    content: '';
    position: absolute;
    top: var(--spotlight-y, 50%);
    left: var(--spotlight-x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.skill-category:hover::before,
.blog-card:hover::before {
    opacity: 1;
}

/* ============================================
   Enhanced Skill Items
   ============================================ */
.skill-item {
    position: relative;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateX(8px);
    background: var(--bg-tertiary);
}

.skill-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.skill-item:hover::after {
    height: 60%;
}

/* ============================================
   Blog Card Enhancements
   ============================================ */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(96, 165, 250, 0.1);
}

/* ============================================
   Contact Method Enhancements
   ============================================ */
.contact-method {
    position: relative;
    overflow: hidden;
}

.contact-method::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.contact-method:hover::after {
    left: 150%;
}

/* ============================================
   Animated Quote
   ============================================ */
.about-quote {
    position: relative;
    overflow: hidden;
}

.about-quote::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--accent-primary);
    opacity: 0.1;
    line-height: 1;
}

/* ============================================
   Tech/Math Background for Skills Section
   ============================================ */
.skills {
    position: relative;
    overflow: visible;
}

.skills::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Binary code pattern */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ctext x='5' y='15' fill='rgba(96,165,250,0.03)' font-family='monospace' font-size='10'%3E01001%3C/text%3E%3Ctext x='55' y='35' fill='rgba(96,165,250,0.03)' font-family='monospace' font-size='10'%3E10110%3C/text%3E%3Ctext x='15' y='55' fill='rgba(96,165,250,0.03)' font-family='monospace' font-size='10'%3E11001%3C/text%3E%3Ctext x='65' y='75' fill='rgba(96,165,250,0.03)' font-family='monospace' font-size='10'%3E00101%3C/text%3E%3Ctext x='25' y='95' fill='rgba(96,165,250,0.03)' font-family='monospace' font-size='10'%3E10010%3C/text%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    animation: binary-scroll 30s linear infinite;
}

@keyframes binary-scroll {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

/* Math formulas floating */
.skills-bg-math {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.math-formula {
    position: absolute;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    color: var(--accent-primary);
    opacity: 0.05;
    font-size: 1.2rem;
    white-space: nowrap;
    animation: math-float 20s ease-in-out infinite;
}

.math-formula:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.math-formula:nth-child(2) { top: 30%; right: 10%; animation-delay: -5s; }
.math-formula:nth-child(3) { top: 50%; left: 15%; animation-delay: -10s; }
.math-formula:nth-child(4) { top: 70%; right: 20%; animation-delay: -15s; }
.math-formula:nth-child(5) { top: 85%; left: 30%; animation-delay: -8s; }
.math-formula:nth-child(6) { top: 20%; left: 60%; animation-delay: -12s; }

@keyframes math-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.05; }
    50% { transform: translateY(-30px) rotate(5deg); opacity: 0.08; }
}

/* Circuit pattern */
.circuit-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M20 100 H80 M80 100 V60 H120 V100 H180' stroke='rgba(96,165,250,0.05)' fill='none' stroke-width='2'/%3E%3Ccircle cx='80' cy='100' r='4' fill='rgba(96,165,250,0.08)'/%3E%3Ccircle cx='120' cy='60' r='4' fill='rgba(96,165,250,0.08)'/%3E%3Ccircle cx='120' cy='100' r='4' fill='rgba(96,165,250,0.08)'/%3E%3Cpath d='M100 20 V80 M100 120 V180' stroke='rgba(96,165,250,0.05)' fill='none' stroke-width='2'/%3E%3Ccircle cx='100' cy='80' r='4' fill='rgba(96,165,250,0.08)'/%3E%3Ccircle cx='100' cy='120' r='4' fill='rgba(96,165,250,0.08)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Hexagon grid overlay */
.hex-grid {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='rgba(96,165,250,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Hidden Easter Egg Styles
   ============================================ */
.easter-egg-trigger {
    cursor: default;
    user-select: none;
}

.secret-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    z-index: 10000;
    text-align: center;
    box-shadow: 0 0 100px rgba(96, 165, 250, 0.5);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.secret-message.active {
    transform: translate(-50%, -50%) scale(1);
}

.secret-message h3 {
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
}

.secret-message p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.secret-message .close-btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.secret-message .close-btn:hover {
    transform: scale(1.05);
}

/* Matrix rain effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.matrix-rain.active {
    opacity: 1;
}

.matrix-column {
    position: absolute;
    top: -100%;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--green-solana);
    animation: matrix-fall 5s linear infinite;
    opacity: 0.8;
}

@keyframes matrix-fall {
    from { transform: translateY(-100%); }
    to { transform: translateY(calc(100vh + 100%)); }
}

/* Glitch effect for easter eggs */
.glitch-active {
    animation: glitch-text 0.3s ease infinite;
}

@keyframes glitch-text {
    0%, 100% { transform: translate(0); filter: hue-rotate(0deg); }
    20% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
    40% { transform: translate(2px, -2px); filter: hue-rotate(180deg); }
    60% { transform: translate(-2px, -2px); filter: hue-rotate(270deg); }
    80% { transform: translate(2px, 2px); filter: hue-rotate(360deg); }
}

/* Rainbow border animation */
.rainbow-border {
    position: relative;
}

.rainbow-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    border-radius: inherit;
    z-index: -1;
    animation: rainbow-rotate 3s linear infinite;
    filter: blur(5px);
}

@keyframes rainbow-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   Section Visibility Animations
   ============================================ */
.section {
    opacity: 0.6;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.skill-category,
.project-card,
.blog-card,
.value-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.skill-category.card-visible,
.project-card.card-visible,
.blog-card.card-visible,
.value-card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   More Math Formulas Styling
   ============================================ */
.skills-bg-math .math-formula:nth-child(7) { top: 40%; left: 75%; animation-delay: -3s; }
.skills-bg-math .math-formula:nth-child(8) { top: 60%; left: 85%; animation-delay: -18s; }


/* ============================================
   Skills Section Dynamic Glow
   ============================================ */
.skills::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: calc(var(--scroll-progress, 0) * 0.5);
    transition: opacity 0.3s ease;
}

/* ============================================
   Contact Section Effects
   ============================================ */
.contact {
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(96, 165, 250, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.contact-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -200px;
    left: -100px;
    opacity: 0.15;
    animation: contact-glow-float 10s ease-in-out infinite;
}

.contact-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -100px;
    opacity: 0.15;
    animation: contact-glow-float 12s ease-in-out infinite reverse;
}

@keyframes contact-glow-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
}

.floating-icons {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float-icon 8s ease-in-out infinite;
}

.floating-icon.icon-1 { top: 15%; left: 10%; animation-delay: 0s; }
.floating-icon.icon-2 { top: 25%; right: 15%; animation-delay: -2s; }
.floating-icon.icon-3 { bottom: 30%; left: 20%; animation-delay: -4s; }
.floating-icon.icon-4 { bottom: 20%; right: 25%; animation-delay: -6s; }

@keyframes float-icon {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.2; }
}

.contact-headline {
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.wave-emoji {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.contact-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    font-size: 1.05rem;
}

.contact-cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card), rgba(96, 165, 250, 0.05));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0.1;
}

.cta-ring {
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: ring-pulse 3s ease-in-out infinite;
}

.cta-ring:nth-child(2) { animation-delay: -1s; width: 80px; height: 80px; }
.cta-ring:nth-child(3) { animation-delay: -2s; width: 60px; height: 60px; }

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    animation: cta-icon-pulse 2s ease-in-out infinite;
}

.cta-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes cta-icon-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--green-solana-glow); }
    50% { box-shadow: 0 0 0 20px rgba(20, 241, 149, 0); }
}

.cta-content h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.cta-content > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-cta-btn {
    position: relative;
    overflow: hidden;
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-cta-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: btn-shine-move 3s ease-in-out infinite;
}

@keyframes btn-shine-move {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.contact-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-cta-btn:hover svg {
    transform: translate(3px, -3px);
}

.cta-availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.availability-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: availability-pulse 2s ease-in-out infinite;
}

@keyframes availability-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ============================================
   Footer Effects
   ============================================ */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* ============================================
   Hidden Message Hover Text
   ============================================ */
.footer-tech::after {
    content: ' (with love)';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-tech:hover::after {
    opacity: 1;
}

/* ============================================
   Blog Card Reading Time Animation
   ============================================ */
.blog-meta {
    position: relative;
}

.read-count {
    position: relative;
    overflow: hidden;
}

.read-count::before {
    content: '👀';
    position: absolute;
    left: -25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.blog-card:hover .read-count::before {
    left: -20px;
    opacity: 1;
}

/* ============================================
   Secret Developer Watermark
   ============================================ */
body::after {
    content: '// Made by a passionate developer';
    position: fixed;
    bottom: 5px;
    left: 5px;
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--text-muted);
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   Education Section Parallax
   ============================================ */
.education {
    position: relative;
}

.education-card {
    position: relative;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(96, 165, 250, 0.1);
}

.education-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.education-card:hover::before {
    height: 60%;
}

/* ============================================
   About Stats Animation
   ============================================ */
.about-stats .stat {
    transition: all 0.3s ease;
}

.about-stats .stat:hover {
    transform: scale(1.1);
}

.about-stats .stat:hover .stat-number {
    color: var(--green-solana);
}

/* ============================================
   Project Tech Tags Enhancement
   ============================================ */
.project-tech .tag {
    transition: all 0.3s ease;
    cursor: default;
}

.project-tech .tag:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   Animated Mascots
   ============================================ */
.skills-mascots {
    display: none; /* Hidden for cleaner look */
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 2;
}

/* Mascots positioned in edge zones - left and right margins */
.mascot {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    z-index: 5;
}

.mascot:hover {
    transform: scale(1.15) !important;
    z-index: 20;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Go Gopher - TOP LEFT */
.mascot.gopher {
    width: 140px;
    height: 140px;
    top: 3%;
    left: 8%;
    animation: gopher-bounce 1.2s ease-in-out infinite;
}

@keyframes gopher-bounce {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-30px) rotate(8deg); }
}

.gopher-arm-left {
    transform-origin: center top;
    animation: gopher-wave-left 2s ease-in-out infinite;
}

.gopher-arm-right {
    transform-origin: center top;
    animation: gopher-wave-right 2s ease-in-out infinite;
}

@keyframes gopher-wave-left {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(15deg); }
}

@keyframes gopher-wave-right {
    0%, 100% { transform: rotate(10deg); }
    50% { transform: rotate(-15deg); }
}

.gopher-pupil {
    animation: gopher-look 4s ease-in-out infinite;
}

@keyframes gopher-look {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
}

.mascot.gopher:hover .gopher-svg {
    animation: gopher-excited 0.3s ease infinite;
}

@keyframes gopher-excited {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Rust Ferris - TOP RIGHT */
.mascot.ferris {
    width: 120px;
    height: 95px;
    top: 8%;
    right: 12%;
    animation: ferris-walk 2.5s ease-in-out infinite;
}

@keyframes ferris-walk {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(15px) rotate(3deg); }
    50% { transform: translateX(0) rotate(0deg); }
    75% { transform: translateX(-15px) rotate(-3deg); }
}

.ferris-claw-left {
    transform-origin: right center;
    animation: ferris-claw 1.5s ease-in-out infinite;
}

.ferris-claw-right {
    transform-origin: left center;
    animation: ferris-claw 1.5s ease-in-out infinite reverse;
}

@keyframes ferris-claw {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

.ferris-eye {
    animation: ferris-blink 3s ease infinite;
}

@keyframes ferris-blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

/* Docker Whale - TOP CENTER-LEFT */
.mascot.docker-whale {
    width: 120px;
    height: 80px;
    top: 2%;
    left: 35%;
    animation: whale-swim 5s ease-in-out infinite;
}

@keyframes whale-swim {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(20px) translateY(-10px); }
    50% { transform: translateX(0) translateY(0); }
    75% { transform: translateX(-20px) translateY(-5px); }
}

.whale-tail {
    transform-origin: right center;
    animation: whale-tail-wag 0.8s ease-in-out infinite;
}

@keyframes whale-tail-wag {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.whale-spout {
    animation: whale-spout-anim 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes whale-spout-anim {
    0%, 70%, 100% { opacity: 0; transform: translateY(0); }
    75%, 95% { opacity: 0.8; transform: translateY(-5px); }
}

.container {
    animation: container-load 0.5s ease forwards;
    opacity: 0;
}

.container.c1 { animation-delay: 0.1s; }
.container.c2 { animation-delay: 0.2s; }
.container.c3 { animation-delay: 0.3s; }
.container.c4 { animation-delay: 0.4s; }
.container.c5 { animation-delay: 0.5s; }
.container.c6 { animation-delay: 0.6s; }
.container.c7 { animation-delay: 0.7s; }

@keyframes container-load {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Kubernetes Wheel - TOP CENTER-RIGHT */
.mascot.k8s-wheel {
    width: 110px;
    height: 110px;
    top: 5%;
    right: 30%;
    animation: k8s-float 4s ease-in-out infinite;
}

@keyframes k8s-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.k8s-rotate {
    transform-origin: center;
    animation: k8s-spin 1.5s linear infinite;
}

@keyframes k8s-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mascot.k8s-wheel:hover .k8s-rotate {
    animation-duration: 0.5s;
}

/* Mascot tooltips */
.mascot::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--border-color);
}

.mascot:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Responsive mascots */
@media (max-width: 1400px) {
    .mascot {
        transform: scale(0.8);
    }
}

@media (max-width: 1200px) {
    .mascot {
        transform: scale(0.7);
    }

    /* Hide some mascots on smaller screens */
    .mascot.java-duke,
    .mascot.redis-diamond,
    .mascot.kafka-bird,
    .mascot.tux-penguin,
    .mascot.bitcoin-coin,
    .mascot.ethereum-diamond,
    .mascot.blockchain-chain {
        display: none;
    }
}

@media (max-width: 900px) {
    .skills-mascots {
        display: none;
    }
}

/* PostgreSQL Elephant - LEFT SIDE */
.mascot.postgres-elephant {
    width: 100px;
    height: 100px;
    top: 25%;
    left: 3%;
    animation: elephant-walk 3s ease-in-out infinite;
}

@keyframes elephant-walk {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(20px) rotate(3deg); }
    75% { transform: translateX(-20px) rotate(-3deg); }
}

.elephant-ear-left {
    transform-origin: right center;
    animation: elephant-ear 1.5s ease-in-out infinite;
}

.elephant-ear-right {
    transform-origin: left center;
    animation: elephant-ear 1.5s ease-in-out infinite reverse;
}

@keyframes elephant-ear {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.elephant-trunk {
    transform-origin: top center;
    animation: elephant-trunk-swing 2s ease-in-out infinite;
}

@keyframes elephant-trunk-swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Python Snake - RIGHT SIDE */
.mascot.python-snake {
    width: 110px;
    height: 85px;
    top: 35%;
    right: 5%;
    animation: snake-slither 4s ease-in-out infinite;
}

@keyframes snake-slither {
    0%, 100% { transform: translateX(0) scaleX(1); }
    50% { transform: translateX(30px) scaleX(0.95); }
}

.snake-tongue {
    animation: snake-tongue-flick 0.5s ease-in-out infinite;
}

@keyframes snake-tongue-flick {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(1.5); opacity: 0.7; }
}

.snake-body-blue, .snake-body-yellow {
    animation: snake-body-wiggle 2s ease-in-out infinite;
}

@keyframes snake-body-wiggle {
    0%, 100% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 10; }
}

/* Java Duke Coffee - MIDDLE LEFT */
.mascot.java-duke {
    width: 95px;
    height: 120px;
    top: 50%;
    left: 12%;
    animation: java-bob 2s ease-in-out infinite;
}

@keyframes java-bob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.steam {
    animation: steam-rise 1.5s ease-in-out infinite;
    opacity: 0.7;
}

.steam.s1 { animation-delay: 0s; }
.steam.s2 { animation-delay: 0.3s; }
.steam.s3 { animation-delay: 0.6s; }

@keyframes steam-rise {
    0% { transform: translateY(0) scaleY(1); opacity: 0.7; }
    100% { transform: translateY(-15px) scaleY(1.5); opacity: 0; }
}

/* Redis Diamond - MIDDLE RIGHT */
.mascot.redis-diamond {
    width: 65px;
    height: 65px;
    top: 55%;
    right: 15%;
    animation: redis-float 2s ease-in-out infinite, redis-sparkle 3s ease-in-out infinite;
}

@keyframes redis-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

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

.sparkle {
    animation: sparkle-blink 1s ease-in-out infinite;
}

.sparkle.sp1 { animation-delay: 0s; }
.sparkle.sp2 { animation-delay: 0.3s; }
.sparkle.sp3 { animation-delay: 0.6s; }

@keyframes sparkle-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.5); }
}

/* AWS Cloud - BOTTOM LEFT */
.mascot.aws-cloud {
    width: 110px;
    height: 70px;
    top: 75%;
    left: 8%;
    animation: aws-float 4s ease-in-out infinite;
}

@keyframes aws-float {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(15px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(-15px) translateY(-5px); }
}

.data-drop {
    animation: data-fall 1s ease-in infinite;
}

.data-drop.d1 { animation-delay: 0s; }
.data-drop.d2 { animation-delay: 0.2s; }
.data-drop.d3 { animation-delay: 0.4s; }
.data-drop.d4 { animation-delay: 0.6s; }

@keyframes data-fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Kafka Bird - BOTTOM RIGHT */
.mascot.kafka-bird {
    width: 75px;
    height: 75px;
    top: 72%;
    right: 10%;
    animation: kafka-hop 1s ease-in-out infinite;
}

@keyframes kafka-hop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.kafka-wing-left {
    transform-origin: right center;
    animation: kafka-flap 0.3s ease-in-out infinite;
}

.kafka-wing-right {
    transform-origin: left center;
    animation: kafka-flap 0.3s ease-in-out infinite reverse;
}

@keyframes kafka-flap {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

.kafka-stream {
    animation: kafka-stream-flow 1s ease-in-out infinite;
    stroke-dasharray: 5 5;
}

.kafka-stream.ks1, .kafka-stream.ks3 { animation-delay: 0s; }
.kafka-stream.ks2, .kafka-stream.ks4 { animation-delay: 0.5s; }

@keyframes kafka-stream-flow {
    0% { stroke-dashoffset: 10; opacity: 0.5; }
    100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Tux Penguin - MIDDLE CENTER */
.mascot.tux-penguin {
    width: 70px;
    height: 90px;
    top: 62%;
    left: 42%;
    animation: tux-waddle 1.5s ease-in-out infinite;
}

@keyframes tux-waddle {
    0%, 100% { transform: translateX(0) rotate(-5deg); }
    50% { transform: translateX(10px) rotate(5deg); }
}

.tux-wing-left {
    transform-origin: top right;
    animation: tux-wave 1s ease-in-out infinite;
}

.tux-wing-right {
    transform-origin: top left;
    animation: tux-wave 1s ease-in-out infinite reverse;
}

@keyframes tux-wave {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(20deg); }
}

.tux-foot-left, .tux-foot-right {
    animation: tux-tap 0.5s ease-in-out infinite alternate;
}

.tux-foot-right {
    animation-delay: 0.25s;
}

@keyframes tux-tap {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(0.8); }
}

/* Make gopher wave arms faster */
.gopher-arm-left {
    animation: gopher-wave-left 0.8s ease-in-out infinite;
}

.gopher-arm-right {
    animation: gopher-wave-right 0.8s ease-in-out infinite;
}

/* Bitcoin Coin - BOTTOM CENTER-RIGHT */
.mascot.bitcoin-coin {
    width: 110px;
    height: 110px;
    top: 68%;
    right: 35%;
    animation: btc-float 3s ease-in-out infinite;
}

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

.btc-coin {
    animation: btc-spin 8s linear infinite;
    transform-origin: center;
}

@keyframes btc-spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.btc-sparkle {
    animation: btc-sparkle-blink 1.5s ease-in-out infinite;
}

.btc-sparkle.sp1 { animation-delay: 0s; }
.btc-sparkle.sp2 { animation-delay: 0.5s; }
.btc-sparkle.sp3 { animation-delay: 1s; }

@keyframes btc-sparkle-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.5); }
}

.btc-shine {
    animation: btc-shine-pulse 2s ease-in-out infinite;
}

@keyframes btc-shine-pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.mascot.bitcoin-coin:hover {
    animation: btc-moon 0.5s ease-out forwards;
}

@keyframes btc-moon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px) scale(1.1); }
}

/* Ethereum Diamond - BOTTOM FAR LEFT */
.mascot.ethereum-diamond {
    width: 75px;
    height: 90px;
    top: 88%;
    left: 18%;
    animation: eth-float 4s ease-in-out infinite;
}

@keyframes eth-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.eth-top, .eth-bottom {
    animation: eth-pulse 3s ease-in-out infinite;
}

@keyframes eth-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.eth-glow {
    animation: eth-glow-pulse 2s ease-in-out infinite;
}

@keyframes eth-glow-pulse {
    0%, 100% { opacity: 0.3; r: 25; }
    50% { opacity: 0.6; r: 30; }
}

.mascot.ethereum-diamond:hover .eth-svg {
    animation: eth-rotate 1s ease-in-out;
}

@keyframes eth-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Blockchain Chain - BOTTOM FAR RIGHT */
.mascot.blockchain-chain {
    width: 160px;
    height: 50px;
    top: 90%;
    right: 8%;
    animation: chain-slide 6s ease-in-out infinite;
}

@keyframes chain-slide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.chain-link {
    animation: chain-link-pulse 2s ease-in-out infinite;
}

.chain-link.c1 { animation-delay: 0s; }
.chain-link.c2 { animation-delay: 0.2s; }
.chain-link.c3 { animation-delay: 0.4s; }
.chain-link.c4 { animation-delay: 0.6s; }

@keyframes chain-link-pulse {
    0%, 100% { stroke-width: 4; }
    50% { stroke-width: 5; }
}

.chain-link.new-block {
    animation: new-block-appear 2s ease-in-out infinite;
}

@keyframes new-block-appear {
    0%, 100% { opacity: 0.5; stroke-dashoffset: 0; }
    50% { opacity: 1; stroke-dashoffset: 8; }
}

.block-hash {
    animation: hash-change 3s steps(1) infinite;
}

@keyframes hash-change {
    0% { opacity: 1; }
    33% { opacity: 0.5; }
    66% { opacity: 1; }
}

.chain-connector {
    animation: connector-glow 1.5s ease-in-out infinite;
}

@keyframes connector-glow {
    0%, 100% { stroke-width: 2; opacity: 0.7; }
    50% { stroke-width: 3; opacity: 1; }
}

.chain-connector.new {
    animation: connector-build 1s ease-in-out infinite;
}

@keyframes connector-build {
    0%, 100% { stroke-dashoffset: 5; opacity: 0.3; }
    50% { stroke-dashoffset: 0; opacity: 0.8; }
}

/* Hide blockchain mascots on smaller screens */
@media (max-width: 1400px) {
    .mascot.blockchain-chain {
        width: 150px;
        right: 2%;
    }
}

@media (max-width: 1200px) {
    .mascot.bitcoin-coin,
    .mascot.ethereum-diamond,
    .mascot.blockchain-chain {
        display: none;
    }
}

/* Responsive - hide some on tablet */
@media (max-width: 1200px) {
    .mascot.kafka-bird,
    .mascot.tux-penguin,
    .mascot.redis-diamond {
        display: none;
    }
}

@media (max-width: 900px) {
    .mascot.postgres-elephant,
    .mascot.python-snake,
    .mascot.java-duke,
    .mascot.aws-cloud {
        transform: scale(0.7);
    }
}

/* ============================================
   Unlimited Fireworks Effect
   ============================================ */
.unlimited-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: overlay-fade-in 0.3s ease;
}

.unlimited-overlay.fade-out {
    animation: overlay-fade-out 0.5s ease forwards;
}

@keyframes overlay-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes overlay-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.unlimited-message {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: white;
    text-align: center;
    z-index: 10001;
    text-shadow:
        0 0 20px rgba(255, 107, 53, 0.8),
        0 0 40px rgba(255, 107, 53, 0.6),
        0 0 60px rgba(255, 107, 53, 0.4);
    animation: message-pulse 1s ease-in-out infinite;
}

@keyframes message-pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow:
            0 0 20px rgba(255, 107, 53, 0.8),
            0 0 40px rgba(255, 107, 53, 0.6),
            0 0 60px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        text-shadow:
            0 0 30px rgba(255, 107, 53, 1),
            0 0 60px rgba(255, 107, 53, 0.8),
            0 0 90px rgba(255, 107, 53, 0.6);
    }
}

.fireworks-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.firework {
    position: absolute;
    width: 10px;
    height: 10px;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: particle-explode 1s ease-out forwards;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

@keyframes particle-explode {
    0% {
        transform: rotate(var(--angle)) translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: rotate(var(--angle)) translateX(150px) scale(0);
        opacity: 0;
    }
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    position: relative;
    margin-right: var(--space-md);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--accent-primary);
    background: var(--bg-elevated);
}

.lang-flag {
    font-size: 1.1rem;
}

.lang-code {
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.language-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.lang-option:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(96, 165, 250, 0.1);
    color: var(--accent-primary);
}

/* ============================================
   Footer Amazigh Letters
   ============================================ */
.footer-amazigh {
    font-size: 1.1rem;
    color: var(--green-solana);
    margin-top: var(--space-md);
    letter-spacing: 2px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-amazigh:hover {
    opacity: 1;
    color: var(--green-solana);
}

/* ============================================
   Contact Popup Modal
   ============================================ */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.contact-modal-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
    transform: scale(1) translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-modal-close:hover {
    background: #9945FF;
    border-color: #9945FF;
    color: white;
}

.contact-modal-close svg {
    width: 18px;
    height: 18px;
}

/* Floating Contact Button */
.contact-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 20px var(--green-solana-glow);
    transition: all 0.3s ease;
}

.contact-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--green-solana-glow);
}

.contact-fab svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .contact-fab {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .contact-fab span {
        display: none;
    }

    .contact-fab {
        padding: 14px;
        border-radius: var(--radius-full);
    }

    .contact-modal-close {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* ============================================
   Contact Content - Rust Theme
   ============================================ */

.contact-rust-wrapper {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.contact-rust-accent {
    width: 6px;
    background: linear-gradient(180deg, #9945FF 0%, #14F195 50%, #00D4FF 100%);
    flex-shrink: 0;
}

.contact-rust-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Terminal Header */
.contact-terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.terminal-dot:nth-child(1) { background: #ef4444; }
.terminal-dot:nth-child(2) { background: #eab308; }
.terminal-dot:nth-child(3) { background: #22c55e; }

.terminal-title {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Terminal Body */
.contact-terminal-body {
    padding: var(--space-lg);
}

.code-line {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.code-keyword {
    color: var(--green-solana);
    font-weight: 600;
}

.code-function {
    color: #00D4FF;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
}

.contact-link-rust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.contact-link-rust:hover {
    background: rgba(153, 69, 255, 0.08);
    color: var(--text-primary);
}

.contact-link-rust .link-prefix {
    font-family: var(--font-mono);
    color: var(--text-muted);
    opacity: 0.5;
}

.contact-link-rust svg {
    width: 20px;
    height: 20px;
    color: #14F195;
    flex-shrink: 0;
}

.contact-link-rust .link-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    flex: 1;
}

.contact-link-rust .link-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: #14F195;
    font-weight: 600;
}

.contact-link-rust:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-link-rust.location {
    cursor: default;
}

.contact-link-rust.location:hover {
    background: transparent;
}

/* CTA Section */
.contact-rust-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.cta-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cta-button-rust {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-rust:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-solana-glow);
}

.cta-button-rust svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-button-rust:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 600px) {
    .contact-rust-wrapper {
        flex-direction: column;
    }

    .contact-rust-accent {
        width: 100%;
        height: 4px;
    }

    .contact-rust-cta {
        flex-direction: column;
        text-align: center;
    }

    .cta-button-rust {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Articles / Blog Section - Rust Theme
   ============================================ */
.articles-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.article-card {
    display: flex;
    align-items: stretch;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.article-card:hover {
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: -2px 2px 12px rgba(59, 130, 246, 0.15);
}

.article-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.article-content {
    flex: 1;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.article-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.article-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.article-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #3b82f6;
}

.article-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.article-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.article-card:hover .article-arrow {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
}

.article-card:hover .article-arrow svg {
    transform: translateX(4px);
}

/* Responsive Articles */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
    }

    .article-number {
        width: 100%;
        min-width: unset;
        padding: var(--space-sm);
        font-size: 1.2rem;
    }

    .article-arrow {
        width: 100%;
        min-width: unset;
        padding: var(--space-md);
    }

    .article-arrow svg {
        transform: rotate(90deg);
    }

    .article-card:hover .article-arrow svg {
        transform: rotate(90deg) translateX(4px);
    }
}
