/* =========================================
   BRYZZ - THE COLD BLOOD ERA 
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap');

/* =========================================
   CUSTOM FONTS (DaFont Collection)
   ========================================= */
@font-face {
    font-family: 'Marola';
    src: url('../fonts/MAROLA__.TTF') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'GrapeSoda';
    src: url('../fonts/GrapeSoda.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'MillionMileMan';
    src: url('../fonts/The Million Mile Man.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Notedry';
    src: url('../fonts/Notedry.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Meander';
    src: url('../fonts/Meander - Free Trial.woff2') format('woff2'),
        url('../fonts/Meander - Free Trial.woff') format('woff'),
        url('../fonts/Meander - Free Trial.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'CuteNotes';
    src: url('../fonts/Cute Notes.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Organical';
    src: url('../fonts/ORGANICAL PERSONAL USE.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'GoAroundBooks';
    src: url('../fonts/Go around the books 2022.ttf') format('truetype');
    font-display: swap;
}

:root {
    /* VIP CONFIG: Tailwind Colors & Lunar UI Vibes */
    --bryzz-bg: #000000;
    --bryzz-card: #1A1A1A;
    --bryzz-text: #FFFFFF;
    --bryzz-accent: #00C2FF;
    --neon-cyan-shadow: 0 0 10px rgba(0, 194, 255, 0.5), 0 0 20px rgba(0, 194, 255, 0.3);

    /* Legacy Map para no romper el resto de la web */
    --onyx-black: var(--bryzz-bg);
    --cyan-electric: var(--bryzz-accent);
    --pure-white: var(--bryzz-text);
    --steel-grey: var(--bryzz-card);

    /* Tipografías: Cambiamos el heading a Rajdhani como fuente primaria */
    --font-heading: 'Rajdhani', 'Akira Expanded', 'Integral CF', Impact, sans-serif;
    --font-body: 'Space Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    /* Eliminamos roundness excesivo para efecto techwear */
    border-radius: 0 !important;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--onyx-black);
    color: var(--pure-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    user-select: none;

    /* Hide scrollbar for IE, Edge and Firefox to eliminate grey tracking lines */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Bulletproof Scrollbar Hide for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
    -webkit-appearance: none !important;
}

/* Visually hidden for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* =========================================
   NAVEGACIÓN TÉCNICA
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 3rem;
    /* Padding reducido */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(4px);
    border-bottom: none;
    /* Removed the hard line for cleaner UI */
}

.navbar-solid {
    background: var(--onyx-black);
    /* Keep it here only when solid/scrolling if desired, or remove entirely. Let's make it very subtle */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* Scroll Lock Helper - Applied to both html and body to prevent
   background scroll on all mobile browsers */
html.body-no-scroll,
.body-no-scroll {
    overflow: hidden !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
    height: 100% !important;
}

.logo {
    font-family: var(--font-heading);
    color: var(--pure-white);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.logo img {
    height: 45px;
    /* LOGO ARREGLADO: Tamaño controlable y pro */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: filter 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(var(--neon-cyan-shadow));
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    /* Preparado para el hover láser */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan-electric);
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
    box-shadow: var(--neon-cyan-shadow);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--cyan-electric);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.menu-toggle.open svg {
    transform: rotate(90deg);
}

/* =========================================
   HERO SECTION ("Bajo Cero")
   ========================================= */
.hero-video-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.6;
}

/* YouTube iframe background container */
.hero-yt-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-yt-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vh;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    pointer-events: none;
}

/* Invisible overlay to block all interaction with the YT player */
.hero-yt-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Fallback Image Background si falla el video */
.hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Overlay para oscurecer el video y añadir la luz de contra en el inferior */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(circle at 50% 50%, rgba(0, 194, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* Ficha de sistema activo */
.status-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: var(--cyan-electric);
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 194, 255, 0.3);
    padding: 0.4rem 1.2rem;
    background: rgba(0, 194, 255, 0.03);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--cyan-electric);
    border-radius: 0;
    /* Cuadrado, más técnico */
    box-shadow: 0 0 8px var(--cyan-electric);
    animation: pulse 1.5s infinite steps(2);
    /* Steps hace la animación más mecánica */
}

/* Tipografía de Títulos */
.hero-title {
    font-family: var(--font-heading);
    font-size: 10rem;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    padding: 1.5rem 0;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.9);
    /* font-glitch animation is now JS-driven (see index.html) */
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
    color: #B0B0B0;
    padding-top: 0.8rem;
}

/* Botón CTA Cortante y Cibernético */
.cta-button {
    margin-top: 2rem;
    position: relative;
    display: inline-block;
    padding: 1rem 3rem;
    color: var(--pure-white);
    background-color: transparent;
    border: 1px solid var(--cyan-electric);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Transición rápida */
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--cyan-electric);
    transition: left 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--onyx-black);
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.4);
}

.cta-button:hover::before {
    left: 0;
}

.cta-text {
    position: relative;
    z-index: 1;
}

/* =========================================
   ANIMACIONES (Técnicas, Glitch)
   ========================================= */

/* Efecto Hielo Estalactitas (Ice Typography) con Cambio de Fuentes */
.frozen-text {
    position: relative;
    color: var(--pure-white);
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 15px rgba(0, 194, 255, 0.6),
        0 0 30px rgba(0, 194, 255, 0.4),
        0 0 50px rgba(0, 194, 255, 0.2);
    /* Animación múltiple: escalofrío */
    animation: shiver 4s infinite ease-in-out;
}

/* Pseudo-elementos simulando escarcha/neblina gélida */
.frozen-text::before {
    content: attr(data-text);
    position: absolute;
    top: -2px;
    left: -2px;
    color: transparent;
    text-shadow: 2px 2px 5px rgba(0, 194, 255, 0.5);
    z-index: -1;
    opacity: 0.7;
    animation: frostBite 6s infinite alternate;
}

.frozen-text::after {
    content: attr(data-text);
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    color: transparent;
    text-shadow: 0px 5px 10px rgba(255, 255, 255, 0.3);
    /* Simulando puntas de estalactitas con clip-path */
    clip-path: polygon(0% 100%, 5% 80%, 10% 100%, 15% 70%, 20% 100%, 30% 60%, 40% 100%, 50% 50%, 60% 100%, 70% 80%, 80% 100%, 90% 70%, 100% 100%, 100% 0, 0 0);
    z-index: -2;
    transform: scaleY(-0.3);
    opacity: 0.5;
}

/* Animaciones Glaciales */
@keyframes shiver {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-1px, 1px);
    }

    20% {
        transform: translate(1px, -1px);
    }

    30% {
        transform: translate(-1px, -1px);
    }

    40% {
        transform: translate(1px, 1px);
    }

    50% {
        transform: translate(0, 0);
        text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(0, 194, 255, 0.8);
    }
}

@keyframes frostBite {
    0% {
        opacity: 0.3;
        filter: blur(2px);
    }

    100% {
        opacity: 0.8;
        filter: blur(5px);
    }
}

/* Pulso Frío e Informático */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* =========================================
   GLOBAL LAYOUT & SECTIONS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-dark {
    background-color: var(--steel-grey);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--pure-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-center {
    text-align: center;
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--cyan-electric) 0%, transparent 100%);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* =========================================
   ESTADÍSTICAS (Home Stats)
   ========================================= */
