/* ===== Fonts ===== */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../outfit/Outfit-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../outfit/Outfit-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../outfit/Outfit-SemiBold.otf') format('opentype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../outfit/Outfit-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../outfit/Anton.woff2') format('woff2');
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #090909;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.5
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: #090909
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 88px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .3s;
}

.nav--solid {
  background: rgba(9, 9, 9, .95);
  backdrop-filter: blur(12px)
}

.nav__inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  height: 88px
}

.nav__logo {
  width: 237px;
  display: flex;
  align-items: center
}

.nav__logo svg {
  height: 20px;
  width: auto
}

.nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: #CD030B;
  color: #fff;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: background .2s
}

.nav__btn:hover {
  background: #a80309
}

/* ===== Slides Container ===== */
.slides {
  width: 100%
}

/* ===== Slide Base ===== */
.slide {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 88px);
  /* min-height: 700px; */
  overflow: hidden;
}

/* ===== Slide 1: Hero ===== */
.slide--hero {
  background: #090909;
  position: relative
}

.slide--hero .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.slide--hero .hero__bg-deco {
  position: absolute;
  inset: 0;
  background-image: url(../images/shouping.png);
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none
}

.slide--hero .hero-title {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 42px;
  line-height: 100%;
  letter-spacing: 9px;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
}

.slide--hero .hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 13px 0;
  width: 300px;
  background: #090606;
  color: #fff;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-size: 30px;
  font-weight: 400;
  border-radius: 37px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 32px rgba(221, 0, 0, .8), inset 0 4px 22px rgba(255, 37, 40, .16);
  transition: all .3s;
  bottom: 10%;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
      cursor: pointer;
}

.slide--hero .hero-cta:hover {
  background: #1a0a0a;
  box-shadow: 0 0 40px rgba(221, 0, 0, .9), inset 0 4px 22px rgba(255, 37, 40, .2)
}

/* ===== Slide 2: Features ===== */
.slide--features {
  background: #090909;
  position: relative;
  overflow: clip;
}

