* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; 
    max-width: 100vw; 
}


.header__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

/* Botón de Registro */
.btn-register {
    background-color: #000a23;
    color: white;
}

.btn-register:hover {
    background-color: #365b77;
}

/* Botón de Login */
.btn-login {
    background-color: white;
    color: #000a23;
}

.btn-login:hover {
    background-color: #365b77;
    color: white;
}


  .toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
  }

  .toast.show {
    opacity: 1;
  }

/* body {
    background-image: url(img/stranger.jpg);
    background-color: var(--background-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-family: sans-serif;
    --text-color: #fff;
    --background-color: #000;
} */

body {
    background-color: var(--background-color);
    font-family: sans-serif;
    --text-color: #fff;
    --background-color: #000;
}


body, div, ul, nav, header, footer, a, li, label {
    margin: 0;
    padding: 0;
}

.box {
    min-height: 100vh;
}

/* .principal {
    position: relative;
    min-height: 100vh;
    z-index: 1;
    background-attachment: fixed;
} */

.principal {
    background-image: url(../img/juntoblanco_newverbg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; /* Si querés que se mantenga fijo al hacer scroll */
    color: var(--text-color); /* Para que el texto siga siendo blanco si lo definiste así */
    position: relative;
    min-height: 100vh;
    z-index: 1;
    background-attachment: fixed;
}



.main__fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    z-index: 2;
}

/* HEADER SECTION */

.main__movie-panel h1 {
    position: absolute;
    z-index: 99;
    margin-left: 20px;
    margin-top: 100px;
    font-size: 50px
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 99;
    margin-right: 50px;
}

.header__actions span {
    font-size: 26px;
    cursor: pointer;
    color: white;
}

.header__profile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.only-mobile {
    display: none;
}

.main__twd {
    display: none;
}

.main__movie-panel-twd {
    display: none;
}

.main__twd-p {
    display: none;
}

.header__actions__movile {
    display: none;
}

.header__actions__movile-left {
    display: none;
}

.content-right__movile {
    display: none;
}

.header__header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.header {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 20px;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}

.header__logo {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: 160px;
    margin-left: 20px;
    margin-top: 10px;
    margin-right: 70px;
}

.header__nav {
    display: flex;
    margin-top: 7px;
    overflow-x: auto;
}

.header__nav-list a {
    color: white;
    text-decoration: none;
}

.header__nav-list {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.header__nav-item {
    color: var(--text-color);
    margin: 0;
    list-style: none;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1;
}

.header__nav-item:is(:hover) {
    transform: scale(1.1);
}

.profile-menu {
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #222; /* más suave que #1a1a1a */
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 180px; /* se adapta al contenido pero con un mínimo */
    max-width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 1000;
    color: #eee;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.profile-menu p {
    font-size: 0.75rem;
    color: #ccc;
    margin: 0 0 8px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #444; /* división sutil */
    word-break: break-word; /* para que el correo no se salga */
}

.profile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-menu li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

.profile-menu li:hover {
    background-color: #333;
}

.profile-menu button {
    all: unset;
    width: 100%;
    display: block;
    color: #eee;
    font-weight: 500;
    cursor: pointer;
}


.hidden {
    display: none;
}

.notification-menu {
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.notification-menu p {
  margin: 8px 0;
  font-size: 14px;
  color: #ffffff;
}

.hidden {
  display: none;
}


.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

#search-icon {
    cursor: pointer;
    color: #fff;
    font-size: 24px;
}

.search-bar {
    padding: 8px 12px;
    background-color: #1a1a1a;
    border-radius: 6px;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    width: 200px;
}

.search-bar::placeholder {
    color: #aaa;
}

.hidden {
    display: none;
}


.overlay-shadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* permite clics en los elementos debajo */
    z-index: 2;

    background: 
        /* Sombra superior */
        linear-gradient(to bottom, black 0%, transparent 30%),

        /* Sombra izquierda */
        linear-gradient(to right, black 0%, transparent 200%),

        /* Sombra inferior */
        linear-gradient(to top, black 0%, transparent 30%),

        /* Sombra derecha */
        linear-gradient(to left, black 0%, transparent 30%);
}

/* MAIN SECTION */

.main__movie-panel {
    position: relative;
}

