/* ============================================================
   蔡依林应援站 · style.css
   设计基因:高饱和章节底色硬切 / 黑白双色文字 / 钻石切面边 / 细线纹理
   ============================================================ */

:root {
  --ink: #15151b;
  --purple: #7a2bff;
  --crystal: #bfa6ff;
  --green: #c6ff3d;
  --gold: #f0a32b;
  --salmon: #ff8b7c;
  --white: #ffffff;
  --black: #111111;

  --t: 9px;                 /* 钻石切面齿深(默认) */
  --font: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --giant: clamp(50px, 8vw, 130px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }

/* ---------- 钻石切面边:全站最强识别符号 ----------
   内嵌矩形 + 四边 45° 齿形三角,mask 取并集。--t 控制齿深。 */
.dz {
  --t: var(--t);
  -webkit-mask:
    linear-gradient(#000 0 0) 50% 50% / calc(100% - var(--t) * 2) calc(100% - var(--t) * 2) no-repeat,
    conic-gradient(from 135deg at 50% 0,   #000 0 90deg, #0000 0) 0 0      / calc(var(--t) * 2) var(--t) repeat-x,
    conic-gradient(from -45deg at 50% 100%, #000 0 90deg, #0000 0) 0 100%  / calc(var(--t) * 2) var(--t) repeat-x,
    conic-gradient(from 45deg  at 0 50%,   #000 0 90deg, #0000 0) 0 0      / var(--t) calc(var(--t) * 2) repeat-y,
    conic-gradient(from 225deg at 100% 50%,#000 0 90deg, #0000 0) 100% 0   / var(--t) calc(var(--t) * 2) repeat-y;
  -webkit-mask-composite: source-over;
  mask:
    linear-gradient(#000 0 0) 50% 50% / calc(100% - var(--t) * 2) calc(100% - var(--t) * 2) no-repeat,
    conic-gradient(from 135deg at 50% 0,   #000 0 90deg, #0000 0) 0 0      / calc(var(--t) * 2) var(--t) repeat-x,
    conic-gradient(from -45deg at 50% 100%, #000 0 90deg, #0000 0) 0 100%  / calc(var(--t) * 2) var(--t) repeat-x,
    conic-gradient(from 45deg  at 0 50%,   #000 0 90deg, #0000 0) 0 0      / var(--t) calc(var(--t) * 2) repeat-y,
    conic-gradient(from 225deg at 100% 50%,#000 0 90deg, #0000 0) 100% 0   / var(--t) calc(var(--t) * 2) repeat-y;
  mask-composite: add;
}

/* ---------- 通用排版 ---------- */
.giant {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: var(--giant);
  line-height: 1.03;
  letter-spacing: .01em;
}
.ghost {
  position: absolute;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ghost-stroke, rgba(0, 0, 0, .28));
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* 章节编号标签 */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.sec-label .no {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 5px 10px 4px;
  font-size: 13px;
  letter-spacing: .1em;
}
.sec-label.on-dark .no { background: var(--white); color: var(--black); }

/* 菱形钻饰色块(应援符号,零星点缀) */
.gem {
  display: inline-block;
  width: 13px; height: 13px;
  background: var(--purple);
  transform: rotate(45deg);
  flex: none;
}
.gem.green { background: var(--green); }
.gem.gold { background: var(--gold); }

/* ---------- 按钮 ---------- */
.btn {
  --t: 7px;
  display: inline-block;
  background: var(--black);
  color: var(--white);
  border: 0;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .14em;
  padding: 15px 30px 14px;
  transition: transform .18s ease;
}
.btn:hover { transform: scale(1.05) rotate(-1deg); }
.btn--white { background: var(--white); color: var(--black); }

/* ---------- 入场动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--rd, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 汉堡按钮 ---------- */
.burger {
  --t: 5px;
  position: fixed;
  top: 22px; right: 22px;
  z-index: 60;
  width: 54px; height: 54px;
  background: var(--ink);
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.burger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
body.menu-open .burger { background: var(--white); }
body.menu-open .burger span { background: var(--black); }
body.menu-open .burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- 全屏菜单 ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--purple);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 26px clamp(20px, 6vw, 80px);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
body.menu-open .menu { visibility: visible; opacity: 1; transition-delay: 0s; }
/* 细菱格线把全屏划成表格 */
.menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(255,255,255,.10) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.10) 0 1px, transparent 1px 56px);
  pointer-events: none;
}
.menu-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--white);
}
.menu-logo { font-weight: 900; font-size: 18px; letter-spacing: .12em; }
.menu-close {
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  width: 46px; height: 46px;
  font-size: 18px;
  font-weight: 700;
}
.menu-close:hover { background: var(--white); color: var(--black); }
.menu-nav {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 2vh, 22px);
}
.menu-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 22px;
  width: fit-content;
  text-decoration: none;
  color: var(--white);
  font-weight: 900;
  font-size: clamp(44px, 9vh, 96px);
  line-height: 1.05;
  transform: translateX(0);
  transition: transform .2s ease;
}
.menu-nav a .en {
  font-size: 15px;
  letter-spacing: .3em;
  -webkit-text-stroke: 0;
  color: var(--white);
  opacity: .75;
}
.menu-nav a .arrow { opacity: 0; transition: opacity .2s ease; font-size: .5em; }
.menu-nav a:hover, .menu-nav a.current { transform: translateX(14px); }
.menu-nav a.current .arrow, .menu-nav a:hover .arrow { opacity: 1; }
.menu-bottom {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid var(--white);
  font-size: 13px;
  letter-spacing: .16em;
  font-weight: 500;
}

/* ============================================================
   ACT 01 · Hero(深炭底)
   ============================================================ */
.act { position: relative; }

.act-hero {
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 万花筒细弧线 + 旋转万花筒线 */
.hero-kaleido {
  position: absolute;
  inset: -20%;
  background:
    repeating-radial-gradient(circle at 72% 28%, transparent 0 44px, rgba(255,255,255,.075) 44px 45px),
    repeating-radial-gradient(circle at 18% 82%, transparent 0 66px, rgba(255,255,255,.05) 66px 67px),
    repeating-conic-gradient(from 0deg at 72% 28%, rgba(255,255,255,.045) 0deg 1.2deg, transparent 1.2deg 14deg);
  animation: kaleido-spin 90s linear infinite;
}
@keyframes kaleido-spin { to { transform: rotate(360deg); } }

.hero-title { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.hero-title .ghost {
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  font-size: clamp(70px, 19vw, 300px);
  --ghost-stroke: rgba(255, 255, 255, .16);
}
.hero-zh {
  display: block;
  font-weight: 900;
  font-size: clamp(84px, 21vw, 250px);
  line-height: 1;
  letter-spacing: .04em;
}
.hero-en {
  display: block;
  font-weight: 900;
  font-size: clamp(26px, 6.2vw, 76px);
  letter-spacing: .34em;
  margin-right: -.34em;
  margin-top: 6px;
}
.hero-kicker {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .34em;
  opacity: .8;
}

/* 左下角白色信息条 */
.hero-bar {
  --t: 8px;
  position: absolute;
  left: clamp(16px, 4vw, 56px);
  bottom: clamp(16px, 4vw, 48px);
  z-index: 5;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: 16px 22px;
  max-width: calc(100vw - 32px);
}
.hero-bar-text {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-bar-text .sep { opacity: .35; }
.hero-bar-text .slogan { font-weight: 900; }
.hero-scroll {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 3vw, 44px);
  z-index: 4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
  opacity: .7;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* 鼠标拖尾图卡 */
.trail-card {
  position: absolute;
  z-index: 3;
  width: 128px;
  aspect-ratio: 3 / 4;
  pointer-events: none;
  overflow: hidden;
  animation: trail-pop 1s cubic-bezier(.2, .7, .3, 1) forwards;
}
.trail-card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes trail-pop {
  0%   { opacity: 0; transform: scale(.3) rotate(var(--r, 0deg)); }
  16%  { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
  100% { opacity: 0; transform: scale(.55) rotate(calc(var(--r, 0deg) + 36deg)) translateY(-14px); }
}

/* ============================================================
   ACT 02 · 滚动声明区(电光紫,320vh sticky)
   ============================================================ */
.act-declaration {
  height: 320vh;
  background: var(--purple);
  color: var(--white);
}
.act-declaration .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 6vw, 90px);
}
/* 深色细菱格网线(彩底纹理) */
.act-declaration .pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(0,0,0,.10) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.10) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.act-declaration .sec-label {
  position: absolute;
  top: 34px; left: clamp(20px, 6vw, 90px);
}
.decl-big {
  position: relative;
  z-index: 2;
  font-weight: 900;
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: 1.04;
  transition: opacity .5s ease;
}
.decl-big .row { display: block; }
.decl-big.dim .row { opacity: .22; }
.decl-note {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-top: 34px;
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.decl-note.in { opacity: 1; transform: none; }
.decl-turn {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  text-align: right;
  max-width: 720px;
  margin-top: 8vh;
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(70px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}
.decl-turn.in { opacity: 1; transform: none; }
.decl-ghost {
  right: 4%;
  top: 10%;
  font-size: clamp(60px, 11vw, 170px);
  --ghost-stroke: rgba(255, 255, 255, .22);
  transform: rotate(-4deg);
}

/* ============================================================
   ACT 03 · About(水晶紫)
   ============================================================ */
.act-about {
  background: var(--crystal);
  color: var(--black);
  padding: clamp(80px, 10vh, 140px) clamp(20px, 6vw, 90px);
  overflow: hidden;
}
.act-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(0,0,0,.08) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 1px, transparent 1px 72px);
  pointer-events: none;
}
.act-about .inner { position: relative; max-width: 1240px; margin: 0 auto; }
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.tag {
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .16em;
  padding: 9px 18px;
  border-radius: 999px;
}
.about-title-wrap { position: relative; margin-bottom: 40px; }
.about-title-wrap .ghost {
  left: -8px; bottom: -14px;
  font-size: clamp(56px, 9vw, 140px);
  --ghost-stroke: rgba(0, 0, 0, .3);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.about-paras p {
  font-size: clamp(15.5px, 1.35vw, 19px);
  line-height: 1.95;
  font-weight: 500;
  margin-bottom: 1.5em;
  max-width: 580px;
}
.about-paras p:last-child { margin-bottom: 0; }

.about-photos { position: relative; padding: 0 8% 70px 0; }
.about-photo-main {
  --t: 13px;
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--black);
}
.about-photo-main img, .about-photo-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-sub {
  --t: 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(240px, 52%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--black);
  outline: 5px solid var(--crystal);
}
.about-photos .caption {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  margin-top: clamp(50px, 7vh, 90px);
}
.stat-card {
  --t: 9px;
  background: var(--white);
  color: var(--black);
  padding: 26px 24px 22px;
}
.stat-card .no { font-weight: 900; font-size: 13px; letter-spacing: .2em; opacity: .6; }
.stat-card .big { font-weight: 900; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.15; margin: 10px 0 8px; }
.stat-card .small { font-weight: 700; font-size: 15px; line-height: 1.5; }
.stat-card .sub { margin-top: 10px; font-size: 12.5px; font-weight: 500; opacity: .65; letter-spacing: .04em; }

/* ============================================================
   ACT 04 · 散落卡片区(荧光绿)
   ============================================================ */
.act-songs {
  background: var(--green);
  color: var(--black);
  padding: clamp(90px, 12vh, 160px) clamp(20px, 5vw, 80px);
  overflow: hidden;
  min-height: 120vh;
}
.act-songs::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(0,0,0,.09) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.09) 0 1px, transparent 1px 58px);
  pointer-events: none;
}
.song-card {
  position: absolute;
  z-index: 1;
  width: clamp(120px, 11vw, 158px);
  background: var(--white);
  color: var(--black);
  padding: 18px 14px 16px;
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: clamp(17px, 1.6vw, 24px);
  letter-spacing: .18em;
  line-height: 1.3;
  transform: rotate(var(--r, 0deg));
  box-shadow: 6px 8px 0 rgba(0, 0, 0, .85);
  animation: song-float var(--fd, 7s) ease-in-out infinite alternate;
}
.song-card .en {
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 700;
  opacity: .55;
  margin-top: 12px;
}
.song-card.ghosty { opacity: .4; box-shadow: 4px 5px 0 rgba(0, 0, 0, .5); }
@keyframes song-float { to { transform: rotate(var(--r, 0deg)) translateY(-14px); } }

.songs-center {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 8vh auto 0;
  text-align: center;
}
.songs-center .ghost {
  left: 50%; top: -34px;
  transform: translateX(-50%);
  font-size: clamp(70px, 12vw, 180px);
  --ghost-stroke: rgba(0, 0, 0, .25);
}
.songs-center .giant { position: relative; }
.songs-center p {
  margin: 26px auto 0;
  max-width: 520px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.85;
}
.songs-corner {
  position: absolute;
  right: clamp(18px, 4vw, 60px);
  bottom: clamp(18px, 4vw, 60px);
  z-index: 2;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .26em;
  padding: 22px 26px;
  transform: rotate(-8deg);
}

/* ============================================================
   ACT 05 · 牌堆区(舞娘金)
   ============================================================ */
.act-deck {
  background: var(--gold);
  color: var(--black);
  padding: clamp(80px, 10vh, 130px) clamp(20px, 6vw, 90px);
}
.act-deck::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(0,0,0,.09) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.09) 0 1px, transparent 1px 68px);
  pointer-events: none;
}
.deck-grid {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.deck-left { position: sticky; top: 12vh; }
.deck-left .ghost {
  left: -6px; bottom: -10px;
  font-size: clamp(40px, 6vw, 92px);
  --ghost-stroke: rgba(0, 0, 0, .28);
}
.deck-left .intro {
  margin-top: 30px;
  max-width: 400px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.85;
}
.deck-title .row { display: block; }

.deck-card {
  --t: 8px;
  position: sticky;
  top: var(--stack-top, 90px);
  background: var(--white);
  color: var(--black);
  margin-bottom: clamp(30px, 4.5vh, 52px);
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 10px 12px 0 rgba(0, 0, 0, .8);
}
.deck-card:last-child { margin-bottom: 0; }
.win-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .16em;
}
.win-head .dots { letter-spacing: 5px; font-size: 9px; opacity: .9; }
.deck-body {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(18px, 2.4vw, 28px);
  align-items: center;
}
.deck-cover {
  --t: 9px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--black);
}
.deck-cover img { width: 100%; height: 100%; object-fit: cover; }
.deck-year { font-weight: 900; font-size: 15px; letter-spacing: .24em; opacity: .6; }
.deck-name {
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.06;
  margin: 6px 0 4px;
}
.deck-en { font-weight: 700; font-size: 13px; letter-spacing: .3em; opacity: .55; text-transform: uppercase; }
.deck-rep { margin-top: 14px; font-weight: 900; font-size: 14.5px; }
.deck-note { margin-top: 8px; font-size: 14.5px; font-weight: 500; line-height: 1.8; }
.deck-card.featured .win-head { background: var(--purple); }
.deck-card.featured { box-shadow: 12px 14px 0 var(--purple); }