/* Pin container — provides scroll distance */
.slide--features .features__pin {
  height: 250vh;
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

/* Sticky layer — pinned during scroll */
.slide--features .features__sticky {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide--features .features__product-deco {
  width: var(--deco-w, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  position: relative;
  transform: translateY(var(--deco-y, 0px))
}

.slide--features .features__product-deco-img {
  max-width: 1410px;
  width: 100%;
  height: auto;
  object-fit: cover;
  outline: none;
  transform: translateZ(0)
}

.slide--features .features__deco-title {
  text-align: center;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 63px;
  color: #BF1424;
  line-height: 1.2;
  pointer-events: none;
  z-index: 2;
}

.slide--features .features__deco-subtitle {
  text-align: center;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 48px;
  color: #ACAAAB;
  line-height: 1.2;
  pointer-events: none;
  z-index: 2;
}

.slide--features .features__frame {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  width: 1392px;
  aspect-ratio: 1392 / 745;
  overflow: hidden;
}

.slide--features .features__media {
  display: flex;
  align-items: flex-start;
  border-radius: 20px;
  box-shadow: 0 -22px 60px rgba(193, 0, 0, .12);
  width: 13.14%;
}

.slide--features .features__media-screenshot img {
  display: block;
  width: auto;
  height: 745px;
  max-width: none
}

.slide--features .features__media-body {
  flex: 1;
  background: #141517;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.slide--features .features__video {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.slide--features .features__video-content {
  height: 100%;
  border-radius: 26px 26px 0 0;
  overflow: hidden
}

.slide--features .features__video-content video {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.slide--gamewall .gamewall__guang-img{
    position: absolute;
    width: 139px;
    height: 139px;
    left: 0;
    top: 0;
    z-index: 999;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.slide--gamewall .gamewall__guang-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.slide--features .features__games {
  display: flex;
  gap: 36px;
  align-items: center;
  margin: 32px 0 0 30px;
  position: absolute;
  bottom: 52px;
}

.slide--features .features__game {
  width: 202px;
  height: 116px;
  border-radius: 6px;
  background: #D9D9D9;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .1);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  transition: all .3s
}

.slide--features .features__game.is-active {
  border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 4px 16px rgba(210, 27, 18, .3);
  transform: scale(1.19);
}

.slide--features .features__hover {
  position: absolute;
  left: 191px;
  top: 565px;
  width: 241px;
  height: 139px;
  border-radius: 17px;
  border: 2px solid rgba(255, 255, 255, .5);
  box-shadow: 0 4px 16px rgba(210, 27, 18, .3);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s
}

/* ===== Slide 3: Feature Cards ===== */
.slide--cards {
  background: #090909;
  position: relative;
  overflow: clip;
  width: 100%;
}

/* Pin container — provides scroll distance */
.slide--cards .cards__pin {
  height: 300vh;
  position: relative;
}

/* Sticky layer — pinned during scroll */
.slide--cards .cards__sticky {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide--cards .cards__bg-line {
  height: 0;
  /* background: #E40909; */
  pointer-events: none;
  border: 8px solid #E40909;
  position: absolute;
}

.slide--cards .cards__bg-line--1 {
  margin-left: -10px;
  width: var(--line1-w, 0%);
  left: 0;
  top: 11.32%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
}

.slide--cards .cards__bg-line--2 {
  margin-right: -10px;
  width: var(--line2-w, 0%);
  right: 0;
  bottom: 15.13%;
  border-left-color: transparent;
  border-top-color: transparent;
  border-right-color: transparent;
}

.slide--cards .cards__row {
  display: flex;
  padding: 0 120px;
  z-index: 2;
  justify-content: space-between;
  width: 100%;
  transform: translateX(var(--cards-row-x, 100%));
  will-change: transform;
}

.slide--cards .cards__card {
  flex: 1;
  display: flex;
  padding: 34px 55px;
  overflow: visible;
  align-items: flex-start
}

.slide--cards .cards__card--mascot {
  position: relative
}

.slide--cards .cards__content {
  display: flex;
  flex-direction: column;
  gap: 38px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.slide--cards .cards__stats {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.slide--cards .cards__num {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 120px;
  line-height: 120px;
  color: #fff
}

.slide--cards .cards__num--big {
  text-align: center
}

.slide--cards .cards__num--s {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-size: 70px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 20px;
  padding: 10px 0;
}

.slide--cards .cards__num--sm {
  font-size: 60px
}

.slide--cards .cards__label {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 58px;
  color: #fff;
  line-height: 120px;
}

.slide--cards .cards__label--hero {
  font-size: 70px;
  line-height: 100%;
  margin-bottom: 54px;
}

@media (max-width: 768px) {
  .slide--cards .cards__label--hero {
    font-size: 50px;
  }
}

@media (max-width: 640px) {
  .slide--cards .cards__label--hero {
    font-size: 36px;
  }
}

.slide--cards .cards__label-inline {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600
}

.slide--cards .cards__desc {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: #ACAAAB;
  line-height: 1.5;
}

.slide--cards .cards__card .cards__mascot {
  right: -70%;
  top: 0;
}

.slide--cards .cards__mascot {
  position: absolute;
  /* width: 285px; */
  max-width: none;
  height: 102%;
  pointer-events: none;
  object-fit: contain;
}

/* Cards 2 & 3 left-aligned */
.slide--cards .cards__card--mascot .cards__content {
  width: 280px;
  height: 100%;
}

.slide--cards .cards__card--mascot .cards__num {
  text-align: left
}

.slide--cards .cards__card--mascot .cards__desc {
  text-align: left
}


/* ===== Slide 4: Game Wall ===== */
.slide--gamewall {
  background: #090909;
  position: relative;
  overflow: clip;
}

/* Pin container — provides scroll distance */
.slide--gamewall .gamewall__pin {
  height: 200vh;
  position: relative;
}

/* Sticky layer — pinned during scroll */
.slide--gamewall .gamewall__sticky {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Group wrapper — holds sparkle + border, moves up together */
.slide--gamewall .gamewall__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

/* Sparkle: flex-centered inside group */
.slide--gamewall .gamewall__group .gamewall__sparkle {
  position: static;
  flex-shrink: 0;
  z-index: 1;
  margin: 0;
  pointer-events: none;
}

/* Border: flows below sparkle, relative for its absolute children */
.slide--gamewall .gamewall__group .gamewall__border {
  position: relative;
  margin: 0;
  top: auto;
}

.slide--gamewall .gamewall__glow {
  position: absolute;
  left: 647px;
  top: 155px;
  width: 626px;
  height: 626px;
  border-radius: 50%;
  background: rgba(202, 2, 9, .2);
  filter: blur(508px);
  pointer-events: none
}

.slide--gamewall .gamewall__sparkle {
  position: absolute;
  left: 0;
  right: 0;
  top: 115px;
  width: 781px;
  height: 66px;
  z-index: 1;
  pointer-events: none;
  margin: 0 auto;
  margin-bottom: 60px;
}

.slide--gamewall .gamewall__content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-radius: 59px;
}

.slide--gamewall .gamewall__sweep {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none
}

.slide--gamewall .gamewall__character-shadow {
  position: absolute;
  left: 100px;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  filter: blur(6px);
  pointer-events: none;
}

.slide--gamewall .gamewall__character-img {
  position: absolute;
  left: 0;
  top: 0;
  /* right: 0; */
  /* margin: 0 auto; */
  width: 100%;
  height: 100%;
  background-image: url(../images/slide-end-photo.png);
  background-size: 98% auto;
  background-position: center center;
  filter: blur(2px);
  pointer-events: none;
}

.slide--gamewall .gamewall__guang {
  position: absolute;
  width: 626px;
  height: 626px;
  top: -150px;
  left: 150px;
  z-index: 10;
  filter: blur(65px);
  background: radial-gradient(circle, rgba(202, 2, 9, 0.3) 0%, rgba(202, 2, 9, 0) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.slide--gamewall .gamewall__border {
  position: absolute;
  left: 0;
  right: 0;

  top: 250px;
  width: 891px;
  height: 356px;
  z-index: 15;
  pointer-events: none;
  --border-width: 3px;
  --radius: 61px;
  border-radius: var(--radius);
  border: var(--border-width) solid transparent;
  margin: 0 auto;
}

.slide--gamewall .gamewall__border::before {
  content: " ";
  position: absolute;
  inset: calc(var(--border-width) * -1);
  z-index: -1;
  border: inherit;
  border-radius: inherit;
  background-image: conic-gradient(from var(--angle) at 50% 50%,
      rgba(255, 255, 255, 1) 0deg,
      rgba(255, 241, 220, 1) 18deg,
      rgba(185, 220, 255, 1) 55deg,
      rgba(143, 199, 255, 1) 140deg,
      rgba(217, 236, 255, 1) 220deg,
      rgba(255, 176, 106, 1) 305deg,
      rgba(255, 255, 255, 1) 330deg,
      rgba(255, 255, 255, 1) 360deg);
  background-origin: border-box;
  -webkit-mask:
    linear-gradient(black, black),
    linear-gradient(black, black);
  mask:
    linear-gradient(black, black),
    linear-gradient(black, black);
  -webkit-mask-clip: content-box, border-box;
  mask-clip: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 7s linear infinite running
}

.slide--gamewall .gamewall__border .glow {
  position: absolute;
  inset: calc(var(--border-width) * -1);
  border-radius: inherit
}

.slide--gamewall .gamewall__border .glow::after {
  content: "";
  position: absolute;
  inset: calc(var(--border-width) * -1);
  z-index: -1;
  border: calc(var(--border-width) * 2) solid transparent;
  border-radius: inherit;
  background-origin: border-box;
  background-image: conic-gradient(from var(--angle) at 50% 50%,
      rgba(255, 138, 42, 1) 0deg,
      transparent 70deg,
      transparent 210deg,
      rgba(142, 200, 255, 1) 260deg,
      rgba(255, 255, 255, 1) 330deg,
      rgba(255, 138, 42, 1) 360deg);
  -webkit-mask:
    linear-gradient(black, black),
    linear-gradient(black, black);
  mask:
    linear-gradient(black, black),
    linear-gradient(black, black);
  -webkit-mask-clip: content-box, border-box;
  mask-clip: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 7s linear infinite running
}

.slide--gamewall .gamewall__border .white-glow {
  filter: blur(20px);
  opacity: .88
}

.slide--gamewall .gamewall__border .purple-glow::after {
  border-width: calc(var(--border-width) * 1);
  background-image: conic-gradient(from var(--angle) at 50% 50%,
      transparent 0deg,
      #9ed4ff 90deg,
      transparent 180deg)
}

.slide--gamewall .gamewall__border .purple-glow {
  filter: blur(8px);
  opacity: .9
}

.slide--gamewall .gamewall__border .red-glow::after {
  border-width: calc(var(--border-width) * 1);
  background-image: conic-gradient(from var(--angle) at 50% 50%,
      transparent 180deg,
      #ff9b4a 270deg,
      transparent 360deg)
}

.slide--gamewall .gamewall__border .red-glow {
  filter: blur(10px);
  opacity: .95
}

.slide--gamewall .gamewall__border .cyan-glow::after {
  border-width: calc(var(--border-width) * 2);
  background-image: conic-gradient(from var(--angle) at 50% 50%,
      transparent 80deg,
      #d7ecff 150deg,
      #ffffff 180deg,
      transparent 250deg)
}

.slide--gamewall .gamewall__border .cyan-glow {
  filter: blur(14px);
  opacity: .82
}

/* 调试滑块 */

.slide--gamewall .gamewall__title {
  position: absolute;
  left: 0;
  right: 0;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  z-index: 6;
  margin: 0 auto;
  text-align: center;
}

/* Sticky内元素由JS控制动画，禁用CSS入口动画 */
.slide--gamewall .gamewall__sticky .gamewall__sparkle,
.slide--gamewall .gamewall__sticky .gamewall__title {
  animation: none !important;
}


@property --angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn
}

@keyframes spin {
  to {
    --angle: 1turn
  }
}


/* ===== Footer ===== */
.footer {
  background: #161616;
  padding: 64px 48px 30px
}

.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px
}

.footer__logo {
  width: 237px;
  height: auto
}

.footer__links {
  display: flex;
  justify-content: space-between;
  width: 100%
}

.footer__links-right {
  display: flex;
  gap: 16px
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, .4);
  transition: color .2s;
  white-space: nowrap
}

.footer__link:hover {
  color: rgba(255, 255, 255, .6)
}

.footer__copy {
  font-size: 14px;
  color: rgba(255, 255, 255, .4)
}

/* ===== Scenes (embedded inside GameWall) ===== */
.gamewall__scenes {
  position: absolute;
  inset: 0;
  opacity: var(--scenes-opacity, 0);
  transition: opacity .3s ease;
}

.gamewall__scenes .scenes__wheel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0;
  z-index: 2;
}

/* Scene Card */
.gamewall__scenes .scene-card {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 37px;
  cursor: pointer;
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease, width .4s ease, height .4s ease;
  opacity: .6;
  z-index: 1;
  perspective: 1200px;
}

.gamewall__scenes .scene-card__inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4, 0, .2, 1);
}

.gamewall__scenes .scene-card__front,
.gamewall__scenes .scene-card__back {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  backface-visibility: hidden;
}

.gamewall__scenes .scene-card__back {
  transform: rotateY(180deg);
}

.gamewall__scenes .scene-card--selected .scene-card__inner {
  transform: rotateY(180deg);
}

/* 初始状态：圆心位置、不可见、无过渡（由 JS 控制移除） */
.gamewall__scenes .scene-card--init {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.6) !important;
  transition: none !important;
  pointer-events: none
}

.gamewall__scenes .scene-card:hover {
  opacity: .85
}

.gamewall__scenes .scene-card--selected {
  width: 360px;
  height: 360px;
  opacity: 1;
  z-index: 10;
  cursor: default
}

.gamewall__scenes .scene-card--selected .scene-card__border {
  border-radius: 45px
}

.gamewall__scenes .scene-card--selected .scene-card__slot {
  border-radius: 44px
}

.gamewall__scenes .scene-card--selected .scene-card__text {
  opacity: 0;
}

.gamewall__scenes .scene-card__border {
  position: absolute;
  inset: 0;
  border-radius: 37px;
  padding: 2px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(158, 84, 77, 1) 19%, rgba(251, 238, 232, 1) 38%, rgba(233, 183, 170, 1) 58%, rgba(210, 27, 18, 1) 64%, rgba(240, 176, 163, 1) 79%, rgba(224, 75, 58, 1) 84%, rgba(250, 198, 184, 1) 89%, rgba(210, 27, 18, 1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude
}

.gamewall__scenes .scene-card__slot {
  position: absolute;
  inset: 2px;
  border-radius: 36px;
  background: #0a0808;
  overflow: hidden
}

.gamewall__scenes .scene-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  transition: opacity .4s ease
}

.gamewall__scenes .scene-card:hover .scene-card__img {
  opacity: .8
}

.gamewall__scenes .scene-card--selected .scene-card__img {
  opacity: 1
}
 
.gamewall__scenes .scene-card--selected:hover .scene-card__img {
  opacity: 1
}

.gamewall__scenes .scene-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .5) 0%, transparent 50%)
}

