:root {
  --g-bg: #eeedff;
  --g-bg-2: #f8f7ff;
  --g-ink: #241d4f;
  --g-ink-2: #5b548c;
  --g-pink: #ff4fa0;
  --g-purple: #7b5cff;
  --g-blue: #4f6cff;
  --g-cyan: #37e0ff;
  --g-yellow: #ffe95c;
  --g-holo: linear-gradient(100deg, #8ef0ff, #b39dff 35%, #ff9ad5 65%, #ffe99b);
  --g-holo-strong: linear-gradient(100deg, #37e0ff, #7b5cff 30%, #ff4fa0 62%, #ffb84f);
  --g-radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--g-bg);
  color: var(--g-ink);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

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

ul { list-style: none; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

.holo-text {
  background: var(--g-holo-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.65,.3,1), transform .8s cubic-bezier(.2,.65,.3,1); }

.reveal.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */

.gnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}

.gnav.scrolled {
  background: rgba(248, 247, 255, .85);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -18px rgba(36, 29, 79, .35);
}

.gnav-inner { width: min(1280px, 94vw); margin: 0 auto; display: flex; align-items: center; gap: 26px; }

.gnav-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .06em; }

.gnav-brand i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--g-holo-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-style: normal;
  font-size: 15px;
}

.gnav-links { display: flex; gap: 4px; margin-left: auto; }

.gnav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--g-ink-2); transition: .25s; }

.gnav-links a:hover { color: var(--g-ink); background: rgba(123, 92, 255, .12); }

.gnav-steam {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--g-holo-strong);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px -10px rgba(255, 79, 160, .65);
  transition: transform .25s;
}

.gnav-steam:hover { transform: translateY(-2px); }

.gnav-epic { background: #232323; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }

/* ---------- hero ---------- */

.ghero {
  position: relative;
  /* 略矮于视口：补偿 laser 斜边下探量（100vw×1.02×sin1.5°÷2≈1.34vw），让斜条在首屏完整可见、不被视口底部截断 */
  min-height: calc(100vh - 1.34vw);
  padding: 110px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(46% 60% at 12% 8%, rgba(142, 240, 255, .5), transparent 62%),
    radial-gradient(42% 55% at 88% 12%, rgba(255, 154, 213, .45), transparent 62%),
    radial-gradient(60% 70% at 50% 108%, rgba(179, 157, 255, .5), transparent 66%),
    var(--g-bg);
}

.ghero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(123, 92, 255, .07) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(123, 92, 255, .07) 0 1px, transparent 1px 46px);
  pointer-events: none;
}

