  html {
            scroll-behavior: smooth;
        }

        .skip-link {
            position: absolute;
            left: -9999px;
            top: 10px;
            z-index: 10000;
            padding: 12px 24px;
            background: #3B82F6;
            color: #ffffff;
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .skip-link:focus {
            left: 10px;
            outline: 3px solid #FFD700;
            outline-offset: 2px;
        }

        #main-content:focus {
            outline: none;
        }

        .music-button {
            position: fixed;
            bottom: calc(88px + env(safe-area-inset-bottom));
            left: calc(24px + env(safe-area-inset-left));
            background: #06B6D4;
            color: #fff;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            z-index: 900;
            transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
        }

        .music-button:hover,
        .music-button:focus-visible {
            background: #0891B2;
            transform: scale(1.1);
            outline: 3px solid #FFD700;
            outline-offset: 2px;
        }

        .music-button[aria-pressed="true"] {
            box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .back-to-top-btn {
            position: fixed;
            bottom: calc(24px + env(safe-area-inset-bottom));
            left: calc(24px + env(safe-area-inset-left));
            background: #3B82F6;
            color: #fff;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 900;
            opacity: 0;
            pointer-events: none;
            transform: translateY(20px) scale(0.9);
            transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
            border: none;
            cursor: pointer;
        }

        .back-to-top-btn:hover,
        .back-to-top-btn:focus-visible {
            background: #2563EB;
            transform: scale(1.1) translateY(0);
            outline: 3px solid #FFD700;
            outline-offset: 2px;
        }

        .back-to-top-btn.visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0) scale(1);
        }

        .interactive-element {
            transition: all 0.2s ease;
        }

        .interactive-element:focus-visible {
            outline: 3px solid #3B82F6;
            outline-offset: 2px;
            border-radius: 4px;
        }

        [data-tooltip] {
            position: relative;
        }

        [data-tooltip]::before,
        [data-tooltip]::after {
            position: absolute;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 10000;
        }

        [data-tooltip]::before {
            content: '';
            bottom: calc(100% + 6px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            border: 7px solid transparent;
            border-top-color: #0B1120;
        }

        [data-tooltip]::after {
            content: attr(data-tooltip);
            bottom: calc(100% + 20px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            background: #0B1120;
            color: #ffffff;
            padding: 10px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            white-space: max-content;
            max-width: 250px;
            text-align: center;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            font-family: 'Plus Jakarta Sans', sans-serif;
            line-height: 1.4;
        }

        [data-tooltip]:hover::before,
        [data-tooltip]:focus-visible::before,
        [data-tooltip]:hover::after,
        [data-tooltip]:focus-visible::after {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        @keyframes pulse-dot {
            0% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            }

            70% {
                box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
            }
        }

        .status-dot {
            width: 10px;
            height: 10px;
            background-color: #22C55E;
            border-radius: 50%;
            display: inline-block;
            animation: pulse-dot 2s infinite;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .nav-toggle {
            display: none;
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 22px;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 8px;
        }

        .nav-toggle:hover,
        .nav-toggle:focus-visible {
            background: rgba(255, 255, 255, 0.1);
            outline: 3px solid #FFD700;
            outline-offset: 2px;
        }

        @media (max-width: 768px) {
            [data-tooltip]::after {
                font-size: 13px;
                padding: 8px 12px;
                max-width: 200px;
                white-space: normal;
                bottom: calc(100% + 16px);
            }

            [data-tooltip]::before {
                bottom: calc(100% + 4px);
            }

            .music-button {
                bottom: calc(76px + env(safe-area-inset-bottom));
                left: calc(16px + env(safe-area-inset-left));
                width: 44px;
                height: 44px;
            }

            .back-to-top-btn {
                bottom: calc(16px + env(safe-area-inset-bottom));
                left: calc(16px + env(safe-area-inset-left));
                width: 44px;
                height: 44px;
            }

            .hero-card {
                padding: 24px 16px;
                flex-direction: column;
                text-align: center;
            }

            .buttons {
                justify-content: center;
                flex-wrap: wrap;
                gap: 12px;
            }

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

            header.navbar {
                position: relative;
                flex-wrap: wrap;
                justify-content: space-between;
                align-items: center;
            }

            .nav-toggle {
                display: inline-flex;
            }

            header.navbar nav#primary-navigation {
                display: none;
                flex-direction: column;
                align-items: stretch;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                width: 100%;
                background: #0B1120;
                padding: 12px 16px 20px;
                gap: 4px;
                box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
                border-radius: 0 0 12px 12px;
                z-index: 950;
            }

            header.navbar nav#primary-navigation.nav-open {
                display: flex;
            }

            header.navbar nav#primary-navigation a {
                width: 100%;
                padding: 12px 8px;
            }
        }

        @media (max-width: 480px) {
            .quick-socials {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 16px;
            }

            [data-tooltip]:hover::after,
            [data-tooltip]:focus-visible::after {
                left: 50%;
                transform: translateX(-50%) translateY(0);
            }

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

        @media (prefers-reduced-motion: reduce) {

            html {
                scroll-behavior: auto;
            }

            .status-dot {
                animation: none;
            }

            .music-button,
            .back-to-top-btn,
            .project-card,
            .interactive-element,
            [data-tooltip]::before,
            [data-tooltip]::after {
                transition: none !important;
            }

            .back-to-top-btn.visible {
                transform: none;
            }
        }