.gamewall__scenes .scene-card__text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none
}

.gamewall__scenes .scene-card__text-inner {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap
}

.gamewall__scenes .scene-card__label {
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  line-height: 1
}

.gamewall__scenes .scene-card__sub {
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #fff;
  line-height: 1
}

/* Description text */
.gamewall__scenes .scenes__desc {
  position: absolute;
  left: 0;
  bottom: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  z-index: 3;
  pointer-events: none
}

.gamewall__scenes .scenes__desc.desc-out {
  animation: desc-out .3s ease-in forwards
}

.gamewall__scenes .scenes__desc.desc-in {
  animation: desc-in .7s ease-out forwards
}

@keyframes desc-out {
  0% {
    opacity: 1;
    bottom: 80px
  }

  100% {
    opacity: 0;
    bottom: 130px
  }
}

@keyframes desc-in {
  0% {
    opacity: 0;
    bottom: -230px
  }

  100% {
    opacity: 1;
    bottom: 80px
  }
}

.gamewall__scenes .scenes__desc-line1 {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap
}

.gamewall__scenes .scenes__desc-highlight {
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 88px;
  color: #CB0209
}

.gamewall__scenes .scenes__desc-line2 {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap
}

/* ===== Slide 7: CTA ===== */
.slide--cta {
  background: #090909;
  position: relative;
  overflow: clip;
}

