:root {
            --nav-bg: #ffffff00;
            --hero-start: #2d0a15;
            --hero-end: #c41e3a;
            --text-color: #ffffff;
            --muted: rgba(255, 255, 255, 0.85);
            --button-bg: #e8354c;
            --button-hover: #ffffff;
            --button-text: #ffffff;
            --accent-color: #ff4757;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            color: var(--text-color);
            background: #2d0a15 url('current-wallpaper.png') center/cover fixed no-repeat;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.349) 1px, transparent 0);
            background-size: 24px 24px;
            pointer-events: none;
            opacity: 0.75;
            z-index: 0;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 10;
            background: #2d0a1500;
            backdrop-filter: blur(3px);
        }

        .nav-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 18px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-logo {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.027);
            border-style: solid;
            border-width: 0.8px;
            border-color: rgba(255, 255, 255, 0.555);
            display: grid;
            place-items: center;
            font-weight: 700;
            letter-spacing: 0.06em;
            font-family: 'Bungee', cursive;
            font-size: 1.5rem;
        }

        nav {
            display: flex;
            flex-wrap: wrap;
            gap: 22px;
            align-items: center;
        }

        nav a {
            color:  rgba(255, 255, 255, 0.315);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

        nav a:hover {
            color:#ffffff;
        }

        .toggle-wrap {
            margin-left: auto;
        }

        .hero {
            position: relative;
            overflow: hidden;
            min-height: calc(100vh - 82px);
            display: grid;
            place-items: center;
            padding: 90px 24px 120px;
            background: transparent;
        }

        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42));
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 920px;
            text-align: center;
        }

        .hero h1 {
            margin: 0 auto 18px;
            max-width: 820px;
            font-size: clamp(3rem, 4vw + 1rem, 5.2rem);
            line-height: 0.95;
            letter-spacing: -0.04em;
            font-family: 'Bungee', cursive;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
            
        }

        .hero p {
            margin: 0 auto 32px;
            max-width: 720px;
            color: rgba(255, 255, 255, 0.92);
            font-size: 1.1rem;
            line-height: 1.75;
        }

        .scrolling-text {
            overflow: hidden;
            white-space: nowrap;
            animation: scroll-right-to-left 15s linear infinite;
            margin: 0 auto 32px;
            max-width: none;
            width: 100%;
        }

        @keyframes scroll-right-to-left {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 180px;
            padding: 14px 24px;
            border-radius: 9px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
            font-size: 0.98rem;
            font-weight: 700;
            text-decoration: none;
            transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
        }

        .btn-primary {
            background: rgba(255, 255, 255, 0.18);
            color: var(--button-text);
            border-color: rgba(255, 255, 255, 0.28);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-color);
            border-color: rgba(255, 255, 255, 0.22);
        }

        .btn:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.22);
        }

        .hero-meta {
            margin-top: 46px;
            display: grid;
            grid-template-columns: repeat(3, minmax(120px, 1fr));
            gap: 18px;
            text-align: left;
        }

        .meta-card {
            padding: 22px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .meta-card h3 {
            margin: 0 0 10px;
            font-size: 0.95rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.75);
        }

        .meta-card p {
            margin: 0;
            color: #ffffff;
            font-size: 1rem;
            line-height: 1.6;
        }

        .theme-toggle {
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.24);
            color: var(--text-color);
            border-radius: 999px;
            padding: 10px 16px;
            cursor: pointer;
            font-weight: 600;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.26);
            border-color: rgba(255, 255, 255, 0.32);
        }

        @media (max-width: 860px) {
            .hero-meta {
                grid-template-columns: 1fr;
            }

            nav {
                justify-content: center;
            }
        }

        @media (max-width: 640px) {
            .nav-inner {
                flex-direction: column;
                align-items: stretch;
            }

            nav {
                justify-content: center;
            }

            .hero {
                padding-top: 70px;
                min-height: auto;
            }
        }

        /* Section Styles */
        section {
            padding: 40px 0;
            position: relative;
        }

        section h2 {
            font-size: 2.5rem;
            margin-bottom: 40px;
            text-align: center;
            color: var(--text-color);
            font-family: 'Bungee', cursive;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        section p {
            font-size: 1.1rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.9);
            max-width: 800px;
            margin: 0 auto 30px;
            text-align: center;
        }

        .layout-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        @media (max-width: 768px) {
            .layout-container {
                display: block;
                padding: 0 30px;
            }
        }

        .about-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
            align-items: center;
        }

        .about-text {
            text-align: center;
        }

        .about-text h2 {
            text-align: center;
            margin-bottom: 20px;
        }

        .about-text p {
            text-align: center;
            margin: 0;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .project-card {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 30px;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .project-card h3 {
            margin: 0 0 15px;
            font-size: 1.5rem;
            font-family: 'Bungee', cursive;
        }

        .project-card p {
            margin: 0 0 20px;
            color: rgba(255, 255, 255, 0.8);
        }

        .project-card a {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 600;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }

        .skill-item {
            text-align: center;
            padding: 30px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        .skill-item h3 {
            margin: 0 0 10px;
            font-size: 1.2rem;
            font-family: 'Bungee', cursive;
        }

        .skill-item p {
            margin: 0;
            color: rgba(255, 255, 255, 0.8);
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            display: grid;
            gap: 20px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            font-size: 1rem;
            backdrop-filter: blur(10px);
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .contact-form button {
            padding: 15px;
            background: var(--button-bg);
            color: var(--button-text);
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .contact-form button:hover {
            background: var(--accent-color);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 20px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius:  5px;
            color: var(--text-color);
            text-decoration: none;
            font-weight: 600;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
        }

        .social-links a:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            color: var(--accent-color);
        }

        html {
            scroll-behavior: smooth;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-on-scroll.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .animate-left {
            opacity: 0;
            transform: translateX(-30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .animate-right {
            opacity: 0;
            transform: translateX(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .animate-scale {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-scale.animate {
            opacity: 1;
            transform: scale(1);
        }

        /* Staggered animations for grids */
        .portfolio-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
        .portfolio-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
        .portfolio-grid .project-card:nth-child(3) { animation-delay: 0.3s; }

        .skills-grid .skill-item:nth-child(1) { animation-delay: 0.1s; }
        .skills-grid .skill-item:nth-child(2) { animation-delay: 0.2s; }
        .skills-grid .skill-item:nth-child(3) { animation-delay: 0.3s; }
        .skills-grid .skill-item:nth-child(4) { animation-delay: 0.4s; }

        .social-links a:nth-child(1) { animation-delay: 0.1s; }
        .social-links a:nth-child(2) { animation-delay: 0.2s; }
        .social-links a:nth-child(3) { animation-delay: 0.3s; }
        .social-links a:nth-child(4) { animation-delay: 0.4s; }
        .social-links a:nth-child(5) { animation-delay: 0.5s; }