/* ============================================================
   ACT 06 · 格子翻转区(电光紫,300vh sticky)
   ============================================================ */
.act-gridflip {
  height: 300vh;
  background: var(--purple);
  color: var(--white);
}
.act-gridflip .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(70px, 9vh, 110px) clamp(16px, 4vw, 70px);
}
.act-gridflip .sec-label {
  position: absolute;
  top: 30px;
  left: clamp(16px, 4vw, 70px);
  z-index: 4;
}
.gf-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(860px, 100%);
}
.gf-cell {
  position: relative;
  aspect-ratio: 7 / 10;
  perspective: 900px;
  overflow: hidden;
  background: var(--black);
}
.gf-cell img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.gf-cell .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .72);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 6px 10px;
}
/* 盖在照片上的紫色菱格面,格线画在格子自身 */
.gf-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(45deg,  rgba(255,255,255,.16) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.16) 0 1px, transparent 1px 40px),
    var(--purple);
  transform-origin: left center;
  transition: transform .75s cubic-bezier(.6, 0, .3, 1) var(--d, 0s), opacity .6s ease calc(var(--d, 0s) + .3s);
  backface-visibility: hidden;
}
.gf-grid.flipped .gf-mask { transform: rotateY(90deg); opacity: 0; }
.gf-card {
  --t: 9px;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  width: min(430px, 82%);
  background: var(--white);
  color: var(--black);
  padding: 26px 28px 24px;
  transition: opacity .45s ease, transform .45s ease;
}
.gf-grid.flipped ~ .gf-card, .pin.flipped .gf-card { opacity: 0; transform: translate(-50%, -62%) rotate(-1.5deg); pointer-events: none; }
.gf-card .tag2 {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2em;
  padding: 6px 12px;
  margin-bottom: 14px;
}
.gf-card .giant { font-size: clamp(34px, 4.6vw, 60px); }
.gf-card p { margin-top: 14px; font-size: 14.5px; font-weight: 500; line-height: 1.8; }

