/* 寻祎启扉 · 生产版首页样式（深炭墨 #121110 + 米白 #F6F0E5 + 朱红 #AC443E） */
:root {
  --bg: #121110;
  --ivory: #f6f0e5;
  --ivory-soft: rgba(246, 240, 229, 0.74);
  --ivory-muted: rgba(246, 240, 229, 0.46);
  --vermilion: #ac443e;
  --border: rgba(246, 240, 229, 0.16);
  --border-strong: rgba(246, 240, 229, 0.34);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

.opening-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

.underneath-world {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.world-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 54% at 50% 42%, rgba(44, 72, 86, 0.34) 0%, rgba(18, 28, 34, 0.22) 48%, transparent 78%),
    radial-gradient(circle at 22% 78%, rgba(172, 68, 62, 0.08) 0%, transparent 46%),
    linear-gradient(180deg, #0e1317 0%, #12171b 52%, #111110 100%);
}

.world-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 72px 52px;
  color: var(--ivory);
}

.world-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ivory-muted);
}

.world-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.world-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--ivory-muted);
  margin: 0 0 20px;
}

.world-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 0.16em;
  margin: 0 0 20px;
}

.world-desc {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--ivory-soft);
  margin: 0;
}

.world-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.world-foot.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.foot-btn,
.foot-link {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ivory-soft);
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.foot-btn:hover,
.foot-link:hover {
  border-color: var(--border-strong);
  color: var(--ivory);
  background: rgba(246, 240, 229, 0.06);
}

.opening-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.opening-logo-layer {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.opening-logo-wrap {
  position: relative;
  width: clamp(228px, 16.5vw, 288px);
  aspect-ratio: 611 / 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.opening-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  pointer-events: none;
  background-image: radial-gradient(rgba(18, 17, 16, 0.42) 0.85px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.72;
}

.opening-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  mix-blend-mode: screen;
}
