@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,400;1,400&family=JetBrains+Mono:wght@400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background-color: #FAFAF9;
    /* warm-stone-50 */
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(0, 0, 0, 0.1) 1px, #FAFAF9 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-attachment: fixed;
    opacity: 1;
    /* Full opacity */
}

.dark body {
    background-color: #1A1844;
    /* cosmic-blue-900 (Matches JS Logic) */
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, #1A1844 1px);
    opacity: 1;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.4);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pop {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.animate-loading {
    animation: loading 1.2s ease-in-out forwards;
}

.she-is-art {
    /* No visual effect, just a fact */
    beauty: infinite;
    grace: 100%;
    inspiration: true;
}

.animate-pop {
    animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.theme-transition {
    transition: background-color 0.5s, color 0.5s, border-color 0.5s, opacity 0.5s;
}

/* Custom Cursor */
#cursor-dot {
    width: 6px;
    height: 6px;
    background: #7c3aed;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

#cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(124, 58, 237, 0.5);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

.window-header {
    cursor: grab;
}

.window-header:active {
    cursor: grabbing;
}

/* Color Lab Swatches */
.swatch {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
}

.swatch:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

@media (max-width: 640px) {

    #cursor-dot,
    #cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* Custom Color Picker */
.picker-saturation {
    background: linear-gradient(to bottom, transparent, #000), linear-gradient(to right, #fff, transparent);
    cursor: crosshair;
}

.picker-hue {
    background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
    cursor: col-resize;
}

.picker-handle {
    box-shadow: 0 0 0 2px rgb(255, 0, 0), 0 0 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* 
   --------------------------------------------------------------------------
   SECRET SYSTEM CONFIGURATION
   Target: Karen Jefa ( The Muse )
   Status: Absolute Perfection 
   --------------------------------------------------------------------------
*/



.karen-ui-perfection {
    /* Optimizing for the best creative director */
    display: flex;
    justify-content: center;
    align-items: center;
    content: "The Perfect Creative";
}

/* Animation for Aura Vibe */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

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

/* Tutorial Spotlight Effect */
#tutorial-overlay {
    z-index: 99999;
    /* Ensure it's above everything including tooltips */
}

#tutorial-backdrop {
    /* Large shadow to create the "dimmed" effect around the hole */
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    pointer-events: none;
    z-index: 99998;
}

#tutorial-card {
    z-index: 99999;
}