@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Inter:wght@100..900&family=Poppins:wght@100..900&family=Roboto+Mono:wght@100..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap");
@font-face {
  font-family: "HONORSans";
  src: url("../fonts/HONORSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "HONORSans";
  src: url("../fonts/HONORSans-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  touch-action: pan-y;
  font-size: 100px;
}

html,
body {
  font-family: "Noto Sans HK", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  width: 100%;
  min-height: 100vh;
  color: #034ea2;
  background: url("/images/bg.jpg") no-repeat top center;
  background-size: cover;
  background-attachment: fixed;
  margin: 0 !important;
}

html[lang=sc] {
  font-family: "Noto Sans SC", Arial, Helvetica, sans-serif;
}
html[lang=sc] body {
  font-family: "Noto Sans SC", Arial, Helvetica, sans-serif;
}

section::-webkit-scrollbar {
  width: 4px;
}

section::-webkit-scrollbar-track {
  background: transparent;
}

section::-webkit-scrollbar-thumb {
  background: rgba(3, 78, 162, 0.3);
  border-radius: 2px;
}

section::-webkit-scrollbar-thumb:hover {
  background: rgba(3, 78, 162, 0.5);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  padding: 0.08rem 0.16rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
  background-color: #FFF;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0) 100%);
}
header a.link-logo {
  line-height: 0;
  width: 100%;
  text-align: center;
}
header img {
  height: 0.4rem;
  margin: auto;
}
header .language-switcher {
  position: absolute;
  right: 0.1rem;
}
header .language-switcher .lang-dropdown-btn {
  background-color: rgba(255, 255, 255, 0.65);
  border: none;
  outline: none;
  color: #034ea2;
  padding: 0.08rem 0.16rem;
  border-radius: 0.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.08rem;
  font-size: 0.16rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
header .language-switcher .lang-dropdown-btn:focus {
  outline: none;
}
header .language-switcher .lang-dropdown-btn .arrow {
  width: 0.08rem;
  height: 0.08rem;
  border-left: 2px solid #034ea2;
  border-bottom: 2px solid #034ea2;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-top: -0.024rem;
}
header .language-switcher .lang-dropdown-btn.active .arrow {
  transform: rotate(135deg);
  margin-top: 0.024rem;
}
header .language-switcher .lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.04rem;
  background-color: #ffffff;
  border: none;
  border-radius: 0.04rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 0.8rem;
  z-index: 1001;
}
header .language-switcher .lang-dropdown-menu a {
  display: block;
  color: #034ea2;
  text-decoration: none;
  padding: 0.12rem 0.16rem;
  font-size: 0.16rem;
  transition: background-color 0.2s ease;
}
header .language-switcher .lang-dropdown-menu a.active {
  font-weight: bold;
  background-color: #f0f0f0;
}
header .language-switcher .lang-dropdown-menu a:hover {
  background-color: #e8f4ff;
}
header .language-switcher .lang-dropdown-menu a:first-child {
  border-radius: 0.04rem 0.04rem 0 0;
}
header .language-switcher .lang-dropdown-menu a:last-child {
  border-radius: 0 0 0.04rem 0.04rem;
}

.desktop-only {
  display: none;
}

.main-wrapper {
  padding-top: 0.54rem;
  height: calc(100vh - 0.54rem);
}

.main-content {
  position: relative;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.img-btn {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.img-btn img {
  display: block;
}

section {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 1rem;
  box-sizing: border-box;
  display: none !important;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
section.active {
  display: block !important;
  opacity: 1;
}

section#home {
  min-height: 7.55rem;
  padding-bottom: 1rem;
}

section#prizeHistory {
  padding-bottom: 1.5rem;
}

#home {
  text-align: center;
  /* &::after {
    content: "";
    display: block;
    aspect-ratio: 393 / 693; // Maintain aspect ratio
    height: auto;
  } */
}
#home .title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
  /*
  #startBtn,
  #how2playBtn,
  #prizeHistoryBtn {
    img {
      width: rem(238); // 520px ÷ 2 = 260px (2x image)
      height: auto;
    }
  }


  .how2playBtnGhost {
    img {
      width: rem(58); // 160px ÷ 2 = 80px (2x image)
      height: auto;
    }
  }
    */
}
#home .title .tagline {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 0.32rem;
}
#home .title button {
  font-size: 0.2rem;
  padding: 0.12rem 0.32rem;
}
#home .home-buttons {
  position: absolute;
  top: 5.1rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.08rem;
  z-index: 2;
  padding-bottom: 0.1rem;
}
#home .home-buttons #startBtn,
#home .home-buttons #how2playBtn,
#home .home-buttons #prizeHistoryBtn {
  margin: 0 0.08rem;
}
#home .home-buttons #startBtn img,
#home .home-buttons #how2playBtn img,
#home .home-buttons #prizeHistoryBtn img {
  width: 2.3rem;
  height: auto;
}
#home .home-buttons .how2playBtnGhost img {
  width: 0.5rem;
  height: auto;
}
#home .home-buttons .button-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
#home .home-buttons .button-row button {
  font-size: 0.16rem;
  line-height: 0;
}
#home .home-buttons #prizeHistoryBtn {
  align-self: center;
}
#home .footer-buttons {
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.08rem;
  z-index: 2;
}
#home .footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96%;
  margin-top: 0.08rem;
  font-size: 0.14rem;
  z-index: 10;
}
#home .footer-links a {
  color: #000;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
