/* base/_reset.css */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html,
body {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
}

body {
  line-height: 1;
  font-family: 'Microsoft JhengHei', 'PingFang', 'generic-family';
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

video {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: unset;
}

* {
  box-sizing: border-box;
}
/* utils/_utils.css */
.h-noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.txt-color--primary {
  color: #FAAD14;
}

@keyframes zoom {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
  100% {
      transform: scale(1);
  }
}

@keyframes zoom-s {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}
/* component/_promotion-video.css */
.pv-content {
  width: 100%;
  padding-bottom: 80px;
}
.pv-content video {
  width: 55%;
  border: solid 5px rgba(255, 255, 255, .8);
}

@media (max-width: 768px) {
  .pv-content video {
    margin-top: 150px;
    width: calc(100% - 32px);
  }
}
/* component/_gift-pack.css */
.gift-pack-image {
  max-width: 500px;
  padding-bottom: 0;
  position: relative;
  transform: scale(1.4) translate(-20%, 10%);
}

.gift-pack-image img {
  width: 100%;
  vertical-align: top;
}

.gift-pack-info {
  width: 100%;
  max-width: 690px;
  background-size: 100% 100%;
  text-align: center;
  padding: 32px 15px;
}

.code-title {
  font-size: 32px;
  line-height: 48px;
  padding: 12px 0px;
  text-align: center;
  font-weight: 500;
}

.code-content {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  margin: 0 12%;
  border-radius: 8px;
  background-color: #fff;
  max-width: 760px;
  box-sizing: border-box;
  padding: 0px 12px;
  min-height: 48px;
  position: absolute;
  bottom: 20%;
  width: calc(100% - 24%);
  border: 1px solid #a4a4a4;
}

.onlyword {
  font-size: 12px;
  padding-top: 32px;
}

.code-number {
  position: relative;
  color: #000;
  width: calc(100% - 21px);
  text-align: left;
}

.copy-image {
  cursor: pointer;
  position: relative;
  width: 21px;
}

.copy-image img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.gift-pack-info-content {
  position: relative;
}

.gift-pack-info-content img {
  width: 100%;
}

@media (max-width: 768px) {
  .code-content {
    transform: scale(0.8);
    min-height: 38px;
    bottom: 18%;
  }
  .gift-pack-area {
    background-position-y: 100px
  }
  .gift-pack-info {
    width: calc(100% - 32px);
    max-width: none;
    margin-top: 190px;
    margin-bottom: 60px;
  }
  .gift-pack-info-content {
    font-size: 1em;
  }

  .gift-pack-image {
    transform: scale(1) translate(-20%, 10%);
  }
}
/* component/_game-story.css */
.game-story-content {
  color: #bfbfbf;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  max-width: 515px;
  padding-bottom: 64px;
  margin-bottom: 30px;
  width: 100%;
}

.game-story-card {
  width: 100%;
}

.game-story-card img{
  width: 100%;
}

.game-story-card:nth-child(1) {
  margin-left: -20%;
}

@media (max-width: 768px) {
  .game-story-content {
    color: #000;
    text-align: justify;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 20px;
    line-height: 1.8;
    font-weight: 500;
    padding: 16px;
    width: calc(100% - 16px);
    overflow-wrap: break-word;
  }
}
/* component/_tooltip.css */
.h-tooltip {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  padding: 2px;
  color: #ffffff;
  font-size: 12px;
  bottom: -22px;
  left: -20px;
  z-index: 10;
  min-width: 60px;
  border-radius: 6px;
  line-height: 20px;
  opacity: 0;
}

.h-tooltip--active {
  animation: fade 1.2s linear;
}

@keyframes fade {

  0%,
  100% {
    opacity: 0
  }

  10% {
    opacity: 1
  }

  80% {
    opacity: 1
  }
}
/* component/_h-r18-alert.css */
.h-r18-alert {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(12px);
  display: none;
}

.h-r18-alert-bg {
  height: 100vh;
  width: 100vw;
  transform: scaleX(2);
}

.h-r18-alert .alert-container {
  position: absolute;
  padding: 32px;
  border-radius: 16px;
  background-color: #ffffff;
  color: #595959;
  max-width: 482px;
  width: calc(100% - 32px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  box-sizing: border-box;
}

.h-r18-alert h1 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 24px;
}

.h-r18-alert p {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 24px;
}

.h-r18-alert .h-button {
  border: none;
  padding: 16px;
  border-radius: 50px;
  width: 100%;
  background-color: #FFC53D;
  color: #262626;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 24px;
}

.h-r18-alert .h-button img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.h-r18-alert a {
  text-decoration: none;
  color: #FAAD14;
}
/* component/_scrolltop.css */
.scrolltop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 50px;
  height: 50px;
  z-index: 500;
  cursor: pointer;
}

