/* ========================================
   Video plaayer
   ======================================== */
   
.mumu-video-section {
  margin-top: 60px;
}

.mumu-video-featured {
  margin-bottom: 30px;
}

.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  background: rgba(0,0,0,0.6);
  padding: 12px 16px;
  border-radius: 50%;
}

.mumu-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.video-card p {
  margin-top: 8px;
  font-size: 14px;
}

/* MOBILE */
@media(max-width: 768px){
  .mumu-video-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   VIDEO SECTION, MERGED REBUILD
========================= */

.mumu-video-section {
  margin-top: 80px;
}

.mumu-video-featured {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(10,10,10,0.28);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 22px;
  margin-bottom: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mumu-video-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 24px 56px rgba(0,0,0,0.28);
}

.mumu-video-featured::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 40%);
}

.mumu-video-featured > * {
  position: relative;
  z-index: 2;
}

.mumu-video-featured-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.mumu-video-featured .video-thumb {
  margin-bottom: 16px;
  border-radius: 14px;
}

.mumu-video-featured h3 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.12;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.mumu-video-featured-meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

.mumu-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  border-radius: 15px;
  padding: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

.video-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 12px;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.3s ease;
}

.video-thumb:hover::after {
  opacity: 0.9;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.4;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 3px;
}

.video-thumb:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

.video-cta {
  margin-top: 30px;
  text-align: center;
}

.mumu-more-videos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;

  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.mumu-more-videos:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

.mumu-more-videos:focus-visible {
  outline: 2px solid rgba(255,255,255,0.55);
  outline-offset: 2px;
}

/* =========================
   LIGHTBOX, OVERLAY
========================= */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.video-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* =========================
   LIGHTBOX, SHELL
========================= */

.video-lightbox-shell {
  position: relative;
  z-index: 2;
  width: min(94vw, 1280px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 88px;
}

/* =========================
   LIGHTBOX, INNER PANEL
========================= */

.video-lightbox-inner {
  width: 100%;
  max-width: 1040px;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(.22,.9,.24,1), opacity 0.42s ease;
}

.video-lightbox.active .video-lightbox-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.video-lightbox-player-wrap {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 30px 90px rgba(0,0,0,0.42);
  overflow: hidden;
}

.video-lightbox-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-lightbox-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-meta {
  padding: 18px 4px 0;
  text-align: left;
}

.video-lightbox-label {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

.video-lightbox-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* =========================
   LIGHTBOX, CLOSE BUTTON
========================= */

.video-lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.video-lightbox-close span {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.video-lightbox-close:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.56);
}

.video-lightbox-close:focus-visible {
  outline: 2px solid rgba(255,255,255,0.55);
  outline-offset: 2px;
}

/* =========================
   LIGHTBOX, NAV ARROWS
========================= */

.video-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.video-lightbox-nav span {
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

.video-lightbox-prev {
  left: 20px;
}

.video-lightbox-next {
  right: 20px;
}

.video-lightbox-nav:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.56);
}

.video-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.video-lightbox-nav:focus-visible {
  outline: 2px solid rgba(255,255,255,0.55);
  outline-offset: 2px;
}

/* =========================
   BODY LOCK
========================= */