.bg-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: carouselFade 18s infinite;
}

.bg-carousel .slide:nth-child(1) {
    animation-delay: 0s;
}

.bg-carousel .slide:nth-child(2) {
    animation-delay: 6s;
}

.bg-carousel .slide:nth-child(3) {
    animation-delay: 12s;
}

.bg-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    /* Oscurecemos para legibilidad */
    z-index: 1;
}

@keyframes carouselFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-box {
    padding: 3rem 2rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), rgba(10, 10, 10, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Borde afilado Techwear */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    /* Menos redondeado para aspecto industrial */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 15px 35px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Detalles de las esquinas Techwear (Cruces/Ángulos) */
.stat-box::before,
.stat-box::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--cyan-electric);
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stat-box::before {
    top: 5px;
    left: 5px;
    border-right: none;
    border-bottom: none;
}

.stat-box::after {
    bottom: 5px;
    right: 5px;
    border-left: none;
    border-top: none;
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 194, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 194, 255, 0.1), inset 0 0 40px rgba(0, 194, 255, 0.05);
}

.stat-box:hover::before,
.stat-box:hover::after {
    opacity: 1;
    transform: scale(1.5);
    border-color: var(--pure-white);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    /* El número es el protagonista gigante */
    color: var(--pure-white);
    display: inline-block;
    z-index: 2;
    position: relative;
    line-height: 1;
    /* Resplandor calibrado: núcleo blanco, halo Cyan */
    text-shadow:
        0 0 2px #FFF,
        0 0 10px var(--cyan-electric),
        0 0 30px var(--cyan-electric);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    /* 30-40% más pequeño */
    color: var(--pure-white);
    /* Core blanco */
    opacity: 0.7;
    /* Menos opacidad */
    margin-left: 0.2rem;
    text-shadow: 0 0 10px var(--cyan-electric);
    /* Menos resplandor */
    vertical-align: baseline;
    /* Para que se alinee a la base del número */
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    letter-spacing: 4px;
    /* Más espaciado (HUD feel) */
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
    /* Letra tipo código */
}

/* =========================================
   LATEST SESSION (Home)
   ========================================= */
.latest-set-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.ls-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.5) contrast(1.2);
    /* Oscurecemos el video base */
}

.ls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient de refencia: azul oscuro fuerte a los bordes, transparente al centro */
    background: radial-gradient(circle at center, rgba(0, 10, 30, 0.4) 0%, rgba(5, 5, 15, 0.95) 100%);
    z-index: 1;
}

.ls-content-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.set-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.ls-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    margin-bottom: 3.5rem;
    text-align: center;
    width: 100%;
}

.set-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    width: 100%;
    gap: 4rem;
}

.set-card:hover {
    transform: translateY(0);
    box-shadow: none;
}

.set-thumbnail {
    flex: 0 0 500px;
    max-width: 500px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--cyan-electric);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
}

/* Foolproof 16:9 hack for vertical/short videos */
.set-thumbnail::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.set-thumbnail img,
.set-thumbnail iframe {
    transition: transform 0.5s ease;
}

/* Efecto de Scanlines Viejas / Pantalla CRT táctica */
.cyber-frame::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    /* Crucial para poder hacer click en el video */
}

.set-thumbnail img,
.set-thumbnail iframe {
    transition: transform 0.5s ease;
}

.set-info {
    flex: 1;
    padding: 0;
    text-align: left;
}

.title-heavy {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    /* Mucho más dinámico y pequeño */
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pure-white);
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 0px rgba(0, 194, 255, 0.5);
}

/* Botón Cyan Techwear y Boton Rojo Youtube Clásico */
.btn-cyan {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: var(--cyan-electric);
    border: 1px solid var(--cyan-electric);
    padding: 0.8rem 1.5rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    background-color: var(--cyan-electric);
    color: var(--pure-white);
    padding: 0.8rem 1.5rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

.btn-youtube:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 194, 255, 0.6);
}

.btn-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-cyan:hover {
    background-color: rgba(0, 194, 255, 0.1);
    color: var(--pure-white);
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.6), inset 0 0 10px rgba(0, 194, 255, 0.4);
    transform: translateY(-2px);
    text-shadow: 0 0 8px var(--cyan-electric);
}

.btn-cyan:hover::before {
    left: 200%;
}

.btn-cyan .yt-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .ls-main-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .set-card {
        flex-direction: column;
        gap: 2rem;
    }

    .set-thumbnail {
        flex: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .set-info {
        text-align: center;
        width: 100%;
    }

    .thumb-main {
        font-size: 3.5rem;
    }
}

/* =========================================
   FILTROS (Música)
   ========================================= */
.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;

}

.filter-btn:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
}

.filter-btn.active {
    background: var(--cyan-electric);
    color: var(--onyx-black);
    border-color: var(--cyan-electric);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
}

/* =========================================
   2. EL ADN (Terminal Section)
   ========================================= */
.adn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    /* Aligns visual to the top alongside the text */
}

.adn-grid>div {
    display: flex;
    flex-direction: column;
}

.adn-mobile-divider {
    display: none;
}

/* Visibility Utilities */
@media (min-width: 769px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* Response Fix: Bio Mobile Reordering */
@media (max-width: 768px) {
    .adn-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .adn-mobile-divider {
        display: block;
        order: 2;
    }

    .adn-text-1 {
        order: 1;
    }

    .adn-text-2 {
        order: 3;
    }

    .mobile-only-carousel {
        order: 4;
        margin: 1rem 0;
    }

    .hidden-mobile {
        display: none !important;
    }

    .adn-visual-1 {
        order: 2;
    }

    .adn-visual-2 {
        order: 5;
    }

    /* Pull horizontal visual margins for mobile */
    .adn-visual-2 .cyber-frame:last-child {
        margin-top: 1.5rem !important;
    }
}

.dossier-card {
    background: rgba(0, 5, 10, 0.85);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.05), inset 0 0 20px rgba(0, 194, 255, 0.02);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    flex-grow: 1;
    /* Stretch to fill available space */
    display: flex;
    flex-direction: column;
}

.dossier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--cyan-electric);
    box-shadow: 0 0 10px var(--cyan-electric);
}

.dossier-header {
    background: rgba(0, 15, 25, 0.8);
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    font-size: 0.75rem;
    color: var(--steel-grey);
}

.dossier-id {
    font-weight: 700;
    color: var(--cyan-electric);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dossier-type {
    opacity: 0.8;
}

.dossier-body {
    padding: 1.5rem;
}

.dossier-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
}

.dossier-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.d-label {
    color: var(--steel-grey);
    width: 120px;
    flex-shrink: 0;
}

.d-value {
    color: var(--pure-white);
    letter-spacing: 0.5px;
}

.d-value.cyan {
    color: var(--cyan-electric);
    text-shadow: 0 0 5px rgba(0, 194, 255, 0.4);
}

.dossier-bio {
    flex-grow: 1;
    /* Allow bio text layer to fill empty vertical space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================================
   CYBER FRAME (Right Image)
   ========================================= */
.cyber-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: rgba(0, 10, 15, 0.9);
    padding: 10px;
    border: 1px solid var(--cyan-electric);
}

.horizontal-frame {
    aspect-ratio: 16 / 9 !important;
    min-height: auto !important;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--steel-grey);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.1) brightness(0.8);
    opacity: 0;
    transition: filter 0.4s ease;
    animation: cyberCarousel 16s infinite;
}

