@charset "UTF-8";
.banner-v229__img-cover {
  display: grid;
  height: 100%;
}
.banner-v229__img-cover svg {
  width: 192rem;
  height: 76rem;
}

.banner-v229 .xo-image img {
  height: 100%;
}

.banner-v229__content {
  position: relative;
  z-index: 1;
  padding: 2.4rem;
  background-color: var(--bg, #FBF6ED);
}
@media (min-width: 992px) {
  .banner-v229__content {
    padding: 4.8rem;
    margin-top: -12rem;
  }
}

.banner-v229__video {
  position: relative;
  height: clamp(20rem, calc(26.455026455vw + 9.6825396825rem), 30rem);
}
@media (max-width: 767px) {
  .banner-v229__video .xo-image,
  .banner-v229__video img {
    height: 100%;
  }
}
@media (min-width: 768px) {
  .banner-v229__video {
    height: auto;
  }
}

.banner-v229__video-style {
  position: absolute;
  top: 50%;
  width: 100%;
  padding: 0 1.3rem;
  text-align: center;
  opacity: 1;
  transition: opacity 0.25s ease-out;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}

.banner-v229__play-button {
  position: relative;
  width: 80px;
  /* Kích thước vòng tròn */
  height: 80px;
  background: linear-gradient(145deg, #ffffff, #d0d0d0);
  /* Gradient từ trắng đến xám nhạt */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.8);
  /* Ánh sáng phía trên */
  animation: float 5s ease-in-out infinite;
  /* Animation tự động đi lên đi xuống */
}

/* Animation đi lên đi xuống */
@keyframes float {
  0% {
    transform: translateY(0);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.8);
  }
  50% {
    transform: translateY(1rem);
    /* Đi lên 5px */
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.4), -8px -8px 20px rgba(255, 255, 255, 0.9);
  }
  100% {
    transform: translateY(0);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.8);
  }
}
/* Khi hover: dừng animation tại vị trí hiện tại */
.banner-v229__play-button:hover {
  animation-play-state: paused;
  /* Tạm dừng animation */
}

/* Khi không hover: tiếp tục animation từ vị trí hiện tại */
.banner-v229__play-button:not(:hover) {
  animation-play-state: running;
  /* Tiếp tục animation */
}

.banner-v229__play-button::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid color-mix(in srgb, rgba(var(--color-accent)) calc(1 * 100%), transparent);
  /* Tam giác màu xanh nhạt */
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  /* Căn chỉnh tam giác */
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
  /* Đổ bóng cho tam giác */
}

.banner-v229__play-button::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent);
  /* Ánh sáng highlight */
  border-radius: 50%;
}

@keyframes squares {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
  20% {
    -webkit-transform: scale(1.24);
    -moz-transform: scale(1.24);
    -o-transform: scale(1.24);
    transform: scale(1.24);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(2.1);
    -moz-transform: scale(2.1);
    -o-transform: scale(2.1);
    transform: scale(2.1);
    opacity: 0;
  }
}
.banner-v229__title {
  font-weight: 500;
  font-size: clamp(3rem, calc(3.75vw + 1.5rem), 6rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  margin: 1.5rem 0 2.4rem 0;
  letter-spacing: 0.3rem;
  font-family: var(--font-custom-family);
}

.banner-v229__subtitle {
  font-weight: 500;
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.3rem);
  text-transform: uppercase;
}

.banner-v229__description {
  font-size: calc(var(--font-body-scale) * 1.6rem);
  opacity: 0.6;
  margin-bottom: 2.4rem;
}
@media (min-width: 768px) {
  .banner-v229__description {
    margin-bottom: 4.8rem;
  }
}

.banner-v229__content-box {
  color: rgb(var(--color-foreground));
}

.banner-v229__modal {
  z-index: 100000;
}
.banner-v229__modal .xo-video,
.banner-v229__modal .video {
  padding: 0 1.5rem;
  width: 100vw;
  height: 60vh;
}
@media (min-width: 1200px) {
  .banner-v229__modal .xo-video,
  .banner-v229__modal .video {
    width: 100rem;
  }
}

.banner-v229__wrap {
  aspect-ratio: 1000/563;
}
.banner-v229__wrap .xo-video {
  aspect-ratio: unset !important;
}
.banner-v229__wrap iframe {
  border-radius: var(--modal-corner-radius);
}

.banner-v229__close {
  cursor: pointer;
  position: absolute;
  top: -4rem;
}
[dir=ltr] .banner-v229__close {
  right: 1rem;
}
[dir=rtl] .banner-v229__close {
  left: 1rem;
}
.banner-v229__close button {
  all: unset;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.3s;
}
.banner-v229__close svg {
  color: color-mix(in srgb, rgba(var(--color-background)) calc(1 * 100%), transparent);
  line-height: 0;
}

.banner-v229__close:hover button {
  background-color: rgba(var(--color-foreground));
  rotate: 180deg;
}
.banner-v229__close:hover svg {
  color: rgba(var(--color-background));
}