.glass-nav {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(249, 231, 31, 0.1);
}

.neon-glow {
    box-shadow: 0 0 15px rgba(249, 231, 31, 0.3);
}

.neon-text-glow {
    text-shadow: 0 0 10px rgba(249, 231, 31, 0.5);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 231, 31, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: #f9e71f;
    background: rgba(249, 231, 31, 0.05);
    transform: translateY(-5px);
}

.ticker-scroll {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== ANIMATED BACKGROUND ===== */
body {
    background-color: #050505;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

/* Fondo base con gradiente animado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: linear-gradient(135deg,
            #050505 0%,
            #0a0a0a 25%,
            #0d0d0d 50%,
            #0a0a0a 75%,
            #050505 100%);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Grid animado */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image:
        linear-gradient(rgba(249, 231, 31, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 231, 31, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    opacity: 0.4;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Partículas flotantes */
.animated-bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 231, 31, 0.8), rgba(249, 231, 31, 0.3) 50%, transparent);
    box-shadow: 0 0 20px rgba(249, 231, 31, 0.6), 0 0 40px rgba(249, 231, 31, 0.3);
    animation: float linear infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 10%;
    top: 20%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 25%;
    top: 60%;
    animation-duration: 30s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    left: 40%;
    top: 10%;
    animation-duration: 20s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 60%;
    top: 70%;
    animation-duration: 28s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 7px;
    height: 7px;
    left: 75%;
    top: 30%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 14px;
    height: 14px;
    left: 85%;
    top: 50%;
    animation-duration: 26s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 5px;
    height: 5px;
    left: 15%;
    top: 80%;
    animation-duration: 24s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    width: 9px;
    height: 9px;
    left: 50%;
    top: 40%;
    animation-duration: 27s;
    animation-delay: 1.5s;
}

.particle:nth-child(9) {
    width: 11px;
    height: 11px;
    left: 5%;
    top: 45%;
    animation-duration: 23s;
    animation-delay: 6s;
}

.particle:nth-child(10) {
    width: 8px;
    height: 8px;
    left: 90%;
    top: 15%;
    animation-duration: 29s;
    animation-delay: 3.5s;
}

.particle:nth-child(11) {
    width: 6px;
    height: 6px;
    left: 35%;
    top: 85%;
    animation-duration: 21s;
    animation-delay: 4.5s;
}

.particle:nth-child(12) {
    width: 13px;
    height: 13px;
    left: 70%;
    top: 25%;
    animation-duration: 31s;
    animation-delay: 1s;
}

.particle:nth-child(13) {
    width: 7px;
    height: 7px;
    left: 20%;
    top: 55%;
    animation-duration: 26s;
    animation-delay: 5.5s;
}

.particle:nth-child(14) {
    width: 10px;
    height: 10px;
    left: 55%;
    top: 5%;
    animation-duration: 24s;
    animation-delay: 2s;
}

.particle:nth-child(15) {
    width: 9px;
    height: 9px;
    left: 80%;
    top: 75%;
    animation-duration: 28s;
    animation-delay: 6.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-100vh) translateX(50px) scale(1.3);
        opacity: 1;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-200vh) translateX(-30px) scale(0.9);
        opacity: 0;
    }
}

/* Orbes de luz grandes */
.light-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: orbFloat 15s ease-in-out infinite;
}

.light-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 231, 31, 0.15), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.light-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 231, 31, 0.1), transparent);
    bottom: -250px;
    right: -250px;
    animation-delay: 7s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Testimonials Carousel */
.testimonial-carousel {
    position: relative;
    width: 100%;
    min-height: 450px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Clases para aplicar animaciones */
.scroll-animate {
    opacity: 0;
}

.scroll-animate.animate-in {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up {
    animation-name: fadeInUp;
}

.slide-in-left {
    animation-name: slideInLeft;
}

.slide-in-right {
    animation-name: slideInRight;
}

.scale-in {
    animation-name: scaleIn;
}

/* Delays para efectos escalonados */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}
