* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #00C29B;      /* Strong Green */
            --secondary-color: #00B5BE;     /* Teal */
            --accent-color: #FFB800;       /* Amber/Gold */
            --accent-2: #00A3BF;           /* Bright Cyan */
            --accent-3: #FFD24D;           /* Lighter Amber */
            --text-primary: #1A3A32;       /* Dark Forest Green/Charcoal */
            --text-secondary: #4A6C63;     /* Muted Green-Gray */
            --bg-primary: #F9FDFB;         /* Very Light Mint */
            --bg-secondary: #FFFFFF;
            --border-color: #DCEAE6;
            --gradient-primary: linear-gradient(135deg, #00C29B 0%, #00B5BE 100%);
            --gradient-secondary: linear-gradient(135deg, #00B5BE 0%, #00A3BF 100%);
            --gradient-accent: linear-gradient(135deg, #FFB800 0%, #FFD24D 100%);
            --shadow: 0 15px 35px rgba(0, 194, 155, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
            --glow: 0 0 20px rgba(0, 194, 155, 0.4);
            --glow-secondary: 0 0 20px rgba(0, 181, 190, 0.4);
        }

        [data-theme="dark"] {
            --primary-color: #29D8B2;      /* Vibrant Green */
            --secondary-color: #1EE8F2;     /* Vibrant Cyan */
            --accent-color: #FFB800;       /* Amber/Gold */
            --accent-2: #1CD7E0;           /* Lighter Cyan */
            --accent-3: #FFD24D;           /* Lighter Amber */
            --text-primary: #E0F2EE;       /* Light Minty White */
            --text-secondary: #8DAE9E;     /* Grayish Green */
            --bg-primary: #0D1A17;         /* Very Dark Forest Green */
            --bg-secondary: #132B25;       /* Dark Green/Charcoal */
            --border-color: #2A4B42;
            --gradient-primary: linear-gradient(135deg, #29D8B2 0%, #1EE8F2 100%);
            --gradient-secondary: linear-gradient(135deg, #1EE8F2 0%, #1CD7E0 100%);
            --gradient-accent: linear-gradient(135deg, #FFB800 0%, #FFD24D 100%);
            --shadow: 0 15px 35px rgba(41, 216, 178, 0.15), 0 5px 15px rgba(0, 0, 0, 0.3);
            --glow: 0 0 30px rgba(41, 216, 178, 0.5);
            --glow-secondary: 0 0 30px rgba(30, 232, 242, 0.5);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            cursor: none;
            transition: all 0.3s ease;
        }

        /* Custom Cursor */
        .cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            background: var(--primary-color);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transition: transform 0.1s ease;
            mix-blend-mode: difference;
        }

        .cursor-follower {
            position: fixed;
            width: 40px;
            height: 40px;
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9998;
            transition: all 0.3s ease;
            opacity: 0.5;
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Header & Navbar */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0.75rem 2rem;
            background: rgba(255, 255, 255, 0.05); /* More Transparent */
            backdrop-filter: blur(25px) saturate(180%);
            border-radius: 50px; /* Curvy navbar */
            transition: all 0.3s ease;
        }
        
        [data-theme="dark"] nav {
            background: rgba(13, 26, 23, 0.1); /* More Transparent */
        }
        
        header.scrolled nav {
            background: rgba(255, 255, 255, 0.1); /* Slightly less transparent on scroll */
        }

        [data-theme="dark"] header.scrolled nav {
            background: rgba(19, 43, 37, 0.2);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--primary-color);
            text-shadow: var(--glow);
        }

        /* Theme Toggle in Navbar */
        .theme-toggle-nav {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 8px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .theme-toggle-nav::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .theme-toggle-nav:hover::after {
            width: 100%;
        }

        .theme-toggle-nav:hover {
            color: var(--primary-color);
            text-shadow: var(--glow);
        }

        /* Hero Section with Enhanced Typing Animation */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            opacity: 0.02;
            z-index: -1;
        }

        .hero-content h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            min-height: 5rem;
        }

        /* Typing Animation Styles */
        .typing-cursor {
            font-size: 4rem;
            font-weight: 800;
            color: var(--primary-color);
            animation: blink 1s infinite;
            display: inline-block;
            margin-left: 5px;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        .hero-content p {
            font-size: 1.25rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards 4s;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards 4.5s;
        }

        .btn {
            padding: 0.75rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
        }

        .btn-outline {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
        }

        .btn:hover {
            transform: translateY(-5px);
            box-shadow: var(--glow);
        }

        /* Sections */
        section {
            padding: 5rem 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: center;
        }

        .about-image {
            text-align: center;
        }

        .profile-img {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 6rem;
            color: white;
            margin: 0 auto;

            background-image: url('cropped_circle_image3.png'); /* 👈 Add your image path here */
            background-size: cover; /* This makes the image fill the circle without stretching */
            background-position: center; /* This centers your photo inside the circle */
            background-repeat: no-repeat;
            border: 5px solid var(--primary-color); /* Optional: Adds a nice themed border */
            box-shadow: var(--glow);
        }

        .about-text h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .about-text p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin-top: 2rem;
        }

        .skill-item {
            background: var(--bg-secondary);
            padding: 1rem;
            border-radius: 15px;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .skill-item:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: var(--glow);
            border-color: var(--primary-color);
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background: var(--bg-secondary);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .project-card:hover::before {
            transform: scaleX(1);
        }

        .project-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: var(--glow);
        }

        .project-card h3 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tech-tag {
            background: var(--gradient-secondary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        /* Games Section Styles */
        #games {
            background: var(--bg-secondary);
            position: relative;
        }

        .games-subtitle {
            text-align: center;
            color: var(--text-secondary);
            font-size: 1.2rem;
            margin-bottom: 3rem;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .game-card {
            background: var(--bg-primary);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-accent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .game-card:hover::before {
            transform: scaleX(1);
        }

        .game-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: var(--glow);
            border-color: var(--accent-color);
        }

        .game-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: var(--gradient-accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3);
        }

        .game-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .game-card p {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .game-btn {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .game-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--glow);
        }

        /* Game Modal Styles */
        .game-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
        }

        .game-modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--bg-secondary);
            border-radius: 20px;
            padding: 0;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border-color);
        }

        .game-header {
            background: var(--gradient-primary);
            color: white;
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .game-header h3 {
            margin: 0;
            font-size: 1.2rem;
        }

        .close-game {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .close-game:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .game-container {
            padding: 1.5rem;
            text-align: center;
        }

        #gameCanvas {
            border: 2px solid var(--border-color);
            border-radius: 10px;
            background: #000;
            margin-bottom: 1rem;
            max-width: 100%;
            height: auto;
        }

        .game-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        #gameScore {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        #gameInstructions {
            font-size: 0.9rem;
            color: var(--text-secondary);
            max-width: 200px;
            text-align: right;
        }

        /* Contact Section */
        .contact {
            background: var(--bg-secondary);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-info h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .contact-item i {
            color: var(--primary-color);
            width: 20px;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.15) rotate(10deg);
            box-shadow: var(--glow);
        }

        /* Footer */
        footer {
            background: var(--bg-primary);
            padding: 2rem 0;
            text-align: center;
            border-top: 1px solid var(--border-color);
            position: relative;
        }

        /* Animations */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .float-animation {
            animation: float 3s ease-in-out infinite;
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Background Animation - Coding Theme */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
            opacity: 0.6;
        }

        .code-window {
            position: absolute;
            width: 320px;
            height: 220px;
            background: rgba(26, 58, 50, 0.05);
            border: 1px solid rgba(0, 194, 155, 0.1);
            border-radius: 12px;
            backdrop-filter: blur(8px);
            opacity: 0;
            animation: code-window-float 10s infinite ease-in-out;
            font-family: 'Courier New', monospace;
        }

        [data-theme="dark"] .code-window {
            background: rgba(224, 242, 238, 0.04);
            border: 1px solid rgba(41, 216, 178, 0.1);
        }

        .code-window::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 35px;
            background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
            border-radius: 12px 12px 0 0;
            opacity: 0.15;
        }

        .window-controls {
            position: absolute;
            top: 12px;
            left: 15px;
            display: flex;
            gap: 8px;
            z-index: 1;
        }

        .window-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .window-dot:nth-child(1) { background: #ff5f56; }
        .window-dot:nth-child(2) { background: #ffbd2e; }
        .window-dot:nth-child(3) { background: #27ca3f; }

        .code-content {
            position: absolute;
            top: 45px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            font-size: 11px;
            line-height: 1.4;
            color: var(--primary-color);
            opacity: 0.7;
            overflow: hidden;
        }

        .code-line {
            margin-bottom: 2px;
            white-space: nowrap;
            animation: type-code 4s ease-in-out infinite;
        }

        .floating-tech {
            position: absolute;
            font-size: 2.5rem;
            opacity: 0.12;
            animation: tech-float 12s infinite linear;
            font-family: 'Courier New', monospace;
            font-weight: bold;
        }

        .floating-tech:nth-child(odd) {
            color: var(--primary-color);
        }

        .floating-tech:nth-child(even) {
            color: var(--secondary-color);
        }

        @keyframes code-window-float {
            0% {
                transform: translateY(100vh) translateX(-150px) rotate(-8deg);
                opacity: 0;
            }
            15% {
                opacity: 0.6;
            }
            50% {
                opacity: 0.8;
                transform: translateY(40vh) translateX(80px) rotate(3deg);
            }
            85% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(-120px) translateX(200px) rotate(8deg);
                opacity: 0;
            }
        }

        @keyframes type-code {
            0%, 20% {
                opacity: 0.4;
            }
            50% {
                opacity: 0.9;
            }
            80%, 100% {
                opacity: 0.4;
            }
        }

        @keyframes tech-float {
            0% {
                transform: translateY(100vh) rotate(0deg) translateX(0px);
                opacity: 0;
            }
            10% {
                opacity: 0.12;
            }
            50% {
                transform: translateY(50vh) rotate(180deg) translateX(100px);
                opacity: 0.15;
            }
            90% {
                opacity: 0.12;
            }
            100% {
                transform: translateY(-10vh) rotate(360deg) translateX(-50px);
                opacity: 0;
            }
        }

        /* Glitch Animation */
        @keyframes glitch {
            0% { transform: translateX(0); }
            20% { transform: translateX(-2px); }
            40% { transform: translateX(2px); }
            60% { transform: translateX(-2px); }
            80% { transform: translateX(2px); }
            100% { transform: translateX(0); }
        }

        /* Modern Transparent Chatbot Styles */
        #floating-chatbot {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 2000;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .floating-message {
            margin-bottom: 15px;
            animation: modernSlideIn 0.6s ease-out;
        }

        .message-bubble-modern {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            padding: 16px 20px;
            max-width: 300px;
            border: 1px solid rgba(0, 194, 155, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] .message-bubble-modern {
            background: rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(41, 216, 178, 0.4);
        }

        .message-text-modern {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-primary);
            display: block;
            margin-bottom: 0;
            line-height: 1.4;
        }

        .message-buttons-modern {
            display: flex;
            gap: 8px;
            margin-top: 12px;
        }

        .choice-btn-modern {
            flex: 1;
            padding: 8px 16px;
            border: none;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 13px;
            backdrop-filter: blur(10px);
        }

        .yes-btn {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 194, 155, 0.3);
        }

        .no-btn {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            border: 1px solid rgba(0, 194, 155, 0.2);
        }

        [data-theme="dark"] .no-btn {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
        }

        .choice-btn-modern:hover {
            transform: translateY(-2px);
        }

        .yes-btn:hover {
            box-shadow: 0 6px 20px rgba(0, 194, 155, 0.4);
        }

        .no-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        [data-theme="dark"] .no-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .chat-icon-wrapper {
            position: relative;
            display: none;
        }

        .chat-icon {
            width: 60px;
            height: 60px;
            background: var(--bg-secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
            animation: pulse 2s infinite;
        }

        .chat-icon:hover {
            transform: scale(1.1);
            box-shadow: var(--glow);
        }

        .online-indicator {
            position: absolute;
            top: 4px;
            right: 4px;
            width: 14px;
            height: 14px;
            background: #4CAF50;
            border-radius: 50%;
            border: 2px solid white;
            animation: blink 1.5s infinite;
        }

        #enhanced-chat-window {
            width: 380px;
            height: 520px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(25px);
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            margin-bottom: 20px;
            animation: chatWindowSlideUp 0.4s ease-out;
            border: 1px solid rgba(0, 194, 155, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] #enhanced-chat-window {
            background: rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(41, 216, 178, 0.3);
        }

        #enhanced-chat-window.hidden {
            display: none;
        }

        .chat-header-modern {
            background: var(--gradient-primary);
            color: white;
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bot-info-modern {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .bot-avatar-modern {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .bot-avatar-modern::after {
            content: '';
            width: 14px;
            height: 14px;
            background: white;
            border-radius: 50%;
            opacity: 0.9;
        }

        .bot-info-modern h4 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }

        .status-modern {
            font-size: 12px;
            opacity: 0.9;
        }

        #close-chat {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 6px;
            border-radius: 50%;
            transition: all 0.3s ease;
            opacity: 0.8;
        }

        #close-chat:hover {
            background: rgba(255, 255, 255, 0.2);
            opacity: 1;
            transform: rotate(90deg);
        }

        .chat-body-modern {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background: transparent;
        }

        .chat-body-modern::-webkit-scrollbar {
            width: 4px;
        }

        .chat-body-modern::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 2px;
        }

        .chat-body-modern::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 2px;
            opacity: 0.3;
        }

        .bot-msg-modern,
        .user-msg-modern {
            margin: 16px 0;
            animation: messageSlideIn 0.3s ease-out;
        }

        .message-content-modern {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        .bot-avatar-small {
            width: 28px;
            height: 28px;
            background: var(--gradient-primary);
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .bot-avatar-small::after {
            content: '';
            width: 10px;
            height: 10px;
            background: white;
            border-radius: 50%;
            opacity: 0.9;
        }

        .bubble-modern {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            padding: 12px 16px;
            border-radius: 16px;
            max-width: 280px;
            border: 1px solid rgba(0, 194, 155, 0.1);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        }

        [data-theme="dark"] .bubble-modern {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(41, 216, 178, 0.15);
        }

        .bubble-modern p {
            margin: 0;
            font-size: 14px;
            line-height: 1.5;
            color: var(--text-primary);
        }

        .user-msg-modern .message-content-modern {
            flex-direction: row-reverse;
        }

        .user-msg-modern .bubble-modern {
            background: var(--gradient-primary);
            color: white;
            border: none;
        }

        .quick-options-modern {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            margin-top: 10px;
        }

        .quick-btn-modern {
            padding: 6px 12px;
            border: none;
            border-radius: 12px;
            background: rgba(0, 194, 155, 0.1);
            color: var(--text-primary);
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            border: 1px solid rgba(0, 194, 155, 0.2);
            backdrop-filter: blur(10px);
        }

        .quick-btn-modern:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-1px);
        }

        .enhanced-chat-input-modern {
            display: flex;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(0, 194, 155, 0.1);
        }

        [data-theme="dark"] .enhanced-chat-input-modern {
            background: rgba(0, 0, 0, 0.05);
        }

        .enhanced-chat-input-modern input {
            flex: 1;
            border: 1px solid rgba(0, 194, 155, 0.2);
            border-radius: 20px;
            padding: 10px 16px;
            outline: none;
            font-size: 14px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        [data-theme="dark"] .enhanced-chat-input-modern input {
            background: rgba(255, 255, 255, 0.03);
        }

        .enhanced-chat-input-modern input:focus {
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 2px rgba(0, 194, 155, 0.1);
        }

        .enhanced-chat-input-modern input::placeholder {
            color: var(--text-secondary);
            opacity: 0.7;
        }

        #enhanced-send-btn {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background: var(--gradient-primary);
            color: white;
            cursor: pointer;
            margin-left: 10px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 194, 155, 0.3);
        }

        #enhanced-send-btn:hover {
            transform: scale(1.05);
            box-shadow: var(--glow);
        }

        @keyframes modernSlideIn {
            from {
                transform: translateX(60px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes chatWindowSlideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes messageSlideIn {
            from {
                transform: translateY(10px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(0, 194, 155, 0.4);
            }
            70% {
                box-shadow: 0 0 0 8px rgba(0, 194, 155, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(0, 194, 155, 0);
            }
        }

        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: translateX(60px);
            }
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            nav {
                border-radius: 25px;
                padding: 0.5rem 1rem;
            }

            .nav-links {
                display: none;
            }

            .hero-content h1 {
                font-size: 2.5rem;
                min-height: 3.5rem;
            }

            .typing-cursor {
                font-size: 2.5rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .profile-img {
                width: 200px;
                height: 200px;
                font-size: 4rem;
            }

            .games-grid {
                grid-template-columns: 1fr;
            }

            .game-modal-content {
                width: 95%;
                max-height: 85vh;
            }

            #gameCanvas {
                width: 100%;
                max-width: 300px;
                height: auto;
            }

            .code-window {
                width: 250px;
                height: 180px;
            }

            .floating-tech {
                font-size: 2rem;
            }

            .message-bubble-modern {
                max-width: 280px;
            }
            
            #enhanced-chat-window {
                width: 340px;
                height: 480px;
            }
            
            #floating-chatbot {
                right: 15px;
                bottom: 15px;
            }
        }


        