.scrolltop img {
  width: 100%;
}
/* layout/_navbar.css */
.navbar {
  height: 58px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0px 1px 2px 2px rgb(0 0 0 / 60%);
}

.navbar img {
  height: 100%;
}

.navbar--desktop {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 10px 32px;
  background-size: 100% 100%;
  background-repeat: repeat;
  background-position: center;
  display: flex;
  justify-content: space-between;
}

.navbar--desktop .logo {
  height: 100%;
}

.nav-button {
  height: 30px;
}

.nav-button ul {
  display: flex;
  height: 100%;
}

.nav-button ul a:nth-child(n+1) {
  padding-left: 30px;
}

.nav-button ul a:hover {
  animation: zoom 0.5s infinite;
}

.navbar--desktop li {
  max-width: 95px;
  height: 100%;
}


.navbar--mobile {
  box-sizing: border-box;
  background-repeat: repeat-x;
  display: none;
  height: 100%;
  width: 100%;
  padding: 10px 4px;
  justify-content: space-between;
}

.navbar--mobile a {
  box-sizing: border-box;
  display: block;
  height: 100%;
}

.navbar--mobile .mobile-fake-link {
  width: 74px;
}

.hidden-h365 .navbar--desktop .h365-link {
  display: none;
}

.menu-icon {
  padding-right: 8px;
  height: 100%;
}

.navbar--mobile .menu-mask {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.navbar--mobile .menu {
  display: none;
  position: fixed;
  top: 58px;
  right: 0;
  bottom: 0;
  min-width: 40%;
  background-color: hsla(0, 0%, 100%, 0.85);
  z-index: 1010;
}

.navbar--mobile .menu li {
  font-size: 20px;
  text-align: center;
  padding: 16px 10px;
  border-bottom: 1px solid #000000;
}

@media (max-width: 768px) {
  .navbar--desktop {
    display: none;
  }

  .navbar--mobile {
    display: flex;
  }

  .hidden-h365 .navbar--mobile {
    display: none;
  }
}
/* layout/_header.css */
.tipbox img,
.button img {
  width: 100%;
  vertical-align: middle;
}

.hero-banner-container {
  padding-top: 38px;
  width: 100%;
  position: relative;
}

.hero-banner-container video{
  display: block;
}

.hero-banner-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}


.game-logo {
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.game-logo img {
  width: 100%;
}

.tipbox {
  width: 100%;
  max-width: 150px;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  bottom: 0;
  top: 20%;
  right: 1%;
  z-index: 80;
}

.tipbox:hover {
  animation: zoom-s 0.5s infinite;
}

.header-button-group {
  position: absolute;
  bottom: 12%;
  left: 50%;
  z-index: 9;
  width: 100%;
  max-width: 62%;
  transform: translate(-50%, 0%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-button-group .button {
  width: calc((100% - 16px) / 3);
  margin: 0px 1%;
}

.header-button-group .button:hover {
  animation: zoom-s 0.5s infinite;
}

.button--highlight {
  position: relative;
  transition: 0.5s;
  overflow: hidden;
}

.button--highlight span {
  position: absolute;
  display: block;
}

.button--highlight span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  animation: highlight-animate-1st 1s linear infinite;
}

.button--highlight span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  animation: highlight-animate-2nd 1s linear infinite;
  animation-delay: 0.25s;
}

.button--highlight span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  animation: highlight-animate-3rd 1s linear infinite;
  animation-delay: 0.50s;
}

.button--highlight span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  animation: highlight-animate-4th 1s linear infinite;
  animation-delay: 0.75s;
}


@keyframes highlight-animate-1st {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}


@keyframes highlight-animate-2nd {
  0% {
    top: -100%;
  }

  50%,
  100% {
    top: 100%;
  }
}


@keyframes highlight-animate-3rd {
  0% {
    right: -100%;
  }

  50%,
  100% {
    right: 100%;
  }
}


