﻿/* ============ 通用过场：品牌 → 忠告 → 开始 ============ */

.gshell-stage.cinema-boot .ghud,
.gshell-stage.cinema-boot .gprestige,
.gshell-stage.cinema-boot .gdock,
.gshell-stage.cinema-boot .ghint { opacity: 0; pointer-events: none; }
.ghud, .gprestige, .gdock { transition: opacity .7s ease; }

.cinema {
  position: absolute;
  inset: 0;
  z-index: 11;
  border-radius: inherit;
  overflow: hidden;
  cursor: pointer;
}

.cn-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.cn-stage.is-on { opacity: 1; visibility: visible; }

/* ---------- 一 · 品牌 ---------- */
.cn-logo {
  background: #03060B;
  pointer-events: auto;
}
.cn-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(64, 132, 255, .26), rgba(64, 132, 255, 0) 58%),
    radial-gradient(circle at 78% 18%, rgba(255, 150, 70, .12), rgba(255, 150, 70, 0) 42%);
}
.cn-mark { position: relative; text-align: center; }

.cn-logo-svg {
  display: block;
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 26px rgba(80, 160, 255, .55));
}
.cn-logo .cn-ring { animation: cnSpin 9s linear infinite; transform-origin: 60px 60px; }
@keyframes cnSpin { to { transform: rotate(360deg); } }

.cn-logo.is-on .cn-logo-svg { animation: cnMarkIn 1s cubic-bezier(.2, .8, .25, 1) .1s both; }
@keyframes cnMarkIn {
  from { opacity: 0; transform: scale(.86) translateY(8px); filter: blur(6px); }
  to { opacity: 1; transform: none; }
}

.cn-brand {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .46em;
  text-indent: .46em;
  color: #EAF2FF;
  text-shadow: 0 0 30px rgba(120, 180, 255, .5);
}
.cn-logo.is-on .cn-brand { animation: cnFade .9s ease .45s both; }
.cn-brand-en {
  margin-top: 10px;
  font-size: 9.5px;
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(150, 190, 235, .55);
}
.cn-logo.is-on .cn-brand-en { animation: cnFade .9s ease .65s both; }
@keyframes cnFade { from { opacity: 0; } to { opacity: 1; } }

.cn-progress {
  width: 108px;
  height: 1px;
  margin: 26px auto 0;
  background: rgba(120, 170, 230, .18);
  overflow: hidden;
}
.cn-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(120, 180, 255, .1), #7FB8FF);
}
.cn-logo.is-on .cn-progress i { animation: cnFill 3.1s linear both; }
@keyframes cnFill { from { width: 0; } to { width: 100%; } }

/* ---------- 二 · 健康游戏忠告 ---------- */
.cn-warn {
  background: #000;
  pointer-events: auto;
}
.cn-warn-wrap {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  box-sizing: border-box;
}
.cn-warn-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .18em;
  text-indent: .18em;
  color: #FFFFFF;
  opacity: 0;
  margin: 0 0 24px;
  line-height: 1.4;
}
.cn-warn.is-on .cn-warn-title { animation: cnLine .6s ease both; }
.cn-warn-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cn-warn-body p {
  margin: 0;
  width: 100%;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .08em;
  text-indent: .08em;
  color: #F3F6FA;
  opacity: 0;
  text-align: center;
  white-space: nowrap;
}
.cn-warn.is-on .cn-warn-body p { animation: cnLine .6s ease both; }
.cn-warn.is-on .cn-warn-body p:nth-child(1) { animation-delay: .12s; }
.cn-warn.is-on .cn-warn-body p:nth-child(2) { animation-delay: .38s; }
.cn-warn.is-on .cn-warn-body p:nth-child(3) { animation-delay: .64s; }
.cn-warn.is-on .cn-warn-body p:nth-child(4) { animation-delay: .9s; }
@keyframes cnLine {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: .92; transform: none; }
}