/* Pin container — provides scroll distance */
.slide--cta .cta__pin {
  height: 250vh;
  position: relative;
}

/* Sticky layer — pinned during scroll */
.slide--cta .cta__sticky {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Game Wall Background */
.slide--cta .cta__wall {
  width: 100%;
  position: absolute;
  /* inset: -20%; */
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.slide--cta .cta__wall-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  transform: rotate(-45deg);
  transform-origin: center center;
}

@keyframes ctaScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.slide--cta .cta__col {
  display: flex;
  gap: 40px;
  width: fit-content;
}

/* 入场完成后由 JS 添加此类，走马灯正式接管 */
.slide--cta .cta__col.marquee-go {
  animation: ctaScroll 40s linear infinite;
}

/* Odd rows → left */
.slide--cta .cta__col.marquee-go:nth-child(odd) {
  animation-direction: normal;
}

/* Even rows → right (reverse: 从 -50% 回到 0，视觉向右滚) */
.slide--cta .cta__col.marquee-go:nth-child(even) {
  animation-direction: reverse;
}

/* 奇数列离场：延续 normal 方向，继续向左加速跑出 */
@keyframes ctaExitOdd {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-150%); }
}

/* 偶数列离场：延续 reverse 方向，继续向右加速跑出 */
@keyframes ctaExitEven {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(150%); }
}

.slide--cta .cta__col.cta-exit-odd {
  animation: ctaExitOdd 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.slide--cta .cta__col.cta-exit-even {
  animation: ctaExitEven 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide--cta .cta__card {
  width: 498px;
  height: 281px;
  border-radius: 28px;
  background-size: 100% auto;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

/* Gradient Overlay */
.slide--cta .cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
}

.slide--cta .cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
  transform: translateY(var(--cta-title-y, 0px));
}

.slide--cta .cta__title {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 4px;
}

.slide--cta .cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 64px;
  background: #090606;
  color: #fff;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-size: 28px;
  font-weight: 500;
  border-radius: 40px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 32px rgba(221, 0, 0, 0.8), inset 0 4px 22px rgba(255, 37, 40, 0.16);
  transition: all 0.3s;
  cursor: pointer;
}

