*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background-color: #0a0a14;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}
.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #c9a84c;
  letter-spacing: 0.1em;
}
.section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #e0e0e0;
  opacity: 0.85;
}

.section-dark {
  background-color: #060610;
}

@keyframes bat-float-left {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -10px);
  }
}
@keyframes bat-float-right {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, -10px);
  }
}
.hero {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #0a0a14;
  margin-top: 0;
}
.hero picture {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.hero-cover {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  margin: 0;
}
.hero-logos {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}
.hero-logo-company {
  height: 70px;
  width: auto;
}
.hero-logo-game {
  height: 100px;
  width: auto;
}
.hero-content {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 1200px;
}
.hero-slogan {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-bottom: 24px;
}
.hero-btn-group {
  display: inline-flex;
  flex-direction: column;
  max-width: 700px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}
.hero-btn {
  flex: 1;
  transition:
    transform 0.2s,
    filter 0.2s;
}
.hero-btn img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}
.hero-btn--patch {
  flex: none;
  width: calc(50% - 10px);
}

.intro {
  position: relative;
  overflow: hidden;
}
.intro-bg {
  width: 100%;
  height: auto;
  display: block;
}
.intro-bat {
  position: absolute;
  z-index: 1;
  width: 200px;
  height: auto;
}
.intro-bat--left {
  top: 15%;
  left: 10%;
  animation: bat-float-left 4s ease-in-out infinite;
}
.intro-bat--right {
  top: 50%;
  right: 10%;
  width: 140px;
  animation: bat-float-right 4s ease-in-out infinite;
}
.intro-title {
  position: absolute;
  top: 5%;
  left: 52%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 1000px;
  width: 45%;
  height: auto;
}
.intro-content {
  position: absolute;
  top: 11%;
  bottom: 46%;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.intro-text {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-bottom: clamp(8px, 1.5vw, 28px);
  line-height: 2;
}
.intro-text p {
  font-size: clamp(14px, 1.5vw, 24px);
  color: #fff;
  letter-spacing: 0.05em;
}
.intro-text .highlight {
  color: #fff;
  background: #e62c84;
  padding: 2px 6px;
  font-weight: 700;
}
.intro-text .highlight-line {
  background: #e62c84;
  padding: 2px 8px;
}
.intro-ending {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 1000px;
  width: 30%;
  height: auto;
}
.intro-pv {
  position: absolute;
  top: 59%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 70%;
  max-width: 1000px;
}
.intro-pv__inner {
  position: relative;
  width: 100%;
}
.intro-pv__frame {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  pointer-events: none;
}
.intro-pv__video {
  position: absolute;
  top: 6%;
  left: 4.5%;
  right: 4.5%;
  bottom: 6%;
  width: 91%;
  height: 88%;
  object-fit: cover;
  z-index: 1;
  background: #0a0a18;
}

.features {
  position: relative;
  overflow: hidden;
}
.features-inner {
  position: relative;
}
.features-bg {
  width: 100%;
  height: auto;
  display: block;
}
.features-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6%;
  padding-left: 10%;
  padding-right: 10%;
}
.features-title {
  width: 70%;
  max-width: 1000px;
  height: auto;
  margin-bottom: 5%;
}
.features-row {
  display: flex;
  justify-content: center;
  gap: 3%;
  width: 100%;
  margin-bottom: 5%;
}
.features-row--2col .features-card {
  width: 30%;
}
.features-row--3col .features-card {
  width: 30%;
}
.features-card {
  text-align: center;
}
.features-card__img {
  width: 100%;
  height: auto;
  display: block;
}
.features-card__desc {
  font-size: clamp(12px, 1.2vw, 20px);
  color: #fff;
  line-height: 1.8;
  margin-top: 8px;
  text-align: left;
  opacity: 0.9;
}

.characters {
  position: relative;
  overflow: hidden;
}
.characters-title {
  display: block;
  width: 30%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  padding: 2% 0;
}

.chara-card {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.chara-card__bg {
  width: 100%;
  height: auto;
  display: block;
}
.chara-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section {
  position: relative;
  overflow: hidden;
}
.gallery-section.lazy-loaded {
  background: url("../images/gallery/gallery_bg.webp") center/cover no-repeat;
}

.gallery-bg {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-bat {
  position: absolute;
  z-index: 3;
  width: 120px;
  height: auto;
}
.gallery-bat--left {
  top: 5%;
  left: 2%;
  animation: bat-float-left 4s ease-in-out infinite;
}
.gallery-bat--right {
  bottom: 8%;
  right: 2%;
  width: 80px;
  animation: bat-float-right 4s ease-in-out infinite;
}

.gallery-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3% 0;
  z-index: 2;
}

.gallery-title {
  width: 23%;
  max-width: 1000px;
  height: auto;
  margin-bottom: 3%;
}

.gallery-swiper-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 20%;
  flex: 1;
  display: flex;
  align-items: center;
}
.gallery-swiper {
  overflow: hidden;
  width: 100%;
}
.gallery-swiper .swiper-wrapper {
  align-items: center;
}
.gallery-swiper .swiper-slide {
  width: 80%;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 0.3s;
  opacity: 0.85;
}
.gallery-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
.gallery-swiper .swiper-slide-active {
  opacity: 1;
}

.gallery-pagination {
  text-align: center;
  margin-bottom: 20px;
}
.gallery-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin: 0 4px;
}
.gallery-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-prev img,
.gallery-next img {
  width: 40px;
  height: auto;
  display: block;
}
.gallery-prev:hover,
.gallery-next:hover {
  opacity: 0.7;
}

.gallery-prev {
  left: 15%;
}