.main__logo {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: 300px;
    bottom: -170px;
    left: 20px;
}

.main__content {
    position: absolute;
    margin-top: 150px;
    margin-left: 20px;
    z-index: 5;
    color: var(--text-color);
}

.main__data h1 {
    margin-top: 80px;
    font-size: 18px;
}

.main__data p {
    font-size: 15px;
    max-width: 500px;
    opacity: 0.7;
}

.main__botton {
    display: flex;
    align-items: center;
    width: 100vw; /* 100% del ancho visible del navegador */
    box-sizing: border-box;
    padding: 20px;
    position: relative; /* o fixed si querés que no se mueva con scroll */
}

.main__botton span {
    font-size: 25px;
    vertical-align: middle;
}

.main__btn-play {
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    color: black;
    background-color: var(--text-color);
    margin-right: 20px;
}

.main__btn-noplay {
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    color: black;
    background-color: var(--text-color);
    margin-right: 20px;
}

.main__btn-list {
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    background-color: rgb(91, 91, 91);
}

.main__btn-right {
    margin-left: auto;  /* empuja este botón completamente a la derecha */
    padding: 10px 30px;
    background-color: rgb(91, 91, 91);
    border-left: 3px solid var(--text-color);
    text-align: left;
    display: block;
    width: 8%;
}

/* MOVIES SECTION */

.movie-row-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.movie-row {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    gap: 8px;
}

/* Oculta la barra de scroll */
.movie-row::-webkit-scrollbar {
    display: none;
}
.movie-row {
    -ms-overflow-style: none; /* IE y Edge */
    scrollbar-width: none; /* Firefox */
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 28px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    transition: background 0.3s;
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.scroll-btn.left {
    left: 0;
}
.scroll-btn.right {
    right: 0;
}

.movie-section h2 {
    margin-top: 30px;
    color: var(--text-color);
    position: relative;
    z-index: 10;
    font-size: 20px;
}

.search-results {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
}

.movie-section {
    padding: 20px;
    position: relative;
    z-index: 10;
}

.movie-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    display: flex;          /* Alineación horizontal */
    justify-content: flex-start; /* Espacio entre los elementos */
    align-items: center;    /* Alineación vertical centrada */
    gap: 10px;              /* Espacio entre las tarjetas */
    flex-wrap: nowrap;
    width: 100%;
}

.movie-card {
    /* flex: 1 1 180px;
    min-width: 120px;
    width: 120px;
    height: 180px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 1 */
    width: 120px;
    aspect-ratio: 2 / 3;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.movie-card:hover {
    transform: scale(1.05);
}

/* FOOTER */

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 10;
    height: 200px;
}

.footer__contendor {
    position: relative;
    height: 100%; 
}

.division {
    height: 0.2px;
    background-color: var(--text-color);
    width: 95%;
    margin: 0 auto 20px auto;
    opacity: .2;
}

.footer__logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.footer__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;       /* Ajusta el tamaño a tu gusto */
    height: auto;      /* Mantiene proporción */
    margin-left: 20px;
    margin-top: 10px;
}

footer p {
    margin-top: 140px;
    font-size: 10px;
}

.faq {
    display: inline-block;
    color: var(--text-color);
    border-radius: 10px;
    background-color: var(--text-color);
    padding: 10px 20px;
    color: rgb(0, 0, 0);
    text-align: center;
}

.pay {
    display: inline-block;
    color: var(--text-color);
    border-radius: 10px;
    background-color: rgb(229, 9, 20);
    padding: 10px 20px;
    color: white;
    text-align: center;
}

.pay span {
    font-size: 20px;
    vertical-align: middle;
}

.social-icon {
    font-size: 30px; /* Ajustá este valor a tu gusto */
    margin: 0 10px;  /* Opcional: espaciado entre íconos */
    color: white;    /* Opcional: color */
}

.social-media {
    position: absolute; /* o fixed si querés que siempre estén visibles al hacer scroll */
    top: 40px;          /* ajustalo para la distancia desde arriba */
    right: 20px;         /* ajustalo para pegarlo más o menos al borde derecho */
    display: flex;
    flex-direction: column;
    gap: 15px;           /* espacio entre íconos */
    z-index: 1000;
}

