/* ========================================== */
/* HOME: MOMENTS FROM THE STAGE (Videos)      */
/* /events ke videos, Owl Carousel, 100% resp */
/* ========================================== */

.mv-section,
.mv-section * {
  box-sizing: border-box;
}

.mv-section {
  --mv-bg: #2a1d14;
  --mv-card: #3a2a20;
  --mv-line: rgba(217, 178, 134, .22);
  --mv-gold: #d9b286;
  --mv-cream: #fff6ea;
  --mv-muted: #cdb79d;
  --mv-brown: #805633;

  position: relative;
  width: 100%;
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(128, 86, 51, .45), transparent 70%),
    var(--mv-bg);
  color: var(--mv-cream);
  overflow: hidden;
}

.mv-container {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

/* ---------- Heading ---------- */

.mv-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.mv-heading-content {
  min-width: 0;
}

.mv-tagline {
  margin: 0 0 12px;
  color: var(--mv-gold);
  font: 700 12px/1.4 Inter, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mv-title {
  margin: 0;
  color: var(--mv-cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
}

.mv-title em {
  color: var(--mv-gold);
  font-style: italic;
}

.mv-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding-bottom: 3px;
}

.mv-see-all {
  padding: 5px 0;
  border-bottom: 1px solid var(--mv-gold);
  color: var(--mv-gold);
  font: 700 15px/1.4 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.mv-see-all:hover {
  color: var(--mv-cream);
  border-color: var(--mv-cream);
}

.mv-arrows {
  display: flex;
  gap: 8px;
}

.mv-arrow {
  width: 42px;
  height: 42px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mv-line);
  border-radius: 50%;
  background: transparent;
  color: var(--mv-cream);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.mv-arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mv-arrow:hover {
  background: var(--mv-brown);
  border-color: var(--mv-brown);
}

.mv-arrow:focus-visible,
.mv-thumb:focus-visible,
.mv-see-all:focus-visible,
.mv-close:focus-visible {
  outline: 2px solid var(--mv-gold);
  outline-offset: 3px;
}

/* ---------- Track (Owl + no-JS/CDN fallback) ---------- */

.mv-track {
  display: flex;              /* owl load na ho to bhi swipe/scroll chalega */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mv-track::-webkit-scrollbar {
  display: none;
}

.mv-track:not(.owl-loaded) .mv-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

.mv-track.owl-loaded {
  display: block;
  overflow: visible;
}

.mv-track .owl-stage-outer {
  padding: 8px 0 22px;        /* hover lift / shadow kate nahi */
  margin: -8px 0 -22px;
}

.mv-track .owl-stage {
  display: flex;
}

.mv-track .owl-item {
  display: flex;
}

.mv-track .owl-item .mv-card {
  width: 100%;
}

/* Owl ka CSS img ko width:100% kar deta hai; yahan wahi chahiye, bas display fix */
.mv-track .owl-item img.mv-img,
.mv-track .owl-item .mv-thumb img {
  display: block;
  width: 100%;
}

/* ---------- Card ---------- */

.mv-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 16px;
  background: var(--mv-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 178, 134, .6);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .32);
}

.mv-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #1b1410;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.mv-card:hover .mv-thumb img {
  transform: scale(1.06);
}

.mv-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 12, 6, .65));
  pointer-events: none;
}

.mv-thumb__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--mv-gold);
  font-size: 54px;
}

.mv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(128, 86, 51, .92);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14);
  transition: transform .25s ease, background .25s ease;
}

.mv-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.mv-card:hover .mv-play {
  transform: scale(1.1);
  background: var(--mv-brown);
}

.mv-dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font: 600 12px/1.4 Inter, Arial, sans-serif;
}

.mv-body {
  flex: 1;
  padding: 16px 18px 20px;
}

.mv-card-title {
  margin: 0;
  color: var(--mv-cream);
  font-family: "Noto Serif Devanagari", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mv-card-sub {
  margin: 6px 0 0;
  color: var(--mv-muted);
  font: 400 13px/1.5 Inter, Arial, sans-serif;
  overflow-wrap: anywhere;
}

/* ---------- Dots (Owl) ---------- */

.mv-track .owl-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.mv-track .owl-dot {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.mv-track .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: rgba(217, 178, 134, .35);
  transition: width .25s ease, background .25s ease;
}

.mv-track .owl-dot.active span,
.mv-track .owl-dot:hover span {
  width: 26px;
  background: var(--mv-gold);
}

/* ---------- Popup player ---------- */

.mv-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px 24px;
  background: rgba(14, 8, 4, .88);
  backdrop-filter: blur(4px);
}

.mv-modal[hidden] {
  display: none;
}

.mv-panel {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.mv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.mv-frame iframe,
.mv-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.mv-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease;
}

.mv-close:hover {
  background: rgba(255, 255, 255, .3);
}

.mv-modal-title {
  margin: 14px 0 0;
  color: var(--mv-cream);
  font-family: "Noto Serif Devanagari", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .mv-section { padding: 56px 0 64px; }
  .mv-track:not(.owl-loaded) .mv-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 767px) {
  .mv-section { padding: 44px 0 52px; }
  .mv-container { width: min(100% - 32px, 1220px); }

  .mv-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
  }

  .mv-controls {
    width: 100%;
    justify-content: space-between;
  }

  .mv-track,
  .mv-track:not(.owl-loaded) { gap: 14px; }
  .mv-track:not(.owl-loaded) .mv-card { flex-basis: 86%; }

  .mv-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .mv-card-title { font-size: 17px; }
  .mv-track .owl-dots { margin-top: 26px; }
}

@media (max-width: 480px) {
  .mv-arrow { width: 38px; height: 38px; padding: 10px; }
  .mv-body { padding: 14px 16px 18px; }
  .mv-modal { padding: 60px 10px 20px; }
  .mv-modal-title { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-card,
  .mv-thumb img,
  .mv-play,
  .mv-track .owl-dot span { transition: none; }
  .mv-card:hover { transform: none; }
  .mv-card:hover .mv-thumb img { transform: none; }
}
