/* =========================================================
 * Welcome page · 高端摄影师欢迎页
 * 大图全屏 · 黄黑配色 · 字体动画 · 极简装饰
 * ========================================================= */
:root {
  --w-bg: #0A0B0F;
  --w-yellow: #FFD200;
  --w-yellow-deep: #FFB800;
  --w-mint: #58E090;
  --w-red: #FF5C6F;
  --w-text: #FFFFFF;
  --w-sub: #B6BBC4;
  --w-dim: #6E7480;
  --w-line: rgba(255, 255, 255, 0.12);
  --font-zh: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.welcome-body {
  background: var(--w-bg);
  color: var(--w-text);
  font-family: var(--font-zh);
  min-height: 100vh;
  overflow: hidden; /* 欢迎页不滚动，所有元素一屏排布 */
  position: relative;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--w-yellow); color: #000; }

/* ============ 背景大图 ============ */
.hero-photo {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(1.05) contrast(1.05) brightness(0.78);
  animation: heroIn 2.4s cubic-bezier(.2,.7,.2,1) both, heroFloat 18s ease-in-out infinite alternate 2.4s;
}
@keyframes heroIn {
  from { transform: scale(1.18); filter: saturate(1.05) contrast(1.05) brightness(0.55) blur(8px); }
  to   { transform: scale(1); filter: saturate(1.05) contrast(1.05) brightness(0.78) blur(0); }
}
@keyframes heroFloat {
  from { transform: scale(1) translate3d(0,0,0); }
  to   { transform: scale(1.06) translate3d(-1%, -0.5%, 0); }
}

/* 暗角 + 渐变压低，让左侧文字更易读 */
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 50%, transparent 30%, rgba(10, 11, 15, 0.65) 100%),
    linear-gradient(90deg, rgba(10, 11, 15, 0.92) 0%, rgba(10, 11, 15, 0.55) 35%, rgba(10, 11, 15, 0) 60%, rgba(10, 11, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 11, 15, 0.55) 0%, transparent 30%, transparent 70%, rgba(10, 11, 15, 0.85) 100%);
  pointer-events: none;
}
/* 颗粒感 */
.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* 极淡扫描线 */
.hero-scanlines {
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}

/* ============ 顶部品牌条 ============ */
.welcome-header {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 36px;
  z-index: 5;
  animation: fadeDown .9s ease-out .3s both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.brand-mini { display: flex; align-items: center; gap: 12px; }
.brand-glyph {
  width: 14px; height: 14px;
  background: var(--w-yellow);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(255, 210, 0, 0.65);
}
.brand-mini-text {
  font-size: 12px;
  letter-spacing: 3.5px;
  color: var(--w-text);
  font-weight: 700;
}
.brand-mini-text em {
  font-style: normal;
  color: var(--w-yellow);
  margin: 0 4px;
}
.welcome-skip {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--w-sub);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--w-line);
  transition: all .25s ease;
}
.welcome-skip:hover { color: var(--w-yellow); border-color: var(--w-yellow); }

/* ============ 侧边装饰 ============ */
.side-info {
  position: fixed;
  z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--w-dim);
  pointer-events: none;
  animation: fadeIn 1s ease-out 1s both;
}
.side-left  { left: 24px;  top: 50%; transform: translateY(-50%); }
.side-right { right: 24px; top: 50%; transform: translateY(-50%); }
.side-line  { white-space: nowrap; }
.side-vert  {
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 11px;
  color: var(--w-sub);
}
.side-dot {
  width: 4px; height: 4px;
  background: var(--w-yellow);
  border-radius: 50%;
  opacity: 0.7;
}
.side-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--w-yellow);
  padding: 4px 10px;
  border: 1px solid var(--w-yellow);
  border-radius: 4px;
  letter-spacing: 2px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ 主舞台 ============ */
.hero-stage {
  position: relative;
  z-index: 3;
  height: 100vh;
  padding: 0 12vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
}