.slide--cta .cta__btn:hover {
  background: #1a0a0a;
  box-shadow: 0 0 40px rgba(221, 0, 0, 0.9), inset 0 4px 22px rgba(255, 37, 40, 0.2);
  transform: scale(1.04);
}



/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.slide--hero.slide--visible .hero-title,
.slide--hero.slide--visible .hero-cta {
  animation: fadeInUp .8s ease forwards
}

/* ===== Slide 7: 4K Specs ===== */
.slide--4k {
  background: #090909;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ===== 4K/1080P Video Comparison Slider ===== */
.slide--4k .k4k__1080p {
    position: absolute;
    right: 0;
    top: 0;
    width: 71.5%;
    height: 100%;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    transition: clip-path .4s cubic-bezier(.22, .68, 0, 1);
    clip-path: polygon(
    calc(0% + 241px) 0%,
    100% 0%,
    100% 100%,
    calc(0% - 2px) 100%
  );
}

.slide--4k .k4k__1080p::before {
    content: '';
    position: absolute;
    left: 95px;
    top: 0;
    width: 2px;
    height: 120%;
    background: linear-gradient(180deg, rgba(152, 2, 2, 0.12) 0%, #980202 18.57%, rgba(152, 2, 2, 0) 38.28%, rgba(152, 2, 2, 0.1) 56.96%, #980202 75.96%, rgba(152, 2, 2, 0.12) 91.14%);
    transform: rotate3d(1, 1, 1, 33deg);
    z-index: 9;
}

.slide--4k .k4k__1080p-video {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Blur overlay: diagonal cut from middle */
.slide--4k .k4k__1080p-blur {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: clip-path .4s cubic-bezier(.22, .68, 0, 1);
  pointer-events: none;
  z-index: 1;
  clip-path: polygon(
    calc(var(--k4k-pos, 50%) + 120px) 0%,
    100% 0%,
    100% 100%,
    calc(var(--k4k-pos, 50%) - 120px) 100%
  );
}

/* Divider line */
.slide--4k .k4k__1080p-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  z-index: 2;
  transition: left .4s cubic-bezier(.22, .68, 0, 1);
  pointer-events: none;
}

.slide--4k .k4k__1080p-divider::before {
    content: '';
    position: absolute;
    left: -6px;
    top: -70px;
    width: 2px;
    height: 120%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, #FFFFFF 50%, rgba(255, 255, 255, 0.3) 100%);
    transform: rotate3d(1, 1, 1, 33deg);
}

/* Handle circle */
.slide--4k .k4k__1080p-handle {
  position: absolute;
  top: 50%;
  left: var(--k4k-pos, 50%);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow:
    0 0 4px rgba(132, 0, 0, .39),
    0 0 30px rgba(224, 5, 5, .35),
    0 0 80px rgba(224, 5, 5, .2),
    0 0 160px rgba(224, 5, 5, .1),
    inset 0 0 22px rgba(240, 82, 82, .77),
    inset 0 0 4px rgba(190, 0, 20, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform .2s ease;
  animation: k4kHandleBreathe .6s ease-in-out infinite;
}

.slide--4k .k4k__1080p-handle::before {
    content: '';
    position: absolute;
    /* inset: -1px; */
    border-radius: 50%;
    padding: 2px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 200, 200, .7), rgba(200, 0, 0, .2), transparent);
    /* -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); */
    /* -webkit-mask-composite: xor; */
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    /* mask-composite: exclude; */
    pointer-events: none;
  background: radial-gradient(circle at 40% 35%, #F9363E, #E00505);
    width: 100%;
    height: 100%;
    filter: blur(29px);
}

.slide--hero .title-img {
    position: absolute;
    width: 60%;
    display: flex;
    justify-content: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -40px;
}

/* Large diffuse outer glow (Figma: blur 162px) */
.slide--4k .k4k__1080p-handle::after {
  content: '';
  position: absolute;
  inset: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 5, 5, .3) 0%, rgba(224, 5, 5, .15) 30%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: k4kHandleGlow 2.5s ease-in-out infinite;
}

.slide--4k .k4k__handle-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: auto;
  pointer-events: none;
  display: block;
}

.slide--4k .k4k__1080p-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

@keyframes k4kHandleBreathe {
  0%, 100% {
    box-shadow:
      0 0 2px rgba(132, 0, 0, .2),
      0 0 15px rgba(224, 5, 5, .15),
      0 0 40px rgba(224, 5, 5, .08),
      0 0 80px rgba(224, 5, 5, .05),
      inset 0 0 10px rgba(240, 82, 82, .4),
      inset 0 0 2px rgba(190, 0, 20, .6);
  }
  50% {
    box-shadow:
      0 0 8px rgba(132, 0, 0, .7),
      0 0 60px rgba(224, 5, 5, .7),
      0 0 140px rgba(224, 5, 5, .45),
      0 0 280px rgba(224, 5, 5, .3),
      inset 0 0 35px rgba(240, 82, 82, 1),
      inset 0 0 8px rgba(190, 0, 20, 1);
  }
}

