body {
    background-color: #111111;
    /* Primary Background: Dark Gray #111111 */
    color: #F5F5F5;
}

/* Accessibility: Visible Focus Indicators */
:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip to Content accessible link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #D4AF37;
    color: #111111;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 9999;
    border-radius: 0.5rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* Custom glow utilities */
.hover\:glow-sm:hover {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.hover\:glow-gold:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

/* Glassmorphism panel configurations */
.glass-panel {
    background: rgba(42, 42, 42, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.glass-panel:hover {
    border-color: rgba(244, 197, 66, 0.45);
    box-shadow: 0 20px 40px -15px rgba(17, 17, 17, 0.9), 0 0 30px rgba(212, 175, 55, 0.20);
}

/* Subtle AI background grid pattern */
.bg-ai-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(212, 175, 55, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
}

/* Keyframe animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    #bg-canvas {
        display: none !important;
    }
}