        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #00ff88;
            --secondary: #00d4ff;
            --dark: #0a0e27;
            --darker: #050811;
            --text: #e0e6ed;
            --text-dim: #8892a6;
            --accent: #ff0055;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--darker);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Matrix Background Effect */
        #matrix-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0.15;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(0, 255, 136, 0.1);
        }

        nav .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary);
            text-shadow: 0 0 10px var(--primary);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            padding: 120px 2rem 5rem 2rem;
            /* Added top padding for navbar clearance */
        }

        .hero-content {
            text-align: center;
            max-width: 800px;
        }

        .glitch {
            font-size: 4rem;
            font-weight: bold;
            color: var(--primary);
            text-transform: uppercase;
            position: relative;
            animation: glitch 3s infinite;
        }

        @keyframes glitch {

            0%,
            90%,
            100% {
                transform: translate(0);
            }

            92% {
                transform: translate(-2px, 2px);
            }

            94% {
                transform: translate(2px, -2px);
            }

            96% {
                transform: translate(-2px, -2px);
            }
        }

        .hero h2 {
            font-size: 2rem;
            margin: 1rem 0;
            color: var(--secondary);
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-dim);
            margin: 1.5rem 0;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .btn {
            padding: 1rem 2rem;
            border: 2px solid var(--primary);
            background: transparent;
            color: var(--primary);
            text-decoration: none;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary);
            transition: left 0.3s;
            z-index: -1;
        }

        .btn:hover::before {
            left: 0;
        }

        .btn:hover {
            color: var(--darker);
        }

        .btn-secondary {
            border-color: var(--secondary);
            color: var(--secondary);
        }

        .btn-secondary::before {
            background: var(--secondary);
        }

        /* Section Styles */
        section {
            padding: 5rem 2rem;
            position: relative;
            z-index: 1;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 3rem;
            text-align: center;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            margin: 1rem auto;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .stat-card {
            background: rgba(0, 255, 136, 0.05);
            border: 1px solid rgba(0, 255, 136, 0.2);
            padding: 2rem;
            text-align: center;
            transition: all 0.3s;
        }

        .stat-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
        }

        .stat-number {
            font-size: 3rem;
            color: var(--primary);
            font-weight: bold;
        }

        .stat-label {
            color: var(--text-dim);
            margin-top: 0.5rem;
        }

        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .skill-card {
            background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
            border: 1px solid rgba(0, 255, 136, 0.2);
            padding: 2rem;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s;
        }

        .skill-card:hover::before {
            left: 100%;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
        }

        .skill-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .skill-title {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .skill-items {
            list-style: none;
        }

        .skill-items li {
            padding: 0.5rem 0;
            color: var(--text-dim);
        }

        .skill-items li::before {
            content: '▹ ';
            color: var(--primary);
        }

        /* Portfolio Filters */
        .filter-container {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.5rem 1.5rem;
            background: rgba(10, 14, 39, 0.5);
            border: 1px solid var(--primary);
            color: var(--primary);
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
            font-size: 1rem;
            border-radius: 5px;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--primary);
            color: var(--darker);
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
        }

        /* Portfolio Section */
        /* Carousel Styles */
        .carousel-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 50px;
            /* Space for buttons */
        }

        .carousel-track-container {
            overflow: hidden;
            width: 100%;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            gap: 2rem;
            padding: 1rem 0;
            /* Space for hover effects */
        }

        .project-card {
            background: rgba(10, 14, 39, 0.8);
            border: 1px solid rgba(0, 255, 136, 0.2);
            padding: 2rem;
            transition: all 0.3s;
            position: relative;
            flex-shrink: 0;
            width: calc(33.333% - 1.34rem);
            /* 3 items per slide with gap accounting */
        }

        /* Responsive Carousel Items */
        @media (max-width: 968px) {
            .project-card {
                width: calc(50% - 1rem);
                /* 2 items */
            }
        }

        @media (max-width: 600px) {
            .project-card {
                width: 100%;
                /* 1 item */
            }
        }

        .project-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        .project-card:hover::after {
            opacity: 1;
        }

        .project-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(10, 14, 39, 0.8);
            border: 1px solid var(--primary);
            color: var(--primary);
            font-size: 1.5rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .carousel-btn:hover {
            background: var(--primary);
            color: var(--darker);
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
        }

        .carousel-btn.prev {
            left: 0;
        }

        .carousel-btn.next {
            right: 0;
        }

        .carousel-btn.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .carousel-nav {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 1rem;
        }

        .carousel-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(0, 255, 136, 0.2);
            border: 1px solid var(--primary);
            cursor: pointer;
            transition: all 0.3s;
        }

        .carousel-indicator.current-slide {
            background: var(--primary);
            box-shadow: 0 0 10px var(--primary);
        }

        .project-title {
            font-size: 1.8rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }

        .project-desc {
            color: var(--text-dim);
            margin-bottom: 1.5rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            background: rgba(0, 255, 136, 0.1);
            border: 1px solid var(--primary);
            padding: 0.3rem 0.8rem;
            font-size: 0.9rem;
            color: var(--primary);
        }

        /* Contact Section */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.5rem;
            background: rgba(0, 255, 136, 0.05);
            border: 1px solid rgba(0, 255, 136, 0.2);
            transition: all 0.3s;
        }

        .contact-item:hover {
            border-color: var(--primary);
            transform: translateX(10px);
        }

        .contact-icon {
            font-size: 2rem;
            color: var(--primary);
        }

        .contact-details h3 {
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }

        .contact-details a {
            color: var(--text-dim);
            text-decoration: none;
        }

        .contact-details a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .social-link {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--primary);
            color: var(--primary);
            text-decoration: none;
            font-size: 1.5rem;
            transition: all 0.3s;
        }

        .social-link:hover {
            background: var(--primary);
            color: var(--darker);
            transform: translateY(-5px);
        }

        .social-link svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
            transition: transform 0.3s;
        }

        .social-link:hover svg {
            transform: scale(1.15);
        }

        /* Footer */
        footer {
            background: var(--dark);
            padding: 2rem;
            text-align: center;
            border-top: 1px solid rgba(0, 255, 136, 0.1);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .glitch {
                font-size: 2.5rem;
            }

            .hero h2 {
                font-size: 1.5rem;
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
            }

            .cta-buttons {
                flex-direction: column;
            }
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeIn 0.8s forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Profile Image Effects from Anti Copi V1 */
        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8rem;
            max-width: 1200px;
            align-items: center;
            width: 100%;
            text-align: left;
            /* Override default center alignment */
            position: relative;
            z-index: 2;
        }

        @media (max-width: 968px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                /* Revert to center for mobile stack */
                gap: 4rem;
                /* Smaller gap on mobile */
            }

            .cta-buttons {
                justify-content: center !important;
                /* Force center buttons on mobile */
            }

            .hero-text {
                order: 2;
                /* Image first on mobile? Optional, keeping text first usually better for SEO/UX but visually image first is nice. maintaining specific order: text first based on current HTML flow */
                z-index: 2;
                position: relative;
            }
        }

        .profile-img-container {
            position: relative;
            width: 320px;
            /* Reduced from 400px to prevent rotation overlap */
            height: 320px;
            margin: 0 auto;
            z-index: 1;
        }

        .profile-img-container::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            border: 2px solid var(--primary);
            animation: rotate 20s linear infinite;
        }

        .profile-img-container::after {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            border: 2px solid var(--secondary);
            animation: rotate 15s linear infinite reverse;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .profile-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
            border: 3px solid var(--primary);
            box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
            position: relative;
            z-index: 1;
        }

        .about-image {
            position: relative;
        }

        .about-img {
            width: 100%;
            max-width: 500px;
            border-radius: 10px;
            border: 3px solid var(--primary);
            box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
        }


        /* Mobile Menu Styles */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            transition: all 0.3s;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        @media (max-width: 968px) {
            .nav-links {
                display: flex;
                /* Override display:none if set elsewhere, we control visibility via position */
                position: fixed;
                top: 0;
                right: -100%;
                height: 100vh;
                width: 70%;
                background: rgba(10, 14, 39, 0.98);
                backdrop-filter: blur(10px);
                flex-direction: column;
                padding: 5rem 2rem;
                transition: right 0.3s;
                border-left: 1px solid rgba(0, 255, 136, 0.2);
                z-index: 999;
            }

            .nav-links.active {
                right: 0;
            }

            .menu-toggle {
                display: flex;
            }
        }

        /* Fix Profile Image Responsiveness */
        @media (max-width: 480px) {
            section {
                padding: 4rem 1rem;
            }

            .profile-img-container {
                width: 100%;
                max-width: 280px;
                /* Slightly smaller to fit 320px screens with padding */
                height: auto;
                aspect-ratio: 1/1;
            }

            .logo {
                font-size: 1.2rem;
            }

            .cta-buttons {
                flex-wrap: wrap;
            }

            .btn {
                width: 100%;
                text-align: center;
            }
        }

        /* --- Article & Project Page Styles --- */
        .project-detail,
        .project-details {
            padding-top: 120px;
        }

        .article-content {
            max-width: 800px;
            margin: 0 auto;
            color: var(--text);
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .article-content h3 {
            color: var(--secondary);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .article-content p {
            margin-bottom: 1.5rem;
        }

        /* Code Blocks */
        .code-block {
            background: rgba(10, 14, 39, 0.95);
            border: 1px solid var(--primary);
            border-radius: 5px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', monospace;
            position: relative;
        }

        .code-block::before {
            content: attr(data-lang);
            position: absolute;
            top: 0;
            right: 0;
            background: var(--primary);
            color: var(--darker);
            padding: 2px 10px;
            font-size: 0.8rem;
            font-weight: bold;
            border-bottom-left-radius: 5px;
        }

        .code-line {
            display: block;
            color: #d4d4d4;
        }

        .code-comment {
            color: #6a9955;
        }

        .code-command {
            color: var(--primary);
        }

        /* Warning Box */
        .warning-box {
            background: rgba(255, 0, 85, 0.1);
            border-left: 4px solid var(--accent);
            padding: 1.5rem;
            margin: 2rem 0;
        }

        /* Images */
        .project-img {
            width: 100%;
            border-radius: 10px;
            border: 1px solid var(--primary);
            margin: 2rem 0;
            box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
        }

        .article-img {
            width: 100%;
            border-radius: 5px;
            border: 1px solid #333;
            margin: 1.5rem 0;
        }

        /* Navigation Helpers */
        .breadcrumb {
            margin-bottom: 2rem;
            color: var(--text-dim);
        }

        .breadcrumb a,
        .back-link {
            color: var(--secondary);
            text-decoration: none;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
        }

        .breadcrumb a:hover,
        .back-link:hover {
            color: var(--primary);
        }

        .back-link::before {
            content: '←';
            margin-right: 0.5rem;
        }

        /* Video Container */
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            /* 16:9 */
            height: 0;
            overflow: hidden;
            border-radius: 10px;
            border: 1px solid var(--primary);
            box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
            margin: 2rem 0;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .project-meta {
            margin-top: 2rem;
            padding: 2rem;
            background: rgba(0, 255, 136, 0.05);
            border: 1px solid rgba(0, 255, 136, 0.2);
            border-radius: 5px;
        }