.cyber-frame:hover .carousel-slide {
    filter: grayscale(30%) contrast(1.2) brightness(1);
}

@keyframes cyberCarousel {

    0% {
        opacity: 0;
    }

    3%,
    25% {
        opacity: 1;
    }

    30%,
    100% {
        opacity: 0;
    }
}


/* =========================================
   3. SANGRE FRÍA EDITS
   ========================================= */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--onyx-black);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 194, 255, 0.3);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img {
    height: 100%;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-tech {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--pure-white);
    border: 1px solid var(--steel-grey);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.card:hover .btn-tech {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.1);
}

/* El Escáner (Wavesurfer Tracklist) */
.scanner-container {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.track-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--steel-grey);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.track-item:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
}

.track-play-btn {
    background: transparent;
    border: 1px solid var(--steel-grey);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.track-item:hover .track-play-btn {
    border-color: var(--cyan-electric);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.track-info {
    flex-grow: 1;
}

.track-name {
    font-size: 0.8rem;
    color: var(--pure-white);
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.waveform {
    width: 100%;
    height: 30px;
}

/* Stems / Despiece Clínico */
.stems-container {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.stems-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--cyan-electric);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.stem-layer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--steel-grey);
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.card:hover .stem-layer {
    border-left-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
}

.stem-name {
    color: var(--pure-white);
    font-family: var(--font-body);
}

.stem-tech {
    color: #888;
    font-size: 0.7rem;
}

/* =========================================
   4. RADIO & ECOSISTEMA
   ========================================= */
.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.eco-box {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.eco-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.eco-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.badge {
    background: var(--cyan-electric);
    color: var(--onyx-black);
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.badge-spotify {
    background: #1DB954;
}

.eco-desc {
    font-size: 0.9rem;
    color: #AAA;
    margin-bottom: 2rem;
}

.placeholder-audio {
    background: var(--onyx-black);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: auto;
}

/* =========================================
   5. CONTACTO Y FOOTER
   ========================================= */
.border-top-glow {
    border-top: 1px solid var(--cyan-electric);
    box-shadow: inset 0 20px 50px -20px rgba(0, 194, 255, 0.1);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-desc {
    font-size: 1rem;
    color: #AAA;
    margin-bottom: 2rem;
}

/* Form Styles */
.solid-magenta-btn {
    background-color: #79126D !important;
    border: none !important;
    transition: opacity 0.3s;
}

.solid-magenta-btn:hover {
    opacity: 0.8;
}

/* Direct Contact Grid */
.direct-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.direct-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.direct-card:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
}

.dc-icon {
    background: rgba(121, 18, 109, 0.2);
    color: #79126D;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dc-text {
    display: flex;
    flex-direction: column;
}

.dc-label {
    font-weight: bold;
    font-size: 1rem;
    color: var(--pure-white);
    margin-bottom: 0.2rem;
}

.dc-value {
    font-size: 0.85rem;
    color: #AAA;
}

/* Social Grid 2x2 */
.social-links-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.social-grid-crate {
    background: rgba(0, 5, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-grid-crate:hover {
    border-color: rgba(0, 194, 255, 0.5);
    background: rgba(0, 194, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 194, 255, 0.1);
}

.social-crate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.social-icon svg {
    width: 36px;
    height: 36px;
    color: var(--pure-white);
    transition: all 0.3s ease;
}

.social-grid-crate:hover .social-icon svg {
    color: var(--cyan-electric);
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(0, 194, 255, 0.6));
}

.social-status-indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.social-grid-crate:hover .social-status-indicator {
    background: var(--cyan-electric);
    box-shadow: 0 0 8px var(--cyan-electric);
}

.social-crate-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.social-network-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--pure-white);
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.social-grid-crate:hover .social-network-name {
    color: var(--cyan-electric);
}

.social-handle {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #888;
}

.social-crate-footer {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.social-grid-crate .system-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--cyan-electric);
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.social-grid-crate:hover .system-text {
    opacity: 1;
    transform: translateY(0);
}

.tech-form .form-group {
    margin-bottom: 2rem;
    position: relative;
}

.tech-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--cyan-electric);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tech-form input,
.tech-form textarea,
.tech-form select {
    width: 100%;
    background: rgba(0, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.tech-form select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300C2FF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

.tech-form select option {
    background: var(--onyx-black);
    color: var(--pure-white);
}

.tech-form input:focus,
.tech-form textarea:focus,
.tech-form select:focus {
    outline: none;
    background: rgba(0, 194, 255, 0.05);
    border-color: var(--cyan-electric);
    box-shadow: inset 0 0 10px rgba(0, 194, 255, 0.1);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
}

.input-line::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--cyan-electric);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

.tech-form input:focus~.input-line::after,
.tech-form textarea:focus~.input-line::after,
.tech-form select:focus~.input-line::after {
    width: 100%;
}

.submit-btn {
    background: transparent;
    color: var(--pure-white);
    border: 1px solid var(--cyan-electric);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: rgba(0, 194, 255, 0.1);
    box-shadow: var(--neon-cyan-shadow);
    color: var(--cyan-electric);
}

.footer {
    background: var(--onyx-black);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--cyan-electric);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--pure-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #AAA;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan-electric);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text {
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 1px;
}

.footer-bottom a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--pure-white);
}

/* =========================================
   REVEAL ANIMATIONS (JS Intersection Observer)  
   ========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-text {
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: opacity 0.6s ease-out, clip-path 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-text.active {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* =========================================
   DOWNLOAD MODAL
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--onyx-black);
    border: 1px solid var(--cyan-electric);
    padding: 2rem 1.5rem;
    /* Reduced padding for mobile */
    max-width: 500px;
    width: 95%;
    /* Make it fit better on small screens */
    position: relative;
    text-align: center;
    box-sizing: border-box;
    /* Crucial to prevent border overflow */
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--pure-white);
    font-size: 1.5rem;

    /* User defined */
}

.close-modal:hover {
    color: var(--cyan-electric);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pure-white);
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

.modal-desc {
    color: #AAA;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.follow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-btn {
    display: block;
    padding: 1rem;
    background: var(--steel-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;

    /* User defined */
}

.step-btn:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
    box-shadow: var(--neon-cyan-shadow);
}

.step-btn.completed {
    border-color: #27C93F;
    background: rgba(39, 201, 63, 0.1);
    color: #27C93F;
}

.download-locked {
    opacity: 0.5;
    pointer-events: none;
    border-color: #555;
    color: #555;

}

.download-locked .btn-text {
    display: none;
}

.download-locked .btn-text-locked {
    display: block;
}

#final-download {
    width: 100%;
    display: block;
}

#final-download:not(.download-locked) .btn-text {
    display: block;
    color: inherit;
    font-weight: bold;
}

#final-download:not(.download-locked) .btn-text-locked {
    display: none;
}

#final-download:not(.download-locked) {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.1);
    color: var(--cyan-electric);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
    opacity: 1;
    pointer-events: all;
    transition: all 0.3s ease;
}

/* =========================================
   VIBRAS (VIDEO GRID)
   ========================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* =========================================
   SATELLITE FEED CARDS (TRANSMISIONES RECIENTES)
   ========================================= */
.feed-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feed-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-electric);
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.15), inset 0 0 20px rgba(0, 194, 255, 0.05);
}