#home .footer-links a:hover {
  opacity: 0.7;
}
#home .footer-links .separator {
  color: #000;
}
#home #googleSignInBtn {
  position: absolute;
  top: 4.7rem;
  left: 0;
  right: 0;
  margin: auto;
  padding: 0.12rem 0.32rem;
  font-size: 0.18rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
#home #googleSignInBtn p {
  color: #fff;
  font-size: 0.18rem;
  font-weight: bold;
  margin-bottom: 0.22rem;
}
#home #googleSignInBtn .g_id_signin {
  width: 2.25rem;
  margin: auto;
}
#home #googleSignInBtn .g_id_signin > div > div > div {
  border-radius: 100px;
}

.seat-bg {
  position: absolute;
  top: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

section .home-btn,
section .sign-out-btn {
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  padding: 0rem;
  transition: opacity 0.2s ease;
  z-index: 10;
}
section .home-btn:hover,
section .sign-out-btn:hover {
  opacity: 0.7;
}
section .home-btn:disabled,
section .sign-out-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
section .home-btn:disabled:hover,
section .sign-out-btn:disabled:hover {
  opacity: 0.3;
}
section .home-btn img,
section .sign-out-btn img {
  width: 0.32rem;
  height: 0.32rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

#game {
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: 0.16rem;
}
#game.active {
  display: flex !important;
}
#game .game-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
}
#game .game-content h2 {
  font-size: 0.24rem;
  margin-bottom: 0.16rem;
}
#game .game-content .timer-display {
  width: 2.1rem;
  font-size: 0.64rem;
  font-weight: bold;
  font-family: "HONORSans", sans-serif;
  color: #ffffff;
  background-color: #131314;
  padding: 0.16rem 0;
  border-radius: 0.24rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}
