/* ============================================================
   东方明珠 · 宣传海报
   配色：深蓝夜空 + 品红塔身 + 暖金灯光
   ============================================================ */

:root {
  --ink:        #050a1f;   /* 夜空底 */
  --ink-2:      #0c1533;   /* 夜空上缘 */
  --pearl:      #e8437a;   /* 东方明珠标志品红 */
  --pearl-soft: #ff9ec4;
  --gold:       #ffd98a;   /* 灯光暖金 */
  --text:       #eef2ff;
  --text-dim:   #93a2c9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 夜空 ---------- */
.sky {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 115%, #1d2d5c 0%, transparent 55%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 60%, #02040d 100%);
  z-index: 0;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

/* 城市辉光 */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.glow-1 {
  width: 46vw; height: 46vw;
  left: -8vw; bottom: -18vw;
  background: rgba(232, 67, 122, 0.20);
  animation: breathe 9s ease-in-out infinite;
}
.glow-2 {
  width: 38vw; height: 38vw;
  right: -6vw; bottom: -14vw;
  background: rgba(255, 217, 138, 0.14);
  animation: breathe 11s ease-in-out infinite reverse;
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}

/* ---------- 城市天际线 ---------- */
.skyline {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 34vh;
  min-height: 190px;
  z-index: 1;
  opacity: 0.9;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.skyline svg { width: 100%; height: 100%; display: block; }

/* ---------- 主舞台布局 ---------- */
.stage {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4vh 5vw 6vh;
  gap: clamp(1rem, 4vw, 4rem);
}

/* ---------- 塔 ---------- */
.tower-wrap {
  position: relative;
  height: min(78vh, 700px);
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  animation: rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tower {
  height: 100%;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(232, 67, 122, 0.45));
}

@keyframes rise {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 标题区 ---------- */
.headline {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(2rem, 9vh, 7rem);
  max-width: 620px;
  animation: fadeUp 1.2s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  font-size: clamp(0.75rem, 1.35vw, 0.95rem);
  letter-spacing: 0.42em;
  color: var(--pearl-soft);
  text-transform: uppercase;
  margin-bottom: clamp(0.6rem, 1.6vh, 1.2rem);
  padding-left: 0.42em;
}

.title {
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.06em;
  background: linear-gradient(160deg, #ffffff 0%, #ffd9e6 38%, var(--pearl) 78%, #b3215a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 34px rgba(232, 67, 122, 0.5));
  margin-bottom: clamp(0.8rem, 2.2vh, 1.6rem);
}

.subtitle {
  font-size: clamp(0.95rem, 1.9vw, 1.4rem);
  color: var(--text);
  letter-spacing: 0.16em;
  opacity: 0.92;
  margin-bottom: 0.7rem;
}

.en {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.62rem, 1.15vw, 0.82rem);
  letter-spacing: 0.34em;
  color: var(--text-dim);
  margin-bottom: clamp(1.6rem, 4vh, 2.8rem);
}

.cta {
  display: inline-block;
  padding: 0.85em 2.4em;
  font-size: clamp(0.85rem, 1.5vw, 1.02rem);
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 158, 196, 0.5);
  border-radius: 999px;
  background: rgba(232, 67, 122, 0.14);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta:hover {
  background: var(--pearl);
  border-color: var(--pearl);
  box-shadow: 0 10px 40px rgba(232, 67, 122, 0.55);
  transform: translateY(-3px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 江面雾气 ---------- */
.mist {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 18vh;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 34, 74, 0.55) 60%, rgba(8, 14, 36, 0.9) 100%);
}

/* ============================================================
   响应式
   ============================================================ */

/* 平板 / 窄屏：改为上下排布 */
@media (max-width: 900px) {
  .stage {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    padding: 3vh 6vw 5vh;
  }
  .headline {
    order: -1;
    text-align: center;
    padding-bottom: 1.2rem;
    max-width: 100%;
  }
  .title { font-size: clamp(3.2rem, 17vw, 5.6rem); }
  .eyebrow, .cta { padding-left: 0; }
  .tower-wrap { height: min(50vh, 420px); }
  .skyline { height: 24vh; }
}

/* 手机 */
@media (max-width: 560px) {
  .stage { padding: 2.5vh 5vw 4vh; }
  .title { font-size: clamp(2.9rem, 19vw, 4.4rem); letter-spacing: 0.04em; }
  .subtitle { letter-spacing: 0.08em; }
  .en { letter-spacing: 0.2em; }
  .tower-wrap { height: min(46vh, 360px); }
  .mist { height: 14vh; }
}

/* 横屏手机：太矮，缩小塔 */
@media (max-height: 520px) and (orientation: landscape) {
  .stage { flex-direction: row; align-items: flex-end; }
  .headline { order: 0; padding-bottom: 1rem; }
  .tower-wrap { height: 82vh; }
}

/* 尊重"减少动态效果"系统设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
