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

::-webkit-scrollbar-track {
    background: #09090b;
    /* zinc-950 */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7f1d1d, #450a0a);
    /* red-900 to red-950 */
    border-radius: 4px;
    border: 2px solid #09090b;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #991b1b, #7f1d1d);
    /* red-800 to red-900 */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(127, 29, 29, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 15% 70%, rgba(153, 27, 27, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    background-attachment: fixed;
    color: #e4e4e7;
    /* zinc-200 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.font-heading {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.05em;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    /* zinc-900/60 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-header {
    background: rgba(9, 9, 11, 0.8);
    /* zinc-950/80 */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Gradients */
.text-gradient-gold {
    background: linear-gradient(to right, #fbbf24, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-red {
    background: linear-gradient(to right, #f87171, #dc2626);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Range Slider Refinements */
.range-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    border: 2px solid #18181b;
    transition: transform 0.1s;
}

.range-slider-thumb:hover {
    transform: scale(1.1);
}

.range-slider-thumb:active {
    transform: scale(0.95);
}

/* Global Selection Color */
::selection {
    background: rgba(220, 38, 38, 0.3);
    color: white;
}

@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;
    }
}