* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; color: #f3eee6; overflow: hidden;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }

#stage { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; }
#film-canvas { width: 100vw; height: 56.25vw; max-height: 100vh; max-width: 177.78vh; display: block; background: #020306; cursor: pointer; }
#stage.is-playing { cursor: none; }
#stage.is-playing .btn-icon { opacity: 0; }
#stage.is-playing:hover .btn-icon { opacity: .6; }

.overlay-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1.1rem; padding: 2rem;
  background: radial-gradient(ellipse at center, rgba(10,12,20,.55) 0%, rgba(0,0,0,.92) 75%);
  transition: opacity 1.2s ease; z-index: 5;
}
.overlay-screen.is-hidden { opacity: 0; pointer-events: none; }
.intro-kicker { font-family: "Cinzel", serif; letter-spacing: .5em; font-size: .78rem; color: #e9c48a; }
.intro-title { font-family: "Noto Serif SC", serif; font-weight: 900; font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: .25em; padding-left: .25em; line-height: 1.1;
  background: linear-gradient(180deg, #fff8ec 20%, #d9b277 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(233,196,138,.15); }
.intro-title.small { font-size: clamp(2.2rem, 6vw, 4.5rem); }
.intro-sub { font-weight: 300; letter-spacing: .3em; color: rgba(240,235,225,.75); font-size: clamp(.8rem, 1.6vw, 1rem); }

.loading-block { width: min(360px, 70vw); margin-top: 1.5rem; }
.loading-bar { height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
#loading-bar-fill { display: block; height: 100%; background: #e9c48a; transform-origin: left; transform: scaleX(0); transition: transform .3s; }
.loading-status { margin-top: .8rem; font-size: .78rem; letter-spacing: .2em; color: rgba(240,235,225,.55); }
.is-hidden { display: none !important; }
.overlay-screen.is-hidden { display: flex !important; }

.intro-actions { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.btn { font: inherit; cursor: pointer; border-radius: 999px; padding: .95rem 2.4rem; letter-spacing: .25em;
  font-size: .95rem; transition: all .35s ease; text-decoration: none; display: inline-block; }
.btn-primary { background: linear-gradient(135deg, #f5d9a8, #c9964f); color: #1a1208; border: none; font-weight: 400;
  box-shadow: 0 0 40px rgba(233,196,138,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 70px rgba(233,196,138,.55); }
.btn-ghost { background: transparent; color: #e9e3d8; border: 1px solid rgba(233,196,138,.45); font-size: .82rem; padding: .75rem 1.8rem; }
.btn-ghost:hover { border-color: #e9c48a; color: #fff; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.intro-tip { font-size: .72rem; letter-spacing: .2em; color: rgba(240,235,225,.45); margin-top: .4rem; }

.rec-badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 6;
  font-size: .72rem; letter-spacing: .15em; color: #ff6b5b; background: rgba(0,0,0,.6); padding: .35rem .9rem; border-radius: 99px;
  animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.pause-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 6; letter-spacing: .3em;
  background: rgba(0,0,0,.55); padding: .8rem 1.6rem; border-radius: 6px; font-size: .9rem; }
.btn-icon { position: absolute; right: 16px; bottom: 16px; z-index: 6; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #eee; border: 1px solid rgba(255,255,255,.2); cursor: pointer; font-size: 1.1rem; transition: opacity .4s; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.05); z-index: 6; }
#progress-fill { display: block; height: 100%; background: rgba(233,196,138,.7); transform-origin: left; transform: scaleX(0); }
