/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #dddbd6;
    color: #ff1a00;
}

html {
    scroll-behavior: smooth;
}

/* ================= LOADER ================= */

#pageLoader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#pageLoader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
    letter-spacing: 6px;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid #ff1a00;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-content p {
    font-size: 14px;
    font-weight: bold;
    opacity: 0.8;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


#globalDot {
    position: fixed;
    width: 10px;
    height: 10px;
    border: 10px solid #ff1a00;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

@media (max-width: 768px) {

    #globalDot {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    body {
        cursor: auto !important;
    }

}

/* ================= MENU ================= */

.studio-nav {
    position: fixed;
    top: 30px;
    left: 30px;
    font-size: 12px;
    letter-spacing: 3px;
    z-index: 1000;
}

.nav-container {
    position: relative;
}

/* PALABRAS */

.nav-words {
    list-style: none;
    position: relative;
    z-index: 10;
}

.nav-words li {
    margin-bottom: 10px;
    cursor: pointer;
}


.nav-words li a {
    font-weight: 600;
    color: #ff1a00;
}

.nav-words li a:hover {
    color: #444;
}


.nav-words li span {
    display: inline-block;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* ESTADO SCROLL */

.studio-nav.scrolled .nav-words li span {
    transform: translateY(-100%) scaleY(0.2);
    opacity: 0;
}

/* LINEAS */

.nav-lines {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-lines span {
    display: block;
    width: 60px;
    height: 2px;
    background: #ff1a00;

    margin-bottom: 14px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.studio-nav.scrolled .nav-lines {
    opacity: 1;
}

.studio-nav.scrolled .nav-lines span {
    transform: scaleX(1);
}

/* Hover revive palabras */

.studio-nav.scrolled:hover .nav-words li span {
    transform: translateY(0) scaleY(1);
    opacity: 1;
}

.studio-nav.scrolled:hover .nav-lines span {
    transform: scaleX(0);
}


@media (max-width: 768px) {
    .studio-nav {
        display: none !important;
    }
}

/* ================= LOGO ================= */

.top-logo {
    width: 100%;
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.top-logo img {
    width: 150px;
}

/* ================= HERO ================= */



.hero-image {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 620px;
    max-width: 90%;
}

/* ================= RELEASE DATE ================= */

.release-date {
    margin-top: 60px;
    text-align: center;
    font-size: 34px;
    letter-spacing: 2px;
    color: black;
    font-weight: 700;
}

/* ================= TRAILER ================= */

.trailer-section {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.trailer-container {
    width: 100%;
    cursor: none;
}

.trailer-container img {
    width: 100%;
    display: block;
}


/* Contenedor icono + texto en móvil */
.mobile-trailer-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ff1a00;
    opacity: 0.8;
    pointer-events: none; /* no bloquea click en imagen */
    display: none;        /* por defecto */
    font-family: sans-serif;
}

/* Icono de play */
.mobile-trailer-label i {
    font-size: 28px;
    margin-bottom: 4px;

}

/* Texto TRAILER */
.mobile-trailer-label span {
    font-size: 12px;
color: #ff1a00;
    letter-spacing: 1px;
}

/* Solo mostrar en móviles */
@media (max-width: 768px) {
    .trailer-container {
        position: relative; /* necesario para posicionamiento absoluto */
    }
    .mobile-trailer-label {
        display: flex;
    }
.release-date {
    font-size: 22px;
}
}
/* ================= CTA SECTION ================= */

.cta-section {
    width: 100%;
    background: #dddbd6;
    padding: 60px 0 0px 0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* 🔥 abiertos al máximo */
    align-items: center;
    padding: 0 8vw; /* margen lateral elegante */
}

.cta-container a {
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: 0.3s ease;

    text-transform: uppercase;
}
.cta-red i {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cta-red:hover i {
    transform: translateY(4px);
}
/* Negro → rojo */
.cta-black {
    color: #000;
}

.cta-black:hover {
    color: #ff1a00;
}

/* Rojo → negro */
.cta-red {
    color: #ff1a00;
}

.cta-red:hover {
    color: #000;
}

/* ================= CTA MOBILE FIX ================= */

@media (max-width: 768px) {

    .cta-section {
        padding: 40px 0 30px 0;
    }

    .cta-container {
        flex-direction: column;
        gap: 35px;               /* más separación vertical */
        padding: 0 12vw;         /* aire lateral */
        text-align: center;
    }

    .cta-container a {
        font-size: 0.9rem;       /* más chica */
        letter-spacing: 2px;     /* más elegante */
    }

    .cta-red i {
        font-size: 0.8rem;
        margin-left: 6px;
    }

}
#customCursor {
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
}

/* CÍRCULO MÁS GRANDE */
.cursor-circle {
    width: 90px;
    height: 90px;
    border: 2px solid red;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FLECHA SOLO CONTORNO (sin relleno) */
.cursor-play {
    width: 48px;
    height: 48px;
    position: absolute;
}

/* TEXTO ABAJO */
.cursor-label {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: black;
}

/* ================= CONTENEDOR CIUDAD ================= */
.city-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ================= SELECT ================= */
#citySelect {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 2px solid #ff1a00;
    margin-bottom: 20px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#citySelect:focus {
    border-color: #ff1a00;
}

/* ================= LISTADO DE CINES ================= */
#cineList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}




/* ================= CARTELERA ================= */
/* Ajuste de la sección y título sigue igual */
.cartelera-section {
    background-color: #000;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 12px 200px;
    box-sizing: border-box;
    gap: 20px;
    outline: 2px solid #ff1a00;
}

.cartelera-section .cartelera-title {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 6px 10px;
    color: #ff1a00;
    font-weight: bold;
    font-size: 26px;
    letter-spacing: 4px;
    text-align: center;
}

/* Nuevo estilo del botón */
.cartelera-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 20px;
    color: #fff;
    background-color: #000;
    border: 2px solid #ff1a00;
    text-decoration: none;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cartelera-button:hover {
    background-color: #ff1a00;
    color: #000;
    border-color: #ff1a00;
}
/* ================= SINOPSIS ================= */
.sinopsis-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 60px 40px 20px;
    /* más padding superior general */
    gap: 20px;
    flex-wrap: wrap;
}

/* Columnas iguales */
.sinopsis-left {
    width: 300px;
    min-width: 300px;
    box-sizing: border-box;
}

.sinopsis-right {
    width: 700px;
    min-width: 300px;
    box-sizing: border-box;
}

/* Columna izquierda: título centrado X y Y */
.sinopsis-left {
    display: flex;
    justify-content: center;
    /* centrado horizontal */
    align-items: center;
    /* centrado vertical */
}

.sinopsis-left h2 {
    font-size: clamp(3.4rem, 8.16vw, 5.44rem);
    color: #ff1a00;
    text-align: center;
}

/* Columna derecha: texto justificado pegado a la izquierda */
.sinopsis-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* pegado a la izquierda */
    padding-top: 30px;
    /* más espacio superior */
}

.sinopsis-right p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ff1a00;
    text-align: justify;
    font-weight: 600;
    /* más bold */
    margin-bottom: 20px;
    max-width: 100%;
}

/* SVG debajo del texto, centrado dentro de la columna */
.sinopsis-right img {
    width: 420px;
    height: auto;
    display: block;
    margin-top: 60px;
}

@media (max-width: 1024px) {

    .sinopsis-left,
    .sinopsis-right {
        width: 400px;
        min-width: 300px;
        box-sizing: border-box;
    }


}

@media (max-width: 768px) {
.cartelera-section .cartelera-title {
    font-size: 18px;
} 
.cartelera-button {
    font-size: 16px;
}

.sinopsis-right img {
    width: 320px;
    height: auto;
    display: block;
    margin-right: 140px;
}
}

/* ========================= */
/* SECCIONES BASE */
/* ========================= */

.rose-section-new,
.vanity-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.rose-section-new {
    background: #dddbd6;
}

/* ========================= */
/* ROSE */
/* ========================= */

.rose-text-top,
.rose-awards {
    position: absolute;
    right: 0;
    max-width: 50%;
    padding-right: 20px;
    z-index: 2;
}

.rose-text-top {
    top: 8%;
}

.rose-text-top h2 {
    font-size: clamp(5rem, 12vw, 8rem);
    color: red;
    margin: 0;
    line-height: 1.2;
}

.rose-awards {
    top: 58%;
}

.rose-awards img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================= */
/* VANITY */
/* ========================= */

.vanity-image {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    height: 100%;
}

.vanity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vanity-text {
    position: absolute;
    top: 3%;
    right: 0;
    width: 50%;
    padding-right: 20px;
    text-align: right;
    z-index: 3;
}

.vanity-text h2 {
    font-size: 4.4rem;
    margin: 0 0 15px;
    color: red;
    line-height: 1.1;
}

.vanity-text span {
    font-size: 3.6rem;
    letter-spacing: 3px;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

    .rose-section-new,
    .vanity-section {
        min-height: auto;
        padding: 80px 0;
    }

    .vanity-image,
    .rose-awards,
    .vanity-text {
        position: relative;
        width: 100%;
        max-width: 100%;
        right: auto;
        padding: 0 20px;
    }


    .rose-text-top {
        position: relative;
        width: 100%;
        max-width: 100%;
        right: auto;
        padding: 0 120px;
    }

    .rose-awards img {
        width: 80%;
        height: auto;
        display: block;
    }

    .vanity-image {
        height: 60vh;
    }

    .vanity-image img {
        transform: none !important;
    }

    .vanity-text {
        text-align: right;
        margin-top: 40px;
        transform: none !important;
    }

    .vanity-text h2 {
        font-size: 2.6rem;
    }

}

/* ========================= */
/* FICHA TECNICA */
/* ========================= */

.ficha-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: #dddbd6;
    padding: 0;
}

