/* Custom Font Classes */
.font-orb {
    font-family: 'Orbitron', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

/* Hero Section - High Quality Image Background */
.hero-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Fotos/IMG_6499.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.9));
    z-index: 1;
    pointer-events: none;
}

/* Prevent horizontal scroll on all devices */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Navigation Menu */
/* Animal Animations */
.animal-container {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    /* Extremely high */
    display: block !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

@keyframes birdFlyRight {
    0% {
        transform: translate(-10vw, 20vh) scaleX(1);
    }

    100% {
        transform: translate(110vw, 10vh) scaleX(1);
    }
}

@keyframes birdFlyLeft {
    0% {
        transform: translate(110vw, 30vh) scaleX(-1);
    }

    100% {
        transform: translate(-10vw, 15vh) scaleX(-1);
    }
}

@keyframes squirrelScurry {
    0% {
        transform: translate(-10vw, 85vh);
    }

    40% {
        transform: translate(20vw, 85vh);
    }

    60% {
        transform: translate(20vw, 85vh);
    }

    /* Pause to eat */
    100% {
        transform: translate(110vw, 85vh);
    }
}

.anim-bird-right {
    animation: birdFlyRight 15s linear forwards;
    display: block;
}

.anim-bird-left {
    animation: birdFlyLeft 18s linear forwards;
    display: block;
}

.anim-squirrel {
    animation: squirrelScurry 12s ease-in-out forwards;
    display: block;
}

/* Tribal & Visual Effects */
.tribal-float {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.4));
    animation: float 6s ease-in-out infinite;
    animation: tribalFloat 8s ease-in-out infinite;
}

.shaman-container {
    animation: shamanGlow 4s ease-in-out infinite alternate;
}

@keyframes tribalFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

@keyframes shamanGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.2)) brightness(0.9);
    }

    100% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 65, 0.6)) brightness(1.2);
    }
}

.campfire-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.4) 0%, transparent 70%);
    mix-blend-mode: screen;
    animation: campfirePulse 2s ease-in-out infinite alternate;
}

@keyframes campfirePulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Chart Canvas Glow */
#chart-canvas {
    box-shadow: inset 0 0 30px rgba(0, 255, 65, 0.1), 0 0 15px rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.music-scroll::-webkit-scrollbar {
    width: 4px;
}

.music-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.music-scroll::-webkit-scrollbar-thumb {
    background: #ff1744;
    border-radius: 10px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, currentColor, transparent);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Text Gradient */
.hero-text-gradient {
    background: linear-gradient(to right, #ffffff, #ff1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}




/* Video Card Hover Effect */
.video-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
}

.video-card video {
    display: block;
    width: 100%;
}

/* Glass Morphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 23, 68, 0.3);
}

.glass-card:hover {
    border-color: rgba(255, 23, 68, 0.5);
}

/* Cyber Dashboard */
.cyber-dashboard {
    position: relative;
    box-shadow: 0 0 50px rgba(255, 23, 68, 0.2);
}

.chart-bg {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 65, 0.03) 2px, rgba(0, 255, 65, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 65, 0.03) 2px, rgba(0, 255, 65, 0.03) 4px);
}

.scanner-line {
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 255, 65, 0.1) 50%,
            transparent 100%);
    animation: scannerMove 3s linear infinite;
    pointer-events: none;
}

@keyframes scannerMove {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.inspetor-logo {
    filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.5));
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 65, 0.8));
    }
}

/* Waveform Bars */
.wave-bar {
    width: 4px;
    min-height: 10%;
    border-radius: 2px;
    animation: waveAnimation 1.5s ease-in-out infinite;
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: scaleY(0.3);
        opacity: 0.7;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}


/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 23, 68, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 23, 68, 0.8);
}

/* Code/Scan Green Effects */
.code-line {
    border-left: 2px solid rgba(0, 255, 65, 0.3);
    padding-left: 12px;
    font-family: 'Space Grotesk', monospace;
    color: rgba(0, 255, 65, 0.8);
    font-size: 12px;
}

/* Hacker Green Glow */
.hacker-glow {
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}