/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e1b4b; 
}
::-webkit-scrollbar-thumb {
    background: #4f46e5; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366f1; 
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(30, 27, 75, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(251, 191, 36, 0.3); /* Amber border on hover */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Custom Typography */
.font-heading {
    font-family: 'Cinzel', serif;
}
.font-body {
    font-family: 'Lato', sans-serif;
}

/* Tool Specific Styles */
.mystic-glow {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #fbbf24;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