.ficha-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* texto del título pegado a la derecha de su mitad izquierda */
    padding: 0;
    margin: 0;
}

.ficha-title {
    font-size: clamp(5rem, 12vw, 8rem);
    line-height: 0.85;
    color: #ff1a00;
    text-align: right;
    /* alineado a la derecha dentro de su espacio */
    margin: 0;
    padding-right: 5vw;
    /* pequeño margen para no tocar el borde absoluto si quieres */
    white-space: nowrap;
    line-height: 1.1;
}

.ficha-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* texto de datos pegado a la izquierda de su mitad derecha */
    padding: 0;
    margin: 0;
}

.ficha-content {
    max-width: 480px;
    color: #ff1a00;
    text-align: left;
    /* alineado a la izquierda dentro de su espacio */
    padding-left: 5vw;
    /* pequeño margen para no tocar el borde absoluto */
}

.ficha-content h3 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    margin-bottom: 1.5rem;
    color: #ff1a00;
    line-height: 1.6;
}

.ficha-content p {
    font-size: 1.15rem;
    margin: 0.8rem 0;
    line-height: 1.6;
    color: #ff1a00;
}

/* Mobile */
@media (max-width: 768px) {
    .ficha-section {
        flex-direction: column;
        padding: 60px 20px;
    }

    .ficha-left,
    .ficha-right {
        width: 100%;
        justify-content: center;
        padding: 0;
        text-align: center;
    }

    .ficha-title {
        text-align: right;
        padding-right: 10px;
    }

    .ficha-content {
        padding-left: 0;
        text-align: right;
    }
.ficha-content h3 {
    font-size: clamp(1.8rem, 4vw, 1.6rem);
    margin-right: 1.5rem;
    color: #ff1a00;
    line-height: 1.6;
}
.ficha-content p {
    font-size: 1.35rem;
    margin: 0.8rem 0;
    line-height: 1;
    color: #ff1a00;
}
}