/* 1. Feed Header */
.feed-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--steel-grey);
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    background: rgba(0, 15, 25, 0.8);
    transition: color 0.4s ease;
    z-index: 2;
}

.feed-card:hover .feed-header {
    color: var(--cyan-electric);
}

.feed-id {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-type {
    opacity: 0.8;
}

/* 2. Feed Visual (Radar Image) */
.feed-visual {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Filtro Satélite Base */
.feed-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 45, 0.6);
    backdrop-filter: grayscale(100%) contrast(150%);
    -webkit-backdrop-filter: grayscale(100%) contrast(150%);
    z-index: 1;
    transition: all 0.5s ease;
}

/* Radar Scanline Overlay */
.radar-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 194, 255, 0) 0%,
            rgba(0, 194, 255, 0.1) 50%,
            rgba(0, 194, 255, 0) 100%);
    background-size: 100% 200%;
    z-index: 2;
    opacity: 0.3;
    animation: radarScan 4s linear infinite;
    pointer-events: none;
}

@keyframes radarScan {
    0% {
        background-position: 0 -100%;
    }

    100% {
        background-position: 0 200%;
    }
}

.feed-card:hover .feed-visual::before {
    background: rgba(0, 60, 90, 0.3);
    backdrop-filter: grayscale(50%) contrast(120%);
    -webkit-backdrop-filter: grayscale(50%) contrast(120%);
}

.feed-card:hover .radar-scan {
    opacity: 0.8;
}

/* Central Node Icon */
.center-logo {
    width: 60px;
    height: 60px;
    z-index: 3;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
    color: var(--cyan-electric);
}

.feed-card:hover .center-logo {
    opacity: 1;
    filter: drop-shadow(0 0 15px var(--cyan-electric));
    transform: scale(1.15);
    /* Pulse effect happens inherently with transition */
}

/* Radar Pulse Rings */
.center-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--cyan-electric);
    opacity: 0;
    z-index: -1;
}

.feed-card:hover .center-logo {
    animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
    0% {
        filter: drop-shadow(0 0 5px var(--cyan-electric));
    }

    50% {
        filter: drop-shadow(0 0 25px var(--cyan-electric));
    }

    100% {
        filter: drop-shadow(0 0 5px var(--cyan-electric));
    }
}

/* 3. Feed Footer (Data Terminal) */
.feed-footer {
    padding: 1.5rem 1.2rem;
    background: rgba(0, 10, 15, 0.9);
    border-top: 1px solid rgba(0, 194, 255, 0.2);
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feed-data {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #AAA;
    letter-spacing: 1px;
    margin: 0;
    transition: color 0.3s ease;
}

.feed-card:hover .feed-data {
    color: var(--cyan-electric);
}

.feed-card:hover .feed-data:first-child {
    color: var(--pure-white);
}

/* 4. Feed Button */
.feed-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem 0;
    background: transparent;
    border: 1px solid rgba(0, 194, 255, 0.3);
    color: rgba(0, 194, 255, 0.7);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feed-card:hover .feed-btn {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.1);
    color: var(--pure-white);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.3);
}

.feed-btn:hover {
    background: var(--cyan-electric) !important;
    color: var(--onyx-black) !important;
    font-weight: bold;
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.6) !important;
}

/* Tactical Copywriting (Global helper) */
.tactical-copy {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--pure-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Override CTA Action */
.cta-tactical {
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.2);
    border: 1px solid var(--cyan-electric);
    background-color: rgba(0, 194, 255, 0.05);
    /* Ligeramente tintado */
    font-family: 'Space Mono', monospace;
    transition: all 0.3s ease;
}

.cta-tactical .cta-text {
    font-weight: 700;
    letter-spacing: 2px;
}

.cta-tactical:hover {
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.5), inset 0 0 10px rgba(0, 194, 255, 0.2);
    background-color: rgba(0, 194, 255, 0.1);
    transform: translateY(-2px);
}

/* Global Blinker */
.blink {
    animation: blink 1s infinite step-end;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* =========================================
   LA RUTA (TOUR DATES)
   ========================================= */
.tour-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--steel-grey);
    border-left: 4px solid var(--cyan-electric);
    transition: background 0.3s ease, transform 0.3s ease;
}

.tour-item:hover:not(.past-event) {
    background: rgba(0, 194, 255, 0.05);
    transform: translateX(10px);
}

.tour-item.past-event {
    opacity: 0.5;
    border-left-color: #555;
    filter: grayscale(100%);
}

.tour-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.tour-date .day {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--pure-white);
    line-height: 1;
}

.tour-date .month {
    font-size: 1rem;
    color: var(--cyan-electric);
    letter-spacing: 2px;
}

.tour-details {
    flex-grow: 1;
    padding: 0 2rem;
}

.tour-details .venue {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
    color: var(--pure-white);
}

.tour-details .city {
    color: #AAA;
    font-size: 0.9rem;
}

.tour-action .btn-small {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
}

.badge.sold-out {
    background: rgba(255, 50, 50, 0.1);
    color: #ff3232;
    border-color: #ff3232;
}

.badge.past {
    background: transparent;
    border: 1px solid #555;
    color: #888;
}

/* =========================================
   EL EPK (PRESS KIT)
   ========================================= */
.epk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.epk-bio h3,
.epk-downloads h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
}

.epk-bio p {
    color: #DDD;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dl-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: var(--steel-grey);
    color: var(--pure-white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dl-item:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.1);
}

.dl-icon {
    font-size: 1.5rem;
    margin-right: 1.2rem;
}

.dl-arrow {
    margin-left: auto;
    color: var(--cyan-electric);
    font-weight: bold;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--cyan-electric);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(0, 194, 255, 0.1);
}

/* =========================================
   BOOKING Y CONEXION (MODIFICACIONES)
   ========================================= */
.row-group {
    display: flex;
    gap: 1.5rem;
}

.half-width {
    flex: 1;
}

/* Base Input Styles for Techwear Form */
.tech-input,
.tech-textarea,
.tech-select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0, 5, 10, 0.6);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 2px;
    color: var(--pure-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.tech-input::placeholder,
.tech-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.tech-input:focus,
.tech-textarea:focus,
.tech-select:focus {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.2), inset 0 0 10px rgba(0, 194, 255, 0.05);
}

.tech-select option {
    background: var(--onyx-black);
    color: var(--pure-white);
}

/* Hide the old input-line as we now use borders */
.input-line {
    display: none;
}