.footer__botones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-botones {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

/* TERMINOS DE SERVICIOO 👍👍👍👍👍👍👍👍👍 */

.terminos-servicio {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.terminos-servicio h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

.terminos-servicio h2 {
  font-size: 1.3rem;
  margin-top: 25px;
  color: #444;
}

.terminos-servicio p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

.terminos-servicio a {
  color: #0077cc;
  text-decoration: none;
}

.terminos-servicio a:hover {
  text-decoration: underline;
}


/* TERMINOS DE SERVICIOO 👍👍👍👍👍👍👍👍👍 */

/* POLITICA DE PRIVACIDAD 👍👍👍👍👍👍👍👍👍 */

.politica-de-privacidad {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.politica-de-privacidad h1 {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #111;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.politica-de-privacidad h2 {
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #444;
}

.politica-de-privacidad p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.politica-de-privacidad ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.politica-de-privacidad ul li {
  margin-bottom: 8px;
}

.politica-de-privacidad a {
  color: #0066cc;
  text-decoration: none;
}

.politica-de-privacidad a:hover {
  text-decoration: underline;
}


/* POLITICA DE PRIVACIDAD 👍👍👍👍👍👍👍👍👍 */

/* CONTACTO 👍👍👍👍👍👍👍👍👍 */

.contacto {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background-color: #121212;
  border-radius: 12px;
  box-shadow: 0 0 10px #00000055;
  color: #fff;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto input, .contacto textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1em;
  background-color: #1e1e1e;
  color: #fff;
}

.contacto button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #000a23;
  color: white;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s ease;
}

.contacto button:hover {
  background-color: #000a23;
}

.enviado {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 40px 20px;
  background-color: #000;
  color: white;
  text-align: center;
}

.enviado .mensaje {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px #00000055;
  max-width: 500px;
}

.enviado h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #94b8d7;
}

.enviado p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.enviado .volver {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000a23;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

.enviado .volver:hover {
  background-color: #000a23;
}


/* CONTACTO 👍👍👍👍👍👍👍👍👍 */

/* SECCION DE PELICULAS 👍👍👍👍👍👍👍👍👍 */

.movie__main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.movie__div {
    position: relative;
    width: 800px;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgb(50, 50, 80, 0.6);
    overflow: hidden;
    margin-bottom: 10px;
}

.movie__main-content h1 {
    font-size: 50px;
    margin: 0;
    margin-left: 10px;
}

.movie__main-miniature {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.movie__main-miniature video  {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}

.movie__main-miniature::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    pointer-events: none;
}

.movie__main-content {
    color: var(--text-color);
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.content-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.movie__age * {
    margin: 0;
    padding: 0;
}

.movie__age {
    display: inline-block;
    padding: 5px 12px;
    height: 25px;
    border-radius: 15px;
    background-color: #2c2c2c;
    font-size: 14px;
    line-height: 1;
}

.movie__main-content h1 {
    font-size: 50px;
    margin-left: 10px;
}

.play {
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    color: #000;
    background-color: var(--text-color);
    height: 45px;
}

.play span {
    margin: 0;
    padding: 0;
    font-size: 25px;
    vertical-align: middle;
}

.filled {
    margin: 0;
    padding: 0;
}

.list {
    border-radius: 50%;
    text-align: center;
    padding: 10px 12px;
    color: var(--text-color);
    background-color: #2c2c2c;
    height: 45px;
}

.movie__main-especificaciones {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 20px;
    color: var(--text-color);
    gap: 10px;
    margin-left: 10px;
}

.movie__main-info {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    margin-left: 10px;
}

.movie__main-info span {
    font-weight: bold;
}

.movie__more-this h1 {
    margin-top: 60px;
    color:  var(--text-color);
    margin-left: 80px;
}

.separacion {
    height: 2px; /* o el alto que quieras */
    width: 80%;
    background: linear-gradient(to right, red 32%, white 10%);
    margin: 10px auto;
    margin-bottom: 20px;
    border-radius: 2px; /* opcional: bordes redondeados */
}

/* .movie__miniature-this {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; 
    overflow-x: auto; 
    padding: 10px 0;
} */

.movie__miniature-this {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    padding: 10px;
}

.movie__this {
    aspect-ratio: 16 / 9; /* hace que la miniatura sea más ancha que alta */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s;
}

.movie__this:hover {
    transform: scale(1.05);
}

.movie__this img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 
.movie-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    display: flex;        
    justify-content: space-between;
    align-items: center;
    gap: 8px; 
    flex-wrap: nowrap;
    width: 100%;
} */

/* .movie-card {
    flex: 1 1 250px;;
    min-width: 150px;
    width: 150px;
    height: 135px; 
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 1
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
} */

.movie__season {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
    margin-top: 40px;
}

.movie__season h1 {
    color: var(--text-color);
    font-size: 20px;
}

.movie__season h2 {
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    padding: 8px 16px;
    border-radius: 6px;
    user-select: none;
    border: 1px solid var(--text-color)
}

.movie__episode h1 {
    color: var(--text-color);
    font-size: 30px;
    margin-left: 50px;
}

.movie__episode img {
    margin-left: 20px;
    width: 150px;
    height: auto;
}

.movie__episode {
    display: flex;
    flex-direction: row;
}

.movie__episodes {
    display: flex;
    gap: 20px; /* espacio entre imagen y texto */
    align-items: flex-start; /* alinea arriba */
}

.movie__info {
    display: flex;
    flex-direction: row;
    width: 60%;
    height: 100%;
    font-size: 12px;
    justify-content: space-between;
    color: var(--text-color);
    position: absolute;
    margin-left: 260px;
}

.movie__episodes p {
    color: var(--text-color);
    font-size: 10px;
    margin-top: 50px;
}

.movie__separacion {
    height: 1px; /* o el alto que quieras */
    width: 90%;
    background: #444;
    margin: 10px auto;
    margin-bottom: 20px;
    border-radius: 2px; /* opcional: bordes redondeados */
}

.movie__back-button {
    position: fixed !important;
    top: 90px;
    left: 10px;
}

.movie__back-button h1 {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    height: 40px;
    border-radius: 15px;
    background-color: rgba(44, 44, 44, 0.6);;
    font-size: 14px;
    line-height: 1;
    color: var(--text-color);
    margin: 0;
}

.movie__back-button span {
    margin: 0;
    padding: 0;
    font-size: 25px;
    vertical-align: middle;
}


/* SECCION DE PELICULAS 👍👍👍👍👍👍👍👍👍 */

.login-form {
  flex: 1;
  max-width: 550px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-container-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    width: 80%;
    height: auto;
    display: flex;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 100px 0;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group .material-symbols-outlined {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #999;
  pointer-events: none;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: none;
  border-radius: 25px;
  background-color: #f0f0f0;
  font-size: 14px;
  transition: box-shadow 0.3s;
}

.input-group input:focus {
  outline: none;
  border-bottom: 2px solid #94b6d7;
}

.image-container img {
    width: 80%;
    height: auto;
    margin-left: 30px;
}

.login-form h2 {
    margin-left: 150px;
}

.login-form button[type="submit"] {
    width: 100%;
    margin-top: 50px;
    background-color: #94b6d7;
    color: white;
    padding: 12px 0;
    border: none;
    border-radius: 25px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.extra-links {
    margin-top: 10px;
}

.login-container-center {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #000a23, #012e46, #365b77);
  background-size: 200% 200%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.extra-links span {
    width: 100%;
}


/* RESPONSIVE */


/* CELULARES */
@media (max-width: 600px) {


    .header__actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        align-items: center;
        width: 100%;
    }

    .btn.btn-register,
    .btn.btn-login {
        font-size: 16px;
        padding: 10px 20px;
        width: 90%;
        max-width: 250px;
        text-align: center;
        border-radius: 8px;
    }


    /* Opcional: mejorar visibilidad en fondo oscuro */
    .btn.btn-register {
        background-color: #000a23;
        color: white;
    }

    .btn.btn-login {
        background-color: white;
        color: #000a23;
    }

  .login-container {
    flex-direction: column;
    width: 90%;
    margin: 50px 0;
    padding: 20px;
  }

  .image-container img {
    width: 60%;
    margin: 0 auto 20px auto;
    display: block;
  }

  .login-form {
    padding: 20px 15px;
  }

  .login-form h2 {
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .input-group input {
    font-size: 16px;
    padding: 14px 14px 14px 42px;
  }

  .input-group .material-symbols-outlined {
    font-size: 22px;
    left: 12px;
  }

  .login-form button[type="submit"] {
    margin-top: 30px;
    font-size: 16px;
    padding: 14px;
  }

  .extra-links {
    text-align: center;
    font-size: 14px;
  }

  .extra-links span,
  .extra-links a {
    display: inline-block;
    margin-top: 10px;
  }

/* Oculta el input */
    #search-input-mobile.hidden {
      display: none;
    }

    #search-input-mobile.active {
      display: block;
      position: absolute;      /* para posicionarlo */
      left: 0;                 /* alinear al inicio del contenedor */
      top: 35%;                /* centrar verticalmente */
      transform: translateY(-50%);
      width: calc(100% - 50px); /* ancho menos espacio para iconos o margen */
      max-width: 220px;        /* limita el ancho máximo si quieres */
      padding: 6px 12px;
      font-size: 1rem;
      border-radius: 4px;
      box-sizing: border-box;
      z-index: 10;             /* para que quede encima */
      background-color: #1a1a1a;
      color: #fff;
      transition: width 0.3s ease;
    }

/* Oculta el logo cuando el input está activo */
    #logo-mobile.hidden {
      opacity: 0;
      pointer-events: none;
      width: 0;
      margin: 0;
      padding: 0;
      transition: opacity 0.3s ease;
    }

    .header__actions__movile {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    #search-input {
        width: 80%;
        max-width: 150px;
        margin-top: 10px;
    }

    .header__actions {
        display: none;
    }
    
    .header__logo-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .header__actions__movile span {
    font-size: 26px;
    cursor: pointer;
    color: white;
    }

    .header__actions__movile {
        margin-top: 20px;
        display: flex;
        align-items: center;
        gap: 1.2rem;
        margin-right: 20px;
    }

    .header__left {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center; 
        width: 100%;
    }


    .only-desktop {
        display: none;
    }

    .only-mobile {
        display: flex;
    }

    .header__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .header__nav{
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Para suavizar scroll en iOS */
        white-space: nowrap; /* Evitar que se dividan los elementos en varias líneas */
    }
    
    .header__nav-list {
        display: flex;           /* Para que los li estén en fila */
        justify-content: space-between; /* Centrar botones horizontalmente */
        flex-wrap: nowrap;         /* Que se puedan ir a nuevas líneas si faltan espacio */
        gap: 10px;               /* Espacio entre botones */
        padding: 0 15px;
        margin: 0;      /* Separación desde el logo */
        width: 100vw;             /* Opción para que ocupe todo el ancho */
        list-style: none;        /* Quitar viñetas */
        overflow-x: auto;
        padding-left: 10px;
        padding-right: 10px;
        scrollbar-width: none
    }

    .header__nav-list::-webkit-scrollbar {
    display: none; /* oculta la barra en Chrome */
}


    .header__nav-item {
        border-radius: 10px;
        border: 1px solid white;
        padding: 1px 10px;
        background-color: transparent;
        width: auto;
        height: auto;
    }

    .header__nav-list::-webkit-scrollbar {
        display: none;
}

/* MAIN */

    .principal {
        background-color: rgba(0, 0, 0, 0.85);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin: 20px auto;
        padding: 16px;
        min-height: 500px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
        position: relative;
        width: calc(100% - 40px); /* márgenes laterales */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: none;
    }

    .main__botton {
        /* margin-top: 250px;
        margin-left: 10px; */
        top: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }


    .main__movie-panel img {
        margin: 0;
        margin-top: 130px;
        width: 50%;
    }

    .main__movie-panel {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
}
    
    .main__data h1 {
        display: none;
    }

    .main__data p {
        display: none;
    }

    .overlay-shadow, .main__fade-bottom, .main__btn-right, .main__movie-panel{
        display: none;
    }

    .main__img-twd {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      overflow: hidden;
    }

    .main__img-twd img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* cubre todo el contenedor sin dejar espacios */
      border-radius: 16px;
      display: block;
    }

    
    .main__movie-panel-twd {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1; /* para que quede detrás del contenido */
    }

    .main__movie-panel-twd img {
        position: absolute;
        width: 400px;
        top: 210px;
        z-index: 1;
    }
    
    .main__twd-p {
        z-index: 5;
        position: relative;
        color: var(--text-color);
        padding: 10px 20px;
        display: flex;
        justify-content: center;
        top: 370px;
    }

    .main__twd-p p {
        z-index: 3;
        color: var(--text-color);
        font-size: 10px;
    }

    .movie-card {
    flex: 1 1 100px;;
    min-width: 120px;
    width: 100px;
    height: 200px; 
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 1
}

.footer__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;       /* Ajusta el tamaño a tu gusto */
    height: auto;      /* Mantiene proporción */
    margin-left: 20px;
    margin-top: 10px;
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 10;
    height: 50px;
}

footer p {
    margin-top: 100px;
    font-size: 10px;
}

.social-media {
    position: absolute; /* o fixed si querés que siempre estén visibles al hacer scroll */
    top: 40px;          /* ajustalo para la distancia desde arriba */
    right: 20px;         /* ajustalo para pegarlo más o menos al borde derecho */
    display: flex;
    flex-direction: row;
    gap: 15px;           /* espacio entre íconos */
    z-index: 1000;
}


/* SECCION DE PELICULAS 👍👍👍👍👍👍👍 */

.header__actions__movile {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


.header__actions__movile-left {
    display: flex;
    flex-direction: row;
}

.header__actions__movile-left span {
    margin-top: 10px;
    font-size: 50px;
    cursor: pointer;
    color: white;
    z-index: 999;
}

.movie__back-button {
    display: none;
}

.content-left h1 {
    font-size: 30px;
}

.movie__main-especificaciones {
    font-size: 15px;
}

.content-right {
    display: none;
}

.content-right__movile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play {
    width: 90%;
    margin-top: 20px;
}

.list {
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    color: var(--text-color);
    background-color: #2c2c2c;
    height: 45px;
    width: 90%;
    margin-top: 10px;
}

.movie__main-info p:nth-of-type(1) {
    font-size: 15px;
}

.movie__main-info p:nth-of-type(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; /* o el ancho que desees */
    color: #aaaaaa;
}

.movie__main-info p:nth-of-type(3) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; /* o el ancho que desees */
    color: #aaaaaa;
}

.movie__miniature-this {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); /* más angostas */
    gap: 8px; /* menos espacio entre miniaturas */
}