/* ---------- 三 · 开始界面 ---------- */
.cn-start {
  background:
    radial-gradient(110% 92% at 50% 32%, rgba(10, 30, 56, .38), rgba(2, 8, 15, .92) 76%),
    linear-gradient(180deg, rgba(4, 14, 26, .1), rgba(2, 8, 15, .5));
  backdrop-filter: blur(7px) saturate(118%);
  -webkit-backdrop-filter: blur(7px) saturate(118%);
  pointer-events: auto;
}
.cn-start::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 480px;
  margin: -240px 0 0 -310px;
  background: radial-gradient(circle at 50% 50%, rgba(80, 160, 255, .2), rgba(80, 160, 255, 0) 66%);
  animation: cnBreathe 5.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cnBreathe {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.cn-panel {
  position: relative;
  width: min(430px, calc(100% - 42px));
  text-align: center;
}
.cn-panel > * { opacity: 0; }
.cn-start.is-on .cn-panel > * { animation: cnUp .8s cubic-bezier(.2, .75, .25, 1) both; }
.cn-start.is-on .cn-panel > :nth-child(1) { animation-delay: .06s; }
.cn-start.is-on .cn-panel > :nth-child(2) { animation-delay: .1s; }
.cn-start.is-on .cn-panel > :nth-child(3) { animation-delay: .22s; }
.cn-start.is-on .cn-panel > :nth-child(4) { animation-delay: .3s; }
.cn-start.is-on .cn-panel > :nth-child(5) { animation-delay: .4s; }
.cn-start.is-on .cn-panel > :nth-child(6) { animation-delay: .5s; }
.cn-start.is-on .cn-panel > :nth-child(7) { animation-delay: .58s; }
.cn-start.is-on .cn-panel > :nth-child(8) { animation-delay: .66s; }
.cn-start.is-on .cn-panel > :nth-child(9) { animation-delay: .74s; }
.cn-start.is-on .cn-panel > :nth-child(10) { animation-delay: .86s; }
.cn-start.is-on .cn-panel > :nth-child(11) { animation-delay: .94s; }
@keyframes cnUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* 取景框 */
.cn-frame {
  position: absolute;
  left: -18px; right: -18px; top: -32px; bottom: -13px;
  pointer-events: none;
}
.cn-frame span {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid rgba(150, 195, 240, .3);
}
.cn-frame span:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.cn-frame span:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.cn-frame span:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.cn-frame span:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

.cn-seal {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 14px;
  opacity: .8;
}
.cn-seal svg { width: 100%; height: 100%; display: block; }

.cn-eyebrow {
  font-size: 10.5px;
  letter-spacing: .4em;
  text-indent: .4em;
  color: rgba(150, 195, 240, .72);
}
.cn-title {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .14em;
  text-indent: .14em;
  background: linear-gradient(180deg, #FFFFFF 6%, #CFE6FF 46%, #7FB2EA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 22px rgba(60, 130, 220, .5));
}
.cn-en {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: .44em;
  text-indent: .44em;
  color: rgba(140, 180, 225, .5);
}

.cn-meta {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 20px auto 0;
  border-top: 1px solid rgba(140, 185, 235, .18);
  border-bottom: 1px solid rgba(140, 185, 235, .18);
  padding: 10px 0;
}
.cn-meta > div {
  flex: 0 0 auto;
  padding: 0 18px;
  border-left: 1px solid rgba(140, 185, 235, .14);
}
.cn-meta > div:first-child { border-left: 0; }
.cn-meta b {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .22em;
  color: rgba(150, 190, 235, .55);
}
.cn-meta span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #E3EEFF;
}

.cn-desc {
  margin: 14px auto 0;
  max-width: 372px;
  font-size: 11.5px;
  line-height: 2;
  letter-spacing: .02em;
  color: rgba(178, 205, 235, .72);
}

.cn-btn {
  position: relative;
  margin-top: 20px;
  min-width: 208px;
  height: 48px;
  padding: 0 30px;
  border: 1px solid rgba(255, 198, 145, .72);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .24em;
  text-indent: .24em;
  color: #FFF9F2;
  background: linear-gradient(180deg, #FF9F4C 0%, #EF7412 100%);
  box-shadow: 0 12px 28px rgba(239, 116, 18, .34), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .18s ease, box-shadow .24s ease;
}
.cn-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(239, 116, 18, .48), inset 0 1px 0 rgba(255, 255, 255, .55); }
.cn-btn:active { transform: scale(.98); }
.cn-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 175, 100, .4);
  pointer-events: none;
  animation: cnPulse 2.6s ease-out infinite;
}
@keyframes cnPulse {
  0% { opacity: .7; transform: scale(1); }
  72% { opacity: 0; transform: scale(1.13); }
  100% { opacity: 0; }
}

.cn-hint {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(150, 185, 225, .5);
}

.cn-corner {
  position: absolute;
  right: 0;
  top: -52px;
  font-size: 9px;
  letter-spacing: .3em;
  color: rgba(140, 180, 225, .35);
}

.cn-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(140, 185, 235, .12);
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(140, 180, 225, .38);
}

/* 淡出 */
.cinema.is-out {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(4px);
  transition: opacity .6s ease, transform .7s ease, filter .7s ease;
  pointer-events: none;
}

/* 进入标题卡 */
.cn-titlecard {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}
.cn-titlecard.is-show { animation: cnCard 3s cubic-bezier(.3, .7, .2, 1) both; }
.cn-titlecard b {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(190, 220, 255, .68);
}
.cn-titlecard span {
  display: block;
  margin-top: 8px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .16em;
  text-indent: .16em;
  color: #EAF5FF;
  text-shadow: 0 0 26px rgba(90, 170, 255, .7), 0 4px 20px rgba(0, 0, 0, .6);
}
@keyframes cnCard {
  0% { opacity: 0; transform: translateY(14px) scale(.97); }
  16% { opacity: 1; transform: none; }
  76% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-10px) scale(1.02); }
}

@media (max-width: 767px) {
  .cn-logo-svg { width: 72px; height: 72px; margin-bottom: 14px; }
  .cn-brand { font-size: 19px; letter-spacing: .38em; text-indent: .38em; }
  .cn-warn-body { width: calc(100% - 40px); }
  .cn-warn-body p { font-size: 10.5px; line-height: 1.95; }
  .cn-title { font-size: 30px; }
  .cn-meta { margin-top: 12px; padding: 7px 0; }
  .cn-meta > div { padding: 0 10px; }
  .cn-meta span { font-size: 11px; }
  .cn-desc { display: none; }
  .cn-btn { height: 40px; min-width: 170px; font-size: 12.5px; margin-top: 16px; }
  .cn-hint { font-size: 9px; margin-top: 9px; }
  .cn-titlecard span { font-size: 24px; }
}