.elenco-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: #dddbd6;
    padding: 0;
}

.elenco-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* texto pegado a la derecha de su mitad izquierda */
    padding: 0;
}

.elenco-title {
    font-size: clamp(5rem, 12vw, 8rem);
    line-height: 0.85;
    color: #ff1a00;
    text-align: right;
    margin: 0;
    white-space: nowrap;
    padding-right: 5vw;
    /* margen mínimo para no tocar borde */
}

.elenco-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* texto pegado a la izquierda de su mitad derecha */
    padding: 0;
}

.elenco-content {
    max-width: 480px;
    color: #ff1a00;
    text-align: left;
    padding-left: 5vw;
    /* margen mínimo */
}

.elenco-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elenco-content li {
    font-size: 1.8rem;
    margin: 1rem 0;
    line-height: 1.4;
    color: #ff1a00;
}

/* Mobile */
@media (max-width: 768px) {
    .elenco-section {
        flex-direction: column;
        padding: 60px 20px;
    }

    .elenco-left,
    .elenco-right {
        width: 100%;
        justify-content: center;
        padding: 0;
        text-align: center;
    }

    .elenco-title {
        text-align: center;
        padding-right: 0;
    }

    .elenco-content {
        padding-left: 0;
        text-align: center;
    }

    .elenco-content li {
        font-size: 1.6rem;
    }
}

