@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Quicksand:wght@300;500;700&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --accent-gold: #d4af37;
}

body {
    background-color: var(--bg-dark);
    color: #e0e0e0;
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .mystical-font {
    font-family: 'Cinzel', serif;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #a855f7 !important;
}

.color-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.1;
    transition: all 2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.tool-container {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.btn-mystic {
    background: linear-gradient(45deg, #4c1d95, #7c3aed);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-mystic:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* Mobile grid layout for prism navigation */
.mobile-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.mobile-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-height: 60px;
    width: 80px;
}

.mobile-tool-item:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 20px currentColor;
}

.mobile-tool-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* Responsive button adjustments */
@media (max-width: 640px) {
    .btn-mystic {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }
}