.gallery-next {
  right: 15%;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  display: flex;
}
.lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.lightbox__img {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  animation: lightboxFadeIn 0.25s ease;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.info-section {
  text-align: center;
  padding: 4% 0;
}
.info-section.lazy-loaded {
  background: url("../images/info/info_bg.webp") center/cover no-repeat;
}

.info-title {
  width: 30%;
  max-width: 1000px;
  height: auto;
  margin-bottom: 3%;
}

.info-card {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 4%;
}
.info-card__frame {
  width: 100%;
  height: auto;
  display: block;
}
.info-card__text-area {
  position: absolute;
  top: 32%;
  left: 48%;
  text-align: left;
}
.info-card__btn-area {
  position: absolute;
  top: 53%;
  left: 48%;
  right: 5%;
}
.info-card__text {
  font-size: clamp(1rem, 2vw, 2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
  line-height: 1.6;
}
.info-card__buttons {
  display: flex;
  gap: 35px;
  margin-top: 14px;
}
.info-card__buttons a {
  flex: 1;
  transition:
    transform 0.2s,
    filter 0.2s;
}
.info-card__buttons a:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}
.info-card__buttons img {
  width: 100%;
  height: auto;
  display: block;
}
.info-card__btn-patch {
  flex: none !important;
  width: calc(50% - 17.5px);
}

.info-specs {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

footer {
  background: #060610;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 24px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.footer-r18 {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}
.footer-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero-logos {
    top: 7px;
    left: 5px;
    right: 5px;
  }
  .hero-logo-company {
    height: 52px;
  }
  .hero-logo-game {
    height: 50px;
  }
  .hero-content {
    width: 100%;
    bottom: -3%;
    padding: 0 5%;
    box-sizing: border-box;
  }
  .hero-btn-group {
    max-width: 100%;
    transform: translateY(-30%);
  }
  .hero-slogan {
    max-width: 86%;
    margin-bottom: 26px;
  }
  .hero-btn {
    flex: 0 0 calc(50% - 6px);
  }
  .hero-btn img {
    width: 100%;
    height: auto;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-buttons--sub {
    justify-content: flex-start;
  }
  .section {
    padding: 50px 0;
  }
  .gallery-section.lazy-loaded {
    background: url("../images/gallery/gallery_bg.webp") center/cover no-repeat;
  }
  .gallery-bg {
    display: none;
  }
  .gallery-content {
    position: static;
    padding: 6% 0;
  }
  .gallery-swiper .swiper-slide {
    width: 85%;
  }
  .gallery-swiper-wrap {
    padding: 0 40px;
  }
  .intro.lazy-loaded {
    background: url("../images/intro/intro_bg.webp") center/cover no-repeat;
  }
  .intro-bg {
    display: none;
  }
  .intro-title {
    position: static;
    display: block;
    transform: none;
    width: 85%;
    margin: 5% auto 3%;
  }
  .intro-content {
    position: static;
    padding: 0 20px 5%;
  }
  .intro-text p {
    font-size: 14px;
  }
  .intro-text .highlight {
    padding: 0;
  }
  .intro-ending {
    position: static;
    display: block;
    transform: none;
    width: 50%;
    margin: 0 auto 5%;
  }
  .intro-pv {
    position: static;
    transform: none;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 5%;
  }
  .intro-bat {
    width: 60px;
  }
  .intro-bat--right {
    top: 42%;
    width: 40px;
  }
  .gallery-bat {
    width: 60px;
  }
  .gallery-bat--right {
    width: 40px;
  }
  .gallery-pagination {
    position: static;
    margin-top: 20px;
  }
  .gallery-prev,
  .gallery-next {
    top: 50%;
  }
  .gallery-prev img,
  .gallery-next img {
    width: 18px;
  }
  .gallery-prev {
    left: 2%;
  }
  .gallery-next {
    right: 2%;
  }
  .features-inner.lazy-loaded {
    background: url("../images/features/feature_bg.webp") center/cover no-repeat;
  }
  .features-bg {
    display: none;
  }
  .features-content {
    position: static;
    padding: 6% 0;
  }
  .features-title {
    width: 90%;
  }
  .characters-title {
    width: 43%;
  }
  .features-card__desc {
    font-size: 14px;
  }
  .features-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .features-row--2col .features-card,
  .features-row--3col .features-card {
    width: 85%;
  }
  .gallery-title {
    width: 33%;
  }
  .info-section {
    padding: 8% 0;
  }
  .info-title {
    width: 45%;
  }
  .chara-card.lazy-loaded {
    background: url("../images/characters/chara_bg.webp") center/cover no-repeat;
  }
  .chara-card__bg {
    display: none;
  }
  .chara-card__img {
    position: static;
    width: 95%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .chara-card:nth-child(odd) .chara-card__img {
    margin-left: 0;
    margin-right: auto;
  }
  .chara-card:nth-child(even) .chara-card__img {
    margin-left: auto;
    margin-right: 0;
  }
  .info-card {
    width: 95%;
  }
  .info-card__text-area {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .info-card__text {
    font-size: 0.95rem;
  }
  .info-card__btn-area {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
  }
  .info-card__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .info-card__buttons a {
    width: 80%;
  }
  .info-card__btn-patch {
    flex: 1 !important;
    width: 80% !important;
  }
  .info-specs {
    width: 95%;
  }
}

/* EN-only: collapse any stray inline text before hero（只重置三大區塊，子元素照常繼承） */
html[lang="en"] body {
  font-size: 0;
}

html[lang="en"] header.hero,
html[lang="en"] main,
html[lang="en"] footer {
  font-size: initial;
}

/*# sourceMappingURL=style.css.map */
