:root {
    --bg-color: #030303;
    --text-main: #ececec;
    --text-muted: #666666;
    --accent: #ff0055;
    --font-head: 'Clash Display', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* BLOQUEO ESTRICTO DEL SCROLL LATERAL */
html, body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden; 
    width: 100%;
    max-width: 100%;
}

/* EFECTO RUIDO */
.noise-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    pointer-events: none; z-index: 9999; opacity: 0.04;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* --- NAVEGACIÓN --- */
.custom-nav {
    position: fixed; top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; z-index: 1000;
    mix-blend-mode: difference;
    transition: background-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease; 
}

.custom-nav.scrolled {
    background-color: rgba(3, 3, 3, 0.4); 
    backdrop-filter: blur(8px);           
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 5%; 
    mix-blend-mode: normal; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none;
}

.nav-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.nav-links { display: flex; gap: 2vw; }
.nav-link { color: white; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 700; }
.btn-booking { background: white; color: black; padding: 8px 16px; text-decoration: none; font-weight: 700; font-size: 0.8rem; border-radius: 2px; }

/* ESTRUCTURAS */
.screen { display: flex; flex-direction: column; justify-content: center; position: relative; width: 100%; }

.content-screen { 
    padding: 10rem 5%;  
    background: var(--bg-color); 
    min-height: auto; 
    justify-content: flex-start;
}
.container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* --- 1. SECCIÓN HERO --- */
.hero-section { background-color: var(--bg-color); z-index: 10; min-height: 100vh; }

.brand-brand-typo-container { padding-left: 5%; margin-top: 0; }
.brand-brand-typo-img { display: block; width: auto; max-width: min(100%, 1200px); height: clamp(150px, 28vw, 520px); object-fit: contain; filter: brightness(1.1); }

.tag-container { display: flex; gap: 1.5rem; row-gap: 2rem; padding-left: 5%; margin-top: 2rem; flex-wrap: wrap; }
.adjusted-tags { margin-top: 2.5rem; } 

.tag { border: 1px solid var(--accent); color: var(--accent); padding: 5px 12px; font-size: 0.8rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; }
.tag.main-tag { background-color: var(--accent); color: var(--bg-color); font-weight: 700; border: none; box-shadow: 0 0 15px rgba(255, 0, 85, 0.4); }

.marquee-container { position: absolute; bottom: 6vh; width: 100%; overflow: hidden; border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 10px 0; }
.marquee { 
    display: flex; 
    width: max-content; /* ESTA ES LA CLAVE PARA QUE NO SALTE */
    white-space: nowrap; 
    animation: scroll-left 15s linear infinite; 
    font-family: var(--font-head); 
    font-size: 2rem; 
    letter-spacing: 4px; 
    color: var(--text-muted); 
}
.marquee span { padding-right: 50px; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* TÍTULOS MASIVOS */
.section-title { font-family: var(--font-head); font-size: clamp(4rem, 10vw, 9rem); line-height: 0.85; text-transform: uppercase; letter-spacing: -3px; margin-bottom: 4rem; color: var(--text-main); }

/* --- 2. SECCIÓN DE ANIMACIÓN CARRUSEL --- */
.animation-section { 
    width: 100%; 
    height: 100svh !important; /* 'svh' arregla el problema de la barra del navegador en móviles */
    min-height: 100svh !important;
    padding: 0; 
    margin: 0; 
    overflow: hidden; 
    background-color: var(--bg-color); 
    display: block !important;
}

.scroll-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Hemos quitado el padding-top y el grid que lo descentraban */
}

.carousel-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado intocable */
    width: 100vw;
    text-align: center; 
    font-family: var(--font-head);
    font-size: 16vw; 
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03); 
    white-space: nowrap;
    pointer-events: none;
    z-index: 0; 
    letter-spacing: -2px; 
}

.carousel-img {
    position: absolute;
    /* EL TRUCO DEFINITIVO PARA GSAP: Centrado absoluto sin usar transform */
    top: 0; bottom: 0; left: 0; right: 0;
    margin: auto; 
    
    height: 75vh; 
    width: auto;
    max-width: 90vw; 
    object-fit: cover;
    border-radius: 6px;
    opacity: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1; 
    will-change: transform, opacity;
}


/* --- 3. SHOWS --- */
.show-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid #222; cursor: pointer; transition: padding-left 0.3s ease; }
.show-item:hover { padding-left: 1rem; border-bottom-color: var(--accent); }
.show-date { font-family: var(--font-head); font-size: 2.5rem; color: var(--accent); }
.show-details h3 { font-size: 1.5rem; margin-bottom: 5px; }
.show-details p { color: var(--text-muted); font-size: 0.9rem; }
.btn-outline { background: transparent; border: 1px solid #555; color: white; padding: 8px 20px; font-family: var(--font-body); cursor: pointer; border-radius: 2px;}
.hidden { display: none !important; }
.setlist-content { grid-column: 1 / -1; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease; margin-top: 0; opacity: 0;}
.show-item.active .setlist-content { max-height: 400px; margin-top: 2rem; opacity: 1; }

/* VÍDEO INTEGRADO */
.panoramic-video-section { width: 100%; background-color: #000; line-height: 0; overflow: hidden; position: relative; margin: 4rem 0; }
.panoramic-video-section::before, .panoramic-video-section::after { content: ""; position: absolute; left: 0; width: 100%; height: 30%; z-index: 2; pointer-events: none; }
.panoramic-video-section::before { top: 0; background: linear-gradient(to bottom, var(--bg-color), transparent); }
.panoramic-video-section::after { bottom: 0; background: linear-gradient(to top, var(--bg-color), transparent); }
.panoramic-video { width: 100%; height: auto; aspect-ratio: 3840 / 1080; object-fit: cover; }

/* --- 4. SOCIAL GRID (FLEXBOX DE LÍNEA ÚNICA) --- */
.social-grid { 
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 2.5rem; 
    width: 100%; 
}

/* TAMAÑOS DINÁMICOS */
.post-card { 
    flex: 1; 
    aspect-ratio: 4/5; 
    background: #111; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid #333; transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; 
}
.post-card.horizontal { 
    flex: 2; 
    aspect-ratio: 16/9; 
}

.post-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(255, 0, 85, 0.2); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease; filter: grayscale(80%) contrast(120%); }
.post-card:hover img { transform: scale(1.08); filter: grayscale(0%) contrast(100%); }
.post-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 3rem 1.5rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%); z-index: 2; }
.post-title { font-family: var(--font-head); color: white; margin-bottom: 10px; font-size: 1.3rem; letter-spacing: 1px;}

