/* screen - index */

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

.index .form2-1 {
  aspect-ratio: 1.13;
  height: 527px;
  left: 351px;
  object-fit: cover;
  position: absolute;
  top: 520px;
  width: 598px;
}

.index .group-189 {
  height: 64px;
  left: 435px;
  position: absolute;
  top: 620px;
  width: 433px;
}

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

.index .vector {
  height: 24.53%;
  left: 8.87%;
  position: absolute;
  top: 30.51%;
  width: 3.74%;
}

.index .vector-1 {
  height: 16.64%;
  left: 8.21%;
  position: absolute;
  top: 55.04%;
  width: 5.07%;
}

.index .group-192 {
  height: 64px;
  left: 435px;
  position: absolute;
  top: 719px;
  width: 433px;
}

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

.index .group-194 {
  height: 46.71%;
  left: 7.94%;
  position: absolute;
  top: 27.12%;
  width: 5.44%;
}

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

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

.index .group-193 {
  height: 64px;
  left: 435px;
  position: absolute;
  top: 818px;
  width: 433px;
}

.index .vector-4 {
  height: 38.98%;
  left: 7.94%;
  position: absolute;
  top: 30.51%;
  width: 6.09%;
}

.index .cta-4 {
  aspect-ratio: 4.35;
  height: 104px;
  left: 424px;
  object-fit: cover;
  position: absolute;
  top: 918px;
  width: 453px;
}
/* screen - mobile-xo88 */

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

.mobile-xo88 .form2-1-1 {
  aspect-ratio: 1.13;
  height: 331px;
  left: 13px;
  object-fit: cover;
  position: absolute;
  top: 204px;
  width: 376px;
}

.mobile-xo88 .group-189-1 {
  height: 40px;
  left: 66px;
  position: absolute;
  top: 267px;
  width: 273px;
}

.mobile-xo88 .rectangle-1-3 {
  top: 0;
}

.mobile-xo88 .vector-5 {
  height: 24.53%;
  left: 8.84%;
  position: absolute;
  top: 30.51%;
  width: 3.73%;
}

.mobile-xo88 .vector-6 {
  height: 16.64%;
  left: 8.18%;
  position: absolute;
  top: 55.04%;
  width: 5.06%;
}

.mobile-xo88 .group-192-1 {
  height: 40px;
  left: 66px;
  position: absolute;
  top: 329px;
  width: 273px;
}

.mobile-xo88 .rectangle-1-2 {
  top: 1px;
}

.mobile-xo88 .group-194-1 {
  height: 46.71%;
  left: 7.92%;
  position: absolute;
  top: 27.12%;
  width: 5.42%;
}

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

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

.mobile-xo88 .group-193-1 {
  height: 40px;
  left: 66px;
  position: absolute;
  top: 391px;
  width: 273px;
}

.mobile-xo88 .vector-9 {
  height: 38.98%;
  left: 7.92%;
  position: absolute;
  top: 30.51%;
  width: 6.07%;
}

.mobile-xo88 .cta-4-1 {
  aspect-ratio: 4.35;
  height: 63px;
  left: 63px;
  object-fit: cover;
  position: absolute;
  top: 455px;
  width: 274px;
}

.mobile-xo88 .rectangle-1 {
  background-color: var(--shark);
  border: 2px solid;
  border-color: var(--emerald);
  border-radius: 20px;
  height: 40px;
  left: 0;
  position: absolute;
  width: 271px;
}
/* screen - tablet-xo88 */

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

.tablet-xo88 .form2-1-2 {
  aspect-ratio: 1.13;
  height: 614px;
  left: 15px;
  object-fit: cover;
  position: absolute;
  top: 642px;
  width: 697px;
}

.tablet-xo88 .group-189-2 {
  height: 75px;
  left: 113px;
  position: absolute;
  top: 758px;
  width: 505px;
}

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

.tablet-xo88 .vector-10 {
  height: 24.53%;
  left: 8.87%;
  position: absolute;
  top: 30.51%;
  width: 3.74%;
}

.tablet-xo88 .vector-11 {
  height: 16.64%;
  left: 8.21%;
  position: absolute;
  top: 55.04%;
  width: 5.07%;
}

.tablet-xo88 .group-192-2 {
  height: 75px;
  left: 113px;
  position: absolute;
  top: 874px;
  width: 505px;
}

.tablet-xo88 .rectangle-1-5 {
  top: 1px;
}

.tablet-xo88 .group-194-2 {
  height: 46.71%;
  left: 7.95%;
  position: absolute;
  top: 27.12%;
  width: 5.44%;
}

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

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

.tablet-xo88 .group-193-2 {
  height: 75px;
  left: 113px;
  position: absolute;
  top: 989px;
  width: 505px;
}

.tablet-xo88 .vector-14 {
  height: 38.98%;
  left: 7.95%;
  position: absolute;
  top: 30.51%;
  width: 6.09%;
}

.tablet-xo88 .cta-4-2 {
  aspect-ratio: 4.35;
  height: 117px;
  left: 108px;
  object-fit: cover;
  position: absolute;
  top: 1107px;
  width: 508px;
}

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

.register-form 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 .register-form input {
  left: 79px;
  width: calc(100% - 158px);
  font-size: var(--font-size-m);
}

.mobile-xo88 .register-form input {
  left: 50px;
  width: calc(100% - 100px);
  font-size: var(--font-size-m);
}

.tablet-xo88 .register-form input {
  left: 93px;
  width: calc(100% - 186px);
  font-size: var(--font-size-m);
}

.register-form input::placeholder {
  color: var(--white);
  opacity: 0.8;
}

/* Eye toggle */
.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-xo88 .eye-toggle {
  width: 20px;
  height: 20px;
}

.eye-toggle svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

.index .cta-4,
.mobile-xo88 .cta-4-1,
.tablet-xo88 .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: hidden;
}

/* ======= 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-xo88 {
    display: none;
  }
  .screen.mobile-xo88 {
    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-xo88 {
    display: none;
  }
  .screen.tablet-xo88 {
    display: block;
  }
  .bg-mb-1 {
    display: none;
  }
  .tablet-1-1 {
    display: block;
  }
}

/* Ngang → PC */
@media screen and (orientation: landscape) {
  .screen.mobile-xo88 {
    display: none;
  }
  .screen.tablet-xo88 {
    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;
  }
}