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

/* Base Styles */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: #0f0c29;
    background-image: linear-gradient(315deg, #0f0c29 0%, #302b63 74%, #24243e 100%);
    background-attachment: fixed;
    color: #e2e8f0;
    overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1b26; 
}
::-webkit-scrollbar-thumb {
    background: #7c3aed; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6d28d9; 
}

/* 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 glow {
    0% { box-shadow: 0 0 5px #7c3aed, 0 0 10px #7c3aed; }
    50% { box-shadow: 0 0 20px #a78bfa, 0 0 30px #a78bfa; }
    100% { box-shadow: 0 0 5px #7c3aed, 0 0 10px #7c3aed; }
}

.mystic-card {
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mystic-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: #fbbf24;
    box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.3);
}

/* Star Background Effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Navigation Overlay */
.nav-overlay {
    transition: transform 0.3s ease-in-out;
}

/* Tool Card Specifics */
.tool-icon-wrapper {
    position: relative;
    z-index: 1;
}
.tool-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}
