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

        html, body {
            height: 100%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #0a0a0a;
            color: white;
            overflow-x: hidden;
            overflow-y: auto;
        }

        /* Puzzle Section */
        .puzzle-container {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #1e1e2f 0%, #6a0572 100%);
            transition: opacity 0.8s ease, transform 0.8s ease;
            position: relative;
            overflow: hidden;
        }

        .puzzle-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 60%);
            animation: pulseBackground 8s ease-in-out infinite;
            z-index: 0;
        }

        @keyframes pulseBackground {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.1); }
        }

        .puzzle-content {
            width: 100%;
            max-width: 600px;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(15px);
            border-radius: 20px;
            border: 2px solid rgba(255, 255, 255, 0.4);
            text-align: center;
            position: relative;
            z-index: 1;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            animation: float 5s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #00f0ff, #ff00a0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 20px rgba(255,255,255,0.4);
            animation: glowText 2.5s ease-in-out infinite;
        }

        @keyframes glowText {
            0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.4); }
            50% { text-shadow: 0 0 30px rgba(255,255,255,0.7); }
        }

        .hero p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
            line-height: 1.5;
            animation: fadeIn 1s ease;
        }

        .puzzle-grid {
            display: grid;
            grid-template-columns: repeat(2, 120px);
            grid-template-rows: repeat(2, 120px);
            gap: 10px;
            margin: 0 auto 1.5rem;
            max-width: 260px;
            background: rgba(255,255,255,0.1);
            padding: 8px;
            border-radius: 15px;
            box-shadow: inset 0 0 15px rgba(255,255,255,0.2);
            animation: slideInSection 1s ease;
        }

        .puzzle-tile {
            width: 120px;
            height: 120px;
            background: linear-gradient(45deg, #00f0ff, #ff00a0);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.4);
            position: relative;
            overflow: hidden;
            animation: tileGlow 3s ease-in-out infinite;
            border: 2px solid rgba(255,255,255,0.3);
            clip-path: polygon(
                0% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%
            );
        }

        @keyframes tileGlow {
            0%, 100% { box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 15px rgba(0,255,255,0.4); }
            50% { box-shadow: 0 8px 35px rgba(0,0,0,0.5), 0 0 25px rgba(0,255,255,0.7); }
        }

        .puzzle-tile::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: 0.5s;
        }

        .puzzle-tile:hover::after {
            left: 100%;
        }

        .puzzle-tile:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 12px 30px rgba(0,0,0,0.5);
        }

        .puzzle-tile.empty {
            background: rgba(255, 255, 255, 0.05);
            box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
            cursor: default;
            animation: none;
            border: 2px solid rgba(255,255,255,0.1);
            clip-path: polygon(
                0% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%
            );
        }

        .puzzle-tile.empty:hover {
            transform: none;
            box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
        }

        .controls {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .btn {
            background: linear-gradient(45deg, #00f0ff, #ff00a0);
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            color: white;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
            animation: btnPulse 2s ease-in-out infinite;
        }

        @keyframes btnPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.03); }
        }

        .btn:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: 0.5s;
        }

        .btn:hover::after {
            left: 100%;
        }

        .instructions {
            background: rgba(255, 255, 255, 0.15);
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.4;
            border: 1px solid rgba(255,255,255,0.3);
            animation: fadeIn 1s ease;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            font-weight: bold;
            color: #00f0ff;
            background: rgba(255,255,255,0.1);
            padding: 0.5rem;
            border-radius: 8px;
            animation: fadeIn 1s ease;
        }

        /* Portfolio Section */
        .portfolio {
            height: auto;
            min-height: 100vh;
            opacity: 0;
            transition: opacity 1s ease;
            display: none;
        }

        .portfolio.visible {
            opacity: 1;
            display: block;
            animation: portfolioReveal 1s ease forwards;
        }

        .puzzle-container.hidden {
            opacity: 0;
            transform: scale(0.8) translateY(50px);
            pointer-events: none;
            display: none;
        }

        /* Navigation */
        nav {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 0.8rem 1.5rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: bold;
            color: #00f0ff;
            animation: glowText 2s ease-in-out infinite;
        }

        .nav-links {
            display: flex;
            gap: 1rem;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 10px;
            position: relative;
            clip-path: polygon(
                0% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%
            );
            background: linear-gradient(45deg, #00f0ff, #ff00a0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links a:hover {
            color: #ffffff;
            text-shadow: 0 0 10px rgba(0,255,255,0.7);
            transform: translateY(-2px);
        }

        .hamburger {
            display: none;
            font-size: 1.5rem;
            color: #00f0ff;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .hamburger:hover {
            transform: rotate(90deg);
        }

        .nav-links.active {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 60px;
            right: 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 1rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: puzzleNavOpen 0.6s ease forwards;
        }

        @keyframes puzzleNavOpen {
            0% {
                opacity: 0;
                transform: translateX(100px) scale(0.8);
                clip-path: polygon(
                    0% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%
                );
            }
            100% {
                opacity: 1;
                transform: translateX(0) scale(1);
                clip-path: polygon(
                    0% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%
                );
            }
        }

        /* Sections */
        section {
            padding: 3rem 1rem;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: slideInSection 1s ease forwards;
        }

        @keyframes slideInSection {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .home {
            background: url(https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzl0ajludHNudGl5eGh4bGJqMzNjd3dpOG91d3NrdG9rYWMzMXBlcCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3o85xpSjFoSjv855UA/giphy.gif);
            text-align: center;
        }

        .home-content {
            max-width: 90%;
            width: 700px;
            margin: 0 auto;
        }

        .home h1 {
            font-size: 2.8rem;
            margin-bottom: 0.8rem;
            background: linear-gradient(45deg, #00f0ff, #ff00a0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glowText 2s ease-in-out infinite;
        }

        .home p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 1rem;
            animation: fadeIn 1s ease;
        }

        .about {
            background: url(https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzl0ajludHNudGl5eGh4bGJqMzNjd3dpOG91d3NrdG9rYWMzMXBlcCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3o85xpSjFoSjv855UA/giphy.gif);
        }

        .about-content {
            max-width: 90%;
            width: 900px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #00f0ff;
            animation: glowText 2s ease-in-out infinite;
        }

        .about-text p {
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 0.8rem;
            animation: fadeIn 1s ease;
        }

        .skills {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
        }

        .skill {
            background: rgba(255, 255, 255, 0.1);
            padding: 0.8rem;
            border-radius: 8px;
            text-align: center;
            transition: transform 0.3s ease;
            animation: slideInSection 1s ease;
        }

        .skill:hover {
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(0,255,255,0.4);
        }

        .projects {
              background: url(https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzl0ajludHNudGl5eGh4bGJqMzNjd3dpOG91d3NrdG9rYWMzMXBlcCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3o85xpSjFoSjv855UA/giphy.gif);
        }

        .projects h2 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: #00f0ff;
            animation: glowText 2s ease-in-out infinite;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            max-width: 90%;
            width: 1000px;
            margin: 0 auto;
        }

        .project-card {
            background: rgba(255, 255, 255, 0.15);
            padding: 1rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.3);
            position: relative;
            overflow: hidden;
            animation: projectCardFade 1s ease forwards;
            clip-path: polygon(
                0% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%
            );
        }

        @keyframes projectCardFade {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .project-card:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px rgba(0,255,255,0.4);
            background: rgba(255, 255, 255, 0.2);
        }

        .project-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: 0.5s;
        }

        .project-card:hover::after {
            left: 100%;
        }

        .project-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: #ff00a0;
            animation: glowText 2s ease-in-out infinite;
        }

        .project-card p {
            margin-bottom: 0.8rem;
            line-height: 1.4;
            font-size: 0.9rem;
            animation: fadeIn 1s ease;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-top: 0.8rem;
        }

        .tech-tag {
            background: rgba(255, 255, 255, 0.2);
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
            animation: fadeIn 1s ease;
        }

        .contact {
              background: url(https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzl0ajludHNudGl5eGh4bGJqMzNjd3dpOG91d3NrdG9rYWMzMXBlcCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3o85xpSjFoSjv855UA/giphy.gif);
            text-align: center;
        }

        .contact-content {
            max-width: 90%;
            width: 550px;
            margin: 0 auto;
        }

        .contact h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #00f0ff;
            animation: glowText 2s ease-in-out infinite;
        }

        .contact-form {
            display: grid;
            gap: 0.8rem;
            animation: slideInSection 1s ease;
        }

        .form-group {
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.4rem;
            font-weight: bold;
            font-size: 0.9rem;
            animation: fadeIn 1s ease;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.6rem;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 0.9rem;
        }

        .form-group textarea {
            height: 100px;
            resize: vertical;
        }

        .submit-btn {
            background: linear-gradient(45deg, #00f0ff, #ff00a0);
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 20px;
            color: white;
            font-size: 0.9rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s ease;
            animation: btnPulse 2s ease-in-out infinite;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,255,255,0.4);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            color: white;
            font-size: 1.3rem;
            transition: all 0.3s ease;
            animation: fadeIn 1s ease;
        }

        .social-links a:hover {
            color: #00f0ff;
            transform: scale(1.2);
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            color: #00f0ff;
            font-size: 0.9rem;
            margin-top: 1rem;
            animation: fadeIn 1s ease;
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes portfolioReveal {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes celebrate {
            0% { transform: scale(1) translate(0, 0); }
            50% { transform: scale(1.1) translate(3px, -3px); }
            100% { transform: scale(1) translate(0, 0); }
        }

        .celebrating {
            animation: celebrate 0.5s ease;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .puzzle-content {
                max-width: 500px;
                padding: 1.2rem;
            }

            .puzzle-grid {
                grid-template-columns: repeat(2, 100px);
                grid-template-rows: repeat(2, 100px);
                max-width: 220px;
            }

            .puzzle-tile {
                width: 100px;
                height: 100px;
                font-size: 2.2rem;
            }

            .hero h1 {
                font-size: 2.4rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .btn {
                padding: 10px 25px;
                font-size: 0.9rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .skills {
                grid-template-columns: 1fr 1fr;
            }

            .projects-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }

            .home h1 {
                font-size: 2.4rem;
            }

            section {
                padding: 2.5rem 0.8rem;
            }
        }

        @media (max-width: 768px) {
            .puzzle-content {
                max-width: 400px;
                padding: 1rem;
            }

            .puzzle-grid {
                grid-template-columns: repeat(2, 80px);
                grid-template-rows: repeat(2, 80px);
                max-width: 176px;
            }

            .puzzle-tile {
                width: 80px;
                height: 80px;
                font-size: 1.8rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 0.9rem;
            }

            .btn {
                padding: 8px 20px;
                font-size: 0.85rem;
            }

            .instructions {
                font-size: 0.85rem;
            }

            .stats {
                font-size: 0.85rem;
            }

            .home h1 {
                font-size: 2rem;
            }

            .home p {
                font-size: 0.9rem;
            }

            .about-text h2 {
                font-size: 1.8rem;
            }

            .projects h2 {
                font-size: 1.8rem;
            }

            .contact h2 {
                font-size: 1.8rem;
            }

            .nav-links {
                display: none;
            }

            .hamburger {
                display: block;
            }

            .nav-links.active {
                display: flex;
            }

            section {
                padding: 2rem 0.6rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                max-width: 90%;
            }

            .project-card {
                max-width: 400px;
                margin: 0 auto;
            }
        }

        @media (max-width: 480px) {
            .puzzle-content {
                max-width: 90%;
                padding: 0.8rem;
            }

            .puzzle-grid {
                grid-template-columns: repeat(2, 60px);
                grid-template-rows: repeat(2, 60px);
                max-width: 132px;
            }

            .puzzle-tile {
                width: 60px;
                height: 60px;
                font-size: 1.4rem;
            }

            .hero h1 {
                font-size: 1.6rem;
            }

            .hero p {
                font-size: 0.8rem;
            }

            .btn {
                padding: 8px 15px;
                font-size: 0.8rem;
            }

            .instructions {
                font-size: 0.8rem;
            }

            .stats {
                font-size: 0.8rem;
            }

            .home h1 {
                font-size: 1.6rem;
            }

            .home p {
                font-size: 0.8rem;
            }

            .about-text h2 {
                font-size: 1.4rem;
            }

            .about-text p {
                font-size: 0.8rem;
            }

            .skills {
                grid-template-columns: 1fr;
            }

            .projects h2 {
                font-size: 1.4rem;
            }

            .project-card h3 {
                font-size: 1.1rem;
            }

            .project-card p {
                font-size: 0.8rem;
            }

            .contact h2 {
                font-size: 1.4rem;
            }

            .form-group input,
            .form-group textarea {
                font-size: 0.8rem;
            }

            .submit-btn {
                font-size: 0.8rem;
            }

            .social-links a {
                font-size: 1.1rem;
            }

            footer {
                font-size: 0.8rem;
            }

            section {
                padding: 1.5rem 0.5rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                max-width: 90%;
            }

            .project-card {
                max-width: 300px;
                margin: 0 auto;
            }
        }
   