#game .game-content .timer-display.warning {
  animation: timerGradient 3s ease-in-out forwards;
}
#game .game-content .game-desc {
  width: 3.93rem;
  height: auto;
  display: block;
  margin-top: 0.1rem;
}
#game .gameplay {
  /* Reflection animation keyframes */
}
#game .gameplay #departBtn,
#game .gameplay #arriveBtn {
  position: absolute;
  top: 5.1rem;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
  width: 2.38rem;
}
#game .gameplay #departBtn img,
#game .gameplay #arriveBtn img {
  width: 100%;
}
#game .gameplay #departBtn {
  overflow: hidden;
  border-radius: 0.2rem;
}
#game .gameplay .seat-bg-game {
  width: 2.6rem;
  margin-top: -0.1rem;
  position: relative;
}
#game .gameplay .seat-bg-game img {
  width: 100%;
}
#game .gameplay .seat-bg-game .KTChai {
  position: absolute;
  top: 0;
  left: 0;
}
#game .gameplay .seat-bg-game .KTChai.bounce-up {
  animation: bounceUp 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform: translateY(-5%) rotate(3deg);
}
@keyframes bounceUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5%) rotate(3deg);
  }
}
#game .gameplay .reflection-overlay {
  position: absolute;
  top: -50%;
  left: -100%;
  width: 100%;
  height: 200%;
  transform: rotate(-10deg);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
#game .gameplay .animate-reflection .reflection-overlay {
  animation: reflectionSweep 2s ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes reflectionSweep {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
#game .result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  padding-bottom: 0.3rem;
}
#game .result .result-img,
#game .result .result-text-img {
  width: 3.93rem;
  height: auto;
  display: block;
  margin: 0 auto;
}
#game .result .bg-remark {
  font-size: 0.14rem;
  color: #fff;
  padding: 0.04rem 0.08rem;
  margin-top: 0;
}
#game .result .remark {
  font-size: 0.14rem;
  font-weight: 500;
  color: #111;
  white-space: pre-line;
  margin-top: 0;
  padding: 0 0.2rem;
}
#game .result .play-again-btn img,
#game .result .prizetype12-btn img,
#game .result .claimed-btn img,
#game .result .share-btn img {
  width: 2.38rem;
}
#game .result .contineue-btn img {
  width: 1.36rem;
}
#game .result .prizetype3-btn img {
  width: 2.68rem;
}
#game .result h2 {
  font-size: 0.48rem;
  font-weight: 700;
  margin-bottom: 0.16rem;
}
#game .result h2.big-win {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
  animation: bigWinPulse 1s ease-in-out infinite;
}
#game .result h2.win {
  color: #28a745;
}
#game .result h2.lose {
  color: #dc3545;
}
#game .result p {
  font-size: 0.24rem;
  margin-bottom: 0;
}

@keyframes countdownPulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes timerGradient {
  0% {
    color: #ffffff;
  }
  100% {
    color: #f39800;
  }
}
@keyframes bigWinPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes timer-tada {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.2) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.2) rotate(-3deg);
  }
  100% {
    transform: scale(1.1) rotate(0deg);
  }
}
@keyframes timer-color-pulse {
  0% {
    color: #11ffff;
  }
  100% {
    color: #009d99;
  }
}
.timer-inner.timer-tada {
  animation: timer-tada 1s ease-in-out 3 !important;
  transform-origin: center center !important;
  will-change: transform;
}

#timer.timer-color-pulse {
  animation: timer-color-pulse 0.1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 7 alternate forwards !important;
}