@keyframes k4kHandleGlow {
  0%, 100% {
    opacity: .5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Arrow controls */
.slide--4k .k4k__1080p-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  opacity: 0;
}

.slide--4k .k4k__1080p:hover .k4k__1080p-arrow {
  opacity: 1;
}

.slide--4k .k4k__1080p-arrow:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.slide--4k .k4k__1080p-arrow--left {
  left: 16px;
}

.slide--4k .k4k__1080p-arrow--right {
  right: 16px;
}

.slide--4k .k4k__1080p-arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Decorative 4K */
.slide--4k .k4k__deco {
  position: absolute;
  left: 50%;
  top: -53%;
  transform: translateX(-50%);
  width: 660px;
  height: 334px;
  background: url('../images/4K-deco.png') no-repeat center / contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Badge tags */
.slide--4k .k4k__badge {
  position: absolute;
  top: 16.4%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 6px;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(3, 34, 29, .6);
  z-index: 3;
}

.slide--4k .k4k__badge--red {
  background: #CB0209;
  color: #fff;
  left: 19.1%;
}

.slide--4k .k4k__badge--gray {
  background: #3A3A3A;
  color: #fff;
  right: 10.5%;
}

/* Main content */
.slide--4k .k4k__content {
  position: relative;
  z-index: 15;
  margin-left: 8.7%;
  display: flex;
  flex-direction: column;
  margin-top: 120px;
}

.slide--4k .k4k__1080p-cover {
  position: absolute;
  z-index: 9;
  background: rgba(9, 9, 9, 1);
  width: 300px;
  left: 192px;
  height: 150%;
  transform: rotate3d(1, 1, 1, 33deg) translateX(-196px) translateY(-40px);
}

.slide--4k .k4k_line {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(152, 2, 2, 0.12) 0%, #980202 18.57%, rgba(152, 2, 2, 0) 38.28%, rgba(152, 2, 2, 0.1) 56.96%, #980202 75.96%, rgba(152, 2, 2, 0.12) 91.14%);
}

.slide--4k .k4k__heading {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.slide--4k .k4k__title {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 120px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: .03em;
}

.slide--4k .k4k__title-accent {
  font-family: Outfit, sans-serif;
  font-weight: 600;
}

.slide--4k .k4k__desc {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 64px;
  color: rgba(255, 255, 255, .7);
  margin-top: 20px;
}

/* Metering strips */
.slide--4k .k4k__meter {
  position: absolute;
  top: 0;
  pointer-events: none;
  z-index: 2;
}

.slide--4k .k4k__meter--1 {
  left: 33.74%;
  width: 180px;
  height: 96.4%;
  background: linear-gradient(180deg, rgba(152, 2, 2, .12) 0%, rgba(152, 2, 2, 1) 19%, rgba(152, 2, 2, 0) 38%, rgba(152, 2, 2, .1) 57%, rgba(152, 2, 2, 1) 76%, rgba(152, 2, 2, .12) 91%);
}

.slide--4k .k4k__meter--2 {
  left: 62.5%;
  width: 189px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, .3) 100%);
}

.slide--4k.slide--visible .k4k__heading,
.slide--4k.slide--visible .k4k__title,
.slide--4k.slide--visible .k4k__desc {
  animation: fadeInUp .8s ease .1s forwards
}

.slide--4k.slide--visible .k4k__badge {
  animation: fadeInUp .8s ease .05s forwards
}

/* ===== Slide 8: 一只盒子 全部到位 ===== */
.slide--allinone {
  background: #090909;
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 998px;
  /* align-items: center; */
  justify-content: center;
}

.slide--allinone .allinone__title {
  position: relative;
  /* left: 50%; */
  /* top: 13.3%; */
  transform: translateX(-50%);
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  z-index: 10;
  width: 100%;
  text-align: center;
  margin-top: 133px;
}

.slide--allinone .allinone__cards {
  position: absolute;
  inset: 0;
  top: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slide--allinone .allinone__track {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ===== Card Base ===== */
.slide--allinone .allinone__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1053px;
  /* max-width: 660px; */
  aspect-ratio: 1053 / 605;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: auto;
  transform-origin: center center;
  will-change: transform, opacity;
  cursor: pointer;
}

.slide--allinone .allinone__card-img {
  position: absolute;
  overflow: hidden;
  transition: all 0.45s ease;
}

.slide--allinone .allinone__card-img img {
  display: block;
  max-width: none;
}

/* ===== SOLO Card (visual only, no positioning) ===== */
.slide--allinone .allinone__card--solo {
  border: 2px solid transparent;
  background-clip: padding-box;
  background: rgba(24, 94, 152, 1);
  background-origin: padding-box, border-box;
  background-repeat: no-repeat;
  border: 2px solid #467eac;
}

.slide--allinone .allinone__card--solo .allinone__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===== DUO Card (visual only, no positioning) ===== */
.slide--allinone .allinone__card--duo {
  background: rgba(70, 51, 166, 1);
  border: 2px solid transparent;
  background-clip: padding-box;
  background-origin: padding-box, border-box;
  background-repeat: no-repeat;
  border: 2px solid #77489d;
}

.slide--allinone .allinone__card--duo .allinone__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-left: -25%;
}

.slide--allinone .allinone__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide--allinone .allinone__card--duo .allinone__card-overlay {
  background: linear-gradient(10.84deg, #21184F 16.51%, rgba(33, 24, 79, 0) 56.24%);
}

.slide--allinone .allinone__card--family .allinone__card-overlay {
 background: linear-gradient(10.84deg, #70010A 16.51%, rgba(112, 1, 10, 0) 56.24%);
}

.slide--allinone .allinone__card--solo .allinone__card-overlay {
  background: linear-gradient(180deg, rgba(70, 51, 166, 0.6) 0%, rgba(70, 51, 166, 0) 100%);
}


/* ===== Position-based Image Layout ===== */
/* Back (index 0) — full bleed */
.slide--allinone .allinone__card--pos-back .allinone__card-img {
  width: 100%;
  height: 100%;
}

/* Middle (index 1) — offset left */
.slide--allinone .allinone__card--pos-mid .allinone__card-img {
  left: 0;
  top: 0;
  /* width: 80.6%; */
  height: 100%;
}

/* Front (index 2) — offset right */
.slide--allinone .allinone__card--pos-front .allinone__card-img {
  left: 29.1%;
  /* right: 1.5%; */
  top: 2.3%;
  width: 69.5%;
  height: 95.4%;
  border-radius: 22px;
  transition: all 0.45s ease;
}

.slide--allinone .allinone__card--pos-front .allinone__card-img img{
    margin-left: 0;
}

.slide--allinone .allinone__card--pos-front .allinone__card-overlay {
  opacity: 0;
  transition: all 0.6s linear;
}


.slide--allinone .allinone__card--pos-front .allinone__card-label {
  position: absolute;
  left: 4.7%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  bottom: 10%;
}

.slide--allinone .allinone__card--pos-front .allinone__card-en {
  font-size: 48px;
}


.slide--allinone .allinone__card--pos-front .allinone__card-cn {
  font-size: 48px;
}

.slide--allinone .allinone__card-label {
  position: absolute;
  left: 5%;
  bottom: 15%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
  transition: all 1s ease;
}

/* ===== FAMILY Card (visual only, no positioning) ===== */
.slide--allinone .allinone__card--family {
  background: rgba(206, 9, 26, 1);
  border: 2px solid transparent;
  background-clip: padding-box;
  background-repeat: no-repeat;
  box-shadow: 0 0 12px rgba(0, 0, 0, .25);
  border: 2px solid rgb(216 57 71);
} 

.slide--allinone .allinone__card--family .allinone__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===== Card Typography ===== */
.slide--allinone .allinone__card-en {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #fff;
  line-height: 1.2;
}


.slide--allinone .allinone__card-cn {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  line-height: 1.3;
  opacity: .85;
}


/* ===== Dot Controller ===== */
.slide--allinone .allinone__dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 20;
  pointer-events: auto;
}

.slide--allinone .allinone__dot {
  display: block;
  width: 64px;
  height: 12px;
  border-radius: 6px;
  background: #393939;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slide--allinone .allinone__dot.is-active {
  background: #D9D9D9;
}

/* ===== Disable Click During Animation ===== */
.disable-click {
  pointer-events: none !important;
}

/* ===== Entrance ===== */
.slide--allinone.slide--visible .allinone__title {
  animation: fadeInUp .8s ease .05s forwards
}

/* 卡片入场：由 JS 控制 opacity，CSS 只提供动画延时入场 */
.slide--allinone .allinone__card {
  opacity: 0;
}

.slide--allinone.slide--visible .allinone__card {
  animation: allinoneCardFadeIn .6s ease forwards;
}

.slide--allinone.slide--visible .allinone__card[data-card-id="solo"] {
  animation-delay: .1s;
}

.slide--allinone.slide--visible .allinone__card[data-card-id="duo"] {
  animation-delay: .15s;
}

.slide--allinone.slide--visible .allinone__card[data-card-id="family"] {
  animation-delay: .2s;
}

@keyframes allinoneCardFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== Responsive ===== */
@media(max-width:768px) {
  .nav__inner {
    padding: 0 20px
  }


  /* ===== Allinone Cards Responsive ===== */
  .slide--allinone .allinone__card {
    width: 44%;
  }

  .slide--allinone .allinone__card-en {
    font-size: 22px;
  }

  .slide--allinone .allinone__card-en--lg {
    font-size: 28px;
  }

  .slide--allinone .allinone__card-cn {
    font-size: 16px;
  }

  .slide--allinone .allinone__card-cn--lg {
    font-size: 18px;
  }

  .slide--allinone .allinone__title {
    font-size: 40px;
    white-space: normal;
  }
}

/* ===== Slide 9: FAQ ===== */
.slide--faq {
  background: #090909;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide--faq .faq__title {
  position: relative;
  /* left: 50%; */
  /* top: 13.3%; */
  /* transform: translateX(-50%); */
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  width: 100%;
  margin-top: 133px;
  margin-bottom: 110px;
}

.slide--faq .faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 1340px;
  max-width: 90vw;
  margin-bottom: 98px;
}

.slide--faq .faq__item {
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid #303030;
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.slide--faq .faq__item--active {
  background: rgba(43, 12, 11, 0.6);
  border-color: #CA0209;
  box-shadow: 0 4px 16px rgba(221, 0, 0, 0.25);
}

.slide--faq .faq__item--active .faq__q {
  padding-bottom: 20px;
}

.slide--faq .faq__item--active .faq__a {
  max-height: 200px;
  opacity: 1;
}

.slide--faq .faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #F0F0F0;
  transition: padding-bottom 0.35s ease;
}

.slide--faq .faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.slide--faq .faq__item--active .faq__icon {
  transform: rotate(180deg);
}

/* ===== Slide 10: End ===== */
.slide--end {
  background: #090909;
  position: relative;
  overflow: hidden;
}

/* Visual area */
.slide--end .end__visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 83.65%;
  pointer-events: none;
}

