/* Base container for video pages */
.dv-main {
  background: var(--bg-main, #0f0f0f);
}

.dv-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* Cards */
.dv-card {
  background: #141414;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

/* Headings */
.dv-heading {
  color: var(--accent, #ff4fa3);
  margin-bottom: 1rem;
}

/* Ads wrapper */
.dv-ad {
  max-width: 960px;
  margin: 2.5rem auto;
  padding: 1rem;
}

.dv-video-wrapper{
  position: relative;
  width: 100%;
  margin: 0 auto 2.5rem;

  /* ancho responsive: crece con la pantalla */
  max-width: min(560px, 92vw);

  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

/* en pantallas grandes, súbelo más */
@media (min-width: 1024px){
  .dv-video-wrapper{
    max-width: 620px;
  }
}


/* iframe */
.dv-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* overlay */
.dv-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.9)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

/* ad */
.dv-video-overlay__ad {
  max-width: 300px;
}

/* button */
.dv-video-overlay__btn {
  background: linear-gradient(135deg, #ff4fa3, #ff8bd1);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
  font-size: 1rem;
}

.dv-video-overlay__btn:hover {
  opacity: 0.9;
}

/* hidden state */
.dv-video-wrapper.is-unlocked .dv-video-overlay {
  display: none;
}

/* ===== VIDEO PLAYER FIX ===== */

.dv-player__frame--ratio{
  position: relative;
  width: 100%;
  max-width: 900px;     /* ancho cómodo en desktop */
  margin: 0 auto;

  aspect-ratio: 16 / 9; /* PLAYER NORMAL */
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

.dv-player__frame--ratio iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* un poco más grande en pantallas grandes */
@media (min-width: 1024px){
  .dv-player__frame--ratio{
    max-width: 1000px;
  }
}

/* ============================= */
/* PLATFORMS – CENTERED BUTTONS */
/* ============================= */

.dv-platforms {
  display: flex;
  justify-content: center;   /* centra el botón */
  margin-top: 1.5rem;
}

.dv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.85rem 1.75rem;
  border-radius: 999px;

  background: linear-gradient(135deg, #ff4fa3, #ff78c2);
  color: #111;

  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;

  box-shadow: 0 8px 24px rgba(255, 79, 163, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 79, 163, 0.45);
}
