@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --color-bg: #0f172a;
    --color-text: #e2e8f0;
    --color-accent: #fbbf24;
    --color-secondary: #4c1d95;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Lora', serif;
    overflow-x: hidden;
}

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

/* 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;
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

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

.bloom-btn {
    transition: all 0.5s ease;
}

.bloom-btn:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

/* Navigation Overlay */
#nav-overlay {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-item {
    position: relative;
    overflow: hidden;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

/* Tool Card Styles */
.tool-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.tool-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

/* Mysterious Fog Effect */
.fog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.fog-img {
    position: absolute;
    height: 100vh;
    width: 300vw;
    z-index: 1;
    opacity: 0.3;
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png') repeat-x;
    background-size: contain;
    animation: fog 60s linear infinite;
}

.fog-img-2 {
    z-index: 2;
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png') repeat-x;
    background-size: contain;
    animation: fog 40s linear infinite;
    margin-left: -200px;
}

@keyframes fog {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-200vw, 0, 0); }
}
