/* --- Reset básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Evita que haya scroll */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #050505;
    cursor: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iQ2FwYV8yIiBkYXRhLW5hbWU9IkNhcGEgMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNDcuOTcgNTUiIHdpZHRoPSI0OCIgaGVpZ2h0PSI1NSI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2VkMWMyNDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGcgaWQ9IkNhcGFfMS0yIiBkYXRhLW5hbWU9IkNhcGEgMSI+CiAgICA8Zz4KICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMjMuNiw1MS4xbC4xOCwxLjY1Ljc3LDIuMjRjLjE2LTUuMjIuODEtOS44MywzLjA0LTE0LjQ3LDIuODMtNS44OSw4LjEtMTAuMTYsMTQuNDctMTEuNjQsMi4wMS0uNDcsMy45NC0uOTMsNS45Mi0xLjUxLTMuMTItLjIyLTYuMDMtLjcyLTguODctMS44Mi00LjcyLTEuODItOC41NS01LjE2LTEwLjk3LTkuNi0yLjY1LTQuODctMy41Mi0xMC4zMy0zLjU2LTE1Ljk2LS42LjY1LS44NiwxLjQ2LS45MiwyLjNsLS4xNywyLjM1Yy0uMzIsMi43OC0uOTMsNS40Ni0xLjg0LDguMS0xLjgxLDUuMjItNC45NCw5LjQyLTEwLjA2LDExLjY2LTEuNDEuNjItMi44LDEuMDktNC4zLDEuNDRsLTQuOSwxLjEzYy0uODQuMTktMS42My40Mi0yLjM3Ljg3LDcuMDMuMSwxMy4zLDIuMzYsMTcuNzMsNy43NiwzLjY0LDQuNDMsNS4yNiw5Ljg0LDUuODYsMTUuNDhaIi8+CiAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTIzLjYsNTEuMWMtLjYtNS42NC0yLjIyLTExLjA1LTUuODYtMTUuNDgtNC40My01LjQtMTAuNzEtNy42NS0xNy43My03Ljc2Ljc0LS40NiwxLjU0LS42OCwyLjM3LS44N2w0LjktMS4xM2MxLjUtLjM1LDIuODktLjgyLDQuMy0xLjQ0LDUuMTMtMi4yNSw4LjI2LTYuNDQsMTAuMDYtMTEuNjYuOTEtMi42NCwxLjUzLTUuMzIsMS44NC04LjFsLjE3LTIuMzVjLjA2LS44NS4zMi0xLjY1LjkyLTIuMy4wNCw1LjYzLjkxLDExLjA5LDMuNTYsMTUuOTYsMi40Miw0LjQ1LDYuMjQsNy43OCwxMC45Nyw5LjYsMi44NSwxLjEsNS43NSwxLjYsOC44NywxLjgyLTEuOTguNTctMy45MSwxLjA0LTUuOTIsMS41MS02LjM3LDEuNDgtMTEuNjUsNS43NS0xNC40NywxMS42NC0yLjIzLDQuNjQtMi44OCw5LjI1LTMuMDQsMTQuNDdsLS43Ny0yLjI0LS4xOC0xLjY1WiIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+') 24 27, auto;
}

a, button, [data-slide], [data-youtube], [data-lang],
input[type="submit"], label[for], select {
    cursor: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iQ2FwYV8yIiBkYXRhLW5hbWU9IkNhcGEgMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNDcuOTcgNTUiIHdpZHRoPSI0OCIgaGVpZ2h0PSI1NSI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2Y1YzgwMDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGcgaWQ9IkNhcGFfMS0yIiBkYXRhLW5hbWU9IkNhcGEgMSI+CiAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yMy42LDUxLjFjLS42LTUuNjQtMi4yMi0xMS4wNS01Ljg2LTE1LjQ4LTQuNDMtNS40LTEwLjcxLTcuNjUtMTcuNzMtNy43Ni43NC0uNDYsMS41NC0uNjgsMi4zNy0uODdsNC45LTEuMTNjMS41LS4zNSwyLjg5LS44Miw0LjMtMS40NCw1LjEzLTIuMjUsOC4yNi02LjQ0LDEwLjA2LTExLjY2LjkxLTIuNjQsMS41My01LjMyLDEuODQtOC4xbC4xNy0yLjM1Yy4wNi0uODUuMzItMS42NS45Mi0yLjMuMDQsNS42My45MSwxMS4wOSwzLjU2LDE1Ljk2LDIuNDIsNC40NSw2LjI0LDcuNzgsMTAuOTcsOS42LDIuODUsMS4xLDUuNzUsMS42LDguODcsMS44Mi0xLjk4LjU3LTMuOTEsMS4wNC01LjkyLDEuNTEtNi4zNywxLjQ4LTExLjY1LDUuNzUtMTQuNDcsMTEuNjQtMi4yMyw0LjY0LTIuODgsOS4yNS0zLjA0LDE0LjQ3bC0uNzctMi4yNC0uMTgtMS42NVoiLz4KICA8L2c+Cjwvc3ZnPg==') 24 27, pointer;
}

