body { font-family: 'Inter', sans-serif; overflow-x: hidden; }

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

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(191, 149, 249, 0.2);
    border-radius: 10px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(191, 149, 249, 0.4);
}

/* Specific class for components that need a custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(191, 149, 249, 0.15);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(191, 149, 249, 0.3);
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50% { opacity: 0.1; transform: scale(1.1); }
}

.animate-pulse-slow {
    animation: pulse-slow 8s infinite ease-in-out;
}

/* Form specific styles */
input, select {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: #bf95f9;
    box-shadow: 0 0 10px rgba(191, 149, 249, 0.2);
}

/* Rules Styling */
.rule-list {
    list-style-type: disc;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}
.rule-list li {
    margin-bottom: 0.5rem;
}

/* Ban Classes Colors */
.ban-a { color: #F87171; font-weight: 600; } /* red-400 */
.ban-b { color: #FBBF24; font-weight: 600; } /* amber-400 */
.ban-c { color: #F97316; font-weight: 600; } /* orange-500 */
.ban-d { color: #EF4444; font-weight: 600; } /* red-500 */

/* Ban Class Combinations */
.ban-a-b { color: #F87171; font-weight: 600; }
.ban-a-c { color: #F87171; font-weight: 600; }
.ban-a-d { color: #EF4444; font-weight: 600; }
.ban-b-c { color: #F97316; font-weight: 600; }

@keyframes fade-slide-in {
    0% { opacity: 0; transform: translateY(15px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.page-transition {
    animation: fade-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fade-in 0.25s ease-out forwards;
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Scroll & Category Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(-25px);
}

.reveal.reveal-right {
    transform: translateX(25px);
}

.reveal.reveal-scale {
    transform: scale(0.95);
}

.reveal.active {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* Delay classes for staggered entrances on page/category load */
.reveal-delay-1 { transition-delay: 0.04s; }
.reveal-delay-2 { transition-delay: 0.08s; }
.reveal-delay-3 { transition-delay: 0.12s; }
.reveal-delay-4 { transition-delay: 0.16s; }
.reveal-delay-5 { transition-delay: 0.20s; }