        /* CSS Variables for non-Tailwind elements */
        :root {
            /* Default to Dark Mode variables (matching the JS default) */
            color-scheme: dark;
            --primary-color: #4f46e5;
            /* Indigo */
            --accent-color: #8b5cf6;
            /* Violet */
        }

        /* Light Mode Overrides */
        html.light {
            color-scheme: light;
            --primary-color: #3b82f6;
            /* Blue */
            --accent-color: #6366f1;
            /* Indigo */
        }

        /* Global Smooth Transition - Prevents "forced" abrupt changes */
        html,
        body,
        div,
        section,
        nav,
        footer,
        h1,
        h2,
        h3,
        p,
        a,
        button,
        input,
        textarea,
        i,
        span {
            transition-property: background-color, color, border-color, box-shadow;
            transition-duration: 300ms;
            transition-timing-function: ease-in-out;
        }

        body {
            font-family: 'Inter', sans-serif;
            /* transition handled globally above */
        }

        /* Unique Button Design - Gradient and Shadow */
        .btn-primary {
            background-image: linear-gradient(to right, #4f46e5 0%, #a855f7 100%);
            box-shadow: 0 4px 15px 0 rgba(79, 70, 229, 0.4);
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-image: linear-gradient(to right, #6366f1 0%, #c084fc 100%);
            box-shadow: 0 4px 20px 0 rgba(139, 92, 246, 0.6);
            transform: translateY(-2px);
        }

        .btn-secondary {
            border: 2px solid var(--accent-color);
            color: var(--accent-color);
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background-color: rgba(139, 92, 246, 0.1);
            /* Handle text color change via utility classes or specific override if needed */
        }

        /* Dark mode overrides for secondary button hover text if needed */
        html.dark .btn-secondary:hover {
            color: #fff;
        }

        html.light .btn-secondary:hover {
            color: #4f46e5;
        }


        /* Hero Section Glow Effect for Profile Photo Placeholder */
        .profile-photo-container {
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color), #ec4899);
            padding: 4px;
            position: relative;
            box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
            animation: pulse-glow 4s infinite alternate;
        }

        .profile-photo-inner {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 4px solid;
            /* Border color handles by Tailwind classes in HTML */
        }

        /* Bubble Effect */
        .bubble {
            position: absolute;
            background-color: var(--accent-color);
            border-radius: 50%;
            opacity: 0.15;
            animation: move-bubble 15s infinite;
        }

        .bubble:nth-child(1) {
            width: 40px;
            height: 40px;
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .bubble:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 70%;
            left: 80%;
            animation-delay: 4s;
        }

        .bubble:nth-child(3) {
            width: 30px;
            height: 30px;
            top: 50%;
            left: 30%;
            animation-delay: 8s;
        }

        /* Icon Animation Class */
        .icon-spin {
            animation: spin 0.5s ease-in-out;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg) scale(0.8);
                opacity: 0.5;
            }

            to {
                transform: rotate(360deg) scale(1);
                opacity: 1;
            }
        }

        @keyframes pulse-glow {
            0% {
                box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
            }

            50% {
                box-shadow: 0 0 45px rgba(139, 92, 246, 0.7);
            }

            100% {
                box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
            }
        }

        @keyframes move-bubble {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
            }

            25% {
                transform: translate(20px, -20px) scale(1.1);
            }

            50% {
                transform: translate(-30px, 30px) scale(0.9);
            }

            75% {
                transform: translate(10px, 10px) scale(1.2);
            }
        }

        /* Skill Card Hover Effect */
        .skill-card {
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s;
            cursor: pointer;
        }

        .skill-card:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            background-color: rgba(79, 70, 229, 0.1);
        }

        /* Specific dark mode hover for skill card */
        html.dark .skill-card:hover {
            background-color: rgba(79, 70, 229, 0.5);
        }