.loc-vang-breadcrumb .loc-vang-ellipsis,
.loc-vang-breadcrumb .loc-vang-plane {
  display: none;
}

.wrapper-default-gamify {
  margin: auto;
  overflow: hidden;
  background: url(/assets/images/bg/bgBannerHomePage.svg);
  background-repeat: no-repeat;
  background-position: right top;
  background-attachment: fixed;
  background-size: cover;
  background-color: transparent;
}

.slick-step-slider .slick-track {
  display: flex !important;
  align-items: stretch;
}
.slick-step-slider .slick-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}
.slick-step-slider .slick-slide > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.step-slide {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.play-button:hover {
  transform: scale(1.1);
  background: rgba(255, 0, 0, 1) !important;
}
.countdown-value {
  font-variant-numeric: tabular-nums;
}
.countdown-status-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Additional styles for mobile touch support */
.play-button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.play-button:active {
  transform: scale(1.1);
  background: rgba(255, 0, 0, 0.8) !important;
}
/* Facebook overlay styles */
.fb-overlay {
  background: rgba(0, 0, 0, 0.3) !important;
}
.fb-overlay iframe {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .countdown-status-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 32px);
    right: 16px;
  }
  .countdown-status-wrapper .countdown-timer {
    justify-content: flex-end;
    gap: 6px;
  }
  .countdown-status-wrapper .countdown-unit {
    min-width: 34px;
  }
  /* Mobile Facebook overlay */
  .fb-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    box-sizing: border-box;
  }
  .fb-overlay iframe {
    width: 100%;
    height: auto;
    max-height: 80vh;
    aspect-ratio: 16 / 9;
    border-radius: 0 !important;
    object-fit: cover;
  }
}
.content-step h2 {
  font-family: Jambono-Medium !important;
  font-weight: 400;
  margin-bottom: 1rem !important;
}
.step-description p {
  margin: 0 !important;
  font-size: 15px;
}
.period-label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 2px;
  color: #000;
}
@media (max-width: 768px) {
  .period-label {
    font-size: 9px;
  }
  header#header-main-fixed {
    position: relative;
  }
  .header-main-top {
    background-color: red;
  }
  .bg-introduce .breadcrumb {
    margin-bottom: 0 !important;
  }
  .sec-introduce {
    margin-bottom: 0 !important;
  }
  .bg-introduce {
    margin: 0 !important;
  }
  .bg-introduce .breadcrumb span {
    margin: 0 !important;
    color: #333333;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
  }
  .loc-vang-breadcrumb {
    background: transparent;
    padding: 12px 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    margin-right: 0;
    margin-left: 0;
  }

  .loc-vang-breadcrumb a,
  .loc-vang-breadcrumb
    span:not(.loc-vang-ellipsis):not(.loc-vang-plane):not(.breadcrumb-title) {
    display: none !important;
  }

  .loc-vang-breadcrumb .loc-vang-ellipsis {
    display: inline-flex;
    font-size: 20px;
    color: #a8a8a8;
  }

  .loc-vang-breadcrumb .loc-vang-plane {
    display: inline-flex;
    font-size: 18px;
    color: #1c1c1c;
  }

  .loc-vang-breadcrumb .breadcrumb-title {
    display: inline-flex;
    font-weight: 600;
    font-size: 18px;
    color: #111;
  }

  .breadcrumb.loc-vang-breadcrumb {
    height: 44px;
    gap: 8px;
  }

  .sec-home {
    min-height: 240px;
  }
  .sec-home .banner-main a img {
    min-height: 240px;
    object-fit: cover;
  }
  .gamify-template-root {
    padding-top: 48px !important;
  }
  .bg-introduce {
    background-color: #ffff;
    padding: 0 !important;
  }
  span.loc-vang-ellipsis {
    color: #a7a7a7 !important;
  }

  .gamify-template-root .content-step [style*="font-size: 48px"] {
    font-size: 36px !important;
    padding: 0 !important;
  }

  .gamify-template-root .content-step h2[style*="font-size: 28px"] {
    font-size: 16px !important;
  }
  .sec-fqs-sm-custom .accordion-button {
    font-size: 18px;
    font-weight: 700;
  }
  .period-item.disabled {
    padding: 0 !important;
  }
  .bg-white.gamified-draw-block.shadow-sm.p-5.my-lg-4 {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
  }
  h3.custom {
    text-align: center;
  }
  .accordion-item.config {
    border-top: var(--bs-accordion-border-width) solid
      var(--bs-accordion-border-color);
    border-bottom: none;
  }
  .countdown-title {
    font-weight: 400;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0;
    text-align: center;
    padding-bottom: 32px;
  }
  .justify-content-center {
    justify-content: center !important;
  }
  .countdown-block {
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    /* height: auto !important; */
    background-size: cover !important;
    background-position: center !important;
    padding: 0 !important;
  }
  p.step-note.d-flex.align-items-center.text-center.justify-content-center.mt-4.mb-0 {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
  }
  h6 {
    font-size: 18px !important;
  }
  .image-block,
  .lucky-draw-block {
    padding: 40px 8px !important;
    gap: 32px;
    display: flex;
  }
  .mt-3 {
    font-size: 14px;
  }
  .period-indicator {
    width: 44px !important;
    height: 44px !important;
  }
  .d-flex.align-items-center.justify-content-between.position-relative.period-scroll-container {
    width: 100% !important;
  }
  .sec-fqs-sm-custom {
    background-color: #ffffff !important;
  }
  section#id-achievements {
    z-index: 1;
    position: relative;
    background-size: cover;
    background-color: unset;
    background-image: url(../images/bg/bg-footer.png);
    background-repeat: repeat;
    background-position: top center;
  }
  .bg-achievements {
    margin-top: 28px;
    background: url("/assets/images/bg-donate.40a2c077.webp");
  }
  .accordion-button:not(.collapsed) {
    color: #111 !important;
  }
  .sec-fqs-sm-custom .custom-accordion-wrapper {
    padding: 0 !important;
  }

  .d-flex-center,
  .m-sp-103 {
    display: none;
  }
  #heroCarousel,
  .carousel-image,
  .carousel-image-wrapper,
  .sec-home,
  .sec-home .slick-slide {
    min-height: 240px !important;
  }
  .gamified-overview-block {
    padding: 24px !important;
  }
  .gamified-step-block {
    padding: 48px 0 !important;
  }
  .sec-fqs-sm-custom {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  img.cloud-bg.jss817 {
    display: block;
  }
  .fluid-config {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .sec-achievements .logo-top img {
    margin-top: 12px;
  }
}

.prize-list-label-line {
  display: block;
  line-height: 1.3;
}
.period-label-line {
  display: block;
  line-height: 1.3;
}
.gamify-faq-heading {
  color: black;
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
  font-family: JambonoVNMedium;
}

@media (max-width: 768px) {
    .sec-gamify .banner-gamify a img, 
    .sec-gamify .slick-slide, 
    .sec-gamify  {
      min-height: 1px !important;
    }
    .sec-gamify .banner-gamify a img{
      object-fit: contain !important;
    }
}
