/* ┌─────────────────────────────────────────────────┐
   │  江晓龙个人网站 — Premium Design System         │
   │  参考 Apple/Pentagram/Backdrop 风格             │
   └─────────────────────────────────────────────────┘ */

/* Reset */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg: #050505;
  --surface: #0c0c0c;
  --surface-2: #141414;
  --surface-3: #1c1c1c;
  --gold: #c8a45c;
  --gold-dim: rgba(200,164,92,0.15);
  --gold-border: rgba(200,164,92,0.2);
  --text: #f0ede8;
  --text-2: #999;
  --text-3: #555;
  --border: rgba(255,255,255,0.06);
  --surface-1: #0a0a0a;
  --serif: 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

::-webkit-scrollbar { width: 4px }
::-webkit-scrollbar-track { background: var(--bg) }
::-webkit-scrollbar-thumb { background: #222 }

a { color: inherit; text-decoration: none }

/* ── 纹理叠加层（性能友好版）── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4' /%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

/* ── 滚动进度条 ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(200,164,92,0.3));
  z-index: 10001;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ── 鼠标跟随光点 ── */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,92,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-150px, -150px);
  will-change: transform;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s ease, background 0.6s ease, border-color 0.4s ease;
  will-change: padding, background;
}

.navbar.scrolled {
  padding: 16px 0;
  background: rgba(5,5,5,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.3s forwards;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  position: relative;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.3s ease;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.4s forwards;
}

.nav-links a:nth-child(2) { animation-delay: 0.45s }
.nav-links a:nth-child(3) { animation-delay: 0.5s }
.nav-links a:nth-child(4) { animation-delay: 0.55s }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 首屏 ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 10%;
  transform: scale(1.05);
  animation: heroSlowZoom 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroSlowZoom {
  0% { transform: scale(1.05) }
  100% { transform: scale(1.12) }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.55) 40%, rgba(5,5,5,0.1) 65%, transparent 100%),
    linear-gradient(to top, rgba(5,5,5,0.96) 0%, transparent 35%);
}

/* ── 装饰性大圆环 ── */
.hero-deco-ring {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(200,164,92,0.06);
  z-index: 1;
  pointer-events: none;
}

.hero-deco-ring::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(200,164,92,0.04);
}

.hero-deco-ring::after {
  content: '';
  position: absolute;
  inset: 140px;
  border-radius: 50%;
  border: 1px solid rgba(200,164,92,0.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 80px 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.hero-info {
  max-width: 560px;
  padding-right: 10%;
}

/* ── 标签 ── */
.hero-tag {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.2s forwards;
}

.hero-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 14px;
  flex-shrink: 0;
}

/* ── 名字 ── */
.hero-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 4.375rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroSlideUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s forwards;
}

/* ── 描述 ── */
.hero-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroSlideUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}

.hero-desc br {
  display: block;
  margin-bottom: 4px;
}

.hero-desc br:last-child {
  margin-bottom: 0;
}

/* ── 按钮 ── */
.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  transition: all 0.35s ease;
  opacity: 0;
  animation: heroSlideUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}

.hero-btn::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.35s ease;
  display: inline-block;
}

.hero-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.hero-btn:hover::after {
  transform: translateX(6px);
}

/* ── 区段标签统一装饰 ── */
.label-deco {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.label-deco::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 14px;
  flex-shrink: 0;
}

.label-deco .label {
  margin-bottom: 0;
}

/* ── 左下滚动提示 ── */
.scroll-tip {
  position: absolute;
  bottom: 44px;
  left: 80px;
  z-index: 2;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  color: var(--text-3);
  opacity: 0;
  animation: heroFadeIn 1s ease 1.8s forwards;
}

.scroll-tip::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-3);
  margin-bottom: 10px;
  animation: tipPulse 3s ease-in-out infinite;
}

@keyframes tipPulse {
  0%, 100% { width: 20px; opacity: 0.5; }
  50% { width: 32px; opacity: 1; }
}

/* ── 右下位置状态 ── */
.location-tag {
  position: absolute;
  bottom: 44px;
  right: 80px;
  z-index: 2;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  opacity: 0;
  animation: heroFadeIn 1s ease 2s forwards;
}

.location-tag::after {
  content: ' ● Available';
  color: var(--gold);
  margin-left: 6px;
}

@keyframes heroSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  to { opacity: 1 }
}

/* ── 通用区块 ── */
.section {
  padding: 100px 0;
}