.movie__this {
    aspect-ratio: 9 / 16;
}

    /* .movie-card {
    flex: 1 1 100px;;
    min-width: 120px;
    width: 100px;
    height: 200px; 
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 1
} */

/* SECCION DE PELICULAS 👍👍👍👍👍👍👍 */

}

@media (min-width: 600px) and (max-width: 1024px) {
    .principal {
    background-image: url(img/stranger.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; /* Si querés que se mantenga fijo al hacer scroll */
    color: var(--text-color); /* Para que el texto siga siendo blanco si lo definiste así */
    position: relative;
    min-height: 50vh;
    width: 100%;
    z-index: 1;
    background-attachment: fixed;
}
}

.header-nolog {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 70px; /* o el alto que quieras para el header */
  background-color: transparent; /* o el color de fondo que uses */
}

/* Logo */
.header-nolog_logo img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: 160px;
  margin-left: 20px;
  margin-top: 10px;
  margin-right: 70px;
}

/* Botones contenedor */
.header-nolog_bottons {
  display: flex;
  gap: 1rem;
}
/* Contenedor de botones */
.header-nolog_bottons {
  display: flex;
  gap: 1rem;
}

/* Estilos base para ambos botones */
.header-nolog_bottons a {
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  user-select: none;
  display: inline-block;
}

/* Botón Registrarse - Azul sólido */
.header-nolog_bottons a:first-child {
  background-color: #000a23;
  color: white;
  border: 2px solid transparent;
}

.header-nolog_bottons a:first-child:hover {
  background-color: #365b77;
}

/* Botón Iniciar Sesión - Blanco con borde azul */
.header-nolog_bottons a:last-child {
  background-color: white;
  color: #000a23;
}

.header-nolog_bottons a:last-child:hover {
  background-color: #94b8d7;
  color: white;
}


.lista {
    display: flex;
    flex-direction: row;
    gap: 1px;
}

.movie_lista {
    margin-left: 30px;
    width: 160px;
    height: auto;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.movie_lista:hover  {
    transform: scale(1.05);
}