@keyframes highlight-animate-4th {
  0% {
    bottom: -100%;
  }

  50%,
  100% {
    bottom: 100%;
  }
}

/* desktop */
@media (max-width: 1024px) {
  .tipbox {
    max-width: 90px;
  }
}

/* tablet */
@media (max-width: 768px) {
  .tipbox {
    display: none;
  }

  .header-button-group {
    max-width: 60%;
    bottom: 56px;
  }

  .hidden-h365 .hero-banner-container {
    height: 100vh;
    margin-top: 0;
  }
}

@media (max-width: 450px) {
  .header-button-group {
    max-width: 50%;
    flex-direction: column;
  }
  .header-button-group .button {
    width: 100%;
    margin-right: 0px;
  }
}
/* layout/_section.css */
section {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-position-x: center;
}

.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  max-width: 30%;
  padding: 4% 0;
}

.section-title img {
  width: 100%;
}

.section-top, .section-bottom {
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-attachment: fixed;
}

.section-top section {
  width: 100%;
  height: 0px;
  padding-bottom: 56.25%;
}

@media (max-width: 768px) {
  .section-title {
    max-width: 320px;
    margin: auto;
    padding: 20px 0 20px 0;
  }
  .section-top section {
    padding-bottom: unset;
    height: auto;
    background-size: 100%;
  }
}
/* layout/_footer.css */
.footer {
  width: 100%;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.06em;
  color: #bfbfbf;
  text-align: center;
  padding: 92px 0px;
}

.game-thumbnail {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 16px;
  margin: auto;
}

.game-thumbnail img {
  width: 100%;
}

.footer-button-group {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-button {
  width: calc((100% - 20px) / 2);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-button:hover {
  animation: zoom 0.5s infinite;
}

.footer-button img {
  width: 100%;
}

.footer .footer-logo {
  text-align: center;
  margin: 32px 0px;
}

.footer .footer-logo:hover {
  animation: zoom 0.5s infinite;
}

.footer .footer-logo img {
  height: 32px;
}

.footer-container {
  width: 100%;
  max-width: 480px;
  margin: auto;
  box-sizing: border-box;
}

.footer-content {
  text-align: center;
  padding-bottom: 32px;
}

.copyright {
  text-align: center;
}

.hidden-h365 .footer .h365-link {
  display: none;
}

.hidden-h365 .footer .copyright {
  display: none;
}

@media (max-width: 768px) {
  .game-thumbnail {
    margin: auto;
  }

  .footer {
    padding: 32px 0px;
  }

  .footer-container {
    padding: 0px 15px;
    max-width: unset;
    margin: 0px;
  }

  .footer-button-group {
    justify-content: center;
  }

  .footer {
    text-align: center;
  }

  .footer-button {
    max-width: 230px;
    margin-right: 10px;
  }
  .footer-button:last-child {
    margin-right: 0px;
  }
}
/* vendors/_swiper.css */
.swiper {
  width: 100%;
}
.swiper-wrapper {
  padding-bottom: 30px;
}
.carousel {
  width: 100%;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms linear;
  transform: scale(0.85) !important;
  filter: brightness(.5);
}

.swiper-slide-active {
  transform: scale(1) !important;
  filter: none;
}

.swiper-slide img {
  width: 100%;
  vertical-align: middle;
}

.swiper .swiper-button-prev, .swiper .swiper-button-next {
  height: 136px;
  position: absolute;
  top: 35%;
  bottom: 0;
  z-index: 10;
}

.swiper .swiper-button-prev {
  left: 21%;
}

.swiper .swiper-button-next {
  right: 21%;
}


.swiper-button-prev::after, .swiper-button-next::after{
  display: none;
}

.swiper .swiper-pagination {
  bottom: 0px;
}

.swiper .swiper-pagination-bullet {
  width: 100%;
  max-width: 80px;
  border-radius: 0px;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .swiper .swiper-button-prev, .swiper .swiper-button-next {
    top: 25%;
    width: 38px;
  }
  .swiper .swiper-button-prev img, .swiper .swiper-button-next img {
    width: 100%;
  }
  .swiper .swiper-button-prev {
    left: 8px;
  }
  
  .swiper .swiper-button-next {
    right: 8px;
  }

  .swiper .swiper-pagination-bullet {
    max-width: 30px;
    height: 4px;
  }
}