.label {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.title-lg {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.text-body {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── 区块分割装饰 ── */
.section-divider {
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--gold-border) 30%, rgba(200,164,92,0.15) 50%, var(--gold-border) 70%, transparent 100%);
}

/* ── 关于 ── */
.about {
  background: var(--surface);
  position: relative;
}

/* 左侧装饰竖线 */
.about-left {
  position: relative;
}

.about-left::after {
  content: '';
  position: absolute;
  top: 4px;
  left: -20px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent 80%);
  opacity: 0.3;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.about-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}

.about-right.visible {
  opacity: 1;
  transform: translateY(0);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.skill {
  padding: 10px 18px;
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
              transform 0.5s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s,
              color 0.3s;
}

.skill.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.skill small {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* ── 荣誉 ── */
.awards {
  background: var(--bg);
}

.section-head {
  max-width: 480px;
  margin-bottom: 56px;
}

.section-desc {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-top: 4px;
}

/* 时间线 */
.awards-timeline {
  position: relative;
  padding-left: 48px;
}

.awards-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-border), transparent);
}

.award-row {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}

.award-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 时间线圆点 */
.award-row::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 34px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-dim);
}

.award-year {
  flex-shrink: 0;
  width: 56px;
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--gold);
  padding-top: 4px;
}

.award-content {
  flex: 1;
  min-width: 0;
}

.award-content h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.5;
}

.award-content p {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 8px;
}

.award-level {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 2px;
}

.award-level.provincial {
  color: #d4a853;
  background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.2);
}

.award-level.international {
  color: #7eb8da;
  background: rgba(126,184,218,0.08);
  border: 1px solid rgba(126,184,218,0.15);
}

.award-level.national {
  color: #c9a0d9;
  background: rgba(201,160,217,0.08);
  border: 1px solid rgba(201,160,217,0.15);
}

.award-level.city {
  color: #8cc99a;
  background: rgba(140,201,154,0.08);
  border: 1px solid rgba(140,201,154,0.15);
}

/* ── 作品：暗调精品卡 ── */
.works {
  background: var(--surface);
}

.works-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-item {
  cursor: pointer;
  background: var(--surface-2);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}

.work-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 错开入场 */
.work-item:nth-child(1) { transition-delay: 0s }
.work-item:nth-child(2) { transition-delay: 0.04s }
.work-item:nth-child(3) { transition-delay: 0.08s }
.work-item:nth-child(4) { transition-delay: 0.12s }
.work-item:nth-child(5) { transition-delay: 0.16s }
.work-item:nth-child(6) { transition-delay: 0.2s }
.work-item:nth-child(7) { transition-delay: 0.24s }
.work-item:nth-child(8) { transition-delay: 0.28s }
.work-item:nth-child(9) { transition-delay: 0.32s }
.work-item:nth-child(10) { transition-delay: 0.36s }

/* ── hover 提升 ── */
.work-item:hover {
  transform: translateY(-8px);
  border-color: rgba(200,164,92,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(200,164,92,0.06);
}

.work-item.visible:hover {
  transform: translateY(-8px);
}

/* ── 图片 ── */
.work-thumb {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--surface-1);
  line-height: 0;
}

.work-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.work-item:hover .work-thumb img {
  transform: scale(1.06);
}

/* ── 底部信息区 ── */
.work-info {
  padding: 14px 16px 18px;
  position: relative;
}

.work-cat {
  display: inline-block;
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
  padding: 2px 8px;
  border: 1px solid rgba(200,164,92,0.2);
  border-radius: 2px;
  line-height: 1.4;
}

.work-info h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0;
}

/* 描述行 hover 渐显 */
.work-info p {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1),
              opacity 0.35s ease,
              margin-top 0.3s ease;
}

.work-item:hover .work-info p {
  max-height: 40px;
  opacity: 0.65;
  margin-top: 6px;
}

/* ── 第一项 featured ── */
.work-item:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

.work-item:first-child .work-info h3 {
  font-size: 1.2rem;
}

/* ── hover 时底部金线 ── */
.work-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}

.work-item:hover .work-info::after {
  width: 60%;
}

/* ── 作品预览弹窗 ── */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s ease;
}

.work-modal.active {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s 0s, opacity 0.5s ease;
}

.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.work-modal-content {
  position: relative;
  width: 88%;
  max-width: 520px;
  max-height: 82vh;
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  transform: translateY(40px) scale(0.92);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}

.work-modal.active .work-modal-content {
  transform: translateY(0) scale(1);
}

.work-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  border-radius: 50%;
}

.work-modal-close:hover,
.work-modal-close:active {
  background: rgba(255,255,255,0.1);
}

.work-modal-visual {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
}

.work-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--surface-1);
}