.galeria-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: #dddbd6;
    padding: 0;
}

.galeria-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.galeria-title {
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: bold;
    color: #ff1a00;
    text-align: right;
    margin: 0;
    white-space: nowrap;
    padding-right: 5vw;
    z-index: 8;
}

.galeria-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5vw 0 0;
    box-sizing: border-box;
}

.galeria-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
}

/* ================= GALERIA MOBILE ================= */

@media (max-width: 768px) {

    .galeria-section {
        flex-direction: column;
        min-height: auto;
        padding: 60px 0;
    }

    .galeria-left,
    .galeria-right {
        width: 100%;
        justify-content: center;
    }

    .galeria-left {
        margin-bottom: 30px;
    }

    .galeria-title {
        text-align: center;
        padding: 0;
        font-size: clamp(3rem, 10vw, 4rem);
        white-space: normal;
    }

    .galeria-right {
        padding: 0;
    }

    .galeria-slider {
        max-width: 100%;
    }

    .slider-container img {
        width: 100%;
        height: auto;
    }

}

/* ================= SLIDER ================= */

.galeria-slider {
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* IMÁGENES */
.slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-container img.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

/* CONTADOR */
.slider-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    /* 🔴 ahora a la derecha */
    left: auto;
    /* importante para cancelar el left anterior */
    color: #ff1a00;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    z-index: 50;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.2rem;
}

.slider-prev i,
.slider-next i {
    color: #ff1a00;
    transition: transform 0.3s, color 0.3s;
}

.slider-prev:hover i,
.slider-next:hover i {
    transform: scale(1.3);
    color: #ff3b2a;
    /* rojo más claro al hover */
}

.galeria-slider .slider-prev i,
.galeria-slider .slider-next i {
    color: #ff1a00 !important;
}


/* ================= FOOTER ================= */

.site-footer {
    padding: 80px 20px 40px;
    text-align: center;
}

/* Logo */

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.footer-logo img {
    width: 80%;
    max-width: 900px;
    height: auto;
}

 

/* BLOQUE GRIS AUTO-ANCHO */

.footer-social-block {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.social-icons {
    list-style: none;
    display: inline-flex;
    /* 🔴 clave */
    gap: 30px;
    padding: 20px 40px;
    /* padding interno de la placa */
    margin: 0;
    background-color: #bbb;
    /* gris claro */
    border-radius: 4px;
    /* opcional */
}

/* Íconos */

.social-icons li a {
    color: #111;
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons li a:hover {
    color: #ff1a00;
    transform: scale(1.2);
}

/* Copyright */

.footer-copy {
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 1px;
}

#toTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    color: #ff1a00;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    border-radius: 50%;
    border: 4px solid #ff1a00;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

#toTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#toTopBtn:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {


    #toTopBtn.visible {
        display: none;
    }

}

/* ================= MOBILE FIX ================= */

@media (max-width: 768px) {

    .ficha-section,
    .elenco-section,
    .galeria-section {
        min-height: auto;
        /* elimina 100vh rígido */
        height: auto;
        padding: 80px 0;
        /* espacio real controlado */
        flex-direction: column;
        /* apila contenido */
    }

}

.poster-section {
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.poster-line {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    transition: transform 0.4s ease-out; /* suaviza el movimiento */
}

.poster-line .poster-title {
    font-weight: bold; 
    font-size: clamp(5rem, 12vw, 8rem);
    color: red;
    margin: 0;
    line-height: 1.2;
    display: inline-block;
    transition: transform 0.3s ease-out; /* parallax horizontal */
}

.poster-line a {
    color: #ff1a00;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease-out, color 0.4s; /* parallax horizontal */
}

.poster-line a:hover {
    color: #fff;
}

.poster-image-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.poster-image-wrapper img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-out;
}