/* ============================================================
   ACT 07 · 巡演卡区(电光紫延续)
   ============================================================ */
.act-tours {
  background: var(--purple);
  color: var(--white);
  padding: clamp(80px, 10vh, 140px) clamp(20px, 5vw, 80px);
}
.act-tours::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(0,0,0,.10) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.10) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.act-tours .inner, .act-quotes .inner { position: relative; max-width: 1240px; margin: 0 auto; }
.tours-head { position: relative; margin-bottom: clamp(36px, 5vh, 60px); }
.tours-head .ghost {
  right: 0; top: -18px;
  font-size: clamp(50px, 8vw, 120px);
  --ghost-stroke: rgba(255, 255, 255, .25);
}
.tours-head .intro { margin-top: 18px; font-weight: 500; font-size: clamp(15px, 1.3vw, 18px); opacity: .92; }

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}
.tour-card {
  --t: 8px;
  background: var(--white);
  color: var(--black);
  transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0px));
  box-shadow: 8px 10px 0 rgba(0, 0, 0, .8);
  transition: transform .25s ease;
}
.tour-card:hover { transform: rotate(0deg) translateY(calc(var(--lift, 0px) - 8px)); }
.tour-card.featured { box-shadow: 14px 14px 0 var(--green); }
.tour-poster { aspect-ratio: 3 / 4; overflow: hidden; background: var(--black); }
.tour-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tour-card:hover .tour-poster img { transform: scale(1.04); }
.tour-info { padding: 18px 20px 20px; }
.tour-name { font-weight: 900; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.25; }
.tour-note { margin-top: 10px; font-size: 13.5px; font-weight: 500; line-height: 1.75; }