/* --- Slider de Fondo --- */
.hero-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.slider-track {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    z-index: 1;
}

.media-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que el video cubra toda la pantalla sin distorsionarse */
    pointer-events: none; /* Evita que el usuario interactúe con el video */
    filter: saturate(0.95) contrast(1.05);
    z-index: 0;
    opacity: 1;
    transition: opacity 0.45s ease;
}

.hero-slider[data-active-slide="1"] .video-background,
.hero-slider[data-active-slide="2"] .video-background,
.hero-slider[data-active-slide="3"] .video-background {
    opacity: 0;
}

.slide-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.62), rgba(229, 0, 0, 0.08));
    pointer-events: none;
}

.slide-home .slide-tint {
    background: transparent;
}

.slide-music .slide-tint {
    background: transparent;
}

.slide-tour .slide-tint {
    background: radial-gradient(circle at center, rgba(55, 68, 255, 0.25), rgba(5, 5, 80, 0.12) 55%, rgba(0, 0, 0, 0) 100%);
}

.slide-newsletter .slide-tint {
    background: transparent;
}

.slide-music {
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    overscroll-behavior-y: contain;
    background: #1a1a1d url("images/fondo_negro_bratty.png") center / cover no-repeat;
}

.slide-music::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

.slide-music::-webkit-scrollbar {
    width: 8px;
}

.slide-music::-webkit-scrollbar-thumb {
    background: rgba(229, 0, 0, 0.35);
}

/* Ocultar sidebar de redes en música y tour: solo en móvil (ver @media max-width:600px) */

.slide-tour {
    background:
        linear-gradient(180deg, rgba(10, 16, 46, 0.18), rgba(5, 6, 22, 0.42)),
        url("images/fonfo_azul.png") center / cover no-repeat;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
}

.slide-newsletter {
    background: #050505;
}

.newsletter-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.slide-caption {
    position: absolute;
    left: 50%;
    bottom: 115px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.16em;
    text-align: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.media-slide:not(.is-active) .slide-caption {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
}

.slide-caption-kanji {
    font-size: 14px;
}

.slide-caption h2 {
    font-size: clamp(24px, 4vw, 54px);
    font-style: italic;
}

.mobile-swipe-hint {
    display: none;
}

.music-scroll {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
}

.music-screen {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    padding: 126px 0 0;
}

.music-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 0 40px 60px;
}

/* --- Social footer (música y tour): solo visible en móvil --- */
.slide-social-footer {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 14px 0 18px;
    width: 100%;
}

.slide-social-footer a {
    color: #e50000;
    font-size: 29px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.slide-social-footer a:hover {
    transform: scale(1.15);
    color: #ffffff;
}

.music-video-card {
    display: block;
    width: min(660px, calc(100% - 220px));
    text-decoration: none;
}

.music-video-card-karma {
    margin-top: 28px;
}

.music-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 4px 0 -4px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.music-scroll-hint span {
    font-size: 11px;
    font-weight: 700;
}

.music-scroll-arrow {
    position: relative;
    width: 2px;
    height: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 0, 0, 0.2));
    animation: musicScrollCue 1.35s ease-in-out infinite;
}

.music-scroll-arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.92);
    border-bottom: 2px solid rgba(255, 255, 255, 0.92);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes musicScrollCue {
    0% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
}

