/* ================================================
   JONDA BAIRES – OFFICIAL WEBSITE
   Cinematic · Elegant · Conscious · Horizontal Scroll
   ================================================ */

/* ---------- CSS Reset & Custom Properties ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette */
    --bg: #050505;
    --bg-alt: #0a0a0a;
    --surface: rgba(17, 17, 17, 0.75);
    --surface-light: rgba(26, 26, 26, 0.8);
    --border: rgba(34, 34, 34, 0.8);
    --accent: #b0b0b0;
    --accent-bright: #d4d4d4;
    --text: #e0e0e0;
    --text-dim: #888888;
    --white: #f5f5f5;
    --overlay: rgba(0, 0, 0, 0.35);
    --panel-bg: rgba(5, 5, 5, 0.70);
    --panel-blur: 12px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background: transparent;
    /* Changed from #000 to see the video background layer */
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
    overflow: hidden;
    height: 100%;
    /* Security: prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection inside form inputs */
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

/* =============================================
   FIXED VIDEO BACKGROUND
   ============================================= */
.hero__video-wrapper {
    position: fixed;
    inset: 0;
    z-index: -2;
    /* Explicitly behind everything */
    overflow: hidden;
    background: #000;
}

.hero__video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    /* 16:9 aspect ratio coverage: ensures no gaps on any screen */
    width: 177.78vh;
    /* 100vh * 16/9 */
    height: 56.25vw;
    /* 100vw * 9/16 */
    min-width: 100vw;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

.hero__overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: -1;
    /* Above video, below content */
}

.hero__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

/* =============================================
   HORIZONTAL SCROLL CONTAINER
   ============================================= */
.scroll-container {
    position: relative;
    z-index: 1;
    /* Content layer */
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    /* remove scroll-behavior: smooth to let JS handle it for better fluidity */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* =============================================
   SECTIONS – HORIZONTAL PANELS
   ============================================= */
.scroll-container>section,
.scroll-container>footer {
    flex: 0 0 100vw;
    min-width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ---------- Reusable ---------- */
.section-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 80px 32px 60px;
}

/* Release section gets more width */
.release .section-container {
    max-width: 1200px;
    padding: 60px 20px 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 48px;
}

.divider {
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 48px;
    opacity: 0.5;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* =============================================
   SECTION 1 – HERO
   ============================================= */
.hero {
    background: transparent !important;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero__logo-text {
    margin-bottom: 24px;
    animation: fadeInUp 1.5s var(--ease-out) both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.hero__logo-img {
    width: clamp(280px, 90vw, 1100px);
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    animation: fadeInUp 1.5s var(--ease-out) 0.5s both;
}

.hero__scroll-indicator {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   CONTENT SECTIONS – Transparent panels
   ============================================= */
.biography,
.social,
.release,
.booking,
.contact {
    background: var(--panel-bg);
    backdrop-filter: blur(var(--panel-blur));
    -webkit-backdrop-filter: blur(var(--panel-blur));
}

/* =============================================
   SECTION 2 – BIOGRAPHY
   Allow the section to expand to fit content
   ============================================= */
.biography {
    flex: 0 0 auto !important;
    min-width: 100vw;
    width: auto;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0;
    /* Espacio para que no se corte arriba/abajo */
}

.biography .section-container {
    max-width: 760px;
    padding: 40px 48px;
}

.biography__text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Reducido de 32px a 20px */
}

.biography__text p {
    margin-bottom: 0;
    font-size: clamp(0.75rem, 1.4vw, 0.9rem);
    /* Reducido para mejor encuadre */
    color: var(--text-dim);
    line-height: 1.6;
    /* Un poco más compacto */
    text-align: center;
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: blur(8px);
    transform: translateY(20px);
    opacity: 0;
}

.biography__text p.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    color: var(--text);
}

.biography__text p strong {
    color: var(--accent-bright);
    font-weight: 500;
}

/* =============================================
   SECTION 3 – SOCIAL & PLATFORMS
   ============================================= */
.social__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.social__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text);
    transition: all 0.35s var(--ease);
    text-decoration: none;
}

.social__link:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Orbit Layout */
.social__orbit-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    min-height: 500px;
}

.social__orbit-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mastering Knob */
.mastering-knob {
    position: relative;
    width: 140px;
    height: 140px;
    z-index: 10;
    cursor: grab;
    user-select: none;
    transition: transform 0.1s linear;
}

.knob-base {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle at center, #2a2a2a 0%, #0a0a0a 100%);
    border-radius: 50%;
    border: 2px solid #333;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.knob-cap {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #222 0%, #111 100%);
    border-radius: 50%;
    border: 4px solid #1a1a1a;
    box-shadow:
        inset 0 4px 10px rgba(255, 255, 255, 0.05),
        5px 15px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15px;
}

.knob-indicator {
    width: 2px;
    height: 25px;
    /* Slightly longer */
    background: #ffffff;
    border-radius: 4px;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.4);
    z-index: 20;
}



/* Orbiting Items */
.orbit-items {
    position: absolute;
    inset: 0;
}