/* Background image */
.slide--end .end__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide--end .end__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide--end .end__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0) 50%, #090909 100%);
}

/* TV screen content */
.slide--end .end__screen {
  position: absolute;
  left: 28.7%;
  top: 28.3%;
  width: 38%;
  aspect-ratio: 730.5 / 562.5;
  overflow: hidden;
}

.slide--end .end__screen-inner {
  position: absolute;
  width: 244.8%;
  height: 119.3%;
  left: -144.8%;
  top: -1.3%;
}

.slide--end .end__screen-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide--end .end__screen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(186deg, rgba(0, 0, 0, .88) 15%, rgba(0, 0, 0, 1) 86%);
}

.slide--end .end__screen-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(196deg, rgba(0, 0, 0, 1) 57%, rgba(102, 102, 102, 0) 94%);
  z-index: 1;
}

/* Title */
.slide--end .end__title {
  position: absolute;
  left: 50%;
  top: 43.2%;
  transform: translateX(-50%);
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 100px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  line-height: 1.4;
}

/* Button */
.slide--end .end__btn {
  position: absolute;
  left: 50%;
  top: 75.1%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 120px;
  border: 1px solid #fff;
  border-radius: 37px;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  z-index: 2;
  transition: all .3s;
  white-space: nowrap;
}

