﻿:root {
            --primary: #00D9FF;
            --primary-deep: #0891B2;
            --primary-light: #67E8F9;
            --primary-bg: rgba(6, 182, 212, 0.12);
            --accent: #F59E0B;
            --accent-light: rgba(245, 158, 11, 0.15);
            --accent-deep: #FBBF24;
            --bg: #0A0A0A;
            --bg-card: #141414;
            --bg-nav: rgba(10, 10, 10, 0.92);
            --text: #FFFFFF;
            --text-secondary: #D4D4D4;
            --text-tertiary: #A3A3A3;
            --border: #262626;
            --border-light: #1A1A1A;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
            --radius-sm: 6px;
            --radius: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
            --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', 'Monaco', 'Source Code Pro', monospace;
            --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
            --nav-height: 60px;
            --sidebar-width: 300px;
            --sidebar-bg: rgba(8, 12, 16, 0.38);
            --hero-gradient: radial-gradient(ellipse at 30% 0%, #083344 0%, #0A0A0A 55%, #000000 100%);
            --hero-pattern-opacity: 0.08;
            --card-hover-lift: -4px;
            --timeline-line: #404040;
            --badge-ai-bg: rgba(6, 182, 212, 0.12);
            --badge-ai-text: #22D3EE;
            --badge-frontend-bg: rgba(14, 165, 233, 0.12);
            --badge-frontend-text: #38BDF8;
            --badge-hardware-bg: rgba(245, 158, 11, 0.12);
            --badge-hardware-text: #FBBF24;
            --badge-soft-bg: rgba(34, 197, 94, 0.12);
            --badge-soft-text: #4ADE80;
            --progress-track: #262626;
            --progress-fill: linear-gradient(90deg, #0e7490 0%, #06b6d4 42%, #22d3ee 72%, #a5f3fc 100%);
            --toast-bg: #FFFFFF;
            --toast-text: #0A0A0A;
        }

        [data-theme="light"] {
            --bg: #f4f7fb;
            --bg-card: #ffffff;
            --bg-nav: rgba(255, 255, 255, 0.9);
            --text: #111827;
            --text-secondary: #374151;
            --text-tertiary: #6b7280;
            --border: #e5e7eb;
            --border-light: #eef2f6;
            --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
            --shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
            --shadow-md: 0 10px 20px rgba(15, 23, 42, 0.1);
            --shadow-lg: 0 18px 36px rgba(15, 23, 42, 0.12);
            --primary-bg: rgba(8, 145, 178, 0.1);
            --accent-light: rgba(245, 158, 11, 0.12);
            --timeline-line: #d1d5db;
            --badge-ai-bg: rgba(8, 145, 178, 0.1);
            --badge-ai-text: #0e7490;
            --badge-frontend-bg: rgba(37, 99, 235, 0.1);
            --badge-frontend-text: #1d4ed8;
            --badge-hardware-bg: rgba(217, 119, 6, 0.12);
            --badge-hardware-text: #b45309;
            --badge-soft-bg: rgba(22, 163, 74, 0.1);
            --badge-soft-text: #15803d;
            --progress-track: #e5e7eb;
            --progress-fill: linear-gradient(90deg, #0e7490 0%, #0891b2 40%, #22d3ee 75%, #67e8f9 100%);
            --toast-bg: #111827;
            --toast-text: #ffffff;
            --hero-gradient: radial-gradient(ellipse at 30% 0%, #dbeafe 0%, #f4f7fb 55%, #eef2ff 100%);
            --hero-pattern-opacity: 0.12;
            --sidebar-bg: rgba(255, 255, 255, 0.46);
        }

        [data-theme="dark"] {
            --bg: #0A0A0A;
            --bg-card: #141414;
            --bg-nav: rgba(10, 10, 10, 0.92);
            --text: #FFFFFF;
            --text-secondary: #D4D4D4;
            --text-tertiary: #A3A3A3;
            --border: #262626;
            --border-light: #1A1A1A;
            --sidebar-bg: rgba(8, 12, 16, 0.38);
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
            --primary-bg: rgba(6, 182, 212, 0.12);
            --accent-light: rgba(245, 158, 11, 0.15);
            --timeline-line: #404040;
            --badge-ai-bg: rgba(6, 182, 212, 0.12);
            --badge-ai-text: #22D3EE;
            --badge-frontend-bg: rgba(14, 165, 233, 0.12);
            --badge-frontend-text: #38BDF8;
            --badge-hardware-bg: rgba(245, 158, 11, 0.12);
            --badge-hardware-text: #FBBF24;
            --badge-soft-bg: rgba(34, 197, 94, 0.12);
            --badge-soft-text: #4ADE80;
            --progress-track: #262626;
            --progress-fill: linear-gradient(90deg, #0e7490 0%, #06b6d4 42%, #22d3ee 72%, #a5f3fc 100%);
            --toast-bg: #FFFFFF;
            --toast-text: #0A0A0A;
            --hero-gradient: radial-gradient(ellipse at 30% 0%, #083344 0%, #0A0A0A 55%, #000000 100%);
            --hero-pattern-opacity: 0.08;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: calc(var(--nav-height) + 20px);
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            padding-top: var(--nav-height);
            transition: background var(--transition), color var(--transition);
            position: relative;
        }
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image:
                radial-gradient(ellipse 42% 80% at 0% 20%, rgba(0, 217, 255, 0.12) 0%, transparent 62%),
                radial-gradient(circle at 20% 20%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }
        [data-theme="light"] body::before {
            background-image:
                radial-gradient(ellipse 42% 80% at 0% 20%, rgba(8, 145, 178, 0.14) 0%, transparent 62%),
                radial-gradient(circle at 20% 20%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
        }
        [data-theme="light"] .sidebar {
            border-right-color: rgba(15, 23, 42, 0.08);
            box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.6);
        }
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            background-image: 
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
            z-index: 0;
            opacity: 0.5;
        }

        /* ============ NAVIGATION ============ */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--nav-height);
            background: var(--bg-nav);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            transition: background var(--transition), border-color var(--transition);
            gap: 12px;
        }
        .nav-brand {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--primary-deep);
            white-space: nowrap;
            letter-spacing: -0.01em;
            flex-shrink: 0;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            flex-shrink: 1;
            min-width: 0;
            mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
            padding: 0 8px;
        }
        .nav-links::-webkit-scrollbar {
            display: none;
        }
        .nav-link {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 0.85rem;
            font-weight: 500;
            padding: 6px 12px;
            border-radius: 20px;
            white-space: nowrap;
            transition: color var(--transition), background var(--transition);
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
            letter-spacing: 0.01em;
        }
        .nav-link:hover,
        .nav-link:focus-visible {
            color: var(--primary-deep);
            background: var(--primary-bg);
            outline: none;
        }
        .nav-link:focus-visible {
            box-shadow: 0 0 0 2px var(--primary-light);
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .nav-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            transition: all var(--transition);
            position: relative;
            flex-shrink: 0;
        }
        .nav-btn:hover {
            border-color: var(--primary-light);
            color: var(--primary-deep);
            background: var(--primary-bg);
        }
        .nav-btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--primary-light);
        }
        .nav-btn-print {
            font-size: 0.9rem;
        }
        .hamburger {
            display: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--bg-card);
            cursor: pointer;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            flex-shrink: 0;
            transition: all var(--transition);
            z-index: 1001;
        }
        .hamburger span {
            display: block;
            width: 16px;
            height: 1.5px;
            background: var(--text-secondary);
            border-radius: 2px;
            transition: all var(--transition);
            transform-origin: center;
        }
        .hamburger.active span:nth-child(1) {
            transform: translateY(5.5px) rotate(45deg);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .hamburger.active span:nth-child(3) {
            transform: translateY(-5.5px) rotate(-45deg);
        }
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }
            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                background: var(--bg-nav);
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
                border-bottom: 1px solid var(--border);
                flex-direction: column;
                align-items: stretch;
                padding: 8px 16px;
                gap: 2px;
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
                mask-image: none;
                -webkit-mask-image: none;
                z-index: 999;
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-link {
                padding: 10px 16px;
                border-radius: var(--radius-sm);
                font-size: 0.9rem;
            }
            .nav {
                padding: 0 14px;
            }
            .nav-brand {
                font-size: 1rem;
            }
        }

        /* ============ MAIN CONTAINER ============ */
        .container {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }
        @media (max-width: 640px) {
            .container {
                padding: 0 14px;
            }
        }

        /* ============ HERO SECTION ============ */
        .hero {
            position: relative;
            background: var(--hero-gradient);
            color: #F8FAFC;
            padding: 56px 24px 48px;
            overflow: hidden;
            border-radius: 0 0 var(--radius-xl) var(--radius-xl);
            margin-bottom: 32px;
            isolation: isolate;
        }
        .hero-content {
            display: flex;
            align-items: center;
            gap: 32px;
            max-width: 960px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        .hero-avatar-wrap {
            flex-shrink: 0;
            order: 1;
        }
        .hero-info {
            flex: 1;
            order: 2;
            text-align: left;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 45%);
            z-index: 0;
            pointer-events: none;
        }
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.015) 40px, rgba(255, 255, 255, 0.015) 41px),
                repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.01) 40px, rgba(255, 255, 255, 0.01) 41px);
            z-index: 0;
            pointer-events: none;
            opacity: var(--hero-pattern-opacity);
        }
        .hero-tagline {
            font-size: 0.85rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 10px;
            font-weight: 500;
        }
        .hero-name {
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 8px;
            line-height: 1.15;
        }
        .hero-subtitle {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.85);
            font-weight: 400;
            margin-bottom: 6px;
            line-height: 1.5;
        }
        .school-link {
            display: inline-flex;
            align-items: center;
            color: var(--primary);
            text-decoration: none;
            border: 1px solid rgba(0, 217, 255, 0.4);
            border-radius: 999px;
            padding: 1px 10px;
            background: var(--primary-bg);
            font-weight: 600;
            transition: border-color var(--transition), background var(--transition), color var(--transition);
        }
        .school-link:hover {
            border-color: var(--primary);
            color: var(--primary-light);
        }
        .edu-card h3 .school-link {
            font-size: inherit;
            font-weight: inherit;
        }
        .hero-poem {
            font-style: italic;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            margin-bottom: 18px;
            letter-spacing: 0.03em;
        }
        .hero-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }
        .hero-badge {
            display: inline-block;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.15);
            color: #F8FAFC;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
            letter-spacing: 0.02em;
            transition: all var(--transition);
        }
        .hero-badge:hover {
            background: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.35);
            transform: translateY(-1px);
        }
        .hero-contact {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .hero-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 18px;
            border-radius: 24px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            font-family: inherit;
            letter-spacing: 0.02em;
            transition: all var(--transition);
            text-decoration: none;
            white-space: nowrap;
        }
        .hero-btn-primary {
            background: #FFFFFF;
            color: #0A0A0A;
        }
        .hero-btn-primary:hover {
            background: #E5F9FF;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        .hero-btn-outline {
            background: transparent;
            color: #F8FAFC;
            border: 1.5px solid rgba(255, 255, 255, 0.4);
        }
        .hero-btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.7);
            transform: translateY(-2px);
        }
        @media (max-width: 768px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 24px;
            }
            .hero-avatar-wrap {
                order: 1;
            }
            .hero-info {
                order: 2;
                text-align: center;
            }
            .hero-badges {
                justify-content: center;
            }
            .hero-contact {
                justify-content: center;
            }
        }
        @media (max-width: 640px) {
            .hero {
                padding: 40px 16px 32px;
                border-radius: 0 0 var(--radius-lg) var(--radius-lg);
            }
            .hero-name {
                font-size: 1.9rem;
            }
            .hero-subtitle {
                font-size: 0.95rem;
            }
            .hero-poem {
                font-size: 0.8rem;
            }
            .hero-btn {
                padding: 8px 14px;
                font-size: 0.8rem;
            }
        }

        /* ============ SECTION STYLES ============ */
        .section {
            margin-bottom: 40px;
            animation: fadeInUp 400ms ease both;
        }
        .section:nth-child(2) {
            animation-delay: 60ms;
        }
        .section:nth-child(3) {
            animation-delay: 120ms;
        }
        .section:nth-child(4) {
            animation-delay: 180ms;
        }
        .section:nth-child(5) {
            animation-delay: 240ms;
        }
        .section:nth-child(6) {
            animation-delay: 300ms;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .section-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }
        .section-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
            background: var(--primary-bg);
            color: var(--primary-deep);
        }
        .section-title {
            font-size: 1.35rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            color: var(--text);
        }
        .section-subtitle {
            font-size: 0.85rem;
            color: var(--text-tertiary);
            font-weight: 400;
        }

        /* ============ HIGHLIGHTS ============ */
        .highlights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 14px;
        }
        .highlight-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 18px 16px;
            text-align: center;
            transition: all var(--transition);
            box-shadow: var(--shadow-sm);
            position: relative;
            overflow: hidden;
        }
        .highlight-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity var(--transition);
        }
        .highlight-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(var(--card-hover-lift));
            border-color: var(--primary-light);
        }
        .highlight-card:hover::after {
            opacity: 1;
        }
        .highlight-number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-deep);
            letter-spacing: -0.02em;
            line-height: 1;
            margin-bottom: 4px;
        }
        .highlight-number small {
            font-size: 0.55em;
            margin-left: 2px;
            font-weight: 700;
        }
        .highlight-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
            font-weight: 500;
            line-height: 1.4;
        }
        @media (max-width: 640px) {
            .highlights-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .highlight-card {
                padding: 14px 10px;
            }
            .highlight-number {
                font-size: 1.5rem;
            }
            .highlight-label {
                font-size: 0.72rem;
            }
        }

        /* ============ TABS ============ */
        .tabs-container {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .tabs-nav {
            display: flex;
            gap: 0;
            border-bottom: 2px solid var(--border-light);
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            background: var(--bg);
            padding: 0 4px;
        }
        .tabs-nav::-webkit-scrollbar {
            display: none;
        }
        .tab-btn {
            flex-shrink: 0;
            padding: 12px 20px;
            border: none;
            background: transparent;
            cursor: pointer;
            font-family: inherit;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--text-secondary);
            position: relative;
            transition: color var(--transition);
            white-space: nowrap;
            letter-spacing: 0.01em;
            border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        }
        .tab-btn:hover {
            color: var(--text);
            background: rgba(99, 102, 241, 0.04);
        }
        .tab-btn[aria-selected="true"] {
            color: var(--primary-deep);
            font-weight: 600;
        }
        .tab-btn[aria-selected="true"]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20px;
            right: 20px;
            height: 2.5px;
            background: var(--primary);
            border-radius: 3px 3px 0 0;
        }
        .tab-btn:focus-visible {
            outline: none;
            box-shadow: inset 0 0 0 2px var(--primary-light);
            border-radius: var(--radius-sm);
        }
        .tab-panel {
            display: none;
            padding: 20px 22px;
            animation: fadeIn 200ms ease;
        }
        .tab-panel[aria-hidden="false"] {
            display: block;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        @media (max-width: 640px) {
            .tab-btn {
                padding: 10px 14px;
                font-size: 0.8rem;
            }
            .tab-btn[aria-selected="true"]::after {
                left: 14px;
                right: 14px;
            }
            .tab-panel {
                padding: 14px;
            }
        }

        /* ============ EXPERIENCE / EDUCATION ITEMS ============ */
        .exp-item {
            padding: 16px 0;
            border-bottom: 1px solid var(--border-light);
            position: relative;
            padding-left: 28px;
        }
        .exp-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .exp-item:first-child {
            padding-top: 0;
        }
        .exp-item::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 22px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--bg-card);
            z-index: 1;
            box-shadow: 0 0 0 2px var(--primary-light);
        }
        .exp-item::after {
            content: '';
            position: absolute;
            left: 9px;
            top: 30px;
            bottom: -8px;
            width: 1.5px;
            background: var(--timeline-line);
        }
        .exp-item:last-child::after {
            display: none;
        }
        .exp-header {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 4px;
        }
        .exp-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text);
        }
        .exp-subtitle {
            font-size: 0.82rem;
            color: var(--text-secondary);
            font-weight: 500;
        }
        .exp-date {
            font-size: 0.75rem;
            color: var(--text-tertiary);
            font-weight: 500;
            margin-left: auto;
            white-space: nowrap;
        }
        .exp-details {
            list-style: none;
            padding: 0;
            margin-top: 6px;
        }
        .exp-details li {
            font-size: 0.85rem;
            color: var(--text-secondary);
            padding: 2px 0;
            padding-left: 14px;
            position: relative;
            line-height: 1.5;
        }
        .exp-details li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--primary-light);
            font-weight: bold;
        }
        .exp-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            margin-right: 4px;
            margin-top: 4px;
        }
        .tag-ai {
            background: var(--badge-ai-bg);
            color: var(--badge-ai-text);
        }
        .tag-frontend {
            background: var(--badge-frontend-bg);
            color: var(--badge-frontend-text);
        }
        .tag-hardware {
            background: var(--badge-hardware-bg);
            color: var(--badge-hardware-text);
        }
        .tag-soft {
            background: var(--badge-soft-bg);
            color: var(--badge-soft-text);
        }

        /* ============ PROJECT CARDS ============ */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 16px;
        }
        .project-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            transition: all var(--transition);
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }
        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity var(--transition);
        }
        .project-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(var(--card-hover-lift));
            border-color: var(--primary-light);
        }
        .project-card:hover::before {
            opacity: 1;
        }
        .project-card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 8px;
        }
        .project-card-title {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--text);
            line-height: 1.3;
        }
        .project-card-badge {
            flex-shrink: 0;
            font-size: 0.65rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 10px;
            background: var(--primary-bg);
            color: var(--primary-deep);
            letter-spacing: 0.02em;
            white-space: nowrap;
        }
        .project-card-desc {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.5;
            flex-grow: 1;
        }
        .project-card-meta {
            font-size: 0.72rem;
            color: var(--text-tertiary);
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .project-card-meta span {
            background: var(--border-light);
            padding: 3px 8px;
            border-radius: 10px;
            font-weight: 500;
        }
        .project-card-result {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--accent-deep);
            background: var(--accent-light);
            padding: 6px 10px;
            border-radius: var(--radius-sm);
            line-height: 1.4;
        }
        @media (max-width: 640px) {
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .project-card {
                padding: 16px;
            }
        }

        /* ============ SKILLS MATRIX ============ */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 14px;
        }
        .skill-category {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 18px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }
        .skill-category:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .skill-cat-title {
            font-weight: 700;
            font-size: 0.88rem;
            margin-bottom: 10px;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .skill-cat-icon {
            font-size: 1rem;
        }
        .skill-bar-wrap {
            margin-bottom: 8px;
        }
        .skill-bar-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            margin-bottom: 3px;
            color: var(--text-secondary);
        }
        .skill-bar {
            height: 6px;
            border-radius: 4px;
            background: var(--progress-track);
            overflow: hidden;
        }
        .skill-bar-fill {
            height: 100%;
            border-radius: 4px;
            background: var(--progress-fill);
            transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
            width: 0;
        }
        .skill-bar-fill.animated {
            width: var(--fill);
        }
        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 6px;
        }
        .skill-tag {
            font-size: 0.7rem;
            padding: 3px 9px;
            border-radius: 12px;
            font-weight: 500;
            background: var(--border-light);
            color: var(--text-secondary);
            letter-spacing: 0.01em;
        }

        /* ============ CERT / EDUCATION ============ */
        .cert-list {
            list-style: none;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 12px;
        }
        .cert-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 14px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all var(--transition);
            box-shadow: var(--shadow-sm);
        }
        .cert-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
            border-color: var(--primary-light);
        }
        .cert-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 700;
            background: var(--primary-bg);
            color: var(--primary-deep);
        }
        .cert-info {
            flex: 1;
            min-width: 0;
        }
        .cert-name {
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text);
            line-height: 1.3;
        }
        .cert-org {
            font-size: 0.72rem;
            color: var(--text-tertiary);
        }
        .cert-date {
            font-size: 0.7rem;
            color: var(--text-tertiary);
            white-space: nowrap;
        }
        @media (max-width: 640px) {
            .cert-list {
                grid-template-columns: 1fr;
            }
        }

        /* ============ FOOTER ============ */
        .footer {
            text-align: center;
            padding: 28px 20px;
            border-top: 1px solid var(--border);
            color: var(--text-tertiary);
            font-size: 0.78rem;
            margin-top: 20px;
        }
        .footer-poem {
            font-style: italic;
            color: var(--text-secondary);
            margin-bottom: 4px;
            font-size: 0.82rem;
            letter-spacing: 0.02em;
        }

        /* ============ BACK TO TOP ============ */
        .back-to-top {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 900;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-md);
            opacity: 0;
            pointer-events: none;
            transform: translateY(10px);
            transition: all var(--transition);
        }
        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }
        .back-to-top:hover {
            background: var(--primary-bg);
            color: var(--primary-deep);
            border-color: var(--primary-light);
            box-shadow: var(--shadow-lg);
        }
        @media (max-width: 640px) {
            .back-to-top {
                bottom: 18px;
                right: 14px;
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }
        }

        /* ============ TOAST ============ */
        .toast {
            position: fixed;
            bottom: 28px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: var(--toast-bg);
            color: var(--toast-text);
            padding: 10px 20px;
            border-radius: 24px;
            font-size: 0.82rem;
            font-weight: 500;
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-lg);
            letter-spacing: 0.01em;
        }
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* ============ PRINT STYLES ============ */
        @media print {
            @page {
                margin: 1.2cm;
                size: A4;
            }
            body {
                background: #fff !important;
                color: #1a1a1a !important;
                padding-top: 0 !important;
                font-size: 13px;
                line-height: 1.5;
            }
            .nav,
            .back-to-top,
            .toast,
            .hamburger,
            .nav-actions,
            .hero-btn-outline {
                display: none !important;
            }
            .hero {
                background: #f0f0f8 !important;
                color: #1a1a1a !important;
                border-radius: 0 !important;
                padding: 20px 10px !important;
                margin-bottom: 16px !important;
                text-align: left !important;
                page-break-inside: avoid;
            }
            .hero-name {
                font-size: 1.6rem !important;
                color: #1a1a1a !important;
            }
            .hero-subtitle,
            .hero-poem,
            .hero-tagline {
                color: #444 !important;
            }
            .hero-badge {
                background: #e8e8f0 !important;
                color: #333 !important;
                border: 1px solid #ccc !important;
            }
            .hero-btn {
                background: #e0e0e8 !important;
                color: #333 !important;
                border: 1px solid #bbb !important;
            }
            .hero::before,
            .hero::after {
                display: none !important;
            }
            .tab-panel {
                display: block !important;
                page-break-inside: avoid;
            }
            .tabs-nav {
                display: none !important;
            }
            .project-card,
            .highlight-card,
            .skill-category,
            .cert-item,
            .exp-item {
                box-shadow: none !important;
                border: 1px solid #ddd !important;
                page-break-inside: avoid;
            }
            .project-card::before,
            .highlight-card::after {
                display: none !important;
            }
            .section {
                animation: none !important;
                margin-bottom: 18px !important;
            }
            .container {
                max-width: 100% !important;
                padding: 0 !important;
            }
            .skills-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
            }
            .projects-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
            }
            .cert-list {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
            }
            .highlights-grid {
                grid-template-columns: repeat(5, 1fr) !important;
                gap: 6px !important;
            }
            .footer {
                border-top: 1px solid #ddd !important;
            }
        }

        /* ============ MISC ============ */
        .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-muted {
            color: var(--text-tertiary);
            font-style: italic;
            font-size: 0.78rem;
        }
        .divider {
            border: none;
            border-top: 1px solid var(--border-light);
            margin: 16px 0;
        }

        /* ============ HERO AVATAR ============ */
        .hero-avatar-wrap {
            margin-bottom: 0;
        }
        .hero-avatar-wrap {
            position: relative;
            width: 130px;
            height: 130px;
            border-radius: 50%;
            overflow: hidden;
        }
        .hero-avatar {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            object-fit: cover;
            object-position: 50% 18%;
            display: block;
        }
        @media (max-width: 640px) {
            .hero-avatar-wrap,
            .hero-avatar {
                width: 96px;
                height: 96px;
            }
        }

        /* ============ CERT GALLERY ============ */
        .cert-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 14px;
            margin-top: 20px;
        }
        .cert-gallery-item {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            cursor: pointer;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            aspect-ratio: 4 / 3;
            background: var(--bg);
        }
        .cert-gallery-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .cert-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 300ms ease;
        }
        .cert-gallery-item:hover img {
            transform: scale(1.05);
        }
        .cert-gallery-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px 12px;
            background: linear-gradient(transparent, rgba(0,0,0,0.65));
            color: #fff;
            font-size: 0.75rem;
            font-weight: 500;
            text-shadow: 0 1px 3px rgba(0,0,0,0.4);
        }
        @media (max-width: 640px) {
            .cert-gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .cert-gallery-item {
                aspect-ratio: 3 / 2;
            }
        }

        /* ============ LIGHTBOX ============ */
        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 3000;
            background: rgba(0, 0, 0, 0.88);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 250ms ease;
            backdrop-filter: blur(6px);
        }
        .lightbox.open {
            opacity: 1;
            pointer-events: auto;
        }
        .lightbox-img {
            max-width: 90vw;
            max-height: 82vh;
            border-radius: var(--radius);
            box-shadow: 0 16px 48px rgba(0,0,0,0.5);
            transition: transform 200ms ease;
            object-fit: contain;
        }
        .lightbox-close {
            position: absolute;
            top: 18px;
            right: 22px;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.25);
            background: rgba(255,255,255,0.1);
            color: #fff;
            font-size: 1.4rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
            backdrop-filter: blur(4px);
        }
        .lightbox-close:hover {
            background: rgba(255,255,255,0.25);
            border-color: rgba(255,255,255,0.5);
        }
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 46px;
            height: 46px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.25);
            background: rgba(255,255,255,0.1);
            color: #fff;
            font-size: 1.3rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
            backdrop-filter: blur(4px);
        }
        .lightbox-nav:hover {
            background: rgba(255,255,255,0.25);
            border-color: rgba(255,255,255,0.5);
        }
        .lightbox-prev { left: 18px; }
        .lightbox-next { right: 18px; }
        .lightbox-counter {
            position: absolute;
            bottom: 22px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255,255,255,0.7);
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: 0.05em;
        }

        /* ============ SCROLL REVEAL ============ */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 500ms ease, transform 500ms ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ============ HERO SPARKLE ============ */
        .hero-sparkle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            pointer-events: none;
            z-index: 0;
            animation: sparkle 3s ease-in-out infinite;
        }
        @keyframes sparkle {
            0%, 100% { opacity: 0; transform: scale(0); }
            50% { opacity: 1; transform: scale(1); }
        }

        /* ============ GRADIENT TEXT ============ */
        .gradient-text {
            background: linear-gradient(135deg, #00D9FF 0%, #22D3EE 50%, #67E8F9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 16px rgba(0, 217, 255, 0.35));
        }

        /* ============ CARD SHIMMER ============ */
        .highlight-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 400ms ease;
            pointer-events: none;
            z-index: 1;
        }
        .highlight-card:hover::before {
            opacity: 1;
        }
        .highlight-card > * {
            position: relative;
            z-index: 2;
        }

        /* ============ NAV BRAND ACCENT ============ */
        .nav-brand {
            background: linear-gradient(135deg, var(--primary-deep), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ============ SECTION DECORATION ============ */
        .section-header::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, var(--border), transparent);
            margin-left: 12px;
        }

        /* ============ CARD 3D TILT ============ */
        .card-tilt {
            transform-style: preserve-3d;
            perspective: 1000px;
        }
        .card-tilt-inner {
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .card-tilt:hover .card-tilt-inner {
            transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
        }
        .card-tilt-shadow {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: rgba(0, 217, 255, 0.15);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            filter: blur(20px);
            transform: translateZ(-10px);
        }
        .card-tilt:hover .card-tilt-shadow {
            opacity: 0.6;
        }

        /* ============ BUTTON MAGNETIC EFFECT ============ */
        .magnetic-btn {
            transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
        }

        /* ============ SPOTLIGHT ============ */
        .spotlight {
            position: fixed;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 217, 255, 0.04) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
            transition: transform 0.3s ease-out;
            opacity: 0;
        }
        .spotlight.active {
            opacity: 1;
        }

        /* ============ NAV GLASS EFFECT ENHANCED ============ */
        .nav {
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(10, 10, 10, 0.85);
        }

        /* ============ SMOOTH HOVER GLOW ============ */
        .skill-category::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--radius);
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 217, 255, 0.08) 0%, transparent 60%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 300ms ease;
        }
        .skill-category:hover::after {
            opacity: 1;
        }
        .skill-category {
            position: relative;
        }

        /* ============ SIDEBAR LAYOUT ============ */
        .sidebar {
            display: none;
        }
        .site-main {
            position: relative;
            z-index: 1;
        }
        .mobile-only-avatar {
            display: none;
        }
        .section-icon {
            font-family: var(--font-mono);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: var(--primary);
        }
        .hero-lead {
            max-width: 720px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 0.98rem;
            line-height: 1.7;
            margin: 0 0 18px;
        }
        [data-theme="light"] .hero-lead,
        [data-theme="light"] .hero-subtitle,
        [data-theme="light"] .hero-poem,
        [data-theme="light"] .hero-tagline {
            color: #334155;
        }
        [data-theme="light"] .hero-name {
            filter: none;
        }
        [data-theme="light"] .nav {
            background: rgba(255, 255, 255, 0.88);
        }
        [data-theme="light"] .gradient-text {
            background: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #2563eb 100%);
            -webkit-background-clip: text;
            background-clip: text;
            filter: none;
        }

        .project-grid,
        .works-grid,
        .interest-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }
        .project-card-modern,
        .work-card,
        .interest-card,
        .contact-panel,
        .edu-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 18px 16px;
            box-shadow: var(--shadow-sm);
        }
        .project-card-modern {
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-height: 100%;
            transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
        }
        .project-card-modern:hover {
            transform: translateY(-3px);
            border-color: rgba(0, 217, 255, 0.35);
            box-shadow: var(--shadow-md);
        }
        .project-card-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
        }
        .project-status {
            flex-shrink: 0;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 999px;
            background: var(--badge-ai-bg);
            color: var(--badge-ai-text);
        }
        .project-status.is-planned {
            background: var(--accent-light);
            color: var(--accent-deep);
        }
        .project-card-modern h3 {
            font-size: 1.02rem;
            color: var(--text);
            line-height: 1.35;
        }
        .project-meta {
            font-size: 0.78rem;
            color: var(--text-tertiary);
        }
        .project-card-modern p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .project-tags span,
        .work-card .project-tags span {
            font-size: 0.72rem;
            padding: 4px 8px;
            border-radius: 999px;
            background: var(--primary-bg);
            color: var(--badge-ai-text);
        }
        .project-result {
            font-size: 0.84rem;
            color: var(--text-secondary);
            background: var(--primary-bg);
            border-radius: var(--radius-sm);
            padding: 8px 10px;
        }
        .work-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        .work-card-featured {
            grid-column: 1 / -1;
            background:
                radial-gradient(circle at 90% 10%, rgba(0, 217, 255, 0.14), transparent 42%),
                var(--bg-card);
        }
        .media-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 12px;
            padding: 8px 12px;
            width: 100%;
            border-radius: 12px;
            border: 1px solid rgba(0, 217, 255, 0.35);
            background: var(--primary-bg);
            color: var(--primary);
            font: inherit;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
        }
        .media-btn:hover {
            border-color: var(--primary);
            color: var(--text);
        }
        .media-btn-inline {
            width: auto;
            margin-top: 0;
        }
        .media-modal {
            position: fixed;
            inset: 0;
            z-index: 3200;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(0, 0, 0, 0.78);
            backdrop-filter: blur(8px);
        }
        .media-modal[hidden] {
            display: none;
        }
        .media-modal-panel {
            width: min(920px, 100%);
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }
        .media-modal-panel-game {
            width: min(1100px, 100%);
        }
        .media-modal-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            border-bottom: 1px solid var(--border);
        }
        .media-modal-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .media-modal-link {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.82rem;
            font-weight: 600;
        }
        .media-modal-close {
            width: 36px;
            height: 36px;
            border: 1px solid var(--border);
            border-radius: 50%;
            background: transparent;
            color: var(--text);
            font-size: 1.3rem;
            cursor: pointer;
        }
        .media-video {
            display: block;
            width: 100%;
            max-height: 72vh;
            background: #000;
        }
        .game-frame {
            display: block;
            width: 100%;
            height: min(72vh, 640px);
            border: 0;
            background: #05070f;
        }
        .game-hint {
            padding: 8px 14px 12px;
            font-size: 0.78rem;
            color: var(--text-tertiary);
        }
        .work-card,
        .interest-card {
            min-height: 100%;
        }
        .work-card h3,
        .interest-card h3,
        .edu-card h3 {
            font-size: 1.02rem;
            margin-bottom: 6px;
        }
        .work-card p,
        .interest-card p,
        .edu-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .work-link,
        .interest-card a {
            display: inline-flex;
            margin-top: 10px;
            color: var(--primary);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
        }
        .work-link:hover,
        .interest-card a:hover {
            text-decoration: underline;
        }
        .skills-groups {
            display: grid;
            gap: 14px;
        }
        .skill-group {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 16px;
        }
        .skill-group h3 {
            font-size: 0.95rem;
            margin-bottom: 12px;
        }
        .skill-row {
            display: grid;
            grid-template-columns: 140px 1fr 42px;
            gap: 10px;
            align-items: center;
            margin-bottom: 10px;
        }
        .skill-row:last-child {
            margin-bottom: 0;
        }
        .skill-row span:first-child {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        .skill-row span:last-child {
            font-size: 0.75rem;
            color: var(--text-tertiary);
            text-align: right;
        }
        .skill-track {
            height: 8px;
            border-radius: 999px;
            background: var(--progress-track);
            overflow: hidden;
        }
        .skill-fill {
            height: 100%;
            width: 0;
            border-radius: inherit;
            background: var(--progress-fill);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
            transition: width 800ms ease;
        }
        .skill-fill.animated {
            width: var(--fill);
        }
        .edu-timeline {
            display: grid;
            gap: 12px;
        }
        .edu-card {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 16px;
            align-items: start;
        }
        .edu-date {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 700;
        }
        .edu-card ul {
            margin: 8px 0 0 18px;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .contact-panel {
            padding: 22px 20px;
        }
        .contact-lead {
            color: var(--text-secondary);
            margin-bottom: 16px;
            max-width: 720px;
        }
        .contact-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .contact-actions button,
        .contact-actions a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 14px;
            border-radius: 999px;
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--text);
            text-decoration: none;
            font: inherit;
            font-size: 0.88rem;
            cursor: pointer;
        }
        .contact-actions button:hover,
        .contact-actions a:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        .todo-chip {
            display: inline-block;
            margin-top: 8px;
            font-size: 0.72rem;
            color: var(--accent-deep);
            background: var(--accent-light);
            padding: 3px 8px;
            border-radius: 999px;
        }
        .journey-list {
            margin: 10px 0 0 18px;
            color: var(--text-secondary);
        }
        .journey-list li {
            margin-bottom: 8px;
        }

        @media (min-width: 1080px) {
            html {
                scroll-padding-top: 28px;
            }
            body {
                padding-top: 0;
                padding-left: 0;
            }
            .site-main {
                margin-left: var(--sidebar-width);
            }
            .mobile-nav {
                display: none;
            }
            .sidebar {
                display: flex;
                flex-direction: column;
                position: fixed;
                top: 0;
                left: 0;
                width: var(--sidebar-width);
                height: 100vh;
                padding: 28px 22px 20px;
                border-right: 1px solid rgba(255, 255, 255, 0.08);
                background: var(--sidebar-bg);
                backdrop-filter: blur(28px) saturate(1.5);
                -webkit-backdrop-filter: blur(28px) saturate(1.5);
                box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
                z-index: 20;
                overflow: auto;
            }
            .sidebar-profile {
                margin-bottom: 18px;
            }
            .sidebar-avatar-wrap {
                width: 92px;
                height: 92px;
                margin: 0 0 16px 0;
                overflow: hidden;
                border-radius: 50%;
            }
            .sidebar-avatar,
            .sidebar-avatar-fallback {
                width: 92px;
                height: 92px;
                border-radius: 50%;
                object-fit: cover;
                object-position: 50% 18%;
                display: block;
            }
            .sidebar-avatar-fallback {
                display: flex;
                align-items: center;
                justify-content: center;
                background: #0b1220;
                color: #67e8f9;
                font-size: 2rem;
                font-weight: 800;
            }
            .sidebar-avatar-fallback[hidden] {
                display: none;
            }
            .sidebar-name {
                font-size: 1.55rem;
                line-height: 1.2;
                margin-bottom: 4px;
            }
            .sidebar-role {
                color: var(--primary);
                font-size: 0.86rem;
                margin-bottom: 8px;
            }
            .sidebar-bio {
                color: var(--text-secondary);
                font-size: 0.86rem;
                line-height: 1.65;
            }
            .sidebar-contacts,
            .sidebar-nav,
            .sidebar-actions {
                display: flex;
                flex-direction: column;
                gap: 8px;
            }
            .sidebar-contacts {
                margin-bottom: 18px;
            }
            .sidebar-contact,
            .icon-btn {
                display: flex;
                align-items: center;
                gap: 8px;
                width: 100%;
                padding: 8px 10px;
                border-radius: 12px;
                border: 1px solid var(--border);
                background: var(--bg-card);
                color: var(--text-secondary);
                font: inherit;
                font-size: 0.82rem;
                cursor: pointer;
                text-align: left;
            }
            .sidebar-contact:hover,
            .icon-btn:hover,
            .sidebar-link:hover,
            .sidebar-link.is-active {
                border-color: rgba(0, 217, 255, 0.35);
                color: var(--text);
                background: var(--primary-bg);
            }
            .sidebar-nav {
                gap: 4px;
                margin-bottom: auto;
                padding: 8px 0 18px;
            }
            .sidebar-link {
                color: var(--text-tertiary);
                text-decoration: none;
                font-size: 0.9rem;
                padding: 6px 8px;
                border-radius: 10px;
                border: 1px solid transparent;
            }
            .sidebar-link::before {
                content: '';
                display: inline-block;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: currentColor;
                margin-right: 8px;
                opacity: 0.5;
            }
            .sidebar-actions {
                flex-direction: row;
                flex-wrap: nowrap;
                gap: 8px;
                margin-top: auto;
                padding-top: 16px;
            }
            .icon-btn {
                flex: 1;
                justify-content: center;
                height: 40px;
                min-width: 0;
                padding: 0 6px;
                border-radius: 8px;
                gap: 6px;
            }
            .icon-btn svg {
                width: 16px;
                height: 16px;
                flex-shrink: 0;
            }
            .hero {
                margin: 24px 24px 12px;
                border-radius: var(--radius-xl);
            }
            .container {
                max-width: 980px;
                padding: 0 28px;
            }
        }

        @media (max-width: 1079px) {
            .mobile-only-avatar {
                display: block;
            }
            .sidebar {
                display: none;
            }
            .project-grid,
            .works-grid,
            .interest-grid {
                grid-template-columns: 1fr;
            }
            .edu-card,
            .skill-row {
                grid-template-columns: 1fr;
            }
            .skill-row span:last-child {
                text-align: left;
            }
        }

        @media print {
            .sidebar,
            .mobile-nav,
            .sidebar-actions,
            .hero-contact,
            .contact-actions,
            .media-modal,
            .media-btn {
                display: none !important;
            }
            body {
                padding: 0 !important;
            }
            .site-main,
            .container {
                max-width: 100% !important;
                margin-left: 0 !important;
            }
            .project-grid,
            .works-grid,
            .interest-grid,
            .highlights-grid {
                grid-template-columns: 1fr 1fr !important;
            }
            .tab-panel {
                display: block !important;
            }
            .tabs-nav {
                display: none !important;
            }
        }