#how2play {
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}
#how2play.active {
  display: flex !important;
}
#how2play .how2play-content {
  width: 100%;
  padding-top: 0.16rem;
}
#how2play .how2play-content h2 {
  font-size: 0.32rem;
  font-weight: 700;
  margin-bottom: 0.32rem;
}
#how2play .how2play-content .how2play-title {
  width: 1.51rem;
  height: auto;
  display: block;
  margin: 0 auto 0.16rem;
}
#how2play .how2play-content .swiper-outer {
  position: relative;
}
#how2play .how2play-content .swiper-outer .ctm-swiper-button-next,
#how2play .how2play-content .swiper-outer .ctm-swiper-button-prev {
  width: 0.34rem;
  height: 0.25rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  z-index: 1;
}
#how2play .how2play-content .swiper-outer .ctm-swiper-button-next::after,
#how2play .how2play-content .swiper-outer .ctm-swiper-button-prev::after {
  content: "";
}
#how2play .how2play-content .swiper-outer .ctm-swiper-button-next.swiper-button-disabled,
#how2play .how2play-content .swiper-outer .ctm-swiper-button-prev.swiper-button-disabled {
  filter: contrast(0.2) brightness(1.8);
}
#how2play .how2play-content .swiper-outer .ctm-swiper-button-prev {
  left: 0.2rem;
  background-image: url("/images/arrow_prev.png");
}
#how2play .how2play-content .swiper-outer .ctm-swiper-button-next {
  right: 0.2rem;
  background-image: url("/images/arrow_next.png");
}
#how2play .how2play-content .how2play-swiper {
  max-width: 100%;
  margin: 0 0.35rem 0rem;
}
#how2play .how2play-content .how2play-swiper::after {
  content: "";
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0.2rem;
  height: 4rem;
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
}
#how2play .how2play-content .how2play-swiper .swiper-wrapper {
  overflow: visible;
}
#how2play .how2play-content .how2play-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 0rem;
}
#how2play .how2play-content .how2play-swiper .swiper-slide img {
  display: block;
  width: 100%;
}
#how2play .how2play-content .how2play-swiper .swiper-pagination {
  height: 0.2rem;
  line-height: 0.3rem;
  display: flex;
  justify-content: center;
  bottom: 0rem;
}
#how2play .how2play-content .how2play-swiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #001f50;
}
#how2play .how2play-content .how2play-swiper .swiper-button-next,
#how2play .how2play-content .how2play-swiper .swiper-button-prev {
  visibility: hidden;
}
#how2play .how2play-content .how2play-swiper .swiper-button-next::after,
#how2play .how2play-content .how2play-swiper .swiper-button-prev::after {
  content: "";
}
#how2play .how2play-content .how2play-buttons {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  align-items: center;
}
#how2play .how2play-content .how2play-buttons button {
  font-size: 0.2rem;
  padding: 0.12rem 0.32rem;
  min-width: 1.92rem;
}
#how2play .how2play-content .how2play-buttons #startFromHow2playBtn img {
  width: 2.3rem;
  height: auto;
}
#how2play .how2play-content .how2play-buttons .back-to-home-btn img {
  width: 1.36rem;
  height: auto;
}

#prizeHistory {
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  position: relative;
}
#prizeHistory.active {
  display: flex !important;
}
#prizeHistory .prize-history-content {
  width: 100%;
  padding: 0.16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#prizeHistory .prize-history-content .prizeHistory-title {
  width: 1.51rem;
  height: auto;
  display: block;
  margin: 0 auto 0.32rem;
}
#prizeHistory .prize-history-content h2 {
  font-size: 0.32rem;
  font-weight: 700;
  margin-bottom: 0.32rem;
}
#prizeHistory .prize-history-content .prize-list {
  width: 100%;
  margin-bottom: 0.32rem;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}