.music-video-frame {
    position: relative;
    aspect-ratio: 1 / 0.76;
    border: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.music-video-gif {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-mobile-background {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.newsletter-600-background {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.music-video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2));
    z-index: 0;
}

.music-video-frame span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: clamp(28px, 4.7vw, 66px);
    font-weight: 900;
    line-height: 0.95;
    text-align: center;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.music-video-tu-nombre {
    background: #2a1414;
}

.music-video-karma {
    background: #08122a;
}

.music-video-otro-dia {
    background: #415152;
}

.music-merch {
    border-top: 1px solid rgba(0, 0, 0, 0.28);
    padding: 74px 40px 90px;
}

.music-merch-inner {
    width: min(1020px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 204px minmax(0, 1fr) 204px;
    align-items: center;
    gap: 28px;
}

.music-gadget {
    position: relative;
}

.music-gadget-chain {
    width: 173px;
    margin-top: 34px;
    justify-self: center;
}

.music-gadget-chain img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.music-gadget-player {
    width: 221px;
    transform: rotate(16deg);
    justify-self: center;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.music-gadget-player img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.music-polaroids {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 252px));
    justify-content: center;
    gap: 18px 28px;
}

.polaroid {
    position: relative;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.polaroid-left-top {
    transform: rotate(-8deg);
}

.polaroid-right-top {
    transform: rotate(7deg);
}

.polaroid-left-bottom {
    transform: rotate(11deg);
}

.polaroid-right-bottom {
    transform: rotate(-5deg);
}

.polaroid-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin-bottom: 0;
    object-fit: contain;
}

.tour-screen {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 180px));
    margin: 0 auto;
    padding: 130px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f4f2ec;
}

.tour-list {
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 100%;
}