/* Data Crate specific hover for Contact Icons */
.direct-contact-crate:hover .crate-icon svg {
    filter: drop-shadow(0 0 8px var(--cyan-electric));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.social-links-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-grid-crate {
    position: relative;
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    padding: 1.2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-crate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.social-icon {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.social-status-indicator {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-crate-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-network-name {
    font-family: var(--font-heading);
    color: var(--pure-white);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
}

.social-handle {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #888;
    transition: color 0.3s ease;
}

.social-crate-footer {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.social-grid-crate:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.social-grid-crate:hover .social-crate-footer {
    opacity: 1;
    transform: translateY(0);
}

.crate-glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    background-size: 100% 4px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-grid-crate:hover .crate-glitch-overlay {
    opacity: 1;
    animation: scanlineScroll 2s linear infinite;
}

/* Instagram Specifics */
.instagram-crate:hover {
    border-color: #E1306C;
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.15), inset 0 0 20px rgba(225, 48, 108, 0.05);
}

.instagram-crate:hover .social-icon {
    color: #E1306C;
    filter: drop-shadow(0 0 8px #E1306C);
    transform: scale(1.1);
}

.instagram-crate:hover .social-status-indicator {
    background-color: #E1306C;
    box-shadow: 0 0 8px #E1306C;
}

.instagram-crate:hover .system-text {
    color: #E1306C;
}

/* TikTok Specifics */
.tiktok-crate:hover {
    border-color: var(--cyan-electric);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.15), inset 0 0 20px rgba(0, 194, 255, 0.05);
}

.tiktok-crate:hover .social-icon {
    color: var(--cyan-electric);
    filter: drop-shadow(0 0 8px var(--cyan-electric));
    transform: scale(1.1);
}

.tiktok-crate:hover .social-status-indicator {
    background-color: var(--cyan-electric);
    box-shadow: 0 0 8px var(--cyan-electric);
}

.tiktok-crate:hover .system-text {
    color: var(--cyan-electric);
}

.tiktok-crate:hover .social-network-name {
    text-shadow: -2px 0 #ff0050, 2px 0 #00f2fe;
}

/* Custom RGB Glitch for TikTok */

/* YouTube Specifics */
.youtube-crate:hover {
    border-color: #FF0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15), inset 0 0 20px rgba(255, 0, 0, 0.05);
}

.youtube-crate:hover .social-icon {
    color: #FF0000;
    filter: drop-shadow(0 0 8px #FF0000);
    transform: scale(1.1);
}

.youtube-crate:hover .social-status-indicator {
    background-color: #FF0000;
    box-shadow: 0 0 8px #FF0000;
}

.youtube-crate:hover .system-text {
    color: #FF0000;
}

/* SoundCloud Specifics */
.soundcloud-crate:hover {
    border-color: #FF5500;
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.15), inset 0 0 20px rgba(255, 85, 0, 0.05);
}

.soundcloud-crate:hover .social-icon {
    color: #FF5500;
    filter: drop-shadow(0 0 8px #FF5500);
    transform: scale(1.1);
}

.soundcloud-crate:hover .social-status-indicator {
    background-color: #FF5500;
    box-shadow: 0 0 8px #FF5500;
}

.soundcloud-crate:hover .system-text {
    color: #FF5500;
}

/* Same for direct contact crates */
.direct-contact-crate {
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.direct-contact-crate:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 194, 255, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 194, 255, 0.1);
}

/* =========================================
   VIP LISTA SECCIÓN (EMAILS)
   ========================================= */
.vip-section {
    background: #050505;
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(0, 194, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 194, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.vip-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vip-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    /* Efecto Frozen heredado de .frozen-text */
}

.vip-desc {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-family: var(--font-body);
}

.vip-form {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid var(--steel-grey);
    padding: 0.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.vip-form:focus-within {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.1);
}

.terminal-prefix {
    font-family: 'Space Mono', monospace;
    color: var(--cyan-electric);
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 0.5rem;
    white-space: nowrap;
}

.vip-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--pure-white);
    padding: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    outline: none;
}

.vip-input::placeholder {
    color: #444;
}

/* El .vip-btn ahora usa .cta-tactical, ajustamos márgenes */
.vip-form .vip-btn {
    margin-top: 0;
    padding: 0.8rem 2rem;
}

/* =========================================
   FOOTER TACTICO
   ========================================= */
.footer {
    background: #020202;
    border-top: 1px solid rgba(0, 194, 255, 0.2);
    padding: 5rem 0 2rem;
    position: relative;
    font-family: 'Space Mono', monospace;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--pure-white);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-text {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    font-family: var(--font-body);
}

.footer-col h4 {
    color: var(--cyan-electric);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--pure-white);
    transform: translateX(5px);
    text-shadow: 0 0 8px var(--cyan-electric);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.75rem;
}

.footer-bottom a {
    color: var(--cyan-electric);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--pure-white);
    text-shadow: 0 0 5px var(--cyan-electric);
}

/* =========================================
   TERMINAL EASTER EGG (CMD + K)
   ========================================= */
#terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    padding: 3rem;
    font-family: var(--font-body);
    color: var(--cyan-electric);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

#terminal-overlay.active {
    opacity: 1;
    pointer-events: all;
    animation: glitchIn 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes glitchIn {
    0% {
        transform: scale(0.98);
        filter: blur(4px);
    }

    100% {
        transform: scale(1);
        filter: blur(0);
    }
}

#terminal-output {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(0, 194, 255, 0.5);
}

.terminal-line {
    margin-bottom: 0.5rem;
    animation: type 0.1s steps(40, end);
}

.terminal-success {
    color: #27C93F;
    text-shadow: 0 0 5px rgba(39, 201, 63, 0.5);
    font-weight: bold;
    margin-top: 2rem;
}

#terminal-input-line {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.terminal-prompt {
    margin-right: 10px;
}

#terminal-input {
    background: transparent;
    border: none;
    color: var(--pure-white);
    font-family: var(--font-body);
    font-size: 1.5rem;
    outline: none;
    flex-grow: 1;
    text-transform: uppercase;
}

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 992px) {

    .adn-grid,
    .stats-grid,
    .ecosystem-grid,
    .contact-wrapper,
    .epk-grid,
    .row-group {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .vip-form {
        flex-direction: column;
        border: none;
        background: transparent;
    }

    .terminal-prefix {
        margin-bottom: 1rem;
    }

    .vip-input {
        width: 100%;
        border-bottom: 2px solid var(--steel-grey);
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .vip-form .vip-btn {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    .footer-links {
        gap: 0.6rem;
    }

    .footer-links a {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        line-height: 2;
    }

    .tour-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .tour-details {
        padding: 0;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .navbar {
        padding: 1rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    }

    .menu-toggle {
        display: block;
    }

    /* Map Layout on Mobile */
    .map-section-wrapper {
        margin-top: 1rem;
    }

    .map-container {
        margin-left: -1rem;
        margin-right: -1rem;
        margin-top: -3rem;
        margin-bottom: -4rem;
        width: calc(100% + 2rem);
    }

    .spain-map-vector {
        transform: scale(1.15);
        transform-origin: center;
    }

    .nav-links {
        display: none;
        /* Oculto por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        border-bottom: 1px solid var(--cyan-electric);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    }

    .nav-links.open {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        margin: 0.8rem 0;
        font-size: 1rem;
        text-align: center;
        width: 100%;
        padding: 0.8rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-slide {
        filter: grayscale(0%) contrast(1.1) brightness(1);
    }
}

/* =========================================
   TOUR MAP & MARQUEE SLIDER
   ========================================= */
.spain-map {
    filter: drop-shadow(0 0 20px rgba(0, 194, 255, 0.1));
}

.map-points .glow-point {
    fill: var(--steel-grey);
    transition: all 0.3s ease;
}

.map-points .glow-point.active {
    fill: var(--cyan-electric);
    filter: drop-shadow(0 0 10px var(--cyan-electric));
}

.glow-pulse {
    fill: #79126D !important;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from {
        filter: drop-shadow(0 0 5px #79126D);
        r: 5;
    }

    to {
        filter: drop-shadow(0 0 25px #ff25e6);
        r: 8;
    }
}

.marquee-wrapper {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: scrollMarquee 20s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.club-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 10, 20, 0.85);
    border: 1px solid rgba(0, 194, 255, 0.2);
    padding: 2rem 2.5rem;
    min-width: 200px;
    border-radius: 6px;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.club-card:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.06);
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.25), inset 0 0 15px rgba(0, 194, 255, 0.05);
    transform: translateY(-4px) scale(1.03);
}

.club-logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 194, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.club-card:hover .club-logo {
    border-color: var(--cyan-electric);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
}

.club-logo img {
    filter: brightness(1.2) contrast(1.1);
    transition: filter 0.3s ease;
}

.club-card:hover .club-logo img {
    filter: brightness(1.5) contrast(1.2);
}

.club-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
}

.club-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--pure-white);
    letter-spacing: 2px;
    white-space: nowrap;
}

.club-loc {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--cyan-electric);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.zona-activa {
    animation: scannerBlink 2.5s ease-in-out infinite;
    cursor: crosshair;
}

@keyframes scannerBlink {
    0% {
        fill: rgba(0, 194, 255, 0.15);
        filter: drop-shadow(0 0 5px var(--cyan-electric));
    }

    50% {
        fill: rgba(0, 194, 255, 0.5);
        filter: drop-shadow(0 0 15px var(--cyan-electric));
    }

    100% {
        fill: rgba(0, 194, 255, 0.15);
        filter: drop-shadow(0 0 5px var(--cyan-electric));
    }
}

.radar-text {
    text-shadow: 0 0 5px var(--cyan-electric);
}

/* =========================================
   TOUR SCHEDULE ITEMS
   ========================================= */
.tour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 5, 10, 0.9);
    border: 1px solid rgba(0, 194, 255, 0.15);
    border-left: 3px solid var(--cyan-electric);
    margin-bottom: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.tour-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.05), transparent);
    transition: 0.5s;
}

