@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    .font-headline {
        font-family: 'Space Grotesk', sans-serif;
    }
}

/* Custom Neumorphic effects */
.neumorphic-inset {
    background: #0a0a0a;
    box-shadow: inset 8px 8px 16px #000000, 
                inset -8px -8px 16px #1a1a1a;
}

.neumorphic-convex {
    background: #121212;
    box-shadow: 8px 8px 16px #000000, 
                -8px -8px 16px #1e1e1e;
}

.mesh-gradient {
    background-color: #000000;
    background-image: 
        radial-gradient(at 0% 0%, hsla(45, 68%, 52%, 0.1) 0px, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(0, 0%, 10%, 0.1) 0px, transparent 50%), 
        radial-gradient(at 100% 100%, hsla(45, 68%, 52%, 0.05) 0px, transparent 50%), 
        radial-gradient(at 0% 100%, hsla(0, 0%, 10%, 0.1) 0px, transparent 50%);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #000000;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* Custom Glare Effect */
.glare-effect {
    position: relative;
    overflow: hidden;
}

.glare-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(212, 175, 55, 0.4) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: glare 3s infinite;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