#prizeHistory .prize-history-content .prize-list .prize-item {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0.08rem;
  padding: 0.15rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.12rem;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-status {
  font-size: 0.18rem;
  font-weight: 700;
  color: #001f50;
  display: flex;
  align-items: center;
  gap: 0.08rem;
  position: relative;
  /*
  .perfect {
    color: #f39800;
    text-shadow: 0px 0px 4px #001f50, 0px 0px 4px #001f50,
      0px 0px 4px #001f50, 0px 0px 4px #001f50, 0px 0px 4px #001f50;
  }
  */
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-status .outline-text {
  opacity: 0;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-status .perfect.outline-text {
  opacity: 1;
  color: #F39800;
  text-align: center;
  -webkit-text-stroke-width: 5px;
  -webkit-text-stroke-color: #001F50;
  font-style: normal;
  font-weight: 700;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-status .top {
  position: absolute;
  top: 0;
  left: 0;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-status .perfect.top {
  color: #F39800;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-name {
  font-size: 0.14rem;
  color: #001f50;
  font-weight: 400;
  text-align: left;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-left .prize-datetime {
  font-size: 0.14rem;
  color: #666666;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-right .prize-redeem-btn {
  width: 0.88rem;
  min-width: 0;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-right .prize-redeem-btn img {
  width: 100%;
  height: auto;
  display: block;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-right .prize-markUsed {
  display: flex;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-right .prize-markUsed .used-icon {
  width: 0.16rem;
  margin-right: 0.05rem;
}
#prizeHistory .prize-history-content .prize-list .prize-item .prize-right .prize-markUsed span {
  font-size: 0.14rem;
  color: #001f50;
}
#prizeHistory .prize-history-content .prize-list .no-prizes-text {
  font-size: 0.18rem;
  font-weight: 500;
  white-space: pre-line;
}
#prizeHistory .prize-history-content .pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}
#prizeHistory .prize-history-content .pagination-controls .pagination-info {
  font-size: 0.18rem;
  font-weight: 700;
  color: #001f50;
  min-width: 0.6rem;
  text-align: center;
}
#prizeHistory .prize-history-content .pagination-controls .ctm-swiper-button-prev,
#prizeHistory .prize-history-content .pagination-controls .ctm-swiper-button-next {
  flex-shrink: 0;
  width: 0.34rem;
  height: 0.25rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#prizeHistory .prize-history-content .pagination-controls .ctm-swiper-button-prev {
  background-image: url("/images/arrow_prev.png");
}
#prizeHistory .prize-history-content .pagination-controls .ctm-swiper-button-next {
  background-image: url("/images/arrow_next.png");
}
#prizeHistory .prize-history-content .pagination-controls .swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
#prizeHistory .prize-history-content .back-to-home-btn {
  margin-top: 0.2rem;
}
#prizeHistory .prize-history-content .back-to-home-btn img {
  width: 1.36rem;
  height: auto;
}
#prizeHistory .banner-wrapper {
  position: fixed;
  bottom: 0rem;
  left: 0;
  width: 100%;
  padding: 0 0.16rem;
  box-sizing: border-box;
}
#prizeHistory .banner-img {
  width: 100%;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-overlay .popup-content {
  background: linear-gradient(180deg, #fff 0%, #c8e4f4 100%);
  border-radius: 0;
  padding: 0.32rem 0.35rem;
  margin-left: 0.35rem;
  margin-right: 0.35rem;
  width: calc(100% - 0.7rem);
  max-width: calc(3.93rem - 0.7rem);
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: popupFadeIn 0.3s ease-in-out;
  position: relative;
}
.popup-overlay .popup-content .popup-close-btn {
  position: absolute;
  top: 0.16rem;
  right: 0.16rem;
  width: 0.32rem;
  height: 0.32rem;
  background-color: transparent;
  border: none;
  font-size: 0.32rem;
  line-height: 1;
  color: #034ea2;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.popup-overlay .popup-content .popup-close-btn:hover {
  opacity: 0.7;
}
.popup-overlay .popup-content .popup-body {
  margin-bottom: 0.24rem;
}
.popup-overlay .popup-content .popup-body h3 {
  font-size: 0.2rem;
  font-weight: 700;
  color: #001f50;
  margin-top: 0;
  margin-bottom: 0.16rem;
}
.popup-overlay .popup-content .popup-body p {
  font-size: 0.16rem;
  line-height: 1.5;
  color: #333;
}

@keyframes popupFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
#noPrizePopup .popup-content {
  height: auto;
  border-radius: 0.2rem;
  padding: 0.5rem 0.15rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
#noPrizePopup .noprize-img {
  width: 3.93rem;
  position: relative;
  top: 0;
  transform: translateX(-50%);
  left: 50%;
  height: auto;
  margin-bottom: 0.2rem;
  display: block;
}
#noPrizePopup .popup-desc {
  font-size: 0.16rem;
  font-weight: bold;
  color: #131314;
  white-space: pre-line;
}
#noPrizePopup button {
  width: 2.38rem;
  margin: auto;
}
#noPrizePopup button img {
  width: 100%;
  height: auto;
}