.tour-item:hover {
    border-color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
    transform: translateY(-2px);
}

.tour-item:hover::before {
    left: 100%;
}

.tour-item.sold-out {
    border-left-color: #555;
    background: rgba(10, 10, 10, 0.9);
    opacity: 0.7;
}

.tour-item.sold-out:hover {
    border-color: #555;
    box-shadow: none;
    background: rgba(20, 20, 20, 0.9);
    transform: none;
}


/* SVG Map Effects */
.spain-map-vector {
    transition: filter 0.3s ease, transform 0.5s ease;
}

.spain-map-vector:hover {
    filter: drop-shadow(0 0 25px rgba(0, 194, 255, 0.4)) !important;
}

/* Map Containers */
.map-section-wrapper {
    margin-top: 12rem;
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

/* =========================================
   YOUTUBE SWIPEABLE DECK (MUSIC PAGE)
   ========================================= */
.yt-slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory;
    padding: 0 5%;
    /* Leave some edge space */

    /* Hide scrollbars for the slider track */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.yt-slider-container::-webkit-scrollbar {
    display: none;
}

.yt-slider-track {
    display: inline-flex;
    gap: 2rem;
    padding-bottom: 2rem;
    /* Shadow space */
}

.yt-card {
    min-width: 320px;
    max-width: 400px;
    width: 80vw;
    /* Responsive width for mobile */
    background: rgba(0, 5, 10, 0.9);
    border: 1px solid rgba(0, 194, 255, 0.15);
    border-radius: 4px;
    scroll-snap-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.yt-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-electric);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.15);
}

.yt-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-bottom: 2px solid var(--cyan-electric);
    position: relative;
}

.yt-card-info {
    padding: 1.5rem;
    text-align: left;
}

.yt-card-info h4 {
    font-family: var(--font-heading);
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.yt-card-info p {
    font-family: var(--font-body);
    color: var(--cyan-electric);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* =========================================
   PACKS STORE (DATA CRATES & MODAL)
   ========================================= */

/* Grid Layout */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

/* Data Crate (Card) */
.data-crate {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.data-crate:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 194, 255, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 194, 255, 0.1);
}

/* Red Hover state for premium packs */
.data-crate:has(.status-premium):hover {
    border-color: rgba(255, 0, 50, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 0, 50, 0.1);
}

/* Image Header */
.crate-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: #000;
}

.crate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
    filter: grayscale(0%) brightness(1);
    /* Mobile: full color (no hover available) */
}

@media (min-width: 768px) {
    .crate-image img {
        filter: grayscale(100%) brightness(0.7);
        /* Desktop: starts greyscale, hover restores color */
    }
}

.data-crate:hover .crate-image img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1.1);
}

/* Cyber Overlay on Image */
.crate-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 194, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    background-size: 100% 4px;
    z-index: 1;
    pointer-events: none;
}

.crate-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.3rem 0.8rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 2px;
    backdrop-filter: blur(5px);
}

.status-free {
    background: rgba(0, 194, 255, 0.2);
    border: 1px solid var(--cyan-electric);
    color: var(--cyan-electric);
    text-shadow: 0 0 5px var(--cyan-electric);
}

.status-premium {
    background: rgba(255, 0, 50, 0.2);
    border: 1px solid #ff0032;
    color: #ff0032;
    text-shadow: 0 0 5px #ff0032;
}

/* Crate Info Content */
.crate-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(8, 8, 8, 1));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.crate-title {
    font-family: var(--font-heading);
    color: var(--pure-white);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.data-crate:hover .crate-title {
    color: var(--cyan-electric);
}

.data-crate:has(.status-premium):hover .crate-title {
    color: #ff0032;
}

.crate-desc {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    flex-grow: 1;
}

.crate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    margin-top: auto;
}

.crate-meta {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #666;
}

.crate-action {
    font-family: 'Space Mono', monospace;
    color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 2px;
    font-weight: bold;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.data-crate:hover .crate-action {
    opacity: 1;
    background: rgba(0, 194, 255, 0.15);
    border-color: var(--cyan-electric);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.data-crate:has(.status-premium):hover .crate-action {
    color: #ff0032;
    background: rgba(255, 0, 50, 0.15);
    border-color: #ff0032;
    box-shadow: 0 0 10px rgba(255, 0, 50, 0.3);
}

/* =========================================
   TRACKLIST MODAL (Expanded Decryption)
   ========================================= */
.tracklist-content {
    max-width: 100vw !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tracklist-content {
        max-width: 900px !important;
        width: 90% !important;
        height: auto !important;
        border-left: 1px solid var(--cyan-electric) !important;
        border-right: 1px solid var(--cyan-electric) !important;
        border-radius: 6px !important;
    }
}

.modal-split {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-x: hidden;
    width: 100%;
}


/* =========================================
   STICKY HEADER (MOBILE ONLY BY DEFAULT)
   ========================================= */
.modal-sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--onyx-black);
    z-index: 10;
    border-bottom: 1px solid rgba(0, 194, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    /* Stack back button above cover row */
    padding: 0;
}

/* Mobile Back Button */
.modal-sticky-header .modal-back-btn {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 194, 255, 0.25) !important;
    color: var(--cyan-electric) !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    text-transform: uppercase;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.modal-back-btn:hover,
.modal-back-btn:active {
    background: rgba(0, 194, 255, 0.08);
}

.modal-back-btn svg {
    flex-shrink: 0;
}

/* Cover + Info row on mobile */
.modal-sticky-header .modal-cover-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
}