body.lightbox-open {
  overflow: hidden;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .video-lightbox-shell {
    padding: 28px 22px;
  }

  .video-lightbox-nav {
    width: 46px;
    height: 46px;
    margin-top: -23px;
  }

  .video-lightbox-nav span {
    font-size: 30px;
  }

  .video-lightbox-prev {
    left: 10px;
  }

  .video-lightbox-next {
    right: 10px;
  }

  .video-lightbox-title {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .video-lightbox-shell {
    padding: 18px 14px;
  }

  .video-lightbox-inner {
    max-width: 100%;
  }

  .video-lightbox-player-wrap {
    border-radius: 16px;
  }

  .video-lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .video-lightbox-close span {
    font-size: 22px;
  }

  .video-lightbox-nav {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    top: auto;
    bottom: 92px;
    margin-top: 0;
  }

  .video-lightbox-prev {
    left: 14px;
  }

  .video-lightbox-next {
    right: 14px;
  }

  .video-lightbox-nav span {
    font-size: 28px;
  }

  .video-lightbox-meta {
    padding-top: 14px;
  }

  .video-lightbox-title {
    font-size: 18px;
    line-height: 1.25;
  }
}
@media (max-width: 600px) {
  .mumu-video-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .video-card {
    padding: 12px !important;
  }

  .video-card .video-thumb {
    padding-top: 42% !important; /* thinner than 16:9 */
    margin-bottom: 10px !important;
    border-radius: 10px !important;
  }

  .video-card p {
    margin-top: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 600px) {

  /* ONE COLUMN */
  .mumu-video-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* CARD → HORIZONTAL */
  .video-card {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 10px !important;
  }

  /* THUMB → LEFT SIDE */
  .video-card .video-thumb {
    flex: 0 0 42%;   /* width of thumbnail */
    padding-top: 24%; /* controls height (thinner look) */

    margin-bottom: 0 !important;
    border-radius: 10px;
  }

  /* TEXT → RIGHT SIDE */
  .video-card p {
    flex: 1;
    margin: 0 !important;

    font-size: 14px;
    line-height: 1.35;
  }

  /* PLAY BUTTON SCALE DOWN */
  .video-card .play-btn {
    width: 40px;
    height: 40px;
  }

  .video-card .play-btn::before {
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }
}
/* =========================
   VIDEO CARD HIERARCHY
========================= */

.mumu-video-featured {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 22px 60px rgba(0,0,0,0.28);
}

.mumu-video-featured h3 {
  font-size: 30px;
  line-height: 1.08;
  margin-bottom: 8px;
}

.mumu-video-featured-meta {
  color: rgba(255,255,255,0.78);
}

.video-card {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.12);
}

.video-card p {
  color: rgba(255,255,255,0.88);
  transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.video-card:hover p {
  color: #fff;
  transform: translateY(-1px);
}

/* =========================
   THUMBNAIL FEEL
========================= */

.video-thumb {
  transform: translateZ(0);
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.38) 0%,
    rgba(0,0,0,0.08) 45%,
    rgba(0,0,0,0.02) 100%
  );
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.video-thumb::after {
  background: rgba(0,0,0,0.14);
  opacity: 0.55;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.video-card:hover .video-thumb::before,
.mumu-video-featured:hover .video-thumb::before {
  opacity: 1;
}

.video-card:hover .video-thumb::after,
.mumu-video-featured:hover .video-thumb::after {
  opacity: 0.82;
}

/* subtle image lift */
.video-card .video-thumb,
.mumu-video-featured .video-thumb {
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.video-card:hover .video-thumb,
.mumu-video-featured:hover .video-thumb {
  transform: scale(1.015);
  box-shadow: 0 18px 36px rgba(0,0,0,0.26);
}

/* =========================
   PLAY BUTTON, PREMIUM FEEL
========================= */

.play-btn {
  box-shadow: 0 10px 30px rgba(0,0,0,0.24);
}

.video-card:hover .play-btn,
.mumu-video-featured:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.62);
  box-shadow: 0 14px 34px rgba(0,0,0,0.3);
}

/* featured gets slightly bigger button */
.mumu-video-featured .play-btn {
  width: 58px;
  height: 58px;
}

.mumu-video-featured .play-btn::before {
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* =========================
   CARD DEPTH AND HOVER
========================= */

.video-card,
.mumu-video-featured {
  will-change: transform, box-shadow, border-color;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 24px 50px rgba(0,0,0,0.24);
}

.mumu-video-featured:hover {
  transform: translateY(-5px);
}

/* =========================
   MORE BUTTON, BETTER PRESENCE
========================= */

.mumu-more-videos {
  min-width: 150px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.mumu-more-videos:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.24);
}

/* =========================
   LIGHTBOX, PLAYER FEEL
========================= */

.video-lightbox-player-wrap {
  border-color: rgba(255,255,255,0.18);
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(0,0,0,0.72);
  box-shadow: 0 34px 100px rgba(0,0,0,0.48);
}

.video-lightbox-meta {
  padding-top: 20px;
}

.video-lightbox-title {
  max-width: 900px;
  font-size: 26px;
  line-height: 1.18;
}

.video-lightbox-label {
  color: rgba(255,255,255,0.52);
}

/* =========================
   LIGHTBOX BUTTONS
========================= */

.video-lightbox-close,
.video-lightbox-nav {
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.video-lightbox-close:hover,
.video-lightbox-nav:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

/* =========================
   LIGHTBOX OPEN MOTION
========================= */

.video-lightbox {
  transition: opacity 0.34s ease;
}

.video-lightbox-inner {
  transition: transform 0.46s cubic-bezier(.2,.85,.2,1), opacity 0.42s ease;
}

.video-lightbox.active .video-lightbox-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* =========================
   MOBILE CARD HIERARCHY
========================= */

@media (max-width: 600px) {
  .video-card {
    border-radius: 14px;
  }

  .video-card p {
    font-size: 13px;
    line-height: 1.32;
  }

  .video-card .video-thumb {
    flex: 0 0 40%;
    padding-top: 23%;
  }

  .video-card:hover {
    transform: none;
  }

  .video-card:hover .video-thumb {
    transform: none;
    box-shadow: none;
  }
}
.video-lightbox-player {
  transition: opacity 0.22s ease;
}

