/* screen - index */

.index {
  min-height: 1080px;
  min-width: 1920px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.index .form-3 {
  aspect-ratio: 1.16;
  height: 516px;
  left: 334px;
  object-fit: cover;
  position: absolute;
  top: 564px;
  width: 597px;
}

.index .group-189 {
  height: 66px;
  left: 395px;
  position: absolute;
  top: 635px;
  width: 479px;
}

.index .rectangle-1 {
  background-color: var(--shark);
  border: 2px solid;
  border-color: var(--emerald);
  border-radius: 20px;
  height: 66px;
  left: 0;
  position: absolute;
  top: 0;
  width: 477px;
}

.index .tn-ng-nhp {
  left: 72px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 20px;
  width: 307px;
}

.index .vector {
  height: 24.60%;
  left: 6.58%;
  position: absolute;
  top: 30.25%;
  width: 3.31%;
}

.index .vector-1 {
  height: 16.68%;
  left: 6.00%;
  position: absolute;
  top: 54.85%;
  width: 4.49%;
}

.index .group-192 {
  height: 66px;
  left: 395px;
  position: absolute;
  top: 737px;
  width: 479px;
}

.index .group-194 {
  height: 46.83%;
  left: 6.00%;
  position: absolute;
  top: 27.32%;
  width: 4.81%;
}

.index .vector-2 {
  height: 63.91%;
  left: 0;
  position: absolute;
  top: 36.09%;
  width: 100%;
}

.index .vector-3 {
  height: 28.74%;
  left: 18.89%;
  position: absolute;
  top: 0;
  width: 62.33%;
}

.index .mt-khu {
  left: 73px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 19px;
  width: 180px;
}

.index .group-193 {
  height: 66px;
  left: 395px;
  position: absolute;
  top: 839px;
  width: 479px;
}

.index .rectangle-1-1 {
  background-color: var(--shark);
  border: 2px solid;
  border-color: var(--emerald);
  border-radius: 20px;
  height: 66px;
  left: 0;
  position: absolute;
  top: 1px;
  width: 477px;
}

.index .vector-4 {
  height: 39.08%;
  left: 6.00%;
  position: absolute;
  top: 30.74%;
  width: 5.39%;
}

.index .s-in-thoi {
  left: 73px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 20px;
  width: 241px;
}

.index .cta-4 {
  aspect-ratio: 4.78;
  height: 108px;
  left: 375px;
  object-fit: cover;
  position: absolute;
  top: 934px;
  width: 516px;
}
/* screen - mobile-2 */

.mobile-2 {
  min-height: 874px;
  min-width: 402px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.mobile-2 .form-3-1 {
  aspect-ratio: 1.16;
  height: 356px;
  left: -5px;
  object-fit: cover;
  position: absolute;
  top: 471px;
  width: 411px;
}

.mobile-2 .group-189-1 {
  height: 46px;
  left: 35px;
  position: absolute;
  top: 516px;
  width: 334px;
}

.mobile-2 .rectangle-1-2 {
  background-color: var(--shark);
  border: 2px solid;
  border-color: var(--emerald);
  border-radius: 20px;
  height: 46px;
  left: 0;
  position: absolute;
  top: 0;
  width: 332px;
}

.mobile-2 .tn-ng-nhp-1 {
  left: 50px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 14px;
  white-space: nowrap;
  width: 214px;
}

.mobile-2 .vector-5 {
  height: 24.60%;
  left: 6.57%;
  position: absolute;
  top: 30.25%;
  width: 3.31%;
}

.mobile-2 .vector-6 {
  height: 16.68%;
  left: 5.99%;
  position: absolute;
  top: 54.85%;
  width: 4.48%;
}

.mobile-2 .group-192-1 {
  height: 46px;
  left: 35px;
  position: absolute;
  top: 587px;
  width: 334px;
}

.mobile-2 .group-194-1 {
  height: 46.83%;
  left: 5.99%;
  position: absolute;
  top: 27.33%;
  width: 4.80%;
}

.mobile-2 .vector-7 {
  height: 63.91%;
  left: 0;
  position: absolute;
  top: 36.09%;
  width: 100.00%;
}

.mobile-2 .vector-8 {
  height: 28.74%;
  left: 18.89%;
  position: absolute;
  top: 0;
  width: 62.33%;
}

.mobile-2 .mt-khu-1 {
  left: 51px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 13px;
  white-space: nowrap;
  width: 125px;
}

.mobile-2 .group-193-1 {
  height: 46px;
  left: 35px;
  position: absolute;
  top: 658px;
  width: 334px;
}

.mobile-2 .vector-9 {
  height: 39.08%;
  left: 5.99%;
  position: absolute;
  top: 30.74%;
  width: 5.38%;
}

.mobile-2 .s-in-thoi-1 {
  left: 51px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 14px;
  white-space: nowrap;
  width: 168px;
}

.mobile-2 .cta-4-1 {
  aspect-ratio: 4.78;
  height: 74px;
  left: 23px;
  object-fit: cover;
  position: absolute;
  top: 729px;
  width: 356px;
}
/* screen - tablet-2 */

.tablet-2 {
  min-height: 1366px;
  min-width: 1024px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.tablet-2 .form-3-2 {
  aspect-ratio: 1.16;
  height: 513px;
  left: 11px;
  object-fit: cover;
  position: absolute;
  top: 626px;
  width: 593px;
}

.tablet-2 .group-189-2 {
  height: 66px;
  left: 69px;
  position: absolute;
  top: 690px;
  width: 481px;
}

.tablet-2 .rectangle-1-4 {
  top: 0;
}

.tablet-2 .tn-ng-nhp-2 {
  left: 72px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 20px;
  width: 309px;
}

.tablet-2 .vector-10 {
  height: 24.60%;
  left: 6.58%;
  position: absolute;
  top: 30.25%;
  width: 3.31%;
}

.tablet-2 .vector-11 {
  height: 16.68%;
  left: 6.00%;
  position: absolute;
  top: 54.85%;
  width: 4.49%;
}

.tablet-2 .group-192-2 {
  height: 66px;
  left: 69px;
  position: absolute;
  top: 793px;
  width: 481px;
}

.tablet-2 .rectangle-1-3 {
  top: 1px;
}

.tablet-2 .group-194-2 {
  height: 46.83%;
  left: 6.00%;
  position: absolute;
  top: 27.33%;
  width: 4.81%;
}

.tablet-2 .vector-12 {
  height: 63.91%;
  left: 0;
  position: absolute;
  top: 36.09%;
  width: 100.00%;
}

.tablet-2 .vector-13 {
  height: 28.74%;
  left: 18.89%;
  position: absolute;
  top: 0;
  width: 62.33%;
}

.tablet-2 .mt-khu-2 {
  left: 73px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 19px;
  width: 180px;
}

.tablet-2 .group-193-2 {
  height: 66px;
  left: 69px;
  position: absolute;
  top: 895px;
  width: 481px;
}

.tablet-2 .vector-14 {
  height: 39.08%;
  left: 6.00%;
  position: absolute;
  top: 30.74%;
  width: 5.39%;
}

.tablet-2 .s-in-thoi-2 {
  left: 73px;
  letter-spacing: 0;
  line-height: normal;
  position: absolute;
  top: 20px;
  width: 242px;
}

.tablet-2 .cta-4-2 {
  aspect-ratio: 4.78;
  height: 107px;
  left: 51px;
  object-fit: cover;
  position: absolute;
  top: 994px;
  width: 512px;
}

.tablet-2 .rectangle-1 {
  background-color: var(--shark);
  border: 2px solid;
  border-color: var(--emerald);
  border-radius: 20px;
  height: 66px;
  left: 1px;
  position: absolute;
  width: 479px;
}
/* ======= register form ======= */

.index .group-189 input,
.index .group-192 input,
.index .group-193 input,
.mobile-2 .group-189-1 input,
.mobile-2 .group-192-1 input,
.mobile-2 .group-193-1 input,
.tablet-2 .group-189-2 input,
.tablet-2 .group-192-2 input,
.tablet-2 .group-193-2 input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  height: 100%;
  padding: 0;
  margin: 0;
  color: var(--white);
  font-family: var(--font-family-roboto);
  font-weight: 500;
  z-index: 2;
}

.index .group-189 input,
.index .group-192 input,
.index .group-193 input {
  left: 72px;
  width: calc(100% - 124px);
  font-size: var(--font-size-m);
}

.mobile-2 .group-189-1 input,
.mobile-2 .group-192-1 input,
.mobile-2 .group-193-1 input {
  left: 50px;
  width: calc(100% - 96px);
  font-size: 16px;
}

.tablet-2 .group-189-2 input,
.tablet-2 .group-192-2 input,
.tablet-2 .group-193-2 input {
  left: 72px;
  width: calc(100% - 124px);
  font-size: 18px;
}

.index .group-189 input::placeholder,
.index .group-192 input::placeholder,
.index .group-193 input::placeholder,
.mobile-2 .group-189-1 input::placeholder,
.mobile-2 .group-192-1 input::placeholder,
.mobile-2 .group-193-1 input::placeholder,
.tablet-2 .group-189-2 input::placeholder,
.tablet-2 .group-192-2 input::placeholder,
.tablet-2 .group-193-2 input::placeholder {
  color: var(--white);
  opacity: 0.8;
}

/* Eye toggle */
.index .eye-toggle,
.mobile-2 .eye-toggle,
.tablet-2 .eye-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.mobile-2 .eye-toggle {
  width: 20px;
  height: 20px;
}

.index .eye-toggle svg,
.mobile-2 .eye-toggle svg,
.tablet-2 .eye-toggle svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ======= CTA auto zoom ======= */

.index .cta-4,
.mobile-2 .cta-4-1,
.tablet-2 .cta-4-2 {
  animation: cta-zoom 1.2s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes cta-zoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

/* ======= validation errors ======= */

.register-form .errors {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  font-family: var(--font-family-roboto);
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0;
  top: calc(100% + 5px);
}

@media screen and (orientation: portrait) and (max-width: 749px) {
  .register-form .errors {
    font-size: 11px;
    top: calc(100% + 2px);
  }
}

@media screen and (orientation: portrait) and (min-width: 750px) {
  .register-form .errors {
    top: calc(100% + 6px);
  }
}
/* ======= page wrapper + bg ======= */

#xo88-page {
  background: #000;
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (orientation: portrait) and (max-width: 749px) {
  #xo88-page {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
  }
}

@media screen and (orientation: landscape) and (min-width: 1281px) {
  body {
    overflow: hidden;
    height: 100dvh;
  }
}

.x1-1,
.bg-mb-1,
.tablet-1-1 {
  display: none;
  height: 100%;
  left: 0;
  object-fit: fill;
  position: absolute;
  width: 100%;
  object-position: center;
  top: 0;
}

/* ======= main-container ======= */
.main-container {
  width: fit-content;
  flex-shrink: 0;
  transform-origin: center center;
  visibility: visible;
}

/* ======= screen toggling - 3 screens PC / Tablet / Mobile theo dọc-ngang ======= */

/* Dọc + < 750px → Mobile */
@media screen and (orientation: portrait) and (max-width: 749px) {
  .screen.index {
    display: none;
  }
  .screen.tablet-2 {
    display: none;
  }
  .screen.mobile-2 {
    display: block;
  }
  .bg-mb-1 {
    display: block;
  }
  .tablet-1-1 {
    display: none;
  }
}

/* Dọc + >= 750px → Tablet */
@media screen and (orientation: portrait) and (min-width: 750px) {
  .screen.index {
    display: none;
  }
  .screen.mobile-2 {
    display: none;
  }
  .screen.tablet-2 {
    display: block;
  }
  .bg-mb-1 {
    display: none;
  }
  .tablet-1-1 {
    display: block;
  }
}

/* Ngang → PC */
@media screen and (orientation: landscape) {
  .screen.mobile-2 {
    display: none;
  }
  .screen.tablet-2 {
    display: none;
  }
  .screen.index {
    display: block;
  }
  .x1-1 {
    display: block;
  }
  .bg-mb-1 {
    display: none;
  }
  .tablet-1-1 {
    display: none;
  }
  #xo88-page {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* Ngang màn hình nhỏ (< 1281px): cho phép cuộn khi chiều cao không đủ */
@media screen and (orientation: landscape) and (max-width: 1280px) {
  #xo88-page {
    overflow: visible;
    height: auto;
    min-height: 100dvh;
  }
}