
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: background-color 0.25s ease, color 0.2s ease, border-color 0.2s ease;
            cursor: none;
        }

        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
            pointer-events: none;
        }
        .bg-animation::before {
            content: "";
            position: absolute;
            width: 200%;
            height: 200%;
            top: -50%;
            left: -50%;
            background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 80%);
            animation: rotateBg 40s linear infinite;
        }
        .bg-animation::after {
            content: "";
            position: absolute;
            width: 150%;
            height: 150%;
            bottom: -30%;
            right: -30%;
            background: radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.1) 0%, rgba(168, 85, 247, 0.05) 60%, transparent 90%);
            animation: rotateBgReverse 35s linear infinite;
        }
        @keyframes rotateBg {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        @keyframes rotateBgReverse {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(-360deg);
            }
        }

        .particles {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            pointer-events: none;
        }
        .particle {
            position: absolute;
            background: rgba(59, 130, 246, 0.3);
            border-radius: 50%;
            animation: floatParticle 12s infinite ease-in-out;
        }
        @keyframes floatParticle {
            0% {
                transform: translateY(0) translateX(0) scale(1);
                opacity: 0.3;
            }
            50% {
                transform: translateY(-40px) translateX(20px) scale(1.2);
                opacity: 0.7;
            }
            100% {
                transform: translateY(0) translateX(0) scale(1);
                opacity: 0.3;
            }
        }

        .cursor-follower {
            position: fixed;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.25);
            backdrop-filter: blur(2px);
            pointer-events: none;
            z-index: 9998;
            transform: translate(-50%, -50%);
            transition: width 0.2s, height 0.2s, background 0.2s;
            border: 1px solid rgba(59, 130, 246, 0.6);
            box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
            animation: cursorPulse 1.5s infinite alternate;
        }
        @keyframes cursorPulse {
            0% {
                width: 28px;
                height: 28px;
                opacity: 0.6;
                border-width: 1px;
            }
            100% {
                width: 42px;
                height: 42px;
                opacity: 0.9;
                border-width: 2px;
                background: rgba(96, 165, 250, 0.2);
            }
        }
        @media (hover: none) and (pointer: coarse) {
            .cursor-follower {
                display: none;
            }
            * {
                cursor: auto;
            }
        }

        .ripple-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            overflow: hidden;
        }
        .water-ripple {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(139, 92, 246, 0.2) 70%, transparent 100%);
            transform: scale(0);
            animation: rippleExpand 0.8s ease-out forwards;
            pointer-events: none;
        }
        @keyframes rippleExpand {
            0% {
                transform: scale(0);
                opacity: 0.7;
            }
            100% {
                transform: scale(8);
                opacity: 0;
            }
        }

        :root {
            --bg-body: #f9fafc;
            --bg-surface: #ffffff;
            --text-primary: #0f172a;
            --text-secondary: #334155;
            --accent: #3b82f6;
            --accent-hover: #2563eb;
            --border: #e2e8f0;
            --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
            --tag-bg: #eff6ff;
            --tag-text: #1e40af;
            --overlay-bg: rgba(255, 255, 255, 0.96);
            --cursor-color: #3b82f6;
            --nav-bg: rgba(255, 255, 255, 0.85);
        }
        body.dark {
            --bg-body: #0a0f1c;
            --bg-surface: #111827;
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --accent: #60a5fa;
            --accent-hover: #3b82f6;
            --border: #1f2a3e;
            --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            --tag-bg: #1e293b;
            --tag-text: #93c5fd;
            --overlay-bg: #0a0f1cf2;
            --cursor-color: #60a5fa;
            --nav-bg: rgba(18, 25, 45, 0.9);
        }
        body.dark .cursor-follower {
            background: rgba(96, 165, 250, 0.3);
            border-color: rgba(96, 165, 250, 0.8);
            box-shadow: 0 0 12px rgba(96, 165, 250, 0.5);
        }
        body.dark .water-ripple {
            background: radial-gradient(circle, rgba(96, 165, 250, 0.5) 0%, rgba(139, 92, 246, 0.3) 70%, transparent 100%);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.5;
            scroll-behavior: smooth;
            padding-top: 80px;
        }
        body.dark .bg-animation::before {
            background: radial-gradient(circle at 30% 40%, rgba(96, 165, 250, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 80%);
        }
        body.dark .particle {
            background: rgba(96, 165, 250, 0.25);
        }

        /* === LOADING OVERLAY === */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-body);
            backdrop-filter: blur(8px);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 24px;
            transition: opacity 0.5s ease, visibility 0.5s ease;
            font-family: 'Space Grotesk', monospace;
        }
        .binary-loader {
            text-align: center;
            background: var(--bg-surface);
            padding: 2rem 2.5rem;
            border-radius: 2rem;
            border: 1px solid var(--border);
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
            min-width: 320px;
        }
        .binary-percent {
            font-size: 3.5rem;
            font-weight: 700;
            letter-spacing: 4px;
            font-family: 'Space Grotesk', 'Courier New', monospace;
            background: linear-gradient(135deg, var(--accent), #a855f7);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            margin-bottom: 0.5rem;
        }
        .binary-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 500;
            color: var(--text-secondary);
            letter-spacing: 2px;
            margin-bottom: 1.2rem;
        }
        .simple-progress {
            width: 100%;
            height: 4px;
            background: rgba(59, 130, 246, 0.2);
            border-radius: 10px;
            overflow: hidden;
            margin: 1rem 0;
        }
        .simple-progress-fill {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, var(--accent), #c084fc);
            border-radius: 10px;
            transition: width 0.1s linear;
        }
        .binary-status {
            font-size: 0.8rem;
            color: var(--accent);
            font-family: monospace;
            margin-top: 0.8rem;
            opacity: 0.8;
        }
        .hidden-overlay {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* === NAV === */
        .fixed-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--nav-bg);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            z-index: 9997;
            padding: 0.8rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-family: 'Space Grotesk', monospace;
        }
        .nav-logo a {
            font-size: 1.3rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--accent), #8b5cf6);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            text-decoration: none;
        }
        .nav-links {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            list-style: none;
        }
        .nav-links li a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.2s;
            white-space: nowrap;
        }
        .nav-links li a:hover {
            color: var(--accent);
        }
        .nav-right {
            display: flex;
            gap: 0.8rem;
        }
        .nav-btn {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: 40px;
            padding: 0.4rem 0.9rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            color: var(--text-primary);
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
        .nav-btn:hover {
            background: var(--accent);
            color: white;
            border-color: var(--accent);
        }
        @media (max-width: 860px) {
            .fixed-nav {
                flex-direction: column;
                align-items: stretch;
                padding: 0.8rem;
            }
            .nav-links {
                justify-content: center;
                overflow-x: auto;
                padding-bottom: 0.3rem;
            }
            .nav-links li a {
                font-size: 0.8rem;
                white-space: nowrap;
            }
            body {
                padding-top: 110px;
            }
        }
        @media (max-width: 640px) {
            body {
                padding-top: 130px;
            }
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            position: relative;
            z-index: 2;
        }

        /* === HERO === */
        .hero {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            margin-bottom: 3rem;
            background: var(--bg-surface);
            border-radius: 2rem;
            padding: 2.2rem;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--border);
        }
        .hero-content h2 {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
        }
        .typewriter-name {
            display: inline-block;
            font-weight: 800;
            background: linear-gradient(135deg, #3b82f6, #a855f7, #ec489a, #3b82f6);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradientShift 3s ease infinite;
        }
        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }
        .cursor-futuristic {
            display: inline-block;
            width: 3px;
            margin-left: 4px;
            background: var(--cursor-color);
            animation: blinkGlow 0.9s step-end infinite;
            height: 1.2em;
            vertical-align: middle;
            box-shadow: 0 0 4px var(--cursor-color);
        }
        @keyframes blinkGlow {
            0%,
            100% {
                opacity: 1;
                box-shadow: 0 0 6px cyan;
            }
            50% {
                opacity: 0;
                box-shadow: none;
            }
        }
        .hero-tagline {
            font-size: 1.1rem;
            color: var(--accent);
            font-weight: 600;
            margin: 0.75rem 0;
        }
        .hero-desc {
            color: var(--text-secondary);
            max-width: 500px;
        }
        .hero-stats {
            display: flex;
            gap: 1.2rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        .hero-stats span {
            font-weight: 700;
            font-size: 1.1rem;
        }
        .profile-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--accent);
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
            transition: transform 0.3s;
        }
        .profile-img:hover {
            transform: scale(1.02);
        }

        /* === COLLAPSIBLE === */
        .collapsible-section {
            margin-bottom: 2.2rem;
            border-radius: 1.25rem;
            background: var(--bg-surface);
            border: 1px solid var(--border);
            scroll-margin-top: 100px;
        }
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            cursor: pointer;
            border-radius: 1.25rem;
            background: var(--bg-surface);
            transition: background 0.2s;
        }
        .section-header:hover {
            background: rgba(59, 130, 246, 0.05);
        }
        .section-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }
        .section-header i {
            font-size: 1.2rem;
            color: var(--accent);
        }
        .collapsible-content {
            padding: 0 1.5rem 1.5rem 1.5rem;
            border-top: 1px solid var(--border);
        }
        .collapsible-content.collapsed {
            display: none;
        }

        /* === CARDS === */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }
        .card {
            background: var(--bg-surface);
            border-radius: 1.25rem;
            padding: 1.5rem;
            border: 1px solid var(--border);
            box-shadow: var(--card-shadow);
            transition: all 0.3s;
        }
        .card:hover {
            transform: translateY(-6px);
            border-color: var(--accent);
        }
        .exp-header {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-bottom: 0.8rem;
        }
        .exp-title {
            font-weight: 800;
            font-size: 1.2rem;
        }
        .exp-date {
            color: var(--accent);
            font-weight: 500;
        }
        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-top: 1rem;
        }
        .skill-tag {
            background: var(--tag-bg);
            color: var(--tag-text);
            padding: 0.3rem 0.9rem;
            border-radius: 40px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        .hobby-card,
        .gallery-item {
            cursor: pointer;
        }
        .expandable-media {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--border);
            display: none;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 0.8rem;
        }
        .expandable-media.show {
            display: grid;
        }
        .media-thumb {
            background: var(--tag-bg);
            border-radius: 0.6rem;
            overflow: hidden;
            aspect-ratio: 1 / 0.8;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 2rem;
            cursor: pointer;
            transition: transform 0.2s;
            position: relative;
        }
        .media-thumb:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        .media-thumb img,
        .media-thumb video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .media-thumb .play-icon {
            position: absolute;
            font-size: 3rem;
            color: white;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }
        .hobby-card h3,
        .gallery-caption h3 {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .expand-icon {
            margin-left: auto;
            font-size: 0.9rem;
            color: var(--accent);
        }
        .hobby-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.2rem;
            margin-top: 0.5rem;
        }
        .hobby-card {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: 1rem;
            padding: 1.2rem;
            transition: all 0.3s;
        }
        .hobby-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent);
        }
        .hobby-icon {
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 0.5rem;
            display: inline-block;
        }

        /* === GALLERY === */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.8rem;
            margin-top: 1rem;
        }
        .gallery-item {
            background: var(--bg-surface);
            border-radius: 1.2rem;
            overflow: hidden;
            border: 1px solid var(--border);
        }
        .gallery-item:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
        }
        .gallery-img {
            width: 100%;
            height: 170px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--tag-bg);
            font-size: 3rem;
            color: var(--accent);
        }
        .gallery-caption {
            padding: 1.2rem;
        }

        /* === CONTACT === */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.2rem;
            margin-top: 0.5rem;
        }
        .contact-card {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: 1rem;
            padding: 1rem 1.2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        .contact-card:hover {
            transform: translateY(-3px);
            border-color: var(--accent);
            background: rgba(59, 130, 246, 0.05);
        }
        .contact-icon {
            font-size: 1.8rem;
            color: var(--accent);
            min-width: 45px;
            text-align: center;
        }
        .contact-card a {
            text-decoration: none;
            color: inherit;
            display: flex;
            align-items: center;
            gap: 1rem;
            width: 100%;
        }

        .ref-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            margin-top: 1rem;
        }
        .ref-card {
            background: var(--bg-surface);
            flex: 1;
            padding: 1rem;
            border-radius: 1rem;
            border: 1px solid var(--border);
        }

        footer {
            text-align: center;
            padding: 2rem 0;
            border-top: 1px solid var(--border);
            margin-top: 1rem;
        }

        @keyframes fadeUp {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .fade-up {
            animation: fadeUp 0.6s ease forwards;
        }

        /* === LIGHTBOX === */
        .lightbox-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(8px);
            z-index: 20000;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0.2s, opacity 0.2s;
        }
        .lightbox-modal.show {
            visibility: visible;
            opacity: 1;
        }
        .lightbox-content {
            max-width: 90vw;
            max-height: 90vh;
            background: transparent;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
        }
        .lightbox-content iframe,
        .lightbox-content img,
        .lightbox-content video {
            width: 100%;
            height: 100%;
            max-width: 85vw;
            max-height: 85vh;
            border: none;
            display: block;
            margin: 0 auto;
        }
        .close-lightbox {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 2rem;
            color: white;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
        }
        .close-lightbox:hover {
            background: var(--accent);
            transform: scale(1.1);
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--accent);
            color: white;
            padding: 6px 14px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            transition: all 0.2s ease;
            margin-top: 10px;
            margin-bottom: 4px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .project-link:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
        }
        body.dark .project-link {
            background: #3b82f6;
            box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
        }
        body.dark .project-link:hover {
            background: #2563eb;
        }

        @media (max-width: 768px) {
            .hero {
                flex-direction: column;
                text-align: center;
            }
            .section-header h2 {
                font-size: 1.2rem;
            }
            .typewriter-name {
                font-size: 1.6rem;
            }
            .profile-img {
                width: 120px;
                height: 120px;
            }
            .binary-percent {
                font-size: 2.2rem;
            }
            .binary-loader {
                padding: 1.5rem;
                min-width: 280px;
            }
        }