/* Hide desktop close on mobile */
.close-modal-desktop {
    display: none;
}

@media (min-width: 768px) {
    .modal-split {
        flex-direction: row;
        max-height: 80vh;
    }

    /* Reset sticky behavior on desktop to side-by-side */
    .modal-sticky-header {
        position: static;
        width: 45%;
        border-bottom: none;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        padding: 0;
        background: transparent;
        flex: 0 0 45%;
        border-right: 1px solid rgba(0, 194, 255, 0.2);
        overflow: hidden;
    }

    .modal-header-info {
        display: flex !important;
        flex-direction: column;
        padding: 1.2rem 1.5rem 1.5rem;
        flex-shrink: 0;
    }

    /* Show desktop close, hide mobile back */
    .close-modal-desktop {
        display: block;
    }

    .modal-back-btn {
        display: none;
    }

    /* On desktop, modal-cover-row does not flex (cover takes full width) */
    .modal-sticky-header .modal-cover-row {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
}

.modal-cover {
    flex: 0 0 auto;
    width: auto;
    position: relative;
    display: flex;
    justify-content: center;
}

.modal-cover img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* Hide scanline on mobile square cover */
@media (max-width: 767px) {
    .modal-cover .crate-scanline {
        display: none;
    }
}

@media (min-width: 768px) {
    .modal-cover {
        width: 100%;
        height: auto;
        display: block;
        flex-shrink: 1;
    }

    .modal-cover img {
        width: 100%;
        height: auto;
        max-height: 45vh;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }
}

.modal-details {
    padding: 1.5rem 1.2rem;
    padding-bottom: 4.5rem;
    /* Reduced since player bar is now 60px tall */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* No scroll on the whole panel — only tracklist scrolls */
}

@media (min-width: 768px) {
    .modal-details {
        padding: 2.5rem 2rem;
        padding-bottom: 2rem;
    }
}

.modal-details::-webkit-scrollbar {
    width: 6px;
}

.modal-details::-webkit-scrollbar-track {
    background: #111;
}

.modal-details::-webkit-scrollbar-thumb {
    background: var(--cyan-electric);
    border-radius: 3px;
}

.tracklist-container {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(0, 194, 255, 0.2);
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    padding: 0.5rem 0;
    flex-grow: 1;
    overflow-y: auto;
    /* Only the tracklist scrolls */
    scrollbar-width: thin;
    scrollbar-color: var(--cyan-electric) #111;
}

.tracklist-container::-webkit-scrollbar {
    width: 4px;
}

.tracklist-container::-webkit-scrollbar-track {
    background: #111;
}

.tracklist-container::-webkit-scrollbar-thumb {
    background: var(--cyan-electric);
    border-radius: 2px;
}

.modal-checkout {
    flex-shrink: 0;
    padding-top: 1rem;
}

.modal-header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.modal-title {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-desc {
    font-size: 0.75rem;
    margin-bottom: 0;
    text-align: left;
    /* Mobile: keep single line truncated in the compact thumbnail row */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #aaa;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .modal-header-info .modal-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        white-space: normal;
    }

    .modal-header-info .modal-desc {
        font-size: 0.9rem;
        color: #AAA;
        white-space: normal;
        line-height: 1.6;
    }

    .modal-title,
    .modal-desc {
        text-align: left;
    }
}

@keyframes btn-ticky {
    0% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(0, 194, 255, 0.6);
    }

    92% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(0, 194, 255, 0.6);
    }

    93% {
        opacity: 0.6;
        text-shadow: 2px 0 6px rgba(0, 194, 255, 1), -2px 0 4px rgba(255, 0, 80, 0.7);
        transform: skewX(-3deg) translateX(2px);
    }

    94% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(0, 194, 255, 0.6);
        transform: skewX(0);
    }

    96% {
        opacity: 0.8;
        box-shadow: 0 0 25px rgba(0, 194, 255, 0.4), inset 0 0 10px rgba(0, 194, 255, 0.15), 3px 0 0 rgba(0, 194, 255, 0.5);
    }

    97% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 194, 255, 0.2), inset 0 0 15px rgba(0, 194, 255, 0.1);
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(0, 194, 255, 0.6);
    }
}

.btn-modal-cta {
    background: #050505;
    color: var(--cyan-electric);
    border: 2px solid var(--cyan-electric);
    font-family: var(--font-heading);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 194, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.2), inset 0 0 15px rgba(0, 194, 255, 0.1);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    animation: btn-ticky 4s infinite;
}

.btn-modal-cta:hover {
    background: var(--cyan-electric);
    color: var(--onyx-black);
    text-shadow: none;
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.5);
    transform: translateY(-2px);
    animation: none;
}

/* Individual Track Item */
.track-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
    gap: 0.5rem;
    min-width: 0;
    overflow: hidden;
}

.track-row:last-child {
    border-bottom: none;
}

.track-row:hover {
    background: rgba(0, 194, 255, 0.05);
}

.track-info-left {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.track-play-btn {
    background: rgba(0, 194, 255, 0.05);
    border: 1px solid rgba(0, 194, 255, 0.3);
    border-radius: 2px !important;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

/* Fix optical centering of the play triangle */
.track-play-btn svg {
    margin-left: 2px;
}

.track-row.playing .track-play-btn svg {
    margin-left: 0;
}

.track-play-btn:hover {
    background: rgba(0, 194, 255, 0.15);
    border-color: var(--cyan-electric);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.track-row.playing .track-play-btn {
    background: var(--cyan-electric);
    border-color: var(--cyan-electric);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.4);
}

.track-row.playing .track-play-btn svg {
    fill: var(--onyx-black) !important;
}

.track-details-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.track-name-text {
    font-family: 'Space Mono', monospace;
    color: #DDD;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #C0C0C0;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Active Waveform Animation */
.track-active-wave {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    margin-left: 10px;
}

.track-row.playing .track-active-wave {
    display: inline-flex;
}

.track-active-wave span {
    display: block;
    width: 3px;
    background: var(--cyan-electric);
    animation: wave-bounce 1.2s ease-in-out infinite;
}

.track-active-wave span:nth-child(2) {
    animation-delay: -0.4s;
}

.track-active-wave span:nth-child(3) {
    animation-delay: -0.8s;
}

@keyframes wave-bounce {

    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 12px;
    }
}

.track-info-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.track-bpm-text,
.track-key-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.track-key-text {
    color: var(--cyan-electric);
    background: rgba(0, 194, 255, 0.1);
}

/* Active Playing State */
.track-row.playing .track-play-btn {
    background: var(--cyan-electric);
}

.track-row.playing .track-play-btn svg {
    fill: var(--onyx-black);
}

.track-row.playing .track-name-text {
    color: var(--cyan-electric);
    font-weight: bold;
}

/* =========================================
   STICKY AUDIO CONTROL BAR (GLOBAL)
   ========================================= */
.audio-controls-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 194, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-controls-bar.active {
    transform: translateY(0);
}

.player-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 30%;
    min-width: 280px;
}

.master-play-btn {
    background: transparent;
    border: 1px solid var(--cyan-electric);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.master-play-btn:hover {
    background: rgba(0, 194, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.audio-cover-img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.audio-track-title {
    font-family: var(--font-body);
    font-weight: bold;
    color: #FFF;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.audio-track-artist {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.player-center {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.player-playback {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#waveform-container {
    flex-grow: 1;
    height: 40px;
    cursor: pointer;
    overflow: hidden;
}

.time-display {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #888;
    min-width: 35px;
    text-align: center;
}

#waveform-container {
    flex-grow: 1;
    height: 30px;
    cursor: pointer;
    overflow: hidden;
    /* Hide horizontal scroll to trap user in 30s view */
}

/* Hide scrollbar internally */
#waveform-container ::-webkit-scrollbar {
    display: none;
}

.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 25%;
    min-width: 150px;
}

/* Player Dismiss / Hide Button */
.player-dismiss-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    line-height: 1;
    padding: 2px 6px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10001;
}