#redeemPopup {
  background-color: rgba(0, 31, 80, 0.85);
}
#redeemPopup .redeem-popup-content {
  background-color: #ffffff;
  width: calc(100% - 0.4rem);
  height: 80vh;
  max-width: 3.53rem;
  position: relative;
  padding: 0.24rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popupFadeIn 0.3s ease-in-out;
}
#redeemPopup .redeem-popup-content .redeem-close-btn {
  position: absolute;
  top: 0.06rem;
  right: 0.06rem;
  width: 0.32rem;
  height: 0.32rem;
  background-color: transparent;
  border: none;
  font-size: 0.32rem;
  line-height: 1;
  color: #001f50;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
#redeemPopup .redeem-popup-content .redeem-close-btn:hover {
  opacity: 0.7;
}
#redeemPopup .redeem-popup-content h3 {
  font-size: 0.18rem;
  font-weight: 700;
  color: #001f50;
  margin: 0 0 0.16rem 0;
  padding: 0 0.35rem;
  text-align: center;
  flex-shrink: 0;
}
#redeemPopup .redeem-popup-content .redeem-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  font-size: 0.14rem;
  color: #131314;
  padding-right: 0.08rem;
  padding-left: 0.15rem;
  overflow-x: hidden;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content::-webkit-scrollbar {
  width: 0.06rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0.03rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 0.03rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content p {
  margin-bottom: 0.12rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content h4 {
  margin-top: 0.16rem;
  margin-bottom: 0.08rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content a {
  word-break: break-word;
  color: #000000;
  text-decoration: underline;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content a:hover, #redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content a:active, #redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content a:focus {
  color: #000000;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0.16rem;
  justify-content: space-between;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row > div {
  display: flex;
  align-items: center;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox {
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.04rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid #009d99;
  border-radius: 0.03rem;
  background-color: #ffffff;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox:checked {
  background-color: #009d99;
  border-color: #009d99;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox:checked::after {
  content: "";
  position: absolute;
  left: 0.03rem;
  top: 0rem;
  width: 0.04rem;
  height: 0.08rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox:checked:hover {
  background-color: #008582;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox:active {
  transform: scale(0.95);
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 157, 153, 0.2);
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .redeem-info-row #usedCheckbox + label {
  font-size: 0.14rem;
  color: #131314;
  cursor: pointer;
  vertical-align: top;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-scroll-content .expiryDateLbl {
  font-size: 0.14rem;
  color: #131314;
  margin-bottom: 0.06rem;
  text-align: center;
}
#redeemPopup .redeem-popup-content .redeem-body .claimedAt-wrapper {
  padding: 0 0.2rem;
  text-align: center;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.02rem;
}
#redeemPopup .redeem-popup-content .redeem-body .claimedAt-wrapper .claimedAt-date-label,
#redeemPopup .redeem-popup-content .redeem-body .claimedAt-wrapper .claimedAt-date-value {
  font-size: 0.12rem;
  color: #131314;
  margin: 0;
  padding: 0;
  text-align: center;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-code-btn {
  flex: 0 0 auto;
  width: calc(100% - 0.8rem);
  margin: 0 0.4rem;
  padding: 0.1rem 0.3rem;
  background-color: #009d99;
  color: #ffffff;
  font-size: 0.18rem;
  font-weight: 700;
  border: none;
  border-radius: 0.08rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-code-btn:active {
  background-color: #007370;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-code-btn .copy-icon {
  width: 0.2rem;
  height: 0.2rem;
}
#redeemPopup .redeem-popup-content .redeem-body .open-app-btn {
  font-size: 0.14rem;
  background-color: #001f50;
  color: #ffffff;
  padding: 0.1rem 0;
  margin: 0 0.4rem 0.12rem;
  border-radius: 0.08rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
#redeemPopup .redeem-popup-content .redeem-body .open-app-btn:hover, #redeemPopup .redeem-popup-content .redeem-body .open-app-btn:active, #redeemPopup .redeem-popup-content .redeem-body .open-app-btn:focus {
  text-decoration: none;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-copy-link {
  flex-shrink: 0;
}
#redeemPopup .redeem-popup-content .redeem-body .redeem-tutorial-link {
  display: block;
  font-size: 0.14rem;
  color: #000;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion {
  margin-top: 0.16rem;
  margin-bottom: 0.16rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-item {
  margin-bottom: 0.04rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-btn {
  width: 100%;
  padding: 0.12rem 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.18rem;
  font-weight: 600;
  color: #001f50;
  text-align: left;
  transition: all 0.3s ease;
  background-color: #f5f5f5;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-btn span:first-child {
  padding-left: 0.05rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-btn .accordion-icon {
  font-size: 0.24rem;
  font-family: "HonorSans", sans-serif;
  font-weight: bold;
  color: #001f50;
  transition: transform 0.3s ease;
  min-width: 0.2rem;
  text-align: center;
  padding-right: 0.05rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-btn.active .accordion-icon {
  transform: rotate(0deg) scaleX(1.4);
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-content {
  display: none;
  padding: 0.08rem 0 0.16rem;
  font-size: 0.13rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-content > div {
  padding: 0 0.15rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-content ol,
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-content ul {
  padding-left: 0.24rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-content p {
  margin-top: 0;
  margin-bottom: 0.12rem;
}
#redeemPopup .redeem-popup-content .redeem-body .accordion .accordion-content h4 {
  margin-top: 0.16rem;
  margin-bottom: 0.08rem;
  font-size: 0.14rem;
  font-weight: 600;
  color: #001f50;
}

#genericPopup .popup-content {
  border-radius: 0.2rem;
  padding: 0.5rem 0.2rem;
  height: 35vh;
}
#genericPopup .popup-content #popupCloseBtn {
  width: 2.38rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
#genericPopup .popup-content #popupCloseBtn img {
  width: 100%;
  height: auto;
}

.countdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.countdown-overlay .countdown-image {
  max-width: 80%;
  max-height: 80%;
  opacity: 0;
}
.countdown-overlay .countdown-image.animate {
  animation: countdownPulse 1s ease-in-out;
}

body a,
body p,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body span,
body div {
  margin-bottom: 0;
}

.hide {
  display: none;
}

.invisible {
  visibility: hidden;
}

@media screen and (min-width: 768px) {
  html {
    background: url("/images/bg_desktop.jpg") no-repeat center bottom;
    background-color: #fff;
    background-size: cover;
    background-attachment: fixed;
  }
  html body {
    background: none;
  }
  html header {
    padding: 0.3rem;
  }
  html header img {
    height: 70px;
    max-height: 0.7rem;
    margin: 0;
  }
  html header .language-switcher {
    right: 0.45rem;
  }
  html header a.link-logo {
    text-align: left;
  }
  html .main-wrapper {
    display: none;
  }
  html #PrivacyPage.main-wrapper {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 100px;
    height: initial;
  }
  html #PrivacyPage .main-content {
    overflow: initial;
  }
  html .desktop-only {
    display: block;
    position: relative;
    padding-top: 100px;
    z-index: 2000;
  }
  html .desktop-only img {
    width: 100vw;
    max-width: 11rem;
    display: block;
    margin: 0 auto;
  }
  html .desktop-only .footer-buttons {
    line-height: 0.24rem;
    margin-top: 0.3rem;
    padding: 0 0.2rem;
  }
  html .desktop-only .footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  html .desktop-only .footer-links a {
    font-size: 0.14rem;
    color: #034ea2;
  }
  html .desktop-only .footer-links a:hover, html .desktop-only .footer-links a:focus, html .desktop-only .footer-links a:active {
    text-decoration: underline;
    color: #034ea2;
  }
}/*# sourceMappingURL=main.css.map */