.work-modal-info {
  padding: 28px 28px 36px;
}

.work-modal-cat {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.work-modal-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.work-modal-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── 移动端光晕淡出 ── */
.cursor-glow {
  opacity: 1;
  transition: opacity 0.6s ease;
}

@media (hover: none) and (pointer: coarse) {
  .cursor-glow {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(200,164,92,0.08) 0%, transparent 65%);
  }
}

/* ── 页脚 ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-3);
}

.footer a {
  font-size: 0.75rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer a:hover { color: var(--text-2) }

/* ── 响应式 ── */
@media (max-width: 1440px) {
  .hero-content {
    padding: 40px 48px 120px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 20px 0;
  }

  .navbar.scrolled {
    padding: 12px 0;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero-overlay {
    background:
      linear-gradient(to right, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.6) 50%, rgba(5,5,5,0.4) 100%),
      linear-gradient(to top, rgba(5,5,5,0.95) 0%, transparent 30%);
  }
  
  .hero-content {
    padding: 32px 24px 80px;
    justify-content: flex-end;
  }
  
  .hero-info {
    max-width: 100%;
  }
  
  .hero-name {
    font-size: 2.75rem;
  }

  .hero-deco-ring {
    width: 400px;
    height: 400px;
    right: -80px;
  }

  .hero-deco-ring::before {
    inset: 40px;
  }

  .hero-deco-ring::after {
    inset: 100px;
  }
  
  .works-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .work-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ════════════════════════════════════════
   欢迎弹窗（Premium Entry Modal）
   ════════════════════════════════════════ */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0s 0s;
}

.welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
}

.welcome-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  animation: welcomeEntry 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}

.welcome-card {
  position: relative;
  text-align: center;
  padding: 48px 56px 40px;
  background: rgba(12,12,12,0.7);
  border: 1px solid rgba(200,164,92,0.15);
  border-radius: 20px;
  max-width: 420px;
  width: 88vw;
  box-shadow:
    0 0 60px rgba(200,164,92,0.03),
    0 40px 120px rgba(0,0,0,0.5);
}

/* 顶部金色装饰线 */
.welcome-accent-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

/* 标签 */
.welcome-tag {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* 名字 */
.welcome-name {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  line-height: 1.15;
}

/* 描述 */
.welcome-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* 进入按钮 */
.welcome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--gold-border);
  border-radius: 40px;
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  font-family: inherit;
}

.welcome-btn::after {
  content: '→';
  transition: transform 0.35s ease;
  display: inline-block;
}

.welcome-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.welcome-btn:hover::after {
  transform: translateX(6px);
}

/* 底部小提示 */
.welcome-hint {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--text-3);
  opacity: 0.6;
  animation: welcomeHintPulse 3s ease-in-out infinite;
}

/* 弹窗备案号 */
.welcome-icp {
  display: block;
  margin-top: 20px;
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  opacity: 0.4;
  transition: opacity 0.25s ease;
}
.welcome-icp:hover {
  opacity: 0.7;
}

/* 关闭动画 */
.welcome-dismiss {
  opacity: 0 !important;
  transition: opacity 0.6s ease, visibility 0s 0.6s;
}
.welcome-dismiss .welcome-content {
  transform: translateY(-30px) scale(0.95);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* 入场动画 */
@keyframes welcomeEntry {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes welcomeHintPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ── 移动端适配 ── */
@media (max-width: 480px) {
  .welcome-card {
    padding: 36px 28px 32px;
  }
  .welcome-btn {
    padding: 12px 28px;
    font-size: 0.75rem;
  }
  .welcome-content {
    gap: 28px;
  }
}

/* ── 响应式（保留原有） ── */
@media (max-width: 768px) {
  .section { padding: 72px 0 }
   
  .navbar {
    padding: 16px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  .nav-links a {
    font-size: 0.5625rem;
    letter-spacing: 0.12em;
  }

  .nav-links {
    gap: 16px;
  }
   
  .hero-content {
    padding: 32px 20px 60px;
  }
   
  .hero-name { font-size: 2.25rem }
  .hero-desc { font-size: 0.9375rem }

  .hero-deco-ring {
    display: none;
  }

  .scroll-tip {
    left: 24px;
    bottom: 28px;
  }

  .location-tag {
    right: 24px;
    bottom: 28px;
  }
   
  .works-masonry {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .work-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
   
  .award-row {
    flex-direction: column;
    gap: 8px;
  }
   
  .awards-timeline { padding-left: 32px }
  .award-row::before { left: -36px }
  .award-year { width: auto }
}