.orbit-link {
    position: absolute;
    width: 60px;
    /* Bigger target */
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    transition: all 0.4s var(--ease);
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    transform: translate(var(--x, 0), var(--y, 0));
    /* Use CSS variables */
}

.orbit-link svg {
    width: 22px;
    height: 22px;
    fill: var(--text-dim);
    transition: all 0.3s ease;
}

.orbit-link:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: #00ffcc;
    box-shadow:
        0 0 30px rgba(0, 255, 204, 0.3),
        inset 0 0 10px rgba(0, 255, 204, 0.15);
    transform: translate(var(--x, 0), var(--y, 0)) scale(1.15);
    /* Preserve position on scale */
    z-index: 100;
}

.orbit-link:hover svg {
    fill: #00ffcc;
    filter: drop-shadow(0 0 15px rgba(0, 255, 204, 0.8));
}

.orbit-label {
    position: absolute;
    top: calc(50% + 105px);
    /* Espacio aumentado para evitar que esté pegado debajo del mando (+20px extra) */
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: #00ffcc;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.4);
}

.orbit-label.active {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .social__orbit-wrapper {
        min-height: 300px;
        /* v15: Reduced to pull orbit higher */
        padding: 4px 0 20px;
        /* v15: 4px top = icons start right under title */
    }

    .social__orbit-container {
        width: 280px;
        height: 280px;
    }

    .mastering-knob {
        width: 90px;
        height: 90px;
    }

    .knob-base {
        inset: -10px;
    }

    .orbit-link {
        width: 52px;
        height: 52px;
        margin-top: -26px;
        margin-left: -26px;
    }

    .orbit-link svg {
        width: 22px;
        height: 22px;
    }

    .orbit-label {
        top: calc(50% + 75px);
        font-size: 0.65rem;
    }
}

.social__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
    opacity: 0.7;
    transition: opacity 0.35s var(--ease);
}

.social__link:hover svg {
    opacity: 1;
}

/* =============================================
   SECTION 4 – FEATURED RELEASE
   ============================================= */
/* Modernized Release Card */
/* Grid container for multiple releases - Carousel Version */
.releases__carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    /* Slightly wider for landscape */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    /* Minimum gap from crossfader tick marks */
}

.releases__grid {
    flex: 1;
    display: flex;
    gap: 0;
    /* Cards will be full width of container */
    overflow: hidden;
    /* Navigation via JS scroll/transform */
    scroll-behavior: smooth;
    padding: 20px 0;
}

.carousel-btn {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.carousel-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.carousel-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

.release__card {
    width: 100%;
    min-width: 100%;
    /* Carousel card takes full container width */
    flex: 0 0 100%;
    margin: 0;
    padding: 36px 48px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
}

@media (max-width: 991px) {
    .release__card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 40px 24px;
    }
}

/* Dynamic Blurred Background Layer */
.release__card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(60px) brightness(0.4);
    opacity: 0.5;
    z-index: 0;
    transform: scale(1.2);
    pointer-events: none;
    transition: background-image 0.8s var(--ease);
}

.release__card>*:not(.release__card-bg) {
    position: relative;
    z-index: 1;
}

/* Mobile Adjustments for Carousel */
@media (max-width: 767px) {
    .releases__carousel-wrapper {
        gap: 8px;
        /* Pequeño gap para flechas */
    }

    .carousel-btn {
        flex: 0 0 35px;
        /* Flechas visibles pero más chicas */
        height: 35px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .releases__grid {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 50px;
        /* Padding extra para que las tarjetas no colisionen con los labels del crossfader que ahora están más arriba */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .releases__grid::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .release__card {
        scroll-snap-align: center;
        padding: 40px 20px;
    }
}

.release__visuals {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 2;
}

.release__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.release__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    margin: 0;
    border-radius: 12px;
    display: block;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(234, 88, 12, 0.15);
    transition: all 0.6s var(--ease);
}

.release__card:hover .release__cover {
    transform: scale(1.04) translateY(-10px) rotate(1deg);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(234, 88, 12, 0.3);
}

.release__year {
    display: block;
    width: fit-content;
    margin: 0 0 10px;
    padding: 4px 12px;
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #ea580c;
    text-transform: uppercase;
}

.release__label {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ea580c;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 600;
}

.release__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
    margin: 0 0 16px;
    line-height: 1.1;
}

.release__artist {
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0;
    opacity: 0.8;
}

.release__desc {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 48px;
    opacity: 0.9;
}

.release__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--white);
    border: none;
    border-radius: 8px;
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    align-self: flex-start;
}

.release__cta:hover {
    transform: translateY(-3px);
    background: #ea580c;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.4);
}

.release__cta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.release__upcoming {
    margin-top: 48px;
    /* Espacio extra para evitar superposición */
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.8;
    /* Más visible */
    position: relative;
    display: block;
    /* Ocupa todo el ancho para centrar fácilmente */
    text-align: center;
}

.release__upcoming::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--border);
    opacity: 0.6;
}

/* =============================================
   SECTION 5 – PRESS KIT / BOOKING
   Multi-panel: allow wider view
   ============================================= */
.booking {
    flex: 0 0 auto !important;
    min-width: 100vw;
    width: auto;
}

.booking .section-container {
    max-width: 1000px;
    padding: 40px 48px;
}

