/* main.css - Estilos base para TuTV OTT MVP */
:root {
  --dark-bg: #12121a;
  --card-bg: #1c1c28;
  --accent: #0600ff;
  --accent-light: #6967ca;
  --danger: #bd0a07;
  --text-main: #f1f1f7;
  --text-muted: #b9bcf0;
  --border: #23233a;
}
body {
  background: linear-gradient(180deg, #0600ff 0%, #12121a 100%);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
 /* background: linear-gradient(180deg, #0600ff 0%, #12121a 100%);*/ 
 /* overflow: hidden;*/ 
}
.hero__player {
  width: 100%;
  max-width: 950px;
  z-index: 1;
}
.hero__player {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__player video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  display: block;
}
@media (max-width: 900px) {
  .hero__player {
    height: 48vw;
    min-height: 220px;
    max-height: 60vw;
  }
  .hero__player video {
    width: 90vw;
    height: 48vw;
    max-width: 100vw;
    max-height: 60vw;
    border-radius: 1.2rem;
    box-shadow: 0 6px 32px 0 #0600ff33;
    object-fit: contain;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero__player {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
  /*  min-height: 100vw; */
    max-height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
  }
  .hero__player video {
    width: 100vw;
    height: 56vw;
    max-height: 60vh;
    min-height: 180px;
    border-radius: 1.2rem;
    box-shadow: 0 6px 32px 0 #0600ff33;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    background: #000;
  }
}

.hero__overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 2;
}
.hero__logo {
height: 160px;
    width: 200px;
  filter: drop-shadow(0 2px 12px #0600ff88);
}
body > header > div > div.hero__info > div:nth-child(1) > span.hero__live-badge {
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  padding: 0.45em 1.1em;
  border-radius: 100px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px #bd0a0733;
  animation: pulse 1.8s infinite;
  margin-right: 0.6em;
  display: inline-block;
}
.hero__hd {
  background: #222;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.3em 0.8em;
  border-radius: 0.7em;
  margin-left: 0.2em;
  letter-spacing: 1px;
  border: 1.5px solid #fff2;
  display: inline-block;
}
.hero__slider {
  background: linear-gradient(90deg, #18181e 70%, #18181e00 100%);
  min-height: 420px;
  width: 100%;
 /* max-width: 1400px;*/
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  position: relative;
  aspect-ratio: 16/9;
  box-sizing: border-box;
}
@media (min-width: 2000px) {
  .hero__slider {
    max-width: 1400px;
    min-height: 600px;
    aspect-ratio: 16/6.5;
    margin: 2vw auto;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 12px 64px #0006;
  }
  .hero__info {
    padding-left: 4vw;
    padding-right: 5vw;
  }
  .hero__visual video {
    max-width: 600px;
    max-height: 400px;
  }
}

.hero__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3vw 5vw 3vw 4vw;
  z-index: 2;
  color: #fff;
}
.hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.2rem 0 0.7rem 0;
  color: #fff;
  text-shadow: 0 2px 16px #000a;
}
.hero__desc {
  font-size: 1.1rem;
  color: #eaeaf5;
  max-width: 450px;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 8px #0006;
}
.hero__btn {
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.7em 2.2em;
  border-radius: 2em;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-right: 0.5em;
  box-shadow: 0 2px 16px #0003;
  outline: none;
}
.hero__btn--play {
  background: #b21b2e;
  color: #fff;
  border: none;
}
.hero__btn--play:hover, .hero__btn--play:focus {
  background: #e03a4b;
  color: #fff;
}
.hero__btn--details {
  background: #fff2;
  color: #fff;
  border: 1.5px solid #fff5;
}
.hero__btn--details:hover, .hero__btn--details:focus {
  background: #fff4;
  color: #fff;
}
.hero__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 320px;
}
.hero__visual video {
 /* width: 90%;
  max-width: 520px;
  max-height: 340px;
  border-radius: 1.5rem; */
  box-shadow: 0 8px 48px #0600ff55;
  background: #000;
  z-index: 2;
}
.hero__visual img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 95%;
  max-height: 320px;
  z-index: 5;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 32px #0008);
}
@media (max-width: 900px) {
  .hero__slider {
    flex-direction: column;
    min-height: 420px;
    padding-bottom: 2rem;
  }
  .hero__info {
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    align-items: center;
  }
  .hero__visual {
    min-width: 0;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 2rem;
  }
  .hero__visual video {
  /*  width: 98vw;*/
    max-width: 99vw;
    max-height: 42vw;
    border-radius: 1.2rem;
  }
  .hero__visual img {
    height: 120px;
    max-height: 120px;
    right: 2vw;
    bottom: 0;
  }
}
@media (max-width: 600px) {
  .hero__slider {
    flex-direction: column;
    min-height: 340px;
    padding-bottom: 1.2rem;
  }
  .hero__info {
    padding: 1.1rem 0.7rem 0.7rem 0.7rem;
    text-align: center;
    align-items: center;
  }
  .hero__visual {
    min-width: 0;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1.2rem;
  }
  .hero__visual video {
    width: 98vw;
    max-width: 99vw;
    max-height: 50vw;
    border-radius: 1.2rem;
  }
  .hero__visual img {
    height: 70px;
    max-height: 70px;
    right: 1vw;
    bottom: 0;
  }
}

video:fullscreen, video:-webkit-full-screen, video:-ms-fullscreen {
  border-radius: 0 !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #000 !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #bd0a0744; }
  70% { box-shadow: 0 0 0 10px #bd0a0700; }
  100% { box-shadow: 0 0 0 0 #bd0a0744; }
}
main {
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
  padding: 0 1.2rem;
}
.section {
  margin-bottom: 2.8rem;
}
.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--accent-light);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--card-bg);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 #0600ff22;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  position: relative;
}
.card:hover, .card:focus {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px 0 #0600ff66;
  outline: 2px solid var(--accent-light);
}
.card__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #23233a;
  border-bottom: 1px solid var(--border);
}
.card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0.8rem 1rem 0.3rem 1rem;
}
.card__meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 1rem 1rem 1rem;
}
@media (max-width: 900px) {
  .hero__player video { height: 52vw; }
  main { max-width: 98vw; }
}
@media (max-width: 600px) {
  .hero { min-height: 32vh; }
  /*.hero__logo { height: 38px; } */
  .hero__overlay { top: 1rem; left: 1rem; }
  .section h2 { font-size: 1.1rem; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .card { min-height: 130px; }
  .card__img { height: 70px; }
  .card__title { font-size: 0.98rem; }
  .card__meta { font-size: 0.85rem; }
}
