/* GENERAL */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0b0b0b;
  color: white;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  color: #ff2e63;
  font-size: 28px;
}

/* BUSCADOR */
.search-box {
  background: #111;
  padding: 10px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  margin-left: 10px;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
  filter: brightness(0.4);
}

/* OVERLAY */
.overlay {
  position: absolute;
  top: 30%;
  left: 60px;
  z-index: 2;
  max-width: 500px;
}

.overlay h1 {
  font-size: 70px;
  margin-bottom: 15px;
}

/* INFO */
.info {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  color: #ccc;
  font-size: 14px;
}

/* SINOPSIS */
.sinopsis {
  font-size: 15px;
  color: #ddd;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* BOTONES */
.buttons {
  display: flex;
  gap: 10px;
}

/* PLAY */
.play {
  background: white;
  color: black;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.play i {
  margin-right: 8px;
}

.play:hover {
  background: #FF2E63;
  color: white;
}

/* ICONOS */
.icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid #555;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.icon:hover {
  background: #FF2E63;
  color: white;
  border-color: #FF2E63;
}

/* ACTORES */
.actors {
  margin-top: 0;
  padding: 30px;
}

.actor-list {
  display: flex;
  gap: 10px;
}

.actor {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
}

/* PLAYER */
.player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 5;
}

/* CATEGORÍAS */
.category {
  padding: 20px;
}

.category h2 {
  margin-bottom: 10px;
}

/* MOVIES */
.movies {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* TARJETA */
.movie {
  min-width: 150px;
  cursor: pointer;
  transition: 0.3s;
}

.movie img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* TEXTO */
.movie p {
  text-align: center;
  margin-top: 5px;
  font-size: 14px;
}

/* HOVER */
.movie:hover {
  transform: scale(1.1);
}

/* SCROLL */
.movies::-webkit-scrollbar {
  height: 6px;
}

.movies::-webkit-scrollbar-thumb {
  background: #ff2e63;
  border-radius: 10px;
}

/* MODAL SERVIDORES */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-box {
  width: 400px;
  max-width: 90%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #aaa;
}

.modal-header span {
  cursor: pointer;
}

.server-item {
  background: #111;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.server-item:hover {
  background: #1f1f1f;
}

.server-item p {
  margin: 0;
}

.server-item span {
  font-size: 12px;
  color: #888;
}

header {
  display: flex;
  align-items: center;
  padding: 10px 40px;
}

.logo-img {
  width: 160px;
  transition: 0.3s;
}

.logo-img:hover {
  transform: scale(1.1);
}

.actor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.actor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111;
  padding: 10px;
  border-radius: 12px;
  transition: 0.3s;
}

.actor-card:hover {
  background: #1f1f1f;
  transform: scale(1.03);
}

.actor-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.name {
  margin: 0;
  font-weight: bold;
}

.actor-card span {
  font-size: 12px;
  color: #aaa;
}


/* NAVBAR MEJORADA */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 10;
}

/* HERO */
.hero-home {
  height: 90vh;
  background: linear-gradient(to top, #0b0b0b, transparent),
              url('hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 60px;
  margin-top: 70px;
}

.hero-overlay h1 {
  font-size: 60px;
  margin: 0;
}

.hero-overlay p {
  color: #ccc;
  margin-top: 10px;
}

/* CATEGORÍAS */
.category {
  padding: 20px 40px;
}

/* FILAS TIPO NETFLIX */
.movies-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-top: 10px;
  scroll-behavior: smooth;
}

.movies-row::-webkit-scrollbar {
  display: none;
}

/* TARJETAS */
.movie {
  min-width: 180px;
  cursor: pointer;
  transition: 0.3s;
}

.movie img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.movie p {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
}

/* HOVER PRO */
.movie:hover {
  transform: scale(1.1);
  z-index: 5;
}

/* BUSCADOR */
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  padding: 8px 15px;
  border-radius: 20px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  margin-left: 10px;
}

/* LOGO */
.logo-img {
  width: 150px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero-overlay h1 {
    font-size: 35px;
  }

  .movie {
    min-width: 140px;
  }
}