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

        :root {
            --primary-bg: #1a1a1a;
            --secondary-bg: #2d2d2d;
            --card-bg: #282828;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --text-tertiary: #888888;
            --accent: #404040;
            --accent-hover: #606060;
            --border: rgba(255, 255, 255, 0.1);
            --border-hover: rgba(255, 255, 255, 0.2);
            --shadow: rgba(0, 0, 0, 0.3);
            --background: rgba(0, 0, 0, 0.4);
        }

        [data-theme="light"] {
            --primary-bg: #f8f9fa;
            --secondary-bg: #ffffff;
            --card-bg: #ffffff;
            --text-primary: #1a1a1a;
            --text-secondary: #4a4a4a;
            --text-tertiary: #6c757d;
            --accent: #e9ecef;
            --accent-hover: #dee2e6;
            --border: rgba(0, 0, 0, 0.1);
            --border-hover: rgba(0, 0, 0, 0.2);
            --shadow: rgba(255, 255, 255, 0.1);
             --background: rgba(215, 214, 214, 0.4);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
            min-height: 100vh;
            color: var(--text-primary);
            overflow-x: hidden;
            transition: all 0.3s ease;
        }

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader {
            width: 50px;
            height: 50px;
            border: 3px solid var(--border);
            border-top: 3px solid var(--text-primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }

        .loading-text {
            color: var(--text-secondary);
            font-size: 16px;
            animation: pulse 1.5s ease-in-out infinite;
        }

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

        @keyframes pulse {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }

        .cursor {
            width: 20px;
            height: 20px;
            border: 2px solid var(--text-primary);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9998;
            transition: all 0.1s ease;
            backdrop-filter: blur(2px);
        }

        .cursor.hover {
            transform: scale(1.5);
            background: rgba(255, 255, 255, 0.1);
        }

        .particles-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
            transition: all 0.3s ease;
        }

        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
            transition: all 0.3s ease;
        }

        .particle.interactive {
            transition: all 0.2s ease;
        }

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

        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 60px;
            height: 30px;
            background: var(--card-bg);
            border-radius: 15px;
            border: 1px solid var(--border);
            cursor: pointer;
            z-index: 1000;
            display: flex;
            align-items: center;
            padding: 3px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .theme-toggle:hover {
            border-color: var(--border-hover);
        }

        .theme-toggle .toggle-slider {
            width: 24px;
            height: 24px;
            background: var(--text-primary);
            border-radius: 50%;
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle .toggle-slider svg {
            width: 12px;
            height: 12px;
            fill: var(--primary-bg);
        }

        .theme-toggle.active .toggle-slider {
            transform: translateX(30px);
        }

        .visit-counter {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 8px 16px;
            font-size: 12px;
            color: var(--text-secondary);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
        }

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

        .container-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header {
            text-align: center;
            padding: 60px 0 40px;
            background: var(--background);
            backdrop-filter: blur(20px);
            margin-bottom: 30px;
            border-bottom: 1px solid var(--border);
            transition: all 0.3s ease;
            width: 100%;
        }

        .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid var(--border-hover);
            margin: 0 auto 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px var(--shadow);
            transition: all 0.3s ease;
            position: relative;
        }

        .profile-image:hover {
            transform: scale(1.05);
            border-color: var(--text-primary);
        }

        .profile-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
        }

        .profile-image:hover img {
            transform: scale(1.1);
        }

        .username {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 10px;
            text-shadow: 0 2px 10px var(--shadow);
        }

        .typing-text {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 25px;
            line-height: 1.5;
            min-height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

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

        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.4s ease;
            transform: translate(-50%, -50%);
        }

        .social-link:hover::before {
            width: 100%;
            height: 100%;
        }

        .social-link:hover {
            transform: translateY(-3px);
            border-color: var(--border-hover);
            box-shadow: 0 10px 25px var(--shadow);
        }

        .social-link svg {
            width: 24px;
            height: 24px;
            fill: var(--text-primary);
            position: relative;
            z-index: 1;
        }

        .projects-section {
            padding: 0 0 60px;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 40px;
            text-shadow: 0 2px 10px var(--shadow);
            position: relative;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 20px;
        }

        .project-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 20px 40px var(--shadow);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            backdrop-filter: blur(20px);
            opacity: 0;
            transform: translateY(30px);
        }

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

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 30px 60px var(--shadow);
            border-color: var(--border-hover);
        }

        .project-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .project-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--accent), var(--accent-hover));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

        .project-icon::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s ease;
            opacity: 0;
        }

        .project-card:hover .project-icon::before {
            animation: shine 0.8s ease-in-out;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
        }

        .project-icon svg {
            width: 24px;
            height: 24px;
            fill: var(--text-primary);
            position: relative;
            z-index: 1;
        }

        .project-info h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 5px;
        }

        .project-info .project-url {
            font-size: 12px;
            color: var(--text-tertiary);
            opacity: 0.8;
        }

        .project-status {
            display: inline-block;
            background: #22c55e;
            color: white;
            font-size: 10px;
            font-weight: 500;
            padding: 2px 8px;
            border-radius: 10px;
            margin-left: 10px;
            text-transform: uppercase;
        }

        .project-status.development {
            background: #f59e0b;
        }

        .project-preview {
            width: 100%;
            height: 200px;
            border-radius: 12px;
            background: var(--accent);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px dashed var(--border);
            color: var(--text-tertiary);
            font-size: 14px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }

        .project-preview:hover {
            border-color: var(--border-hover);
        }

        .project-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .project-preview:hover img {
            transform: scale(1.05);
        }

        .project-description {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .tech-tag {
            background: var(--accent);
            color: var(--text-primary);
            font-size: 11px;
            font-weight: 500;
            padding: 4px 8px;
            border-radius: 12px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
        }

        .project-stats {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            font-size: 12px;
            color: var(--text-tertiary);
        }

        .project-stat {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .project-stat svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
        }

        .project-actions {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 12px 24px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

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

        .btn:active::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent), var(--accent-hover));
            color: var(--text-primary);
            flex: 1;
            justify-content: center;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px var(--shadow);
            background: linear-gradient(135deg, var(--accent-hover), #707070);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            border: 1px solid var(--border);
            justify-content: center;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            border-color: var(--border-hover);
        }

        .btn-secondary svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .toast {
            position: fixed;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--card-bg);
            color: var(--text-primary);
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 14px;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1001;
            border: 1px solid var(--border);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 20px var(--shadow);
            max-width: calc(100vw - 40px);
            text-align: center;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(-10px);
        }

        .parallax-element {
            position: absolute;
            opacity: 0.1;
            transition: all 0.3s ease;
        }

        .parallax-element.visible {
            opacity: 0.3;
        }

        .lazy-load {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lazy-load.loaded {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .container-content {
                padding: 0 15px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 15px;
            }

            .header {
                padding: 40px 0 30px;
                margin-bottom: 20px;
            }

            .profile-image {
                width: 100px;
                height: 100px;
            }

            .username {
                font-size: 24px;
            }

            .project-card {
                padding: 20px;
            }

            .project-preview {
                height: 160px;
            }

            .theme-toggle {
                position: fixed;
                top: 10px;
                right: 10px;
                width: 50px;
                height: 25px;
                padding: 2px;
                backdrop-filter: blur(20px);
                box-shadow: 0 4px 12px var(--shadow);
            }

            .theme-toggle .toggle-slider {
                width: 21px;
                height: 21px;
            }

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

            .theme-toggle.active .toggle-slider {
                transform: translateX(25px);
            }

            .visit-counter {
                position: fixed;
                bottom: 10px;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                padding: 6px 12px;
                font-size: 11px;
                border-radius: 15px;
                backdrop-filter: blur(20px);
                box-shadow: 0 4px 12px var(--shadow);
                max-width: calc(100vw - 20px);
                white-space: nowrap;
            }

            .cursor {
                display: none;
            }

            body {
                overflow-x: hidden;
            }

            .particles-bg {
                overflow: hidden;
            }
        }

        @media (max-width: 480px) {
            .theme-toggle {
                top: 5px;
                right: 5px;
                width: 45px;
                height: 23px;
            }

            .theme-toggle .toggle-slider {
                width: 19px;
                height: 19px;
            }

            .theme-toggle.active .toggle-slider {
                transform: translateX(22px);
            }

            .visit-counter {
                bottom: 5px;
                padding: 5px 10px;
                font-size: 10px;
            }

            .typing-text {
                font-size: 14px;
                padding: 0 10px;
            }

            .social-links {
                gap: 12px;
            }

            .social-link {
                width: 45px;
                height: 45px;
            }

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

        @media (min-width: 769px) and (max-width: 1024px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        @media (min-width: 1025px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        @media (min-width: 1400px) {
            .projects-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        @media (prefers-contrast: high) {
            :root {
                --border: rgba(255, 255, 255, 0.5);
                --border-hover: rgba(255, 255, 255, 0.8);
            }
        }