* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #05070b; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.intro-stage { width: 100%; height: 100%; position: relative; background: #05070b; }
video { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 1; transition: opacity .42s ease; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(3,5,9,.32), transparent 24%, transparent 70%, rgba(3,5,9,.42)); }
.project-label { max-width: calc(100% - 210px); position: absolute; top: 28px; left: 30px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 5px rgba(0,0,0,.4); }
.project-label span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #31d3c7; box-shadow: 0 0 0 4px rgba(49,211,199,.16); }
.skip-button { min-width: 88px; height: 40px; padding: 0 16px; position: absolute; top: 22px; right: 26px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; background: rgba(4,7,12,.4); backdrop-filter: blur(10px); color: #fff; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.skip-button:hover { background: rgba(19,88,216,.85); border-color: rgba(255,255,255,.8); }
.skip-button span { font-size: 18px; }
.transition-message { position: absolute; left: 50%; bottom: 36px; transform: translate(-50%, 10px); opacity: 0; color: rgba(255,255,255,.86); font-size: 13px; transition: .3s; }
.transition-message.visible { opacity: 1; transform: translate(-50%, 0); }
.start-playback { min-width: 124px; height: 44px; padding: 0 18px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.72); border-radius: 5px; background: rgba(4,7,12,.62); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.start-playback[hidden] { display: none; }
.fallback { width: 100%; height: 100%; display: grid; place-items: center; }
.loader { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
body.leaving video { opacity: 0; }
body.leaving .shade { background: #05070b; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .project-label { top: 24px; left: 18px; max-width: calc(100% - 130px); font-size: 11px; }
  .skip-button { top: 16px; right: 16px; min-width: 74px; height: 36px; padding: 0 12px; }
}