.tour-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.tour-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tour-date,
.tour-copy h3 {
    font-size: clamp(22px, 3.36vw, 45px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.tour-copy h3 {
    max-width: none;
    white-space: nowrap;
}

.ticket-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 163px;
    padding: 10px 15px;
    margin-top: 0;
    margin-right: 68px;
    justify-self: start;
    background: transparent;
    color: #e50000;
    text-decoration: none;
    font-size: clamp(19px, 2.16vw, 30px);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ticket-button:hover {
    transform: translateY(-2px);
    background: #e50000;
    color: #ffffff;
    filter: brightness(1.08);
}

.newsletter-screen {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 80px 110px;
}

.newsletter-box-scene {
    --nws: 1;
    position: relative;
    width: min(1061px, 100%);
    aspect-ratio: 1.85 / 1;
}

.newsletter-box-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.newsletter-panel {
    position: absolute;
    left: 29%;
    right: 28%;
    top: 37%;
    bottom: 10%;
    padding: calc(20px * var(--nws)) calc(14px * var(--nws));
    display: flex;
    justify-content: center;
}

.newsletter-form-scale {
    width: 100%;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: calc(8px * var(--nws));
    color: #1f1309;
    width: 100%;
    height: 100%;
}

.newsletter-form label {
    font-size: calc(14px * var(--nws));
    font-weight: 700;
}

.newsletter-form input,
.newsletter-form select,
.newsletter-form .country-search-input {
    width: 100%;
    height: calc(32px * var(--nws));
    padding: 0 calc(12px * var(--nws));
    border: calc(2px * var(--nws)) solid rgba(73, 44, 24, 0.38);
    border-radius: calc(10px * var(--nws));
    background: rgba(244, 221, 190, 0.58);
    color: #2b1a0c;
    font-size: calc(13px * var(--nws));
    font-weight: 600;
}

.country-search-wrap {
    position: relative;
    width: 100%;
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: calc(150px * var(--nws));
    overflow-y: auto;
    background: rgba(244, 221, 190, 0.97);
    border: calc(2px * var(--nws)) solid rgba(73, 44, 24, 0.38);
    border-radius: calc(10px * var(--nws));
    list-style: none;
    margin: 0;
    padding: calc(4px * var(--nws)) 0;
    z-index: 100;
    box-shadow: 0 calc(8px * var(--nws)) calc(20px * var(--nws)) rgba(0,0,0,0.18);
}

.country-dropdown li {
    padding: calc(6px * var(--nws)) calc(12px * var(--nws));
    font-size: calc(13px * var(--nws));
    font-weight: 600;
    color: #2b1a0c;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-dropdown li:hover,
.country-dropdown li.is-highlighted {
    background: rgba(229, 0, 0, 0.12);
    color: #c00;
}

.newsletter-form-footer {
    margin-top: calc(8px * var(--nws));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(10px * var(--nws));
}

.newsletter-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8px * var(--nws));
    width: 100%;
    background: rgba(244, 229, 200, 0.55);
    border-radius: calc(8px * var(--nws));
    padding: calc(6px * var(--nws)) calc(8px * var(--nws));
}

.newsletter-consent input {
    width: calc(11px * var(--nws));
    height: calc(11px * var(--nws));
    flex: 0 0 auto;
    accent-color: #1d3ad6;
}

.newsletter-consent span {
    font-size: calc(10px * var(--nws));
    line-height: 1.2;
}

.newsletter-form button {
    border: 0;
    border-radius: calc(12px * var(--nws));
    padding: calc(8px * var(--nws)) calc(16px * var(--nws));
    background: #e50000;
    color: #ffffff;
    font-size: calc(16px * var(--nws));
    font-weight: 900;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.newsletter-form button:hover {
    filter: brightness(1.06);
}

.newsletter-form-status {
    margin: calc(6px * var(--nws)) 0 0;
    font-size: calc(12px * var(--nws));
    min-height: 1em;
    text-align: center;
}

.newsletter-form-status--success {
    color: #4caf50;
}

.newsletter-form-status--error {
    color: #ff5252;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.24);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    z-index: 2;
}

.slider-arrow:hover {
    background: rgba(229, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

/* --- Contenedor Overlay --- */
.overlay {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px; /* Margen general de los elementos respecto al borde */
    color: #e50000; /* Color rojo de la marca */
    z-index: 3;
    pointer-events: none;
}

.overlay a,
.overlay button,
.overlay input,
.overlay select,
.overlay textarea,
.overlay [role="button"] {
    pointer-events: auto;
}

/* --- Logo Izquierdo --- */
.logo-left {
    position: absolute;
    top: 20px;
    left: 30px;
}

.logo-left:hover img {
    filter: brightness(12);
}

.logo-home-link {
    display: block;
}

.logo-left img {
    height: 63px; /* Ajusta este tamaño según tu imagen */
    width: auto;
    transition: filter 0.05s ease;
}

/* --- Logo Derecho --- link wrapper --- */
.logo-right-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

/* Destello blanco momentáneo al hacer clic en cualquier logo */
.logo-flash-target img {
    transition: filter 0.15s ease;
}

/* Feedback inmediato mientras se mantiene presionado (CSS puro) */
.logo-home-link:active img,
.logo-right-link:active img {
    filter: brightness(0) invert(1);
    transition: filter 0s;
}

/* Flash post-clic gestionado por JS (escuchando en el <a>) */
.logo-home-link.is-flashing img,
.logo-right-link.is-flashing img {
    filter: brightness(0) invert(1);
}

/* --- Logo Derecho --- */
.logo-right {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo-right:hover img {
    filter: brightness(12);
}

.logo-right img {
    height: 72px; /* Ajusta según el ícono de la cara */
    transition: filter 0.05s ease;
}

.logo-kanji {
    font-size: 35px;
    font-weight: bold;
}

.logo-right:hover .logo-kanji {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    margin: 8px 0;
    border-radius: 999px;
    background: #e50000;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* --- Redes Sociales (Vertical) --- */
.social-sidebar {
    position: absolute;
    bottom: 55px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacio entre íconos */
}

.social-sidebar a {
    color: #e50000;
    font-size: 29px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.social-sidebar a:hover {
    transform: scale(1.1);
    opacity: 1;
    color: #ffffff;
}

.social-sidebar a:active,
.social-sidebar a:focus-visible {
    opacity: 1;
    color: #ffffff;
}

/* --- Navegación (Inferior Derecha) --- */
.nav-icon-rojo-wrap {
    display: none;
}

.bottom-nav {
    position: absolute;
    bottom: 55px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinea los textos a la derecha */
    gap: 20px;
}

/* Selector de Idioma */
.language-toggle {
    font-size: 17px;
    font-weight: bold;
    font-style: italic;
    color: #e50000;
}

.language-toggle a {
    color: #e50000;
    text-decoration: none;
    transition: color 0.18s ease;
}

.language-toggle a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.language-toggle a:focus-visible {
    color: #ffffff;
}

/* Lista de Enlaces */
.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.nav-links li a {
    color: #e50000;
    text-decoration: none;
    font-size: 29px;
    font-weight: 800; /* Texto grueso */
    font-style: italic;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links li a:hover {
    opacity: 1;
    color: #ffffff;
}

.nav-links li a:focus-visible {
    color: #ffffff;
    opacity: 1;
}

.nav-links li a:hover .kanji,
.nav-links li a:focus-visible .kanji {
    opacity: 1;
    transform: translateX(0);
}

.nav-links li a.is-current .kanji {
    opacity: 1;
    transform: translateX(0);
}

.nav-links li a.is-current {
    opacity: 1;
}

/* Estilo para las letras japonesas/chinas */
.kanji {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    transform: translateX(6px);
    opacity: 0;
    font-size: 17px;
    font-weight: 400;
    font-style: normal; /* Quita la itálica para los caracteres asiáticos */
    color: #ffd400;
    white-space: nowrap;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* iPad Pro 12.9" y tablets grandes en portrait (901px–1100px) */
@media (min-width: 901px) and (max-width: 1100px) {
    .tour-screen {
        width: calc(100% - 160px);
        padding: 120px 0 105px;
    }

    .tour-list {
        gap: 52px;
    }

    .tour-date,
    .tour-copy h3 {
        font-size: clamp(23px, 3.44vw, 46px);
    }

    .ticket-button {
        font-size: clamp(18px, 2.56vw, 34px);
    }
}

@media (max-width: 900px) {
    .slide-caption {
        bottom: 150px;
    }

    .music-video-card {
        width: min(620px, calc(100% - 150px));
    }

    .music-video-card-karma {
        margin-top: 20px;
    }

    .music-merch-inner {
        grid-template-columns: 144px minmax(0, 1fr) 156px;
        gap: 20px;
    }

    .music-polaroids {
        grid-template-columns: repeat(2, minmax(156px, 216px));
        gap: 16px 20px;
    }

    .tour-screen {
        width: calc(100% - 150px);
        padding: 110px 0 100px;
    }

    .tour-row {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: center;
    }

    .tour-copy {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .tour-copy h3 {
        max-width: 100%;
        white-space: normal;
    }

    .tour-date,
    .tour-copy h3 {
        font-size: clamp(18px, 3.74vw, 40px);
    }

    .ticket-button {
        min-width: 0;
        width: fit-content;
        margin-right: 0;
        font-size: clamp(13px, 2.56vw, 29px);
        justify-self: center;
    }

    .slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .bottom-nav {
        left: 30px;
        right: 30px;
        align-items: flex-start;
    }

    .nav-links {
        align-items: flex-start;
    }

    .nav-links li a {
        font-size: 26px;
    }

    .overlay {
        padding: 20px;
    }

    .slider-arrow {
        display: none;
    }

    .mobile-swipe-hint {
        position: absolute;
        left: 50%;
        bottom: 86px;
        transform: translateX(-50%);
        z-index: 3;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.78);
        letter-spacing: 0.22em;
        text-transform: uppercase;
        pointer-events: none;
        animation: mobileSwipeHintFloat 1.8s ease-in-out infinite;
    }

    .slide-newsletter .newsletter-background {
        display: none;
    }

    /* Fondo de la slide newsletter en tablet/móvil (mismo breakpoint que burger menu) */
    .slide-newsletter {
        background: #050505 url("images/fondonews.png") center / cover no-repeat;
    }

    .slide-newsletter .newsletter-mobile-background {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
        transform: scale(1.3);
        transform-origin: center center;
    }

    .newsletter-screen {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 88px 0 70px;
        overflow: hidden;
    }

    .newsletter-box-scene {
        flex: 1;
        min-height: 0;
        position: relative;
        width: 100%;
        aspect-ratio: auto;
        max-width: none;
        margin-top: 0;
        overflow: hidden;
    }

    .newsletter-box-image {
        display: none;
    }

    .newsletter-panel {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        bottom: auto;
        width: min(78vw, 310px);
        padding: clamp(14px, 4vw, 22px) clamp(12px, 3.5vw, 18px) clamp(12px, 3vw, 16px);
        border-radius: 20px;
        background: transparent;
        box-shadow: none;
        z-index: 1;
    }

    .newsletter-form-scale {
        width: 100%;
        transform: none;
        margin-left: 0;
    }

    .newsletter-form label {
        font-size: clamp(12px, 3.8vw, 16px);
    }

    .newsletter-form {
        align-items: stretch;
    }

    .newsletter-form > label {
        width: 100%;
    }

    .newsletter-form input,
    .newsletter-form select,
    .newsletter-form .country-search-input {
        width: 100%;
        height: clamp(34px, 9vw, 44px);
        font-size: clamp(13px, 3.5vw, 16px);
        border-radius: 10px;
        padding: 0 12px;
    }

    .newsletter-form-footer {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 8px;
    }

    .newsletter-consent {
        width: 100%;
        align-items: flex-start;
        gap: 6px;
    }

    .newsletter-consent input {
        width: 11px;
        height: 11px;
        flex-shrink: 0;
        accent-color: #1d3ad6;
    }

    .newsletter-consent span {
        display: block;
        white-space: normal;
        font-size: clamp(9px, 2.8vw, 12px);
        line-height: 1.3;
    }

    .newsletter-form button {
        width: 100%;
        min-width: 0;
        font-size: clamp(12px, 3.5vw, 14px);
        padding: 8px 12px;
    }

    .mobile-swipe-hint-text {
        font-size: 10px;
        font-weight: 700;
        white-space: nowrap;
    }

    .mobile-swipe-hint-line {
        position: relative;
        width: 36px;
        height: 1px;
        background: rgba(255, 255, 255, 0.62);
    }

    .mobile-swipe-hint-line::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 8px;
        height: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.8);
        border-right: 1px solid rgba(255, 255, 255, 0.8);
    }

    .mobile-swipe-hint-line-left::after {
        left: 0;
        transform: translateY(-50%) rotate(-135deg);
    }

    .mobile-swipe-hint-line-right::after {
        right: 0;
        transform: translateY(-50%) rotate(45deg);
    }

    .music-screen {
        padding-top: 146px;
    }

    .music-video-card {
        width: min(820px, calc(100% - 24px));
    }

    .music-scroll-hint {
        display: none;
    }

    .music-merch {
        padding: 58px 24px 96px;
    }

    .music-merch-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
        justify-items: center;
        gap: 20px 18px;
    }

    .music-polaroids {
        order: 1;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(130px, 188px));
        gap: 14px 16px;
    }

    .music-gadget-chain {
        order: 2;
        width: min(142px, 34vw);
        margin-top: 0;
        align-self: start;
    }

    .music-gadget-player {
        order: 3;
        width: min(156px, 37vw);
        margin-top: 0;
        align-self: start;
        transform: translateY(-14px) rotate(12deg);
    }

    .logo-left,
    .social-sidebar {
        left: 20px;
    }

    .logo-right,
    .bottom-nav {
        right: 20px;
    }

    .logo-left {
        top: 20px;
    }

    .logo-left img {
        height: 48px;
    }

    .logo-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        top: 20px;
        right: 20px;
        z-index: 3;
    }

    .logo-left {
        z-index: 3;
    }

    .social-sidebar {
        bottom: 44px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
        gap: 16px;
        z-index: 3;
    }

    .bottom-nav {
        position: absolute;
        top: 78px;
        bottom: 78px;
        left: 16px;
        right: 16px;
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        padding: 24px 32px;
        gap: 0;
        border-radius: 18px;
        border: none;
        background: #271ed1;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.97);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s 0.28s;
        z-index: 2;
        container-type: inline-size;
        container-name: mobile-nav;
    }

    .bottom-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s;
    }

    .nav-icon-rojo-wrap {
        display: none;
        position: absolute;
        top: 12px;
        right: 16px;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .nav-icon-rojo {
        height: clamp(70px, 11cqw, 80px);
        width: auto;
    }

    .nav-icon-kanji {
        font-size: clamp(30px, 5cqw, 36px);
        font-weight: bold;
        color: #e50000;
        line-height: 1;
    }

    .bottom-nav.is-open .nav-icon-rojo-wrap {
        display: flex;
    }

    .social-sidebar a {
        font-size: 34px;
    }

    .language-toggle {
        font-size: clamp(16px, 7vw, 38px);
        font-weight: normal;
        color: #ffffff;
    }

    .language-toggle a {
        color: #ffffff;
    }

    .language-toggle a:active {
        animation: mobileLanguageTap 0.32s ease;
    }

    .nav-links li a {
        font-size: clamp(18px, 7vw, 38px);
        color: #ffffff;
        opacity: 1;
    }

    @container mobile-nav (min-width: 1px) {
        .language-toggle {
            font-size: clamp(16px, 9cqw, 80px);
        }

        .nav-links li a {
            font-size: clamp(16px, 9cqw, 80px);
        }

        .kanji {
            font-size: clamp(11px, 7cqw, 56px);
            margin-right: clamp(8px, 2cqw, 18px);
        }
    }

    .language-toggle,
    .nav-links,
    .nav-links li,
    .nav-links li a {
        width: 100%;
    }

    .bottom-nav,
    .nav-links {
        align-items: flex-start;
    }

    .nav-links {
        gap: 0;
        width: 100%;
        justify-content: space-evenly;
        flex: 1;
    }

    .nav-links li a {
        justify-content: flex-start;
    }

    .kanji {
        position: static;
        order: 2;
        transform: none;
        margin-right: 0;
        margin-left: 12px;
        opacity: 1;
        color: #ffd400;
        font-size: clamp(10px, 3.2vw, 16px);
    }
}

@keyframes mobileSwipeHintFloat {
    0% {
        transform: translateX(-50%) translateX(0);
        opacity: 0.45;
    }

    35% {
        transform: translateX(-50%) translateX(-8px);
        opacity: 1;
    }

    70% {
        transform: translateX(-50%) translateX(8px);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateX(0);
        opacity: 0.45;
    }
}

/* --- Newsletter: imagen igual al tamaño de 900px para pantallas medianas-grandes --- */
@media (min-width: 1001px) and (max-width: 1300px) {
    .newsletter-screen {
        overflow: hidden;
        padding: 90px 80px;
    }

    .newsletter-box-scene {
        width: min(849px, 100%);
        transform: scale(1);
        transform-origin: center center;
    }
}

/* --- Newsletter: ajustes para tablets medianas (por encima del breakpoint móvil) --- */
@media (min-width: 901px) and (max-width: 1000px) {
    .newsletter-screen {
        overflow: hidden;
    }

    .newsletter-box-scene {
        transform: scale(1);
        transform-origin: center center;
    }

    /* Tour: centrado horizontal garantizado */
    .tour-screen {
        margin-left: auto;
        margin-right: auto;
    }

    .ticket-button {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .slider-arrow {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .slider-arrow:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .slider-arrow-left {
        left: 20px;
        right: auto;
    }

    .slider-arrow-right {
        right: 20px;
        left: auto;
    }

    .slide-caption {
        bottom: 180px;
        width: calc(100% - 40px);
    }

    .slide-caption h2 {
        font-size: 22px;
    }


@keyframes mobileLanguageTap {
    0% {
        color: #ffffff;
    }

    45% {
        color: #e50000;
    }

    100% {
        color: #ffffff;
    }
}
    .slide-music .slide-caption {
        display: none;
    }

    /* Social footer: visible solo en móvil en música y tour */
    .slide-social-footer {
        display: flex;
        flex-shrink: 0;
    }

    /* Music: convertir music-scroll en columna flex para que el footer
       quede dentro del viewport en lugar de debajo del scroll */
    .music-scroll {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .music-screen {
        flex: 1 0 auto;
        min-height: auto;
    }

    /* Tour: cambiar justificación a flex-start para que el footer
       quede visible al final del contenido */
    .tour-screen {
        justify-content: flex-start;
        padding-bottom: 20px;
    }

    /* Ocultar sidebar de redes en música y tour en móvil */
    .hero-slider[data-active-slide="1"] ~ .overlay .social-sidebar,
    .hero-slider[data-active-slide="2"] ~ .overlay .social-sidebar {
        display: none;
    }

    .tour-screen {
        width: calc(100% - 40px);
        padding: 100px 0 100px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .tour-list {
        width: 100%;
        gap: 30px;
    }

    .tour-row {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: center;
    }

    .tour-copy {
        align-items: center;
        text-align: center;
    }

    .tour-date,
    .tour-copy h3 {
        font-size: 22px;
        line-height: 1.02;
    }

    .tour-copy h3 {
        max-width: 100%;
        white-space: normal;
    }

    .ticket-button {
        min-width: 0;
        width: fit-content;
        padding: 10px 16px;
        font-size: 22px;
        margin-right: 0;
        justify-self: center;
    }
}

/* ---- YouTube inline modal ---- */
.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.yt-modal[hidden] {
    display: none;
}

.yt-modal-inner {
    position: relative;
    width: min(900px, 94vw);
    aspect-ratio: 16 / 9;
}

.yt-modal-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.yt-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.yt-modal-close:hover {
    color: #e50000;
}

/* --- Newsletter: newsletter600x600 en todos los tablets/iPads en modo vertical ---
   Cubre: iPad mini/Air/Pro 12.9" (1024px), Surface Pro (912px) y similares hasta 1370px */
@media (min-width: 601px) and (max-width: 1370px) and (orientation: portrait) {
    .slide-newsletter .newsletter-mobile-background {
        display: none;
    }

    .newsletter-600-background {
        display: block;
    }
}

/* --- Newsletter: iPad Pro (1024×1366) y Surface (912×1368) portrait ---
   Solo newsletter-600-background, sin imágenes superpuestas */
@media (min-width: 901px) and (max-width: 1370px) and (orientation: portrait) {
    .newsletter-box-image {
        display: none;
    }

    .newsletter-600-background {
        object-fit: contain;
        object-position: center center;
        transform: scale(1.96);
        transform-origin: center center;
    }

    .newsletter-box-scene {
        overflow: visible;
    }

    .newsletter-panel {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        bottom: auto;
        width: min(78vw, 484px);
        padding: clamp(22px, 4vw, 34px) clamp(18px, 3.5vw, 29px) clamp(18px, 3vw, 25px);
    }

    .newsletter-form label {
        font-size: clamp(18px, 3.8vw, 25px);
    }

    .newsletter-form input,
    .newsletter-form select,
    .newsletter-form .country-search-input {
        height: clamp(53px, 9vw, 69px);
        font-size: clamp(21px, 3.5vw, 25px);
    }

    .newsletter-consent span {
        font-size: clamp(14px, 2.8vw, 18px);
    }

    .newsletter-form button {
        font-size: clamp(18px, 3.5vw, 22px);
        padding: 13px 18px;
    }
}

/* --- Newsletter: Surface (912×1368) portrait — imagen 10% más grande --- */
@media (min-width: 901px) and (max-width: 930px) and (orientation: portrait) {
    .newsletter-600-background {
        transform: scale(2.156);
        transform-origin: center center;
    }
}

/* --- Newsletter: iPad mini (768×1024) e iPad Air (820×1180) portrait — imagen y formulario 20% más grandes --- */
@media (min-width: 601px) and (max-width: 900px) and (orientation: portrait) {
    .newsletter-600-background {
        object-fit: contain;
        object-position: center center;
        transform: scale(0.84);
        transform-origin: center center;
    }

    .newsletter-box-scene {
        overflow: visible;
    }

    .newsletter-panel {
        width: min(78vw, 372px);
        padding: clamp(17px, 4vw, 26px) clamp(14px, 3.5vw, 22px) clamp(14px, 3vw, 19px);
    }

    .newsletter-form label {
        font-size: clamp(14px, 3.8vw, 19px);
    }

    .newsletter-form input,
    .newsletter-form select,
    .newsletter-form .country-search-input {
        height: clamp(41px, 9vw, 53px);
        font-size: clamp(16px, 3.5vw, 19px);
    }

    .newsletter-consent span {
        font-size: clamp(11px, 2.8vw, 14px);
    }

    .newsletter-form button {
        font-size: clamp(14px, 3.5vw, 17px);
        padding: 10px 14px;
    }
}

/* --- Newsletter: newsletter600x600 para 540×720px --- */
@media (max-width: 540px) and (max-height: 720px) {
    .slide-newsletter .newsletter-mobile-background {
        display: none;
    }

    .newsletter-600-background {
        display: block;
    }
}