/* --- SISTEMA DE PAGINACIÓN --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.page-btn {
    background: transparent;
    border: 1px solid #333;
    color: white;
    width: 45px;
    height: 45px;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.page-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.page-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

/* --- 5. BOOKING --- */
.booking-section { background-color: var(--bg-color); border-top: 1px solid #222; padding-bottom: 8rem;}
.booking-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: flex-start; }
.massive-email { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--text-main); text-decoration: none; line-height: 1.1; display: block; margin-bottom: 4rem; transition: color 0.3s ease; word-break: break-all; }
.massive-email:hover { color: var(--accent); }

.btn-epk { display: inline-block; padding: 12px 28px; font-size: 1rem; font-weight: 700; border: 2px solid var(--accent); color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
.btn-epk:hover { background: var(--accent); color: #000; }

.brutalist-form { display: flex; flex-direction: column; gap: 2.5rem; }
.brutalist-form input, .brutalist-form textarea { background: transparent; border: none; border-bottom: 2px solid #333; color: white; font-family: var(--font-body); font-size: 1.2rem; padding: 1.2rem 0; transition: border-color 0.3s; }
.brutalist-form input:focus, .brutalist-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.btn-submit { background: white; color: black; border: none; padding: 1.5rem; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 1.5rem; }
.btn-submit:hover { background: var(--accent); color: white; transform: translateY(-5px); }

/* Ajustes para la nueva distribución de contacto */
.booking-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.small-label {
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.social-links-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-tag {
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.social-tag:hover {
    background: var(--accent);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.massive-email {
    font-size: clamp(1.8rem, 4vw, 3rem) !important; 
    margin-bottom: 3rem !important;
}

.form-group {
    width: 100%;
    margin-bottom: 1rem;
}


/* ==========================================
   RESPONSIVE MÓVIL AGRESIVO Y EQUILIBRADO
   ========================================== */
@media (max-width: 900px) {
    .booking-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-logo-img { height: 22px; }
    .btn-booking { padding: 8px 14px; font-size: 0.75rem; }

    .content-screen { padding: 6rem 5%; } 
    .section-title { font-size: clamp(3.2rem, 14vw, 4.5rem); letter-spacing: -2px; margin-bottom: 2.5rem; } 

    /* HERO MÓVIL */
    .hero-section { min-height: auto !important; padding-top: 7rem; padding-bottom: 2rem;}
    .brand-brand-typo-img { width: 95%; max-height: 25vh; margin-left: 0;}
    
    /* TAGS FORZADOS HACIA ABAJO */
    .adjusted-tags { margin-top: 6rem !important; } 
    .tag-container { flex-direction: column; gap: 1.2rem; align-items: flex-start; margin-bottom: 1rem; }
    .tag { padding: 10px 20px; font-size: 0.9rem; width: fit-content; }
    
    /* MARQUEE FORZADO HACIA ABAJO */
    /* MARQUEE FORZADO HACIA ABAJO Y MÁS RÁPIDO */
    .marquee-container { position: relative !important; margin-top: 6rem !important; margin-bottom: 2rem !important; bottom: auto !important; } 
    .marquee { font-size: 1.5rem; animation-duration: 12s; } /* Bajamos a 8s para que vuele en móvil */

    /* ESPACIO DE ANIMACIÓN CARRUSEL EN MÓVIL */
    .animation-section { height: 100svh !important; min-height: 100svh !important; } 
    .carousel-img { height: 60svh !important; max-width: 85vw !important; }
    
    /* Restaurar el padding del bloque shows para que respire el título */
    #live-experience { padding-top: 5rem !important; margin-top: 0 !important; } 

    .show-item { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
    .show-date { font-size: 2.2rem; }
    .btn-outline, .btn-submit, .btn-epk { width: 100%; text-align: center; }

    .panoramic-video-section { margin: 2.5rem 0; }
    .panoramic-video { aspect-ratio: 3840 / 1080; height: auto; }

    /* En móvil se apilan hacia abajo */
    .social-grid { flex-direction: column; gap: 2rem; }
    .post-card, .post-card.horizontal { width: 100%; flex: none; }

    .massive-email { font-size: clamp(1.8rem, 8vw, 2.5rem); margin-bottom: 2rem; word-break: break-all; }
    .brutalist-form { gap: 1.5rem; }
}

/* ==========================================
   FIX PARA MÓVILES EN HORIZONTAL (LANDSCAPE)
   ========================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto !important;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    
    .brand-brand-typo-img {
        max-height: 45vh; 
    }
    
    .adjusted-tags {
        margin-top: 2rem !important;
    }
    
    .marquee-container {
        position: relative !important; 
        margin-top: 3rem !important;
        bottom: auto !important;
    }
}