/* ==========================================================
   视频创作者作品集 · 样式表
   想改颜色？只需修改下面 :root 里的颜色变量。
   ========================================================== */

:root {
  --bg: #12151c;
  --bg-soft: #171b24;
  --card: #191d27;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0f5;
  --muted: #9aa3b2;
  --accent: #d4af37;
  --accent-soft: rgba(212, 175, 55, 0.12);
  --gold-1: #f7e8b0;
  --gold-2: #d4af37;
  --gold-3: #8a6d1f;
  --radius: 14px;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.accent {
  color: var(--accent);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ========== 导航栏 ========== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(12, 14, 19, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(1120px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.logo-dot {
  color: var(--accent);
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========== Hero ========== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(245, 165, 36, 0.10), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(29, 63, 120, 0.22), transparent 50%),
    linear-gradient(180deg, #10131a 0%, #0c0e13 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7), transparent 75%);
  pointer-events: none;
}

/* 首页背景视频（只播宣传片前 20 秒，由 JS 控制循环点） */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 8, 11, 0.72) 0%,
    rgba(7, 8, 11, 0.42) 50%,
    rgba(7, 8, 11, 0.74) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 20px 80px;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--muted);
  animation: float 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ========== 按钮 ========== */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #151007;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 165, 36, 0.28);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ========== 通用区块 ========== */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
}

.section-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ========== 作品区 ========== */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 165, 36, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--thumb, linear-gradient(135deg, #1d2b4f, #0f1422));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s ease;
}

.work-card:hover .work-thumb {
  transform: scale(1.03);
}

.work-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s, transform 0.3s;
}

.work-card:hover .work-play {
  background: var(--accent);
  color: #151007;
  transform: scale(1.08);
}

.work-info {
  padding: 16px 18px 18px;
}

.work-title {
  font-size: 1.06rem;
  font-weight: 700;
}

.work-tag {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* 网盘/外链预览标签 */
.work-link-badge {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--gold-1);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  width: max-content;
}

.work-card[data-link] .work-link-badge,
.work-card[data-video] .work-link-badge {
  display: inline-flex;
}

/* 网盘提取码 */
.work-code {
  display: none;
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.work-card[data-code] .work-code {
  display: block;
}

/* 既没有本地视频也没有外链的作品卡片：不显示播放按钮、不可点击 */
.work-card:not([data-video]):not([data-link]) {
  cursor: default;
}

.work-card:not([data-video]):not([data-link]) .work-play {
  opacity: 0;
}

/* ========== 关于我 ========== */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-photo-box {
  aspect-ratio: 4 / 5;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--muted);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(245, 165, 36, 0.08), transparent 55%),
    var(--bg-soft);
}

.about-content .section-kicker,
.about-content .section-title {
  text-align: left;
}

.about-text {
  margin-top: 16px;
  color: var(--muted);
}

.tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(245, 165, 36, 0.22);
}

.stats {
  margin-top: 34px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}

.stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ========== 服务 ========== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 165, 36, 0.35);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.service-card p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.service-price {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--accent);
  border: 1px solid rgba(245, 165, 36, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ========== 联系 ========== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info .section-kicker,
.contact-info .section-title {
  text-align: left;
}

.contact-info .section-desc {
  text-align: left;
  margin-bottom: 26px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.contact-label {
  width: 64px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-value a {
  color: var(--accent);
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-value a + a {
  margin-left: 14px;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 16px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  margin-top: 22px;
  border: 0;
}

.form-tip {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ========== 页脚 ========== */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ========== 视频弹窗 ========== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 9, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  width: min(960px, 100%);
}

.modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.modal-close:hover {
  background: var(--accent);
  color: #151007;
  transform: rotate(90deg);
}

.modal-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
}

.modal-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

/* ========== 滚动显现动画 ========== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 880px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-box {
    max-width: 340px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 76px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(12, 14, 19, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 14px 6%;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .stats {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll {
    animation: none;
  }
}

/* ==========================================================
   黑金 · 交互增强
   ========================================================== */

/* 顶部滚动进度条 */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-1));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
}