.player-dismiss-btn:hover {
    color: var(--cyan-electric);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-icon {
    fill: #888;
    width: 20px;
    height: 20px;
}

.volume-slider-wrap {
    width: 80px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--cyan-electric);
    border-radius: 2px;
}

/* =========================================
   LEGAL PAGES (Privacy, Terms, Cookies)
   ========================================= */
.legal-content {
    padding: 8rem 20px 4rem 20px;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-body);
    color: #B0B0B0;
    line-height: 1.7;
}

.legal-box {
    background: rgba(0, 5, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 4rem;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.legal-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--cyan-electric);
    box-shadow: 0 0 15px var(--cyan-electric);
}

.legal-box h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--pure-white);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.legal-box h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--cyan-electric);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.legal-box p,
.legal-box ul {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.legal-box ul {
    list-style-type: square;
    padding-left: 20px;
}

.legal-box li {
    margin-bottom: 0.5rem;
}

.legal-box strong {
    color: var(--pure-white);
}

.back-link {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.8rem 1.5rem;
    color: var(--cyan-electric);
    border: 1px solid var(--cyan-electric);
    background: rgba(0, 194, 255, 0.05);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.back-link:hover {
    background: var(--cyan-electric);
    color: var(--onyx-black);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
}

@media (max-width: 768px) {
    .legal-box {
        padding: 2rem 1.5rem;
    }

    .legal-box h1 {
        font-size: 1.8rem;
    }

    /* Fix Track Row Layout on Mobile - Horizontal & Compact */
    .track-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 0;
        text-align: left;
    }

    .track-info-left {
        flex-direction: row;
        gap: 0.8rem;
        flex: 1 1 100%;
        max-width: 100%;
        /* Ensure it doesn't overflow parent */
        overflow: hidden;
        /* Critical for child ellipsis to work */
    }

    .track-play-btn {
        margin-right: 0;
        margin-bottom: 0;
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        /* Don't squeeze the play button */
    }

    .track-details-col {
        align-items: flex-start;
        flex: 1 1 auto;
        min-width: 0;
        /* Allow text truncation */
        overflow: hidden;
    }

    .track-name-text {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .track-artist-text {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .track-info-right {
        align-self: flex-start;
        justify-content: flex-start;
        width: 100%;
        margin-top: 0.2rem;
        padding-left: calc(34px + 0.8rem);
    }

    /* Fix Audio Player Bar on Mobile - compact single row */
    .audio-controls-bar {
        flex-direction: row;
        height: 60px;
        padding: 0 0.8rem;
        gap: 0.6rem;
        align-items: center;
    }

    .player-left {
        width: auto;
        flex: 1;
        gap: 0.5rem;
        min-width: 0;
    }

    .master-play-btn {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .audio-cover-img {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .player-info {
        flex: 1;
        min-width: 0;
    }

    .audio-track-title {
        font-size: 0.75rem;
    }

    .audio-track-artist {
        display: none;
        /* Hide to save space */
    }

    /* Hide waveform and center on mobile, just show time */
    .player-center {
        display: none;
    }

    .player-right {
        display: none !important;
        /* Hide volume controls on mobile to save space */
    }
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */

@keyframes font-glitch {

    /* 1. Marola */
    0%,
    2%,
    4% {
        font-family: 'Marola', cursive;
    }

    /* 2. GrapeSoda */
    6%,
    8%,
    10% {
        font-family: 'GrapeSoda', sans-serif;
    }

    /* 3. MillionMileMan */
    12%,
    14%,
    16% {
        font-family: 'MillionMileMan', sans-serif;
    }

    /* 4. Notedry */
    18%,
    20%,
    22% {
        font-family: 'Notedry', cursive;
    }

    /* 5. Meander */
    24%,
    26%,
    28% {
        font-family: 'Meander', sans-serif;
    }

    /* 6. CuteNotes */
    30%,
    32%,
    34% {
        font-family: 'CuteNotes', cursive;
    }

    /* 7. Organical */
    36%,
    38%,
    40% {
        font-family: 'Organical', cursive;
    }

    /* 8. GoAroundBooks */
    42%,
    44%,
    46% {
        font-family: 'GoAroundBooks', cursive;
    }

    /* --- Second pass: faster flicker --- */
    48%,
    50% {
        font-family: 'GrapeSoda', sans-serif;
    }

    52%,
    54% {
        font-family: 'Marola', cursive;
    }

    56%,
    58% {
        font-family: 'Organical', cursive;
    }

    60%,
    62% {
        font-family: 'Notedry', cursive;
    }

    64%,
    66% {
        font-family: 'CuteNotes', cursive;
    }

    68%,
    70% {
        font-family: 'MillionMileMan', sans-serif;
    }

    72%,
    74% {
        font-family: 'Meander', sans-serif;
    }

    76%,
    78% {
        font-family: 'GoAroundBooks', cursive;
    }

    /* --- Fast final flicker before landing --- */
    80% {
        font-family: 'Marola', cursive;
    }

    82% {
        font-family: 'GrapeSoda', sans-serif;
    }

    84% {
        font-family: 'Organical', cursive;
    }

    86% {
        font-family: 'Notedry', cursive;
    }

    88% {
        font-family: 'CuteNotes', cursive;
    }

    90% {
        font-family: 'MillionMileMan', sans-serif;
    }

    92% {
        font-family: 'Meander', sans-serif;
    }

    94% {
        font-family: 'GoAroundBooks', cursive;
    }

    /* --- LAND on brand font --- */
    96%,
    100% {
        font-family: var(--font-heading);
    }
}

/* =========================================
   FLOATING WHATSAPP BUTTON (GLOBAL)
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: transparent;
    color: var(--cyan-electric);
    text-align: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.15);
    color: var(--pure-white);
    filter: drop-shadow(0 0 15px rgba(0, 194, 255, 0.8));
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =========================================
   COOKIE BANNER
   ========================================= */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--onyx-black);
    border-top: 1px solid var(--cyan-electric);
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    z-index: 9000;
    /* Below WhatsApp (9999) but above content */
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

#cookie-banner.active {
    transform: translateY(0);
}

#cookie-banner.active~.whatsapp-float {
    bottom: 5rem;
}

#cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pure-white);
    flex: 1 1 200px;
    /* Allows text to wrap on narrow screens */
}

#cookie-banner a {
    color: var(--cyan-electric);
    text-decoration: underline;
}

#cookie-accept {
    background: var(--cyan-electric);
    color: var(--onyx-black);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

#cookie-accept:hover {
    background: var(--pure-white);
    color: var(--onyx-black);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    color: var(--cyan-electric);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 194, 255, 0.8));
    color: var(--pure-white);
}