@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Lato:wght@300;400&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #4c1d95; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6d28d9; 
}

body {
    background-color: #020617; /* slate-950 */
    color: #e2e8f0; /* slate-200 */
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

/* Layout Fixes for Desktop Sidebar */
/* Override w-full if present on main when sidebar is active to prevent horizontal scroll */
@media (min-width: 768px) {
    main {
        width: auto !important;
        max-width: 100%;
        overflow-x: hidden;
    }
}

.mystic-gradient {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(6, 182, 212, 0.3); /* Cyan accent */
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* Tool Container */
.tool-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Navigation Active State */
.nav-item.active {
    color: #22d3ee; /* cyan-400 */
    border-right: 2px solid #22d3ee;
    background: rgba(34, 211, 238, 0.05);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(76, 29, 149, 0.5); }
    50% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.6); }
}

.glow-effect {
    animation: pulse-glow 3s infinite;
}