/* ============================================================
   ACT 08 · 引用区(电光紫延续,速度线)
   ============================================================ */
.act-quotes {
  background: var(--purple);
  color: var(--white);
  padding: clamp(80px, 10vh, 140px) clamp(20px, 5vw, 80px);
  overflow: hidden;
}
/* 径向遮罩的速度线纹理 */
.act-quotes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 50% 40%,
    transparent 0 34px, rgba(255,255,255,.13) 34px 36px);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}
.quotes-head { margin-bottom: clamp(36px, 5vh, 64px); }
.quote-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(24px, 4vh, 44px); }
.quote-card {
  --t: 9px;
  width: min(560px, 100%);
  background: var(--white);
  color: var(--black);
  padding: 30px 32px 26px;
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 9px 11px 0 rgba(0, 0, 0, .8);
}
.quote-card:nth-child(even) { margin-left: auto; }
.quote-card .song { font-weight: 900; font-size: 14px; letter-spacing: .22em; opacity: .65; }
.quote-card .text {
  margin-top: 12px;
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.3;
}

/* ============================================================
   ACT 09 · FAQ(鲑鱼粉)
   ============================================================ */
.act-faq {
  background: var(--salmon);
  color: var(--black);
  padding: clamp(80px, 10vh, 140px) clamp(20px, 5vw, 80px) clamp(120px, 16vh, 220px);
  overflow: hidden;
}
.act-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(0,0,0,.08) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 1px, transparent 1px 60px);
  pointer-events: none;
}
.act-faq .inner { position: relative; max-width: 1240px; margin: 0 auto; }
.faq-head { position: relative; margin-bottom: clamp(34px, 5vh, 56px); }
.faq-head .ghost {
  right: 0; top: -12px;
  font-size: clamp(40px, 6vw, 90px);
  --ghost-stroke: rgba(0, 0, 0, .25);
}
.faq-list { position: relative; z-index: 2; max-width: 860px; border-top: 3px solid var(--black); }
.faq-item { border-bottom: 3px solid var(--black); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 20px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--black);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 27px);
  padding: 24px 18px;
  transition: background .2s ease;
}
.faq-q:hover, .faq-item.open .faq-q { background: var(--white); }
.faq-q .sign { margin-left: auto; font-size: 1.2em; flex: none; transition: transform .25s ease; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease, background .2s ease;
  background: var(--white);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 4px 18px 26px;
  font-size: clamp(14.5px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.9;
  max-width: 720px;
}
/* 巨型标题:右侧、底部裁切 */
.faq-title-wrap {
  position: absolute;
  right: 0;
  bottom: calc(-1 * clamp(120px, 16vh, 220px) + clamp(30px, 4vh, 50px));
  z-index: 1;
  pointer-events: none;
}
.faq-title-wrap .ghost { display: none; }
.faq-title {
  font-weight: 900;
  font-size: clamp(70px, 12vw, 190px);
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  display: block;
  transform: translateY(30%);
}
.faq-gem { margin: 0 0 0 18px; vertical-align: middle; }

/* ============================================================
   ACT 10 · 页尾(深炭底,透视隧道)
   ============================================================ */
.act-footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(110px, 16vh, 200px) clamp(20px, 6vw, 90px) 0;
  overflow: hidden;
  text-align: center;
}
.tunnel {
  position: absolute;
  inset: 0;
  perspective: 560px;
  overflow: hidden;
  pointer-events: none;
}
.tunnel-plane {
  position: absolute;
  left: -60%; right: -60%;
  top: 12%;
  height: 260%;
  background:
    repeating-linear-gradient(0deg,   rgba(255,255,255,.14) 0 2px, transparent 2px 84px),
    repeating-linear-gradient(90deg,  rgba(255,255,255,.14) 0 2px, transparent 2px 84px);
  transform: rotateX(64deg);
  transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 32%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 70% at 50% 32%, #000 0%, transparent 70%);
  animation: tunnel-run 3.2s linear infinite;
}
@keyframes tunnel-run { to { background-position: 0 84px, 0 0; } }

