
.mundial-video-carousel {
  width: 320px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.mundial-video-carousel__viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.mundial-video-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.mundial-video-carousel__slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}

.mundial-video-carousel__media {
  width: 100%;
  aspect-ratio: 9 / 16;
  position: relative;
  background: #28285B;
  overflow: hidden;
}

.mundial-video-carousel__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mundial-video-carousel__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  z-index: 2;
}

.mundial-video-carousel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f8c232;
  color: #28285B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: none;
}

.mundial-video-carousel__play:hover,
.mundial-video-carousel__play:focus,
.mundial-video-carousel__play:active {
  transform: translate(-50%, -50%);
  background: #f8c232;
  color: #28285B;
}

.mundial-video-carousel__play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  margin-left: 4px;
}

.mundial-video-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f8c232;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
  transition: none;
}

.mundial-video-carousel__arrow--prev { left: -55px; }
.mundial-video-carousel__arrow--next { right: -55px; }

.mundial-video-carousel__arrow:hover,
.mundial-video-carousel__arrow:focus,
.mundial-video-carousel__arrow:active {
  background: #f8c232;
  color: #fff;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}

.mundial-video-carousel__dots {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.mundial-video-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.mundial-video-carousel__dot.active {
  background: #f8c232;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .mundial-video-carousel { width: 280px; max-width: 85%; }
  .mundial-video-carousel__viewport { border-radius: 10px; }
  .mundial-video-carousel__play { width: 54px; height: 54px; }
  .mundial-video-carousel__arrow { width: 34px; height: 34px; font-size: 23px; }
  .mundial-video-carousel__arrow--prev { left: -48px; }
  .mundial-video-carousel__arrow--next { right: -48px; }
}

@media (max-width: 500px) {
  .mundial-video-carousel {
    width: 250px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  .mundial-video-carousel__viewport { border-radius: 9px; }
  .mundial-video-carousel__media { aspect-ratio: 9 / 16; }
  .mundial-video-carousel__play { width: 48px; height: 48px; }
  .mundial-video-carousel__play::before {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 12px;
  }
  .mundial-video-carousel__arrow { width: 31px; height: 31px; font-size: 21px; }
  .mundial-video-carousel__arrow--prev { left: -43px; }
  .mundial-video-carousel__arrow--next { right: -43px; }
  .mundial-video-carousel__dots { margin-top: 10px; }
  .mundial-video-carousel__dot { width: 7px; height: 7px; }
}

@media (max-width: 380px) {
  .mundial-video-carousel { width: 220px; max-width: 82%; }
  .mundial-video-carousel__play { width: 44px; height: 44px; }
  .mundial-video-carousel__arrow { width: 29px; height: 29px; font-size: 19px; }
  .mundial-video-carousel__arrow--prev { left: -38px; }
  .mundial-video-carousel__arrow--next { right: -38px; }
}
