@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Noto+Sans+SC:wght@300;400;500&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #d9c48f;
  --gold-dim: rgba(201, 168, 76, .5);
  --ink: #f0ebe0;
  --ink-dim: rgba(240, 235, 224, .66);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-en: 'Cinzel', serif;
  --font-zh: 'Noto Sans SC', -apple-system, 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: #04060b; color: var(--ink); font-family: var(--font-zh); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; height: 100%; overflow: hidden; }
.stage-wrap { position: relative; width: 100%; height: 100%; overflow: hidden; }

/* 背景主视觉 */
.bg-art {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover; background-position: center 34%;
  filter: saturate(.92) brightness(.9);
  transform: scale(1.04);
  animation: slowZoom 30s var(--ease) infinite alternate;
}
.overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 44%, transparent 0%, rgba(4,6,12,.4) 76%, rgba(4,6,12,.82) 100%),
    linear-gradient(180deg, rgba(4,6,12,.6) 0%, rgba(4,6,12,.05) 24%, rgba(4,6,12,.08) 66%, rgba(4,6,12,.8) 100%);
}
.vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 220px rgba(0,0,0,.7);
  background: linear-gradient(90deg, rgba(4,6,12,.38) 0%, transparent 18%, transparent 82%, rgba(4,6,12,.38) 100%);
}

/* 金辉尘埃 */
.dust { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.dust i {
  position: absolute; bottom: -8px; border-radius: 50%;
  background: radial-gradient(circle, #ffe9b0 0%, rgba(201,168,76,.6) 45%, transparent 70%);
  opacity: 0; animation: rise linear infinite;
}

/* 顶栏 */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
  animation: fadeDown .9s var(--ease) .25s both;
}
.top-logo { display: block; }
.top-logo img { height: 62px; width: auto; display: block; }
.topbar-right { display: flex; align-items: center; gap: 34px; }
.topbar-right a {
  position: relative; color: var(--ink-dim); font-size: 14px; letter-spacing: 1px;
  transition: color .3s;
}
.topbar-right a::after {
  content: ''; position: absolute; left: 0; bottom: -7px; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--gold), transparent); transition: width .35s var(--ease);
}
.topbar-right a:hover { color: var(--gold-light); }
.topbar-right a:hover::after { width: 100%; }
.arrow { color: var(--gold); margin-left: 4px; }

/* 主舞台 */
.stage {
  position: relative; z-index: 5; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 90px 32px 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--font-en); font-size: 14px; letter-spacing: 8px;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 34px;
  opacity: 0; animation: riseIn 1s var(--ease) .5s forwards;
}
.eyebrow::before, .eyebrow::after {
  content: ''; height: 1px; width: 130px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }

.logo-wrap {
  position: relative; display: flex; flex-direction: column; align-items: center;
  opacity: 0; animation: riseIn 1.2s var(--ease) .75s forwards;
}
.logo-glow {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%);
  width: 460px; height: 210px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(232,200,140,.2), transparent 66%);
  animation: breath 4.5s ease-in-out infinite;
}
.logo-img {
  display: block; width: clamp(260px, 30vw, 420px); height: auto;
  animation: logoFloat 6s ease-in-out infinite;
}
.slogan {
  margin-top: 26px; font-size: 14px; letter-spacing: 8px; color: var(--ink-dim);
  opacity: 0; animation: riseIn 1s var(--ease) 1s forwards;
}

/* 菱形分隔 */
.orn {
  margin: 34px auto 0; display: flex; align-items: center; gap: 18px; justify-content: center;
  opacity: 0; animation: riseIn 1s var(--ease) 1.15s forwards;
}
.orn::before, .orn::after {
  content: ''; height: 1px; width: 130px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.orn::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }
.orn .dia { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* 按钮 */
.actions {
  margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 24px;
  opacity: 0; animation: riseIn 1s var(--ease) 1.35s forwards;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none; transition: transform .35s var(--ease), background .3s, border-color .3s;
}
.btn-download {
  width: 280px; height: 54px; background: var(--gold); color: #14100a;
  font-size: 15px; font-weight: 500; letter-spacing: 4px;
}
.btn-download:hover { background: var(--gold-light); transform: translateY(-3px); }
.btn-download:active { transform: translateY(0); }
.btn-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-gate {
  width: 200px; height: 50px; background: transparent; color: var(--ink-dim);
  border: 1px solid var(--gold-dim); font-size: 13px; letter-spacing: 2px;
}
.btn-gate:hover { color: var(--gold-light); border-color: var(--gold); transform: translateY(-3px); }

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; z-index: 100;
  padding: 12px 26px; background: rgba(12,12,16,.92); border: 1px solid var(--gold-dim);
  color: var(--gold-light); font-size: 13px; letter-spacing: 1px;
  transform: translateX(-50%) translateY(80px); opacity: 0; transition: all .35s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* 动画 */
@keyframes slowZoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .8; }
  88% { opacity: .5; }
  100% { transform: translateY(-105vh) translateX(36px); opacity: 0; }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes logoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes breath {
  0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(.98); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; }
}
@media (max-width: 900px) {
  .topbar { padding: 18px 24px; }
  .top-logo img { height: 48px; }
  .topbar-right { gap: 18px; }
  .topbar-right a { font-size: 12px; }
  .eyebrow::before, .eyebrow::after, .orn::before, .orn::after { width: 60px; }
  .eyebrow { font-size: 11px; letter-spacing: 5px; }
}
@media (max-width: 600px) {
  .topbar-right a:first-child { display: none; }
  .stage { padding: 80px 20px 30px; }
  .slogan { font-size: 12px; letter-spacing: 4px; }
  .btn-download { width: 240px; height: 50px; }
  .btn-gate { width: 150px; height: 44px; font-size: 12px; }
}