.slide--end .end__btn:hover {
  background: rgba(255, 255, 255, .1);
}

.slide--faq .faq__a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 立即预约弹窗 Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 580px;
  height: 600px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.is-open .modal {
  transform: scale(1);
}

/* Close button */
.modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  z-index: 1;
}

.modal__close svg {
  display: block;
}

/* Logo */
.modal__logo {
  margin-top: 60px;
  width: 236.56px;
  height: 20px;
}

.modal__logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Header */
.modal__header {
  margin-top: 60px;
  text-align: center;
  width: 428px;
}

.modal__title {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: #171717;
  line-height: 1.3;
  margin: 0;
}

.modal__subtitle {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #707071;
  margin: 16px 0 0;
}

/* Input group */
.modal__input-group {
  margin-top: 57px;
  width: 436px;
}

.modal__input-wrap {
  position: relative;
  width: 100%;
  height: 72px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s ease;
}

.modal__input-group.has-error .modal__input-wrap {
  border-color: #F9BABB;
}

.modal__input-group.has-value .modal__input-wrap {
  border-color: transparent;
}

/* Prefix */
.modal__input-prefix {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #171717;
  padding-left: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Divider */
.modal__input-divider {
  width: 2px;
  height: 30px;
  background: #CD030B;
  margin: 0 12px;
  flex-shrink: 0;
}

/* Input */
.modal__input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Outfit', 'PingFang SC', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #171717;
  padding: 0 24px;
}

.modal__input::placeholder {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.4);
}

/* Error message */
.modal__error {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #F15254;
  margin: 8px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal__input-group.has-error .modal__error {
  opacity: 1;
  visibility: visible;
}

/* Submit button */
.modal__submit {
  margin-top: 36px;
  width: 436px;
  height: 72px;
  border: none;
  border-radius: 60px;
  background: rgba(205, 3, 11, 0.8);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 40px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal__submit.is-valid {
  background: #CD030B;
  color: #fff;
}

.modal__submit:hover {
  opacity: 0.9;
}

.modal__submit:active {
  opacity: 0.8;
}

/* Responsive: mobile */
@media (max-width: 640px) {
  .modal {
    width: calc(100vw - 32px);
    height: auto;
    min-height: 500px;
    padding: 0 16px 40px;
    border-radius: 24px;
  }

  .modal__logo {
    margin-top: 48px;
    width: 180px;
    height: auto;
  }

  .modal__header {
    margin-top: 40px;
    width: 100%;
  }

  .modal__title {
    font-size: 28px;
  }

  .modal__subtitle {
    font-size: 16px;
    line-height: 26px;
  }

  .modal__input-group {
    margin-top: 40px;
    width: 100%;
  }

  .modal__input-wrap {
    height: 56px;
  }

  .modal__input-prefix {
    font-size: 16px;
    padding-left: 16px;
  }

  .modal__input-divider {
    height: 24px;
    margin: 0 8px;
  }

  .modal__input {
    font-size: 22px;
    padding-right: 16px;
  }

  .modal__input::placeholder {
    font-size: 16px;
  }

  .modal__submit {
    margin-top: 28px;
    width: 100%;
    height: 56px;
    font-size: 20px;
  }

  .modal__close {
    top: 20px;
    right: 20px;
  }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 36px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 60px;
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1200;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .toast {
    padding: 8px 24px;
    height: 44px;
    font-size: 15px;
  }
}
