/* Base Settings */
body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: #e5e5e5;
    overflow-x: hidden;
}

/* Custom Grid Pattern */
.grid-bg {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Ambient Beam Animations */
.beam-border-v {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    z-index: 10;
}

.beam-border-v::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    transform: translateY(-100%);
    animation: beam-drop 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 0.5;
}

.beam-border-h {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    z-index: 10;
}

.beam-border-h::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
    transform: translateX(-100%);
    animation: beam-slide 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 2.5s;
    opacity: 0.5;
}

@keyframes beam-drop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes beam-slide {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Scroll Intro Animations */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.animate-on-scroll {
    animation-play-state: paused !important;
}

.animate-on-scroll.animate {
    animation-play-state: running !important;
}

/* Design System Floating Components */
.floating-card {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s;
    will-change: transform;
    cursor: pointer;
}

.floating-card:hover {
    transform: scale(1.08) translateY(-10px) !important;
    z-index: 50;
    box-shadow: 0 30px 60px -15px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
}

.btn-wrapper:hover .btn {
    background-color: #F97316;
    color: #000;
    border-color: #F97316;
}

.btn {
    transition: all 0.3s ease;
}

/* Mouse Light Effect for Body */
.flashlight-bg {
    position: relative;
}

.flashlight-bg::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(249, 115, 22, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.flashlight-bg:hover::before {
    opacity: 1;
}

/* Utils */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
