/* ============================================================
   GUZNEL FLOW - CORE STYLE 2026
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&display=swap');

:root { --neon-green: #00ff00; --neon-pink: #ff0055; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: #000; color: #fff; font-family: 'Space Mono', monospace; overflow-x: hidden; line-height: 1.5; }
h1, h2, h3, h4 { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }

/* GRID DE FONDO */
.bg-grid {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
}

/* NAVEGACIÓN Y MENÚ MÓVIL (SOLID FIX) */
guznel-nav { display: block; width: 100%; }
#mobile-menu {
    background-color: #000000 !important; /* Capa sólida */
    background-image: linear-gradient(to right, rgba(0,255,0,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,255,0,0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 150;
}
#mobile-menu a { color: white !important; }
#mobile-menu a:hover { color: var(--neon-green) !important; }
#menu-toggle { z-index: 200; }

/* HERO GLITCH RGB */
.hero-title { position: relative; color: white; font-style: italic; z-index: 10; }
.hero-title::before, .hero-title::after { content: attr(data-text); position: absolute; top: 0; width: 100%; z-index: -1; opacity: 0.8; }
.hero-title::before { left: -4px; text-shadow: 4px 0 #ff0000; animation: glitch-anim 3s infinite linear alternate-reverse; }
.hero-title::after { left: 4px; text-shadow: -4px 0 #00ff00; animation: glitch-anim-2 2s infinite linear alternate-reverse; }

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 20px, 0); transform: skew(0.5deg); }
    100% { clip: rect(80px, 9999px, 90px, 0); transform: skew(0.5deg); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 70px, 0); transform: skew(-0.5deg); }
    100% { clip: rect(10px, 9999px, 20px, 0); transform: skew(-0.5deg); }
}

/* REELS & CONTENIDO */
.video-container { position: relative; overflow: hidden; border: 1px solid #222; aspect-ratio: 9/16; transition: all 0.4s ease; background: #0d0d0d; }
.video-container:hover { border-color: white; transform: scale(1.02); }
.reel-placeholder { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; color: #333; font-size: 10px; font-weight: bold; }
.reel-overlay { position: absolute; inset: 0; background: rgba(0, 255, 0, 0.9); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; color: black; }
.video-container:hover .reel-overlay { opacity: 1; }

/* MARQUEE & STICKERS */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-marquee { display: inline-flex; animation: marquee 25s linear infinite; }
.sticker { background-color: #fff; color: #000; display: inline-block; padding: 0.5rem 1.5rem; font-weight: 900; transform: rotate(-1.5deg); box-shadow: 6px 6px 0px var(--neon-pink); }

/* CURSOR */
#guznel-cursor { width: 15px; height: 15px; background: var(--neon-green); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; mix-blend-mode: difference; transform: translate(-50%, -50%); transition: transform 0.1s ease; }
@media (max-width: 1024px) { #guznel-cursor { display: none; } }

/* FORMULARIO */
input:focus, textarea:focus { border-color: var(--neon-green) !important; padding-left: 10px; }
input::placeholder, textarea::placeholder { transition: color 0.3s ease; }
input:focus::placeholder, textarea:focus::placeholder { color: transparent; }

@media (max-width: 768px) { .hero-title { font-size: 2rem !important; line-height: 0.9; } }

/* Ocultar scrollbar en el carrusel de vídeos */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Snap scroll behavior */
.snap-x {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
.snap-center {
    scroll-snap-align: center;
}

/* Asegurar que el botón Hablemos en el menú móvil se vea bien */
#mobile-menu a#close-on-click {
    color: #000 !important; /* Texto negro sobre fondo blanco */
    background-color: #fff !important;
}

/* Fix para el botón hamburguesa cuando el menú está abierto */
#menu-toggle.active span {
    background-color: white !important;
}

/* Ajuste de z-index global para la nav */
#main-nav {
    z-index: 300;
}