/* 顶部小标签 */
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--w-yellow);
  background: rgba(255, 210, 0, 0.08);
  color: var(--w-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: slideRight .9s cubic-bezier(.2,.7,.2,1) .5s both;
}
.hero-dot {
  width: 8px; height: 8px;
  background: var(--w-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 210, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 210, 0, 0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 标题 */
.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(44px, 8vw, 132px);
  line-height: 0.96;
  letter-spacing: -1px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .char-wrap {
  display: inline-flex;
}
.hero-title .char {
  display: inline-block;
  transform: translateY(110%);
  animation: charUp .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line-1 .char { animation-delay: calc(0.7s + var(--i, 0) * 0.05s); }
.hero-title .line-1 .char:nth-child(1) { --i: 0; }
.hero-title .line-1 .char:nth-child(2) { --i: 1; }
.hero-title .line-1 .char:nth-child(3) { --i: 2; }
.hero-title .line-1 .char:nth-child(4) { --i: 3; }
.hero-title .line-2 .char { animation-delay: calc(0.95s + var(--i, 0) * 0.06s); }
.hero-title .line-2 .char:nth-child(1) { --i: 0; }
.hero-title .line-2 .char:nth-child(2) { --i: 1; }
.hero-title .line-2 .char:nth-child(3) { --i: 2; }
.hero-title .line-2 .char:nth-child(4) { --i: 3; }
.hero-title .char.hl {
  background: linear-gradient(180deg, #FFE54D 0%, #FFD200 50%, #C8A000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 210, 0, 0.4);
}
@keyframes charUp {
  to { transform: translateY(0); }
}
.hero-title .line-en {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--w-sub);
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 1.5s both;
}

/* 副标 */
.hero-sub {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.85;
  color: var(--w-sub);
  max-width: 520px;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) 1.7s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 按钮组 */
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 4px;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) 1.95s both;
  flex-wrap: wrap;
}
.btn-enter {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px 18px 32px;
  background: var(--w-yellow);
  color: #0A0B0F;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 16px 40px rgba(255, 210, 0, 0.35);
}
.btn-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(255, 210, 0, 0.5);
}
.btn-enter .btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: #0A0B0F;
  color: var(--w-yellow);
  border-radius: 50%;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn-enter:hover .btn-arrow { transform: translateX(4px) rotate(0deg); }
.btn-enter .btn-shine {
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-enter:hover .btn-shine {
  animation: shine .9s ease-in-out;
}
@keyframes shine {
  to { left: 130%; }
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid var(--w-line);
  color: var(--w-sub);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all .25s ease;
}
.btn-ghost:hover { color: var(--w-yellow); border-color: var(--w-yellow); }

/* ============ 底部状态栏 ============ */
.welcome-footer {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  padding: 16px 28px;
  background: rgba(20, 22, 28, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--w-line);
  border-radius: 999px;
  z-index: 4;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) 2.2s both;
  max-width: calc(100vw - 60px);
  overflow-x: auto;
  scrollbar-width: none;
}
.welcome-footer::-webkit-scrollbar { display: none; }
.stat-grp { display: flex; flex-direction: column; gap: 2px; min-width: 60px; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--w-text);
  line-height: 1;
  font-feature-settings: "tnum" on;
}
.stat-num.stat-warn { color: var(--w-red); }
.stat-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--w-dim);
}
.stat-divider {
  width: 1px; height: 28px;
  background: var(--w-line);
}
.footer-tail {
  display: flex; align-items: center; gap: 10px;
  padding-left: 16px;
  border-left: 1px solid var(--w-line);
  margin-left: 4px;
}
.footer-pulse {
  width: 8px; height: 8px;
  background: var(--w-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(88, 224, 144, 0.55);
  animation: pulse 2.6s ease-out infinite;
}
.footer-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--w-sub);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============ 自适应 ============ */
@media (max-width: 900px) {
  .hero-photo img { object-position: 65% center; }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(10, 11, 15, 0.4) 0%, rgba(10, 11, 15, 0.15) 30%, rgba(10, 11, 15, 0.6) 60%, rgba(10, 11, 15, 0.95) 100%);
  }
  .hero-stage { padding: 0 8vw; gap: 18px; }
  .welcome-header { padding: 18px 18px; }
  .brand-mini-text { font-size: 11px; letter-spacing: 2px; }
  .side-left { left: 12px; }
  .side-right { right: 12px; }
  .side-info { gap: 10px; }
  .side-badge { font-size: 9px; padding: 3px 7px; }
  .side-vert { font-size: 10px; letter-spacing: 3px; }
  .hero-tag { font-size: 10px; letter-spacing: 1.5px; padding: 6px 12px; }
  .hero-title { font-size: clamp(36px, 12vw, 72px); }
  .hero-sub { font-size: 13px; line-height: 1.7; }
  .btn-enter { padding: 14px 20px 14px 24px; font-size: 13px; }
  .btn-enter .btn-arrow { width: 26px; height: 26px; }
  .welcome-footer {
    bottom: 18px;
    padding: 12px 18px;
    gap: 14px;
  }
  .stat-num { font-size: 17px; }
  .stat-label { font-size: 9px; letter-spacing: 1px; }
  .footer-text { font-size: 10px; }
  .footer-tail { padding-left: 10px; }
}
@media (max-width: 520px) {
  .side-left, .side-right { display: none; }
  .welcome-skip { display: none; }
  .hero-stage { padding: 0 24px; }
  .hero-actions { gap: 10px; }
  .btn-ghost { padding: 12px 16px; font-size: 12px; }
}
