* {
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  outline: none;
}

body {
  background-color: #181717;
  min-height: 100%;
  color: #ffffff;
  overflow-x: hidden;
}

.scroll-hidden::-webkit-scrollbar {
  height: 0px;
  background: transparent;
}

.masked-banner {
  /* 設置遮罩圖片 */
  mask: url("../images/mask/banner.png?v=4") no-repeat center / cover;
  -webkit-mask: url("../images/mask/banner.png?v=4") no-repeat center / cover;
}

.masked-game {
  /* 設置遮罩圖片 */
  mask: url("../images/mask/game.png") no-repeat center / cover;
  -webkit-mask: url("../images/mask/game.png") no-repeat center / cover;
}

.masked-live {
  /* 設置遮罩圖片 */
  mask: url("../images/mask/live.png") no-repeat center / cover;
  -webkit-mask: url("../images/mask/live.png") no-repeat center / cover;
}

.hovered .overlay {
  display: none;
}

nav {
  font-family: Arial, sans-serif;
  font-size: 16px;
}

@media (min-width: 1024px) {
  nav {
    font-size: 14px;
  }
}

/* header-banner */
.header-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  max-width: 1920px;
}

@media (min-width: 768px) {
  .header-banner {
    z-index: 0;
    height: calc(100vh - 60px - 100px);
    max-height: 1000px;
    min-height: 400px;
  }

  .header-banner-figure {
    display: block;
    margin-bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
  }
}

.header-banner-figure-video {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 767px) {
  .header-banner-figure-video {
    max-height: 70vh;
  }
}

@media (min-width: 768px) {
  .header-banner-figure-video {
    height: 100%;
  }
}

.header-banner-shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}

@media (min-width: 768px) {
  .header-banner-shadow {
    display: block;
    background: linear-gradient(23deg, #181717, transparent 45%);
  }
}

.header-banner-shadow:before,
.header-banner-shadow:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.header-banner-shadow:before {
  top: 0;
  height: 36%;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(transparent),
    to(rgba(24, 23, 23, 0.9))
  );
  background: linear-gradient(0deg, transparent 0, rgba(24, 23, 23, 0.9));
  display: none;
}

.header-banner-shadow:after {
  bottom: 0;
  height: 30%;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(transparent),
    to(rgba(24, 23, 23, 0.98))
  );
  background: linear-gradient(180deg, transparent 0, rgba(24, 23, 23, 0.98));
}