.ghero-watermark {
  position: absolute;
  inset: -10% -5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-6deg);
  font-weight: 900;
  font-size: clamp(60px, 9vw, 130px);
  letter-spacing: .08em;
  color: rgba(123, 92, 255, .08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* 花瓣雨：粉/紫双色花瓣飘落，呼应女团应援色 */
.petals { position: absolute; inset: 0; pointer-events: none; }

.petals i {
  position: absolute;
  top: -8%;
  width: 13px;
  height: 13px;
  border-radius: 50% 0 50% 50%;
  background: linear-gradient(135deg, #ffdce7, #ffbfd2);
  opacity: .45;
  animation: petal-fall linear infinite;
}

.petals i:nth-child(3n) { width: 10px; height: 10px; opacity: .4; background: linear-gradient(135deg, #ece6ff, #d5c9ff); }

.petals i:nth-child(4n) { width: 16px; height: 16px; opacity: .35; background: linear-gradient(135deg, #fff1f6, #ffdee8); }

.petals i:nth-child(1) { left: 6%; animation-duration: 11s; animation-delay: -2s; }
.petals i:nth-child(2) { left: 14%; animation-duration: 14s; animation-delay: -7s; }
.petals i:nth-child(3) { left: 22%; animation-duration: 9.5s; animation-delay: -4s; }
.petals i:nth-child(4) { left: 30%; animation-duration: 13s; animation-delay: -9s; }
.petals i:nth-child(5) { left: 38%; animation-duration: 10.5s; animation-delay: -1s; }
.petals i:nth-child(6) { left: 46%; animation-duration: 15s; animation-delay: -6s; }
.petals i:nth-child(7) { left: 54%; animation-duration: 9s; animation-delay: -3s; }
.petals i:nth-child(8) { left: 62%; animation-duration: 12.5s; animation-delay: -8s; }
.petals i:nth-child(9) { left: 70%; animation-duration: 10s; animation-delay: -5s; }
.petals i:nth-child(10) { left: 78%; animation-duration: 14.5s; animation-delay: -2.5s; }
.petals i:nth-child(11) { left: 86%; animation-duration: 11.5s; animation-delay: -6.5s; }
.petals i:nth-child(12) { left: 93%; animation-duration: 13.5s; animation-delay: -4.5s; }

@keyframes petal-fall {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); }
  25% { transform: translate3d(3.5vw, 22vh, 0) rotate(110deg); }
  50% { transform: translate3d(-2.5vw, 48vh, 0) rotate(230deg); }
  75% { transform: translate3d(3vw, 74vh, 0) rotate(330deg); }
  100% { transform: translate3d(-1.5vw, 112vh, 0) rotate(430deg); }
}

.ghero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }

.ghero-logo { display: block; width: min(430px, 80%); margin-inline: auto; filter: drop-shadow(0 14px 30px rgba(255, 79, 160, .35)); transform: rotate(-3deg); }

.ghero-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 26px 0 18px; }

.ghero-tags span {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--g-ink);
  background: rgba(255, 255, 255, .75);
  border: 1.5px solid rgba(123, 92, 255, .35);
}

.ghero-tags span.hot { background: var(--g-holo-strong); border-color: transparent; color: #fff; }

.ghero-sub { color: var(--g-ink-2); font-size: 16px; max-width: 560px; margin-inline: auto; text-align: center; }

/* 与 logo 同宽同轴：按钮两排相对 logo 水平居中 */
.ghero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 30px auto 38px; width: min(430px, 80%); }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.gbtn {
  padding: 14px 34px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .06em;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.gbtn-primary {
  background: var(--g-holo-strong);
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(255, 79, 160, .6);
  transform: skewX(-6deg);
}

.gbtn-primary > * { display: inline-block; transform: skewX(6deg); }

.gbtn-primary:hover { transform: skewX(-6deg) translateY(-3px); }

.gbtn-epic {
  background: #232323;
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .5);
  transform: skewX(-6deg);
}

.gbtn-epic > * { display: inline-block; transform: skewX(6deg); }

.gbtn-epic:hover { transform: skewX(-6deg) translateY(-3px); }

.gbtn-ghost {
  border: 2px solid var(--g-purple);
  color: var(--g-purple);
  background: rgba(255, 255, 255, .6);
  transform: skewX(-6deg);
}

.gbtn-ghost > * { display: inline-block; transform: skewX(6deg); }

.gbtn-ghost:hover { background: #fff; transform: skewX(-6deg) translateY(-3px); }

.ghero-stats { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }

.gstat b { display: block; font-size: 30px; font-weight: 900; }

.gstat span { font-size: 12.5px; letter-spacing: .18em; color: var(--g-ink-2); font-weight: 700; }

.ghero-screen { position: relative; }

.ghero-screen .frame {
  border-radius: 26px;
  padding: 10px;
  background: var(--g-holo);
  box-shadow: 0 40px 90px -40px rgba(36, 29, 79, .55);
  transform: rotate(2.5deg);
  transition: transform .5s;
}

.ghero-screen:hover .frame { transform: rotate(0deg) scale(1.02); }

.ghero-screen .frame img { border-radius: 18px; width: 100%; }

.sticker {
  position: absolute;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: var(--g-holo-strong);
  box-shadow: 0 12px 26px -10px rgba(123, 92, 255, .6);
  animation: bob 4s ease-in-out infinite;
}

.sticker.s1 { top: -18px; left: -14px; transform: rotate(-8deg); }

.sticker.s2 { bottom: 40px; right: -16px; transform: rotate(6deg); animation-delay: -1.4s; }

.sticker.s3 { bottom: -16px; left: 12%; transform: rotate(-4deg); animation-delay: -2.6s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---------- laser marquee ---------- */

.laser {
  /* 斜向跑马灯需要压在下方 steambar 之上，backdrop-filter 会让 steambar 独立成层，故此处显式提升层级 */
  position: relative;
  z-index: 2;
  /* 上移进入 hero 底部留白，并与 steambar 留出大于旋转下探量的间隙，避免斜边压到白色信息条 */
  margin: -52px 0 58px;
  background: var(--g-holo);
  padding: 14px 0;
  transform: rotate(-1.5deg) scale(1.02);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(123, 92, 255, .55);
}

.laser-track { display: flex; width: max-content; animation: lasermove 26s linear infinite; }

.laser-group { display: flex; gap: 44px; padding-right: 44px; align-items: center; }

.laser-group b { font-size: 17px; font-weight: 900; letter-spacing: .22em; color: #241d4f; white-space: nowrap; }

.laser-group i { font-style: normal; color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, .9); }

@keyframes lasermove { to { transform: translateX(-50%); } }

/* ---------- steam bar ---------- */

.steambar {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(10px);
  border-block: 2px solid rgba(123, 92, 255, .18);
  padding: 26px 0;
}

.sb-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }

.sb-item b {
  display: block;
  font-size: 24px;
  font-weight: 900;
  background: var(--g-holo-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sb-item span { font-size: 12.5px; color: var(--g-ink-2); letter-spacing: .12em; font-weight: 700; }

.tag-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.tag-chips span {
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(255, 79, 160, .35);
  color: var(--g-pink);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- sections ---------- */

.gsec { padding: 100px 0; position: relative; }

.ghead { text-align: center; margin-bottom: 56px; }

.ghead p { font-size: 13px; letter-spacing: .4em; font-weight: 900; color: var(--g-purple); text-transform: uppercase; }

.ghead h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-top: 10px; }

.ghead h2 em { font-style: normal; position: relative; }

.ghead h2 em::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 10px;
  background: var(--g-holo);
  border-radius: 6px;
  z-index: -1;
  opacity: .8;
}

/* about */

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }

.about-copy p { color: var(--g-ink-2); margin-bottom: 16px; font-size: 15.5px; }

.about-copy strong { color: var(--g-pink); }

.feat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ftile {
  background: #fff;
  border: 2px solid rgba(123, 92, 255, .25);
  border-radius: 18px;
  padding: 22px 18px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.ftile:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--g-pink); box-shadow: 0 20px 40px -20px rgba(255, 79, 160, .45); }

.ftile b { display: block; font-size: 18px; font-weight: 900; margin-bottom: 6px; }

.ftile b i { font-style: normal; margin-right: 8px; }

.ftile span { font-size: 13px; color: var(--g-ink-2); }

/* cast */

.cast { background: linear-gradient(180deg, var(--g-bg-2), var(--g-bg)); }

.idol-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.idol { position: relative; text-align: center; }

.idol:nth-child(1) { --acc: #5ad0ff; --acc-soft: rgba(90, 208, 255, .38); }
.idol:nth-child(2) { --acc: #ff5aa5; --acc-soft: rgba(255, 90, 165, .38); }
.idol:nth-child(3) { --acc: #35e0ff; --acc-soft: rgba(53, 224, 255, .34); }
.idol:nth-child(4) { --acc: #7a6bff; --acc-soft: rgba(122, 107, 255, .38); }
.idol:nth-child(5) { --acc: #4fd8ff; --acc-soft: rgba(79, 216, 255, .34); }
.idol:nth-child(6) { --acc: #ff7d8e; --acc-soft: rgba(255, 125, 142, .38); }

.idol-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 18px;
  border: 1px solid rgba(36, 29, 79, .12);
  background:
    radial-gradient(130% 75% at 50% -12%, var(--acc-soft), transparent 72%),
    linear-gradient(165deg, #ffffff 0%, #f2f1ff 55%, #e7e6fa 100%);
  box-shadow: 0 18px 34px -20px rgba(36, 29, 79, .35), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transform: rotate(-2deg);
  transition: transform .4s, border-color .4s, box-shadow .4s;
  overflow: hidden;
}

.idol:nth-child(even) .idol-photo { transform: rotate(2deg); }

.idol:hover .idol-photo {
  transform: rotate(0) translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 22px 40px -20px rgba(36, 29, 79, .45), 0 0 24px -6px var(--acc-soft);
}

.idol-photo::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4%;
  height: 30%;
  background: radial-gradient(50% 50% at 50% 50%, var(--acc-soft), transparent 72%);
  filter: blur(8px);
}

/* 人物图层与背景同盒（inset:0），用 contain 完整放入并以 padding 空出边缘；
   裁切只发生在卡片边界，与背景同步，避免人物肢体被单独切断 */
.idol-photo img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: 50% 100%;
  padding: 5% 7% 2%;
}

.idol-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform .7s;
}

.idol:hover .idol-photo::after { transform: translateX(120%); }

.idol-plate {
  margin: -24px auto 0;
  position: relative;
  width: 88%;
  padding: 8px 6px;
  border-radius: 12px;
  background: var(--g-holo);
  box-shadow: 0 14px 30px -14px rgba(36, 29, 79, .45);
  transform: skewX(-8deg);
}

.idol-plate b { display: block; font-size: 15px; font-weight: 900; color: #241d4f; transform: skewX(8deg); letter-spacing: .1em; }

.idol-plate span { display: block; font-size: 9px; font-weight: 800; letter-spacing: .22em; color: rgba(36, 29, 79, .75); transform: skewX(8deg); }

/* gallery */

.gal-marquee { display: grid; gap: 20px; }

.gal-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.gal-track { display: flex; width: max-content; animation: gal-scroll 46s linear infinite; }

.gal-row-b .gal-track { animation-duration: 56s; animation-direction: reverse; }

.gal-row:hover .gal-track { animation-play-state: paused; }

.gal-set { display: flex; gap: 20px; padding-right: 20px; }

.gal {
  flex: none;
  width: 430px;
  border-radius: 18px;
  padding: 8px;
  background: var(--g-holo);
  box-shadow: 0 26px 60px -30px rgba(36, 29, 79, .5);
}

.gal img { border-radius: 12px; display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }

@keyframes gal-scroll { to { transform: translateX(-50%); } }

/* chapters */

.chapters-frame,
.trailer-frame {
  border-radius: 24px;
  padding: 10px;
  background: var(--g-holo);
  box-shadow: 0 34px 80px -36px rgba(36, 29, 79, .55);
}

.chapters-frame img { border-radius: 16px; width: 100%; }

.trailer-frame video { display: block; width: 100%; aspect-ratio: 16/9; border-radius: 16px; background: #0e0b22; }

.trailer-note { text-align: center; margin-top: 16px; color: var(--g-ink-2); font-size: 13.5px; }

.chapters-note { text-align: center; margin-top: 26px; color: var(--g-ink-2); font-size: 15px; }

/* bridge */

.bridge {
  background:
    radial-gradient(50% 70% at 15% 20%, rgba(55, 224, 255, .25), transparent 60%),
    radial-gradient(50% 70% at 85% 30%, rgba(255, 79, 160, .28), transparent 60%),
    #1b1440;
  color: #fff;
  padding: 90px 0;
}

.bridge-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }

.bridge p.eyebrow { font-size: 13px; letter-spacing: .35em; color: var(--g-cyan); font-weight: 900; }

.bridge h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; margin: 12px 0 14px; }

.bridge h2 em { font-style: normal; background: var(--g-holo); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bridge .desc { color: rgba(255, 255, 255, .72); max-width: 640px; }

.bridge-cta { display: flex; flex-direction: column; gap: 14px; }

.bridge-cta .gbtn-ghost { border-color: var(--g-cyan); color: var(--g-cyan); background: transparent; }

.bridge-cta .gbtn-ghost:hover { background: rgba(55, 224, 255, .12); }

/* footer */

.gfooter { padding: 34px 0; background: var(--g-bg-2); }

.gfooter-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--g-ink-2); }

/* responsive */

@media (max-width: 1024px) {
  .ghero-inner, .about-grid, .bridge-inner { grid-template-columns: 1fr; }
  .ghero-inner { text-align: center; justify-items: center; gap: 34px; }
  .ghero-logo { width: min(360px, 72%); }
  .ghero-tags { margin: 20px 0 14px; }
  .ghero-cta { gap: 12px; margin: 24px auto 30px; }
  .cta-row { gap: 12px; }
  .ghero-stats { gap: 30px; }
  .idol-grid { grid-template-columns: repeat(3, 1fr); }
  .ghero-screen { margin-top: 6px; }
  .bridge-cta { flex-direction: row; }
  .sb-inner { grid-template-columns: 1fr 1fr; }
  .sb-inner .sb-item:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .gnav-links, .gnav-steam { display: none; }
  .feat-tiles { grid-template-columns: 1fr; }
  .gal { width: 300px; }
  .idol-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .ghero { padding-top: 90px; }
  .gbtn { padding: 12px 20px; font-size: 14px; }
  .ghero-stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 18px 44px; }
}