.act-footer .inner { position: relative; z-index: 2; }
.footer-ghost {
  position: relative;
  height: 0;
}
.footer-ghost .ghost {
  left: 50%; top: -10px;
  transform: translateX(-50%);
  font-size: clamp(80px, 15vw, 230px);
  --ghost-stroke: rgba(255, 255, 255, .17);
}
.footer-title { position: relative; font-weight: 900; font-size: clamp(52px, 9vw, 150px); line-height: 1.06; }
.footer-title .row { display: block; }
.footer-note { margin-top: 22px; font-size: 15px; font-weight: 500; letter-spacing: .2em; opacity: .8; }
.footer-btns {
  margin-top: clamp(34px, 5vh, 56px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-gems { margin-top: clamp(40px, 6vh, 70px); display: flex; justify-content: center; gap: 14px; }
.copyright {
  position: relative;
  z-index: 2;
  margin-top: clamp(60px, 9vh, 110px);
  border-top: 1px solid rgba(255, 255, 255, .25);
  padding: 22px 0 26px;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 500;
  opacity: .75;
}

/* ============================================================
   移动端 ≤960px
   ============================================================ */
@media (max-width: 960px) {
  :root { --t: 7px; }

  .hero-bar {
    left: 12px; right: 12px;
    bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .hero-scroll { display: none; }
  .trail-card { width: 96px; }

  .act-declaration .pin, .act-gridflip .pin { padding-left: 18px; padding-right: 18px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photos { margin-top: 10px; padding-bottom: 110px; }
  .about-photo-sub { width: 46%; bottom: 56px; }
  .about-photos .caption { padding-right: 45%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; }
  .stat-card .big { grid-row: span 2; font-size: 30px; margin: 0; }
  .stat-card .no { margin: 0; }

  /* 散落歌名卡:隐藏三分之一 */
  .song-card:nth-child(3n) { display: none; }
  .song-card { width: 108px; font-size: 16px; }

  .deck-grid { grid-template-columns: 1fr; }
  .deck-left { position: static; margin-bottom: 16px; }
  .deck-card { position: static; transform: none; }
  .deck-body { grid-template-columns: 120px 1fr; }

  .gf-grid { grid-template-columns: repeat(2, 1fr); }
  .gf-cell { aspect-ratio: 3 / 4; }
  .gf-card { padding: 20px 18px 18px; }

  .tours-grid { grid-template-columns: 1fr; }
  .tour-card { transform: none; }

  .faq-title-wrap { position: relative; bottom: auto; margin-top: 40px; text-align: right; }
  .faq-head .ghost { display: none; }
  .act-faq { padding-bottom: 60px; }

  .footer-btns .btn { width: 100%; text-align: center; }
}

/* ============================================================
   减少动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .decl-note, .decl-turn { opacity: 1; transform: none; }
  .decl-big { opacity: 1; }
  .gf-mask { display: none; }
  .gf-card { position: static; transform: none; width: auto; margin: 20px auto 0; }
  .act-gridflip .pin { display: block; padding-top: 80px; }
  .act-gridflip { height: auto; }
  .act-declaration { height: auto; }
  .act-declaration .pin { position: static; height: auto; padding-top: 100px; padding-bottom: 100px; gap: 30px; }
  .deck-card { position: static; }
}