.booking__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}

.booking__card {
    padding: 24px 22px;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.4s var(--ease);
}

.booking__card:hover {
    border-color: #333;
}

.booking__card-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.booking__card ul {
    list-style: none;
    padding: 0;
}

.booking__card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.5;
}

.booking__card li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.booking__card li strong {
    color: var(--white);
    font-weight: 500;
}

.booking__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.booking__tag {
    padding: 4px 12px;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    transition: all 0.3s var(--ease);
}

.booking__tag:hover {
    border-color: var(--accent);
    color: var(--white);
}

.booking__prohibited {
    color: #8b4040 !important;
}

.booking__prohibited::before {
    content: '✕' !important;
    color: #8b4040 !important;
}

/* =============================================
   SECTION – UPCOMING DATES
   ============================================= */
.dates__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.35s var(--ease);
}

.date-item:hover {
    border-color: var(--accent);
    background: rgba(26, 26, 26, 0.8);
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-day {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.date-venue {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.date-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s var(--ease);
}

.date-btn:hover {
    background: var(--white);
    color: var(--bg);
}

/* =============================================
   SECTION 6 – CONTACT
   ============================================= */
/* =============================================
   SECTION 6 – CONTACT (Conversational Form)
   ============================================= */
.contact .section-container {
    max-width: 800px;
    padding-top: 60px;
}

.contact__form-wrapper {
    margin-top: 40px;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.conversational-form {
    position: relative;
    width: 100%;
}

.form-step {
    display: none;
    animation: fadeInStep 0.6s var(--ease) forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-question {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 30px;
    text-align: left;
    letter-spacing: -0.01em;
}

.input-group {
    position: relative;
    width: 100%;
}

.whatsapp-input-group {
    display: flex;
    gap: 10px;
}

.form-select-code {
    flex: 0 0 auto;
    width: 130px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: var(--white) !important;
    padding: 0 10px !important;
    font-family: var(--font-body);
    font-size: 0.85rem !important;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 12px) center !important;
}

.form-select-code:focus {
    border-color: var(--accent) !important;
}

/* Ensure mobile layout for dropdown */
@media (max-width: 767px) {
    .whatsapp-input-group {
        flex-direction: column;
        gap: 8px;
    }

    .form-select-code {
        width: 100% !important;
    }
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    color: var(--white);
    font-size: 1.4rem;
    font-family: var(--font-body);
    transition: border-color 0.4s var(--ease);
    outline: none;
}

.input-group textarea {
    height: 120px;
    resize: none;
    font-size: 1.1rem;
}

.input-glow {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.6s var(--ease);
}

.input-group input:focus+.input-glow,
.input-group textarea:focus+.input-glow {
    width: 100%;
}

/* Form Nav */
.form-nav {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

.form-btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.btn-primary {
    background: var(--white);
    color: var(--bg);
    border: none;
}

.btn-primary:hover:not(.disabled) {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-secondary:hover:not(.disabled) {
    border-color: var(--white);
}

.form-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.form-btn.hidden {
    display: none;
}

/* Progress */
.form-progress {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 20%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    transition: width 0.6s var(--ease);
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* Success State – Animated Checkmark */
.form-success {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.form-success.hidden {
    display: none;
}

.success-checkmark {
    margin-bottom: 28px;
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    overflow: hidden;
    flex-shrink: 0;
    animation: successBounce 0.6s 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.success-circle {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    display: block;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 3;
}

.circle-fill {
    fill: none;
    stroke: #22c55e;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transform-origin: center;
    transform: rotate(-90deg);
    animation: circleDrawIn 0.8s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.checkmark-path {
    fill: none;
    stroke: #22c55e;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: checkDrawIn 0.5s 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.success-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-subtitle {
    color: var(--text-dim);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes circleDrawIn {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkDrawIn {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes successBounce {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .contact__form-wrapper {
        padding: 40px 24px;
        min-height: 380px;
    }

    .form-question {
        font-size: 1.4rem;
    }

    .input-group input {
        font-size: 1.1rem;
    }

    .contact .section-title {
        margin-top: -48px;
        /* v14: Subir título otros 0.5cm over v13 (-38 -> -48) */
    }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(var(--panel-blur));
    -webkit-backdrop-filter: blur(var(--panel-blur));
    flex: 0 0 auto !important;
    min-width: auto !important;
    width: auto;
    padding: 0 80px;
}

.footer__copy {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    opacity: 0.8;
    white-space: nowrap;
}

.footer__copy a {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer__copy a:hover {
    color: var(--white);
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.4);
    opacity: 1;
}

/* =============================================
   CROSSFADER – PIONEER DJM STYLE
   ============================================= */
.crossfader {
    position: fixed;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 540px;
    max-width: 95vw;
    padding: 0;
    margin: 0;
    display: flex;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    /* v18: Previene el sombreado/selección de texto indeseado al arrastrar en móvil */
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    /* We use a specific animation to not overwrite the translateX(-50%) */
    animation: fadeInUpCrossfader 1.5s var(--ease-out) 1.2s both;
}

@keyframes fadeInUpCrossfader {
    from {
        opacity: 0;
        transform: translate(-50%, 24px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Section labels */
.crossfader__labels {
    position: relative;
    width: 460px;
    max-width: calc(95vw - 80px);
    /* Matches track width */
    height: 14px;
    padding: 0;
    margin: 0;
    z-index: 10;
    /* Make sure labels appear on top globally */
}

.crossfader__label {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: clamp(0.4rem, 1.5vw, 0.5rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.4;
    transition: opacity 0.3s, color 0.3s;
    cursor: pointer;
    user-select: none;
    z-index: 15;
}

.crossfader__label:hover {
    opacity: 1;
    color: var(--white);
}

.crossfader__label.active {
    color: var(--white);
    opacity: 1;
}

/* Individual label positions exactly matching track tick marks */
.crossfader__label:nth-child(1) {
    left: 3.48%;
}

.crossfader__label:nth-child(2) {
    left: 18.99%;
}

.crossfader__label:nth-child(3) {
    left: 34.49%;
}

.crossfader__label:nth-child(4) {
    left: 50%;
}

.crossfader__label:nth-child(5) {
    left: 65.51%;
}

.crossfader__label:nth-child(6) {
    left: 81.01%;
}

.crossfader__label:nth-child(7) {
    left: 96.52%;
}

.crossfader__housing {
    position: relative;
    width: 100%;
    height: 52px;
    background:
        linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.02) 50.5%, transparent 51%),
        linear-gradient(180deg,
            #1e1e1e 0%,
            #161616 5%,
            #0f0f0f 50%,
            #161616 95%,
            #1e1e1e 100%);
    background-size: 2px 100%, 100% 100%;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

/* Side screws / rivets – 4 corner screws for realism */
.crossfader__housing .screw-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.crossfader__housing .screw-layer::before,
.crossfader__housing .screw-layer::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #555 20%, #111 80%);
    border-radius: 50%;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.crossfader__housing .screw-layer::before {
    top: 6px;
    left: 8px;
    box-shadow:
        418px 0 0 0 #111,
        0 34px 0 0 #111,
        418px 34px 0 0 #111,
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Remove previous ::after screws to use the box-shadow above */
.crossfader__housing .screw-layer::after {
    display: none;
}

.crossfader__copyright {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.38rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    opacity: 0.6;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    pointer-events: none;
    line-height: 1.4;
}

.copyright-sep {
    margin: 0 4px;
}

.crossfader__legal {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.38rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    opacity: 0.5;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    transition: opacity 0.3s var(--ease);
}

/* Hide the mobile legal links on desktop */
.crossfader__legal--mobile {
    display: none;
}

.crossfader__legal:hover {
    opacity: 0.9;
}

/* Language & Legal Container (Bottom Right Corner) */
.language-legal-container {
    position: fixed;
    right: 32px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 9999;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 10, 0.6);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s var(--ease);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    opacity: 0.5;
    padding: 2px 4px;
}

.lang-btn:hover {
    color: var(--white);
    opacity: 0.8;
}

.lang-btn.active {
    color: var(--accent);
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

.lang-divider {
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.legal-sidebar-links {
    display: flex;
    gap: 8px;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    opacity: 0.5;
    transition: opacity 0.3s var(--ease);
    background: rgba(10, 10, 10, 0.4);
    padding: 5px 12px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.legal-sidebar-links:hover {
    opacity: 1;
}

.legal-sidebar-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

.legal-sidebar-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.legal-separator {
    opacity: 0.3;
}

/* Mobile Adjustments for Container */
@media (max-width: 767px) {
    .language-legal-container {
        right: 20px;
        bottom: 20px;
        align-items: center;
        gap: 8px;
    }

    .legal-sidebar-links {
        display: none;
    }
}

.crossfader__copyright a {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
    /* Enable clicks only for the link */
    transition: all 0.3s var(--ease);
}

.crossfader__copyright a:hover {
    color: var(--white);
    text-shadow:
        0 0 8px rgba(0, 255, 204, 0.6),
        0 0 16px rgba(0, 255, 204, 0.3);
    opacity: 1;
}

/* Track channel – recessed groove */
.crossfader__track {
    position: relative;
    width: 100%;
    height: 6px;
    background: #050505;
    border-radius: 3px;
    cursor: pointer;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.9),
        0 1px 0 rgba(255, 255, 255, 0.03);
    border: 1px solid #1a1a1a;
}

/* Tick marks along the track - Exact 7 stops aligned with labels */
.crossfader__track::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 34px;
    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(80, 80, 80, 0.4) 3.48%,
            transparent 3.48%, transparent 18.99%,
            rgba(80, 80, 80, 0.4) 18.99%,
            transparent 18.99%, transparent 34.49%,
            rgba(80, 80, 80, 0.4) 34.49%,
            transparent 34.49%, transparent 50%,
            rgba(80, 80, 80, 0.4) 50%,
            transparent 50%, transparent 65.51%,
            rgba(80, 80, 80, 0.4) 65.51%,
            transparent 65.51%, transparent 81.01%,
            rgba(80, 80, 80, 0.4) 81.01%,
            transparent 81.01%, transparent 96.52%,
            rgba(80, 80, 80, 0.4) 96.52%,
            transparent 96.52%);
    background-size: 100% 100%;
    /* We use a thin line for each stop */
    background-repeat: no-repeat;
    /* Redefining background to use exact center formulas matching the width and 16px radius of the knob */
    background:
        linear-gradient(90deg,
            transparent calc(16px + (100% - 32px) * 0 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 0 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 0 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 0 / 6 + 0.5px),
            transparent calc(16px + (100% - 32px) * 1 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 1 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 1 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 1 / 6 + 0.5px),
            transparent calc(16px + (100% - 32px) * 2 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 2 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 2 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 2 / 6 + 0.5px),
            transparent calc(16px + (100% - 32px) * 3 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 3 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 3 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 3 / 6 + 0.5px),
            transparent calc(16px + (100% - 32px) * 4 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 4 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 4 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 4 / 6 + 0.5px),
            transparent calc(16px + (100% - 32px) * 5 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 5 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 5 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 5 / 6 + 0.5px),
            transparent calc(16px + (100% - 32px) * 6 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 6 / 6 - 0.5px), rgba(80, 80, 80, 0.5) calc(16px + (100% - 32px) * 6 / 6 + 0.5px), transparent calc(16px + (100% - 32px) * 6 / 6 + 0.5px));
    -webkit-mask-image: linear-gradient(180deg,
            white 0%, white 30%,
            transparent 30%, transparent 70%,
            white 70%, white 100%);
    mask-image: linear-gradient(180deg,
            white 0%, white 30%,
            transparent 30%, transparent 70%,
            white 70%, white 100%);
    pointer-events: none;
}

/* Knob – Pioneer DJM style fader cap */
.crossfader__knob {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 38px;
    cursor: grab;
    z-index: 5;
    background: linear-gradient(180deg,
            #444 0%,
            #222 10%,
            #111 50%,
            #222 90%,
            #444 100%);
    border-radius: 2px;
    border: 1px solid #333;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Center indicator line – Vertical for Pioneer faders */
.crossfader__knob::before {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    border-radius: 0.5px;
}

/* Grip texture – horizontal ridges on the sides */
.crossfader__knob::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 4px;
    right: 4px;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.3) 0px,
            rgba(0, 0, 0, 0.3) 2px,
            transparent 2px,
            transparent 4px);
    pointer-events: none;
}

.crossfader__knob:active {
    cursor: grabbing;
    box-shadow:
        0 1px 6px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(100, 100, 100, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* =============================================
   RESPONSIVE – TABLET+
   ============================================= */
@media (min-width: 768px) {
    .social__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* =============================================
   RESPONSIVE – DESKTOP
   ============================================= */
@media (min-width: 1024px) {
    .social__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        max-width: 760px;
    }

    .release__card {
        padding: 64px 48px;
    }
}

/* =============================================
   MINI MUSIC PLAYER
   ============================================= */
#music-video {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.mini-player {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 200;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s var(--ease);
    animation: fadeInPlayer 1s var(--ease) 2s both;
}

@keyframes fadeInPlayer {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mini-player:hover {
    background: rgba(20, 20, 20, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hidden-player {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mini-player__content {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Visualizer Bars */
.mini-player__visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    width: 20px;
    height: 18px;
}

.mini-player__visualizer span {
    width: 3px;
    background: var(--accent);
    border-radius: 1px;
    animation: visualizerAnim 1s ease-in-out infinite alternate;
    height: 30%;
}

.mini-player__visualizer.active span {
    animation-play-state: running;
}

.mini-player__visualizer span:nth-child(2) {
    animation-delay: 0.2s;
    height: 60%;
}

.mini-player__visualizer span:nth-child(3) {
    animation-delay: 0.4s;
    height: 40%;
}

.mini-player__visualizer span:nth-child(4) {
    animation-delay: 0.1s;
    height: 70%;
}

@keyframes visualizerAnim {
    from {
        height: 20%;
    }

    to {
        height: 100%;
    }
}

.mini-player:not(.playing) .mini-player__visualizer span {
    animation-play-state: paused;
    height: 15% !important;
}

.mini-player__info {
    display: flex;
    flex-direction: column;
}

.mini-player__label {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2px;
}

.mini-player__track {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 500;
    white-space: nowrap;
}

.mini-player__controls {
    display: flex;
    gap: 8px;
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 14px;
}

.mini-player__btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.mini-player__btn:hover {
    color: var(--white);
    transform: scale(1.1);
}

.mini-player__btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Volume Slider Styles */
.mini-player__volume {
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    transition: width 0.4s var(--ease), margin 0.4s var(--ease);
    margin-left: 0;
}

.mini-player:hover .mini-player__volume,
.mini-player__volume:hover,
.mini-player__volume:focus-within {
    width: 80px;
    margin-left: 10px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    background: var(--white);
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hidden {
    display: none !important;
}

/* Mobile: refinements for legibility and overlaps */
@media (max-width: 767px) {

    /* Fixed Video Background on Mobile */
    .hero__video-wrapper {
        position: fixed;
        height: 100vh;
        height: 100dvh;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: -2;
    }

    .hero__video-wrapper iframe {
        width: 177.78vh;
        /* Exact 16:9 ratio with height: 100vh */
        height: 100vh;
        min-width: 100vw;
        min-height: 56.25vw;
        /* 9/16 ratio to cover width if needed */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Global Section Container Fixes */
    .section-container {
        padding: 140px 24px 120px !important;
        /* Adjusted for dvh and less overlap */
        height: 100vh;
        height: 100dvh;
        /* Revert to 100vh but handle overflow */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Do not center vertically if content is tall */
        overflow-y: auto;
        scrollbar-width: none;
    }

    .section-container::-webkit-scrollbar {
        display: none;
    }

    .hero .section-container {
        justify-content: center;
        padding-top: 40px !important;
        padding-bottom: 100px !important;
    }

    .hero__logo-img {
        width: 157vw;
        /* -5% reduction for v12 */
        max-width: 505px;
    }

    .hero__subtitle {
        font-size: 0.43rem !important;
        letter-spacing: 0.42em !important;
        margin-top: -63px !important;
    }

    /* v15: Target actual HTML class (hero__tagline, not hero__subtitle) */
    .hero__tagline {
        font-size: 0.43rem !important;
        /* v15: 10% smaller than base mobile */
        letter-spacing: 0.42em !important;
        margin-top: -19px !important;
        /* v15: Pull up 0.5cm closer to logo */
    }

    /* Biography */
    .biography {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh;
    }

    .biography .section-container {
        display: flex;
        flex-direction: column;
        max-width: 100vw;
        padding: 57px 40px 140px !important;
        /* v13: Subir otros 0.5cm over v12 (76 -> 57) */
        overflow: hidden !important;
        height: 100vh !important;
        height: 100dvh !important;
        box-sizing: border-box;
    }

    .biography .section-container {
        padding-top: 134px !important;
        /* v17: Bajar título 3cm extra (aprox 114px más) */
    }

    .biography .section-container::-webkit-scrollbar {
        display: none !important;
    }

    .biography__text {
        padding: 0;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
        margin-top: -38px;
        /* v13: Subir contenido otros 0.5cm (prev -19 -> -38) */
    }

    .biography__text p {
        font-size: 0.72rem;
        /* Texto un poco más grande */
        line-height: 1.45;
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
        opacity: 0.9;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
        /* Sin palabras cortadas */
    }

    /* Social Grid */
    .orbit-label {
        display: none;
    }

    .orbit-label.active {
        display: block !important;
    }

    .social .section-container {
        padding-top: 52px !important;
        /* v18: Subir título y redes 8mm (aprox 30px, prev 82 -> 52) */
    }

    .social__grid {
        display: block;
        margin-top: -160px;
        /* v14: Subir conjunto significativamente para evitar crossfader (prev -112 -> -160) */
    }

    .social__link {
        width: 100%;
        margin-bottom: 6px;
        padding: 12px 16px;
        /* Más compacto */
        gap: 10px;
    }

    /* Release Card */
    .release .section-container {
        padding-top: 90px !important;
        /* v16: Bajar título medio cm extra (70 -> 90) */
    }

    .release__card {
        padding: 20px 30px 20px;
        /* v13: More square, better side usage (30px side padding) */
        margin: 0;
        width: 100%;
        border-radius: 12px;
        gap: 12px;
        margin-top: -38px;
        /* v17: Subir recuadro 1cm (aprox -38px) */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        /* v17: Quitar recuadro para que destaque cover art y botón */
    }

    .release__card-bg {
        display: none !important;
        /* v17: Ocultar el fondo dinámico borroso en móvil */
    }

    .release__visuals {
        gap: 12px;
        flex: 0 0 auto;
    }

    .release__info {
        align-items: center;
        text-align: center;
    }

    .release__cover {
        width: 250px;
        /* v16: Agrandar cover 50% (165 -> 250px) */
        margin-bottom: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        /* v16: Sombra limpia sin defecto brillante en móvil */
    }

    .release__year {
        display: none !important;
        /* v15: Hidden as part of 'artista/track' space optimization */
    }

    .release__label {
        display: none !important;
        /* v14: Hidden to focus on cover */
    }

    .release__title {
        display: none !important;
        /* v14: Hidden to focus on cover */
    }

    .release__artist {
        display: none !important;
        /* v15: Hidden to focus on cover as well */
    }

    .release__cta {
        padding: 8px 16px;
        font-size: 0.65rem;
        align-self: center;
        margin-top: 10px;
    }

    .release .section-title {
        font-size: 1.3rem;
        margin-top: 0px;
        /* v15: Reset from -45px so title is fully visible */
    }

    .release__upcoming {
        font-size: 0.5rem;
        letter-spacing: 0.08em;
        opacity: 0.6;
        margin-top: 10px;
    }

    /* Dates Section Mobile */
    .date-item {
        padding: 20px 24px;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
        /* Espacio aumentado entre info y botón */
    }

    .date-day {
        font-size: 0.85rem;
    }

    /* Contact section title - ensure visible on mobile */
    .contact .section-title {
        margin-top: -10px !important;
        /* v15: Small pull-up, spacing comes from reduced form margin */
    }

    .contact .section-container {
        padding-top: 90px !important;
        /* v16: Bajar título medio cm extra (70 -> 90) */
    }

    /* Crossfader & Navigation UI Overlap Fixes */
    .crossfader {
        bottom: 50px;
        gap: 6px;
    }

    /* Fixed UI Elements Refresh */
    .language-legal-container {
        left: 20px;
        right: auto;
        top: 20px;
        bottom: auto;
        align-items: flex-start;
        /* Acomodado a la izquierda */
    }

    .language-switcher {
        padding: 5px 8px;
        z-index: 10001;
    }

    .legal-sidebar-links {
        padding: 4px 8px;
        font-size: 0.5rem;
    }

    .mini-player {
        top: 15px;
        right: 15px;
        left: auto;
        bottom: auto;
        transform: scale(0.85);
        /* Slightly larger for legibility */
        transform-origin: top right;
        padding: 8px 12px;
        gap: 12px;
        z-index: 10000;
        max-width: 260px;
        /* Increased to fit track name */
        background: rgba(10, 10, 10, 0.6);
    }

    .mini-player__info {
        display: flex !important;
        /* Restore track info */
    }

    .mini-player__track {
        font-size: 0.65rem;
    }

    .mini-player__label {
        font-size: 0.45rem;
    }

    /* Vertical Volume Slider for Mobile */
    .mini-player__volume {
        position: absolute;
        top: 100%;
        right: 15px;
        width: 32px;
        height: 0;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        background: rgba(20, 20, 20, 0.85);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 0;
        margin: 0;
        transition: height 0.3s var(--ease), padding 0.3s var(--ease), border 0.3s var(--ease);
        border: 0 solid rgba(255, 255, 255, 0.1);
    }

    .mini-player:hover .mini-player__volume,
    .mini-player__volume:hover,
    .mini-player__volume:focus-within {
        height: 100px;
        padding: 10px 0;
        width: 32px;
        margin-left: 0;
        border-width: 1px;
    }

    .volume-slider {
        width: 80px;
        height: 4px;
        transform: rotate(90deg);
        transform-origin: center;
        margin: 38px 0;
    }

    .crossfader__labels {
        /* Match the track width exactly. The housing has padding: 0 32px,
           so the track (100% of housing content) = crossfader width - 64px.
           Labels are a sibling of housing, so their 100% = crossfader width.
           Therefore labels width = calc(100% - 64px) = track width. */
        width: calc(100% - 64px) !important;
        /* CRITICAL: Remove the desktop max-width: calc(95vw - 80px) constraint.
           On a 390px phone that evaluates to ~290px while the track is ~306px,
           compressing labels inward and causing edge misalignment. */
        max-width: none !important;
        margin: 0 !important;
        margin-bottom: 8px !important;
        padding: 0;
        z-index: 20;
    }

    /* Fix mathematically perfect offsets: Knob center travels between 16px and (100% - 16px) */
    .crossfader__label:nth-child(1) {
        left: 16px !important;
        /* Visual adjustment 2px left */
    }

    .crossfader__label:nth-child(2) {
        left: calc(16px + (100% - 32px) * 1 / 6) !important;
    }

    .crossfader__label:nth-child(3) {
        left: calc(16px + (100% - 32px) * 2 / 6) !important;
    }

    .crossfader__label:nth-child(4) {
        left: 50% !important;
    }

    .crossfader__label:nth-child(5) {
        left: calc(16px + (100% - 32px) * 4 / 6) !important;
    }

    .crossfader__label:nth-child(6) {
        left: calc(16px + (100% - 32px) * 5 / 6) !important;
    }

    .crossfader__label:nth-child(7) {
        left: calc(100% - 16px) !important;
    }

    .crossfader__label {
        /* THE CRITICAL FIX: To center perfectly when rotated -90deg, 
           and bypass iOS Safari bugs with percentage translate,
           we use a fixed width symmetrically placed via negative margin. */
        width: 200px !important;
        margin-left: -100px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;

        overflow: visible;
        white-space: nowrap;

        transform-origin: center center;
        /* We ONLY lift it and rotate it. No percentage X translation! */
        /* Translate Y is adjusted slightly to account for the fixed 20px height block */
        transform: translateY(-37px) rotate(-90deg);

        font-size: 0.55rem;
        font-weight: 600;
        letter-spacing: 0.12em;

        /* ABSOLUTE HEIGHT NORMALIZATION
           Different words have different pixel heights (accents, descenders).
           When rotated 90deg around the center, different heights = shifted X axis!
           Forcing exactly 20px height guarantees pixel-perfect math alignment. */
        height: 20px !important;
        line-height: 20px !important;
        padding: 0 !important;

        transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
        z-index: 25;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    }

    .contact__form-wrapper {
        padding: 24px 20px;
        transform: scale(0.9);
        transform-origin: center top;
        min-height: auto;
        margin-top: -20px;
        /* v15: Reduced from -85px so title stays visible above the form */
        margin-bottom: 20px;
    }

    .form-btn {
        transform: scale(0.75);
        /* Achicar los botones en un 25% */
        transform-origin: center;
    }

    .crossfader__housing {
        height: 48px;
        padding: 0 32px;
        overflow: visible;
    }

    .crossfader__copyright {
        font-size: 0.38rem;
        bottom: -32px;
        white-space: normal;
        /* Permitir salto de línea */
        width: 100%;
        max-width: 250px;
        /* Forzar el salto */
        line-height: 1.3;
    }

    .copyright-sep {
        display: none;
        /* Quitar punto central en móvil si salta de línea */
    }

    .copyright-by {
        display: block;
        /* Forzar salto de línea */
    }

    .crossfader__legal--mobile {
        display: flex !important;
        position: absolute;
        bottom: -48px;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 0.4rem;
        letter-spacing: 0.08em;
        color: var(--text-dim);
        opacity: 0.6;
        white-space: nowrap;
        width: 100%;
        z-index: 200;
    }

    .footer {
        padding: 20px 40px 60px !important;
        /* Margen aumentado al final */
        height: 100vh;
        height: 100dvh;
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        flex-shrink: 0;
    }

    .footer__copy {
        font-size: 0.82rem;
        /* Texto más grande según pedido */
        opacity: 0.8;
        text-align: center;
        white-space: normal;
        /* Permite wrap en móviles pequeños */
    }

    .footer__legal {
        display: flex;
        gap: 12px;
        font-size: 0.65rem;
        opacity: 0.7;
    }
}

/* =============================================
   FOOTER & CROSSFADER LEGAL LINKS
   ============================================= */
.footer {
    min-width: 100vw;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 80px;
    /* Space for crossfader */
    flex-shrink: 0;
}

.footer__legal {
    margin-top: 32px;
    margin-bottom: 20px;
    /* 0.5cm approx */
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.footer__legal-link,
.crossfader__legal-link {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s var(--ease);
    cursor: pointer;
}

.footer__legal-link:hover,
.crossfader__legal-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__legal-sep,
.crossfader__legal-sep {
    margin: 0 6px;
    color: var(--text-dim);
    opacity: 0.5;
}

.crossfader__legal-link {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
}

.crossfader__legal-sep {
    font-size: 0.55rem;
}

/* =============================================
   LEGAL MODAL – Glassmorphism Pop-up
   ============================================= */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    position: relative;
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s var(--ease-out);
}

.legal-modal-overlay.active .legal-modal {
    transform: translateY(0) scale(1);
}

.legal-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
    z-index: 10;
    line-height: 1;
    padding: 4px 8px;
}

.legal-modal__close:hover {
    color: #d4a853;
    transform: scale(1.15);
}

.legal-modal__content {
    padding: 48px 40px 40px;
    overflow-y: auto;
    max-height: 85vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.legal-modal__content::-webkit-scrollbar {
    width: 5px;
}

.legal-modal__content::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal__content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.legal-modal__content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-modal__content h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin: 28px 0 12px;
}

.legal-modal__content p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-modal__content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.legal-modal__content li {
    position: relative;
    padding-left: 18px;
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 4px;
}

.legal-modal__content li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--accent);
}

.legal-modal__content a {
    color: #d4a853;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-modal__content a:hover {
    color: #e8c878;
}

.legal-modal__content strong {
    color: var(--text);
    font-weight: 500;
}

/* Mobile adjustments for modal */
@media (max-width: 767px) {
    .legal-modal {
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .legal-modal__content {
        padding: 40px 24px 32px;
        max-height: 90vh;
    }

    .legal-modal__content h2 {
        font-size: 1.2rem;
    }

    .footer {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        padding-bottom: 80px;
        /* Space for crossfader */
    }

    .footer__legal {
        margin-top: 32px;
        margin-bottom: 20px;
        /* 0.5cm approx */
        display: flex;
        gap: 15px;
        justify-content: center;
        font-size: 0.65rem;
        letter-spacing: 0.05em;
        opacity: 0.6;
        transition: opacity 0.3s var(--ease);
    }

    .footer__legal:hover {
        opacity: 1;
    }

    .footer__legal-link {
        color: var(--white);
        text-decoration: none;
    }

    .footer__legal-link:hover {
        text-decoration: underline;
    }

    .footer__legal-sep {
        color: var(--text-dim);
        opacity: 0.4;
    }

    .crossfader__legal-link {
        font-size: 0.3rem;
    }

    .crossfader__legal-sep {
        font-size: 0.3rem;
        margin: 0 3px;
    }
}

/* ---------- Footer Branding ---------- */
.site-footer {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 99;
    pointer-events: none;
    /* Let clicks pass through if covered, but link will reset this */
}

.footer-credit {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.45;
    transition: all 0.5s var(--ease);
    pointer-events: auto;
}

.footer-credit a {
    color: var(--accent);
    font-weight: 500;
    transition: all 0.4s var(--ease);
    display: inline-block;
}

.footer-credit:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-credit a:hover {
    color: #00ffff;
    /* NEON AQUA */
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.4);
    letter-spacing: 0.28em;
}

@media (max-width: 991px) {
    .site-footer {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
        text-align: center;
        padding-bottom: 25px;
        margin-top: 40px;
    }

    .footer-credit {
        font-size: 0.55rem;
        letter-spacing: 0.22em;
    }
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(180, 180, 180, 0.2);
    color: var(--white);
}