/* 金色渐变文字 */
.text-gold {
  background: linear-gradient(120deg, #f7e8b0 0%, #d4af37 45%, #9a7b22 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d4af37;
}

/* Hero 背景换成黑金氛围 */
.hero {
  background:
    radial-gradient(ellipse at 20% 15%, rgba(212, 175, 55, 0.12), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(212, 175, 55, 0.06), transparent 50%),
    linear-gradient(180deg, #0d0e13 0%, #07080b 100%);
}

/* Hero 金色边框装饰 */
.hero-frame {
  position: absolute;
  inset: 5vh 4vw;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 20px;
  z-index: 0;
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(212, 175, 55, 0.55);
}

.hero-frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 20px;
}

.hero-frame::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 20px;
}

/* Hero 漂浮信息牌（视差） */
.hero-badges {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(13, 14, 18, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease-out, box-shadow 0.3s;
}

.hero-badge .badge-num {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #f7e8b0, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge .badge-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-badge.b1 {
  top: 24%;
  right: 7%;
}

.hero-badge.b2 {
  bottom: 24%;
  left: 6%;
}

.hero-badge.b3 {
  top: 46%;
  left: 11%;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Hero 入场动画（按层级依次显现） */
.hero-kicker,
.hero-title,
.hero-sub,
.hero-actions {
  animation: heroIn 0.8s ease both;
}

.hero-title {
  animation-delay: 0.08s;
}

.hero-sub {
  animation-delay: 0.16s;
}

.hero-actions {
  animation-delay: 0.24s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 导航激活项金色下划线 */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 18px;
}

/* 按钮：金色渐变 + 高光扫过 + 磁吸 */
.btn {
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #eecb6e 0%, #d4af37 55%, #b18f26 100%);
  color: #171205;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.36);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--gold-1);
}

.magnetic {
  transition: transform 0.2s ease-out, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
}

/* 显现动画加入轻微缩放，层次更明显 */
.reveal {
  transform: translateY(26px) scale(0.985);
}

/* 卡片聚光跟随 + 金色描边 + 多层阴影 */
.work-card,
.service-card {
  position: relative;
  will-change: transform;
}

.work-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 175, 55, 0.14),
    transparent 65%
  );
}

.work-card:hover::before,
.service-card:hover::before {
  opacity: 1;
}

.work-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.16),
    0 26px 70px rgba(212, 175, 55, 0.1);
}

/* 卡片底部金色发丝线 */
.work-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.work-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(212, 175, 55, 0.14);
}

.tags span {
  border-color: rgba(212, 175, 55, 0.28);
}

.service-price {
  border-color: rgba(212, 175, 55, 0.35);
}

/* 回到顶部按钮 */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(13, 14, 18, 0.85);
  color: var(--accent);
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.back-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--accent);
  color: #171205;
}

/* 弹窗入场动效 */
.modal-box {
  animation: modalIn 0.35s ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  .hero-badge,
  .hero-frame {
    display: none;
  }
}

@media (max-width: 720px) {
  .back-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kicker,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .modal-box {
    animation: none;
  }
}

/* ==========================================================
   黑金光影 · 开始页 · 增强动效
   ========================================================== */

/* 全局背景加入柔光 */
body {
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(212, 175, 55, 0.06), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(60, 90, 160, 0.07), transparent 60%),
    var(--bg);
}

/* 区块光影：金/蓝氛围光缓慢漂移 */
.section {
  position: relative;
  overflow: hidden;
}

.container {
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  top: -180px;
  right: -140px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.11), transparent 65%);
  filter: blur(72px);
  animation: glowDrift 16s ease-in-out infinite alternate;
}

.section-alt {
  background: linear-gradient(180deg, #0d0f15 0%, #090b10 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.section-alt::before {
  top: auto;
  right: auto;
  bottom: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(78, 110, 190, 0.14), transparent 65%);
  animation: glowDrift 20s ease-in-out infinite alternate-reverse;
}

@keyframes glowDrift {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  to {
    transform: translate(-46px, 34px) scale(1.14);
    opacity: 1;
  }
}

/* Hero 金色光球 */
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: 16%;
  left: 12%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.13), transparent 65%);
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(64px, 34px) scale(1.16);
  }
}

/* 区块标题金色下划线（显现后生长） */
.section-title::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
  border-radius: 3px;
  transition: width 0.9s ease 0.25s;
}

.section-head .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.reveal.visible .section-title::after {
  width: 64px;
}

/* 导航滚动后加深 */
.nav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(7, 8, 11, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

/* 作品封面渐变缓缓流动 */
.work-thumb {
  background-size: 180% 180%;
  animation: thumbShift 16s ease-in-out infinite alternate;
}

/* 有封面图的作品：图片填满、不流动 */
.work-card[data-cover] .work-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: none;
}

@keyframes thumbShift {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

/* 播放按钮呼吸光圈 */
.work-play {
  position: relative;
}

.work-play::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.55);
  animation: playPulse 2.2s ease-out infinite;
}

@keyframes playPulse {
  0% {
    transform: scale(0.82);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

.work-title {
  transition: color 0.3s;
}

.work-card:hover .work-title {
  color: var(--gold-1);
}

/* 观看全部作品：汇总入口 */
.works-more {
  margin-top: 64px;
  text-align: center;
  padding: 44px 28px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.015));
  position: relative;
  overflow: hidden;
}

.works-more::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 65%);
  filter: blur(52px);
  pointer-events: none;
}

.more-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
}

.works-more h3 {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 800;
}

.more-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.works-more .btn {
  margin-top: 24px;
}

.more-code {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* 服务图标悬停微动 */
.service-icon {
  transition: transform 0.35s ease;
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.12);
}

/* 电影颗粒质感 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 英文滚动字幕 */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.03), rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0.03));
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marqueeMove 26s linear infinite;
}

.marquee-track span {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.62rem;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}

/* ========== 开始页 ========== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, #12141a 0%, #07080b 72%);
  transition: opacity 0.8s ease, visibility 0.8s;
}

.intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.intro-open {
  overflow: hidden;
}

body.intro-open .hero-kicker,
body.intro-open .hero-title,
body.intro-open .hero-sub,
body.intro-open .hero-actions {
  animation-play-state: paused;
}

.intro-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 65%);
  filter: blur(84px);
  animation: glowDrift 9s ease-in-out infinite alternate;
}

.intro-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
  animation: beamMove 4.5s ease-in-out infinite;
}

@keyframes beamMove {
  0%,
  100% {
    top: 16%;
    opacity: 0.25;
  }
  50% {
    top: 84%;
    opacity: 0.9;
  }
}

.intro-corners {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 16px;
}

.intro-corners::before,
.intro-corners::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(212, 175, 55, 0.5);
}

.intro-corners::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 16px;
}

.intro-corners::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 16px;
}

.intro-inner {
  position: relative;
  z-index: 1;
  padding: 26px;
}

.intro-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  color: var(--muted);
  animation: fadeUp 1s ease 0.1s both;
}

.intro-name {
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text);
  animation: fadeUp 1s ease 0.25s both;
}

.intro-sub {
  margin-top: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.45em;
  color: var(--gold-2);
  animation: fadeUp 1s ease 0.4s both;
}

.intro-meta {
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  animation: fadeUp 1s ease 0.55s both;
}

.intro-enter {
  margin-top: 44px;
  padding: 14px 54px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: transparent;
  color: var(--gold-1);
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, box-shadow 0.35s, transform 0.35s;
  animation: fadeUp 1s ease 0.7s both;
}

.intro-enter:hover {
  background: var(--accent);
  color: #171205;
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.intro-hint {
  margin-top: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  animation: fadeUp 1s ease 0.85s both, hintPulse 2.4s ease-in-out 1.3s infinite;
}

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

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro .intro-kicker,
  .intro .intro-name,
  .intro .intro-sub,
  .intro .intro-meta,
  .intro .intro-enter,
  .intro .intro-hint,
  .intro-glow,
  .intro-beam,
  .marquee-track,
  .work-thumb,
  .hero::after,
  .section::before,
  .section-alt::before,
  .work-play::after {
    animation: none !important;
  }
}

/* ==========================================================
   非纯黑背景 · 常亮灯 · 个人照片
   ========================================================== */

/* 全局背景：深灰蓝底 + 固定暖色灯位 */
body {
  background:
    radial-gradient(150px 150px at 12% 20%, rgba(255, 190, 95, 0.16), transparent 70%),
    radial-gradient(200px 200px at 88% 10%, rgba(255, 170, 75, 0.13), transparent 70%),
    radial-gradient(170px 170px at 76% 66%, rgba(255, 205, 130, 0.1), transparent 70%),
    radial-gradient(140px 140px at 28% 84%, rgba(255, 185, 95, 0.11), transparent 70%),
    radial-gradient(900px 600px at 8% 110%, rgba(60, 90, 160, 0.08), transparent 60%),
    linear-gradient(180deg, #181c26 0%, #12151c 55%, #141822 100%);
}

/* Hero 提亮 + 灯位 */
.hero {
  background:
    radial-gradient(ellipse at 20% 15%, rgba(212, 175, 55, 0.14), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(212, 175, 55, 0.08), transparent 50%),
    radial-gradient(240px 240px at 16% 30%, rgba(255, 200, 120, 0.14), transparent 70%),
    radial-gradient(300px 300px at 84% 22%, rgba(255, 190, 100, 0.12), transparent 70%),
    linear-gradient(180deg, #1b2029 0%, #12151c 100%);
}

/* 交替区块提亮 */
.section-alt {
  background: linear-gradient(180deg, #181c26 0%, #13161f 100%);
}

/* 开始页提亮 */
.intro {
  background: radial-gradient(ellipse at 50% 38%, #232834 0%, #12151c 72%);
}

/* 常亮灯：固定暖光层（始终亮着，不闪烁） */
.lights {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  mix-blend-mode: screen;
}

.lights i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(46px);
  animation: lightBreathe 9s ease-in-out infinite alternate;
}

.lights .l1 {
  width: 460px;
  height: 460px;
  top: -140px;
  right: 6%;
  background: radial-gradient(circle, rgba(255, 190, 105, 0.5), transparent 65%);
}

.lights .l2 {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: 2%;
  background: radial-gradient(circle, rgba(255, 180, 90, 0.42), transparent 65%);
  animation-delay: 1.4s;
}

.lights .l3 {
  width: 340px;
  height: 340px;
  top: 30%;
  left: 60%;
  background: radial-gradient(circle, rgba(255, 210, 150, 0.34), transparent 65%);
  animation-delay: 2.8s;
}

@keyframes lightBreathe {
  from {
    opacity: 0.82;
  }
  to {
    opacity: 1;
  }
}

/* 导航 / 弹层底色跟随提亮 */
.nav {
  background: rgba(18, 21, 28, 0.86);
}

.nav.scrolled {
  background: rgba(15, 18, 24, 0.94);
}

.hero-badge {
  background: rgba(18, 21, 28, 0.78);
}

.back-top {
  background: rgba(18, 21, 28, 0.9);
}

.modal-backdrop {
  background: rgba(8, 10, 14, 0.88);
}

/* 个人照片 */
.about-photo-box {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(160deg, #1d212c, #13161f);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 18px 44px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  position: relative;
  padding: 0;
}

.about-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.about-photo-box::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

.about-photo-box:hover img {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 12, 17, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-1);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .lights i {
    animation: none;
  }
}

/* ==========================================================
   作品封面设计：编号 + 英文关键词 + 暗角 + 细金框
   ========================================================== */

.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.16) 0%,
    rgba(8, 10, 14, 0.06) 45%,
    rgba(8, 10, 14, 0.52) 100%
  );
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 8px;
  pointer-events: none;
}

.work-cover-no {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(247, 232, 176, 0.72);
}

.work-cover-word {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(170, 178, 190, 0.85);
  text-transform: uppercase;
}

.work-play {
  z-index: 2;
}

/* 联系区只保留联系信息（表单已移除） */
.contact-solo {
  grid-template-columns: 1fr;
  justify-items: center;
}

.contact-solo .contact-info {
  width: min(680px, 100%);
}
