/* ===== 全局基础样式 ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --text-dim: #666666;
  --accent-red: #e63946;
  --accent-red-dark: #c1121f;
  --accent-red-glow: rgba(230, 57, 70, 0.3);
  --border-color: #222222;
  --border-hover: #e63946;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* ===== 全局隐藏滚动条 ===== */
::-webkit-scrollbar { display: none; }
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

/* 自定义滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-red); border-radius: 3px; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img { max-width: 100%; display: block; }

/* ===== 导航栏样式 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 80px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  height: 65px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(230, 57, 70, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1) drop-shadow(0 0 8px rgba(230, 57, 70, 0.3));
  transition: all var(--transition-normal);
}

.nav-logo:hover img {
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(230, 57, 70, 0.5));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links > li > a,
.nav-links .nav-submenu-trigger {
  position: relative;
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-gray);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links .nav-submenu-trigger:hover,
.nav-links > li.active > a,
.nav-links > li.active .nav-submenu-trigger {
  color: var(--text-white);
}

.nav-links > li > a::after,
.nav-links .nav-submenu-trigger::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent-red);
  border-radius: 1px;
  transition: transform var(--transition-normal);
}

.nav-links > li > a:hover::after,
.nav-links .nav-submenu-trigger:hover::after,
.nav-links > li.active > a::after,
.nav-links > li.active .nav-submenu-trigger::after {
  transform: translateX(-50%) scaleX(1);
}

/* 二级菜单下拉 */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 57, 70, 0.05);
}

.nav-links li:hover > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-submenu a {
  display: block;
  padding: 10px 24px;
  font-size: 13.5px;
  color: var(--text-gray);
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-submenu a::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent-red);
  border-radius: 2px;
  transition: height var(--transition-fast);
}

.nav-submenu a:hover {
  color: var(--text-white);
  background: rgba(230, 57, 70, 0.08);
  padding-left: 28px;
}

.nav-submenu a:hover::before {
  height: 16px;
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== 页面容器 ===== */
.page-container {
  min-height: 100vh;
  padding-top: 80px;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 60px;
}

.section-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ===== 首页全屏翻页 ===== */

/* 防止 FOUC：在 JS 执行前就预隐藏非首屏 section（仅首页有 .hero-section） */
html:has(.hero-section) .about-section,
html:has(.hero-section) .skills-section,
html:has(.hero-section) .works-section,
html:has(.hero-section) .footer-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transform: translateY(100%);
}

/* 首屏 Hero 预置为固定定位、可见 */
html:has(.hero-section) .hero-section {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  overflow: hidden;
  z-index: 10;
}

html.fp-active { overflow: hidden !important; }
html.fp-active body { overflow: hidden; }

/* 所有 fp-section 固定定位叠加，默认隐藏在下方 */
.fp-section {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.5s ease,
              visibility 0s linear 0.7s;
}

/* 当前激活的屏幕：可见、可交互、保持在最上层 */
.fp-section.active {
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  z-index: 10;
  transform: translateY(0) !important;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.5s ease,
              visibility 0s linear 0s;
}

/* 确保激活屏幕本身可见 */
.fp-section.active {
  visibility: visible !important;
  opacity: 1 !important;
}

/* 已划过的屏幕（上方）*/
.fp-section.prev {
  transform: translateY(-100%);
  visibility: visible;
  opacity: 0;
}

/* ===== 首页 Hero 区域（第一屏）===== */
.hero-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-red);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite ease-in-out;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  30% { opacity: 0.8; }
  70% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

.hero-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-top: -70px;
  transform: scale(1.2);
}

.hero-guanguan {
  width: clamp(320px, 40vw, 600px);
  height: auto;
  filter: drop-shadow(0 0 25px rgba(230, 57, 70, 0.25));
  animation: heroFadeInUp 1s ease-out both;
  margin-bottom: 100px;
}

.hero-portfolio-wrapper {
  position: relative;
  margin-top: -80px;
  animation: heroFadeInUp 1s ease-out 0.2s both;
}

.hero-portfolio {
  width: clamp(320px, 40vw, 600px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
  margin-left: 8px;
}

.hero-guan-char {
  position: absolute;
  top: -38%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(90px, 11vw, 150px);
  height: auto;
  filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.3));
  animation: guanFloat 3.5s ease-in-out infinite;
}

@keyframes guanFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: opacity var(--transition-normal);
}

.scroll-hint:hover { opacity: 1 !important; }

.scroll-hint span {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 500;
}

/* 滚动流线 */
/* 滚动流线 - 红色尖头朝上 */
.scroll-arrow {
  width: 20px;
  height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.scroll-dot {
  width: 2px;
  height: 24px;
  background: linear-gradient(to top, transparent, var(--accent-red));
  border-radius: 1px;
  animation: scrollDotMove 1.8s ease-in-out infinite;
}

@keyframes scrollDotMove {
  0% { transform: translateY(18px); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(-4px); opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 第二屏：个人介绍 ===== */
.about-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px;
  position: relative;
}

.about-grid {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
}

.about-photo-container {
  position: relative;
  width: 340px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: border-color var(--transition-normal);
}

.about-photo-container:hover {
  border-color: var(--accent-red);
}

.about-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-normal);
}

.about-photo-container img.hidden-img { opacity: 0; position: absolute; top: 0; left: 0; }
.about-photo-container img.visible-img { position: relative; }

.about-photo-container:hover img { transform: scale(1.05); }

/* 照片切换按钮（右下角浮动） */
.photo-switcher {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  z-index: 5;
}

.photo-type-label {
  font-size: 12px;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}

.photo-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--accent-red);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  line-height: 1;
  padding: 0;
}

.photo-toggle-btn:hover {
  animation: photoSpin 0.5s ease-in-out;
  box-shadow: 0 2px 10px rgba(230,57,70,0.45);
}

@keyframes photoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 装饰角标 */
.about-photo-deco {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent-red);
  opacity: 0.3;
  z-index: -1;
}

.about-photo-deco.tl { top: -15px; left: -15px; border-right: none; border-bottom: none; }
.about-photo-deco.br { bottom: -15px; right: -15px; border-left: none; border-top: none; }

.about-text h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 18px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tag {
  padding: 7px 18px;
  font-size: 12.5px;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-gray);
  transition: all var(--transition-fast);
  cursor: default;
}

.about-tag:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red-glow);
}

/* ===== 第三屏：能力概述 ===== */
.skills-section {
  height: 100vh;
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 1px;
}

.section-header .header-line {
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* 技能标签切换 */
.skill-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 48px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: 40px;
  border: 1px solid var(--border-color);
}

.skill-tab {
  padding: 12px 32px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 1.5px;
  border: none;
  background: transparent;
  color: var(--text-gray);
  border-radius: 34px;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.skill-tab:hover { color: var(--text-white); }
.skill-tab.active {
  background: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 4px 20px var(--accent-red-glow);
}

/* 技能卡片网格 */
.skills-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 900px;
  animation: skillFadeIn 0.4s ease-out;
}

.skills-grid.active { display: grid; }

@keyframes skillFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.skill-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-red-glow);
}

.skill-card:hover::before { opacity: 1; }

.skill-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.skill-card-name {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

/* ===== 第四屏：作品展示 ===== */
.works-section {
  height: 100vh;
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.works-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 52px;
}

.work-cat-btn {
  padding: 12px 28px;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-gray);
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.work-cat-btn:hover,
.work-cat-btn.active {
  border-color: var(--accent-red);
  color: var(--text-white);
  background: rgba(230, 57, 70, 0.08);
}

.work-cat-btn.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 4px 16px var(--accent-red-glow);
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}

.work-item {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.work-item:hover {
  border-color: var(--accent-red);
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.work-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-card), #161616);
  color: var(--text-dim);
  transition: all var(--transition-normal);
}

.work-item:hover .work-item-placeholder {
  color: var(--text-white);
}

.work-item-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }
.work-item-placeholder span { font-size: 13px; letter-spacing: 1px; }

.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.work-item:hover .work-item-overlay { opacity: 1; }

.work-item-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* 了解更多按钮 */
.works-more {
  text-align: center;
  margin-top: 40px;
}

.works-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  border: 1.5px solid var(--accent-red);
  border-radius: 30px;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.works-more-btn:hover {
  background: var(--accent-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230,57,70,0.3);
}

.works-more-btn .more-arrow {
  transition: transform var(--transition-fast);
}

.works-more-btn:hover .more-arrow {
  transform: translateX(6px);
}

/* ===== 底部 Footer（重设计）===== */
.footer-nav {
  height: 100vh;
  padding: 60px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-y: auto;
}

/* 顶部发光线 */
.footer-glow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  box-shadow: 0 0 20px var(--accent-red-glow), 0 0 40px rgba(230, 57, 70, 0.15);
}

.footer-content {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* 品牌区 */
.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 180px;
  height: auto;
  filter: brightness(1) drop-shadow(0 0 16px rgba(230, 57, 70, 0.3));
  opacity: 0.95;
  transition: all var(--transition-normal);
}

.footer-logo:hover {
  filter: brightness(1.2) drop-shadow(0 0 24px rgba(230, 57, 70, 0.5));
  transform: scale(1.05);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding: 0 20px;
}

.footer-tagline::before,
.footer-tagline::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--border-color);
}
.footer-tagline::before { left: -10px; }
.footer-tagline::after { right: -10px; }

/* 快捷导航 */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
}

.footer-links a {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-gray);
  border: 1px solid transparent;
  border-radius: 25px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--text-white);
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.08);
  box-shadow: 0 0 16px var(--accent-red-glow);
}

/* 分隔线 */
.footer-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 8px 0;
}

/* 社交区域 */
.footer-social {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-social-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-social-title span:first-child {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-white);
}

.title-accent {
  width: 40px;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-red-glow);
}

/* 二维码网格 */
.social-qrcode-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 640px;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 8px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-card);
  transition: all var(--transition-normal);
}

.qrcode-item:hover {
  border-color: var(--accent-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 16px var(--accent-red-glow);
}

.qrcode-img-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
}

.qrcode-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: grayscale(100%);
  transition: filter var(--transition-normal);
}

.qrcode-item:hover .qrcode-img-box img {
  filter: grayscale(0);
}

.qrcode-img-box.qrcode-pending {
  background: var(--bg-card);
}

.qrcode-img-box.qrcode-pending svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-dim);
  opacity: 0.5;
}

.qrcode-label {
  font-size: 11.5px;
  color: var(--text-gray);
  letter-spacing: 0.5px;
}

/* 底部信息栏 */
.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copyright {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
}

/* 备案信息 */
.footer-beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-beian:hover {
  color: var(--text-white);
  opacity: 0.8;
}

.beian-icon {
  width: 16px;
  height: auto;
  vertical-align: middle;
}

.footer-made-with {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.heart-icon {
  color: var(--accent-red);
  font-size: 11px;
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ===== 子页面通用布局 ===== */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 60px 80px;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  animation: heroTitleFadeIn 0.7s ease-out 0.15s forwards;
}

.page-hero h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px;
}

.page-hero p {
  color: var(--text-gray);
  font-size: 16px;
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubFadeIn 0.6s ease-out 0.45s forwards;
}

@keyframes heroTitleFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 60px 100px;
}

/* ===== 时间线页面（一言句）===== */
.timeline-page {
  padding: 120px 40px 0;
}

.timeline-container {
  max-width: 1100px;
  margin: -60px auto 0;
  padding-bottom: 80px;
}

.timeline-header {
  text-align: center;
  margin-bottom: 48px;
}

.timeline-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

/* 日历滑动选择器 */
.date-slider-wrapper {
  position: relative;
  margin-bottom: 40px;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-page .date-slider-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

.date-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  user-select: none;
}

.date-arrow-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-white);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.date-arrow-btn:hover:not(:disabled) {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(230, 57, 70, 0.08);
}

.date-arrow-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.dates-display {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.date-pill {
  min-width: 140px;
  padding: 18px 28px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--bg-card);
  flex: 1;
}

.date-pill:hover {
  border-color: rgba(230, 57, 70, 0.4);
  transform: translateY(-2px);
}

.date-pill.center {
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.08);
  transform: scale(1.06);
  box-shadow: 0 8px 28px var(--accent-red-glow);
}

.date-pill-day {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: var(--text-white);
  display: block;
}

.date-pill.center .date-pill-day { color: var(--accent-red); }

.date-pill-date {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.5px;
  display: block;
}

.date-pill.weekday {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 日历呼出按钮 */
.calendar-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  background: transparent;
  color: var(--text-gray);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.calendar-trigger:hover {
  border-color: var(--accent-red);
  color: var(--text-white);
}

/* 全屏日历遮罩 */
.calendar-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.calendar-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.calendar-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  width: 90%;
  max-width: 480px;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
}

.calendar-modal-overlay.show .calendar-modal {
  transform: scale(1) translateY(0);
}

.calendar-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calendar-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.calendar-close-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: transparent;
  color: var(--text-gray);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.calendar-close-btn:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.calendar-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-filter-row {
  display: flex;
  gap: 10px;
}

.cal-nav-btn {
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-white);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.cal-nav-btn:hover { border-color: var(--accent-red); }

.cal-year-select,
.cal-month-select {
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.cal-year-select { min-width: 80px; }
.cal-month-select { min-width: 70px; }

.cal-year-select:focus,
.cal-month-select:focus {
  border-color: var(--accent-red);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-weekday {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  padding: 8px 0;
  letter-spacing: 1px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  color: var(--text-gray);
}

.cal-day:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-white); }
.cal-day.selected-center { background: var(--accent-red); color: var(--text-white); font-weight: 700; }
.cal-day.selected-side { background: rgba(230, 57, 70, 0.15); color: var(--accent-red); border-color: rgba(230, 57, 70, 0.3); }
.cal-day.outside-month { color: var(--text-dim); opacity: 0.4; }

/* 日期卡片展示区 */
.quote-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  animation: cardRowFadeIn 0.4s ease-out;
}

@keyframes cardRowFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-red-glow);
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 64px;
  font-family: Georgia, serif;
  color: var(--accent-red);
  opacity: 0.12;
  line-height: 1;
}

.quote-card-date-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-dim);
  margin-bottom: 18px;
  align-self: flex-start;
}

.quote-card-text {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-gray);
  flex: 1;
}

.quote-card-author {
  margin-top: 18px;
  font-size: 13px;
  color: var(--accent-red);
  letter-spacing: 0.5px;
  text-align: right;
}

/* ===== 座右铭页面 ===== */
.motto-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: mottoFadeIn 0.7s ease-out forwards;
}

@keyframes mottoFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.motto-main {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 3px;
  color: var(--text-white);
  margin-bottom: 32px;
  position: relative;
  padding: 48px 40px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-card);
}

.motto-main::before,
.motto-main::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  background: var(--accent-red);
}

.motto-main::before { top: 20px; left: 20px; }
.motto-main::after { bottom: 20px; right: 20px; }

.motto-author {
  display: block;
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-gray);
  opacity: 0.7;
  margin-top: 16px;
}

.motto-divider {
  max-width: 300px;
  height: 1.5px;
  margin: 80px auto;
  background: linear-gradient(90deg, transparent, var(--text-gray) 30%, var(--text-gray) 70%, transparent);
  opacity: 0.5;
}

.motto-sub {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.9;
}

/* ===== 联系我页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px 120px;
  opacity: 0;
  transform: translateY(30px);
  animation: mottoFadeIn 0.7s ease-out forwards;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 40px 32px;
  transition: all var(--transition-normal);
}

.contact-info-card:hover {
  border-color: var(--accent-red);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card h3::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--accent-red);
  border-radius: 2px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.contact-item:last-child { border-bottom: none; }
.contact-item:hover { padding-left: 8px; }

.contact-item-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-item:hover .contact-item-icon {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.contact-item-text { font-size: 14px; color: var(--text-gray); }
.contact-item-text strong { display: block; color: var(--text-white); font-weight: 500; font-size: 13px; margin-bottom: 2px; }

/* ===== 自己的店页面 ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: mottoFadeIn 0.7s ease-out forwards;
}

@media (max-width: 768px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-detail-card { padding: 24px 20px; }
  .shop-detail-sections { padding: 24px 16px 60px; }
}

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.shop-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-red);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.shop-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-red-glow);
}

.shop-card:hover::after { transform: scaleX(1); }

.shop-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all var(--transition-normal);
  background: #fff;
}

.shop-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.shop-card:hover .shop-card-icon {
  border-color: var(--accent-red);
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.shop-card-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.shop-card-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.shop-card-btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 1.5px;
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 25px;
  background: transparent;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.shop-card-btn:hover {
  background: var(--accent-red);
  color: var(--text-white);
  box-shadow: 0 4px 20px var(--accent-red-glow);
}

.shop-qrcode {
  width: 120px;
  height: 120px;
  margin: 16px auto 24px;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-dim);
}

/* 渠道详情板块 */
.shop-detail-sections {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.shop-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px 32px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: mottoFadeIn 0.6s ease-out forwards;
}

.shop-detail-card:nth-child(1) { animation-delay: 0.2s; }
.shop-detail-card:nth-child(2) { animation-delay: 0.4s; }
.shop-detail-card:nth-child(3) { animation-delay: 0.6s; }

.shop-detail-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.shop-detail-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-red);
}

.shop-detail-body {
  display: grid;
  gap: 0;
}

.shop-detail-item {
  padding: 16px 0;
}

.shop-detail-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.shop-detail-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

.shop-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color) 30%, var(--border-color) 70%, transparent);
  margin: 4px 0;
}

/* ===== 二维码弹窗 ===== */
.qrcode-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.qrcode-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.qrcode-modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 36px 32px;
  text-align: center;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
}

.qrcode-modal-overlay.show .qrcode-modal {
  transform: scale(1) translateY(0);
}

.qrcode-modal-close {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 32px;
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  transition: all var(--transition-fast);
  background: transparent;
}

.qrcode-modal-close:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.08);
}

.qrcode-modal-img {
  width: 260px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 18px;
}

.qrcode-modal-hint {
  font-size: 14px;
  color: var(--text-gray);
  letter-spacing: 1px;
}

/* ===== 底部社交卡片二维码弹窗 ===== */
.footer-qrcode-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.footer-qrcode-overlay.show {
  opacity: 1;
  visibility: visible;
}

.footer-qrcode-modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 36px 32px;
  text-align: center;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
}

.footer-qrcode-overlay.show .footer-qrcode-modal {
  transform: scale(1) translateY(0);
}

.footer-qrcode-img {
  width: 260px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 18px;
}

.footer-qrcode-hint {
  font-size: 14px;
  color: var(--text-gray);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-qrcode-close {
  display: inline-block;
  padding: 8px 32px;
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  transition: all var(--transition-fast);
  background: transparent;
}

.footer-qrcode-close:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.08);
}

/* 文本模式：淘宝分享文本 */
.footer-qrcode-text {
  display: none;
  width: 100%;
  max-width: 420px;
  padding: 20px 24px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-primary);
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: inherit;
}

/* 复制按钮 */
.footer-qrcode-copy {
  display: none;
  padding: 10px 36px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  letter-spacing: 1px;
  border: none;
  border-radius: 25px;
  transition: all var(--transition-fast);
  background: linear-gradient(135deg, var(--accent-red), #ff6b81);
  margin-bottom: 8px;
}

.footer-qrcode-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230,57,70,0.35);
}

/* ===== 弹窗模式切换 ===== */

/* 默认：隐藏文本和复制按钮 */
.footer-qrcode-overlay:not(.text-mode) .footer-qrcode-text,
.footer-qrcode-overlay:not(.text-mode) .footer-qrcode-copy {
  display: none !important;
}

/* 文本模式：显示文本和复制按钮，隐藏图片和提示 */
.footer-qrcode-overlay.text-mode .footer-qrcode-text {
  display: block !important;
}
.footer-qrcode-overlay.text-mode .footer-qrcode-copy {
  display: inline-block !important;
}
.footer-qrcode-overlay.text-mode .footer-qrcode-img,
.footer-qrcode-overlay.text-mode .footer-qrcode-hint {
  display: none !important;
}

/* 图片模式：显示图片和提示，隐藏文本和复制按钮 */
.footer-qrcode-overlay.img-mode .footer-qrcode-img {
  display: inline-block !important;
}
.footer-qrcode-overlay.img-mode .footer-qrcode-hint {
  display: block !important;
}

/* ===== 经历时间线 ===== */
.experience-timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 40px 100px;
  position: relative;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  animation: timelineItemIn 0.5s ease forwards;
}

@keyframes timelineItemIn {
  to { opacity: 1; transform: translateX(0); }
}

.timeline-dot {
  position: absolute;
  left: 16px;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  background: var(--bg-primary);
  transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red-glow);
}

.timeline-date {
  font-size: 12px;
  color: var(--accent-red);
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Orbitron', monospace;
}

.timeline-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.timeline-org {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}

.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  color: var(--text-gray);
  margin-top: 12px;
  margin-right: 6px;
  transition: all var(--transition-fast);
}

.timeline-tag:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* ===== 设计作品子页面 ===== */
.design-work-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 40px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.design-work-card {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.design-work-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.design-work-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #111, #1a1a1a);
  color: var(--text-dim);
  font-size: 13px;
}

.design-work-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.design-work-card:hover .design-work-info { transform: translateY(0); }

.design-work-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.design-work-info p { font-size: 12px; color: var(--text-dim); }

/* ===== 点击波纹特效 ===== */
.ripple-effect {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.25), transparent);
  pointer-events: none;
  animation: rippleExpand 0.6s ease-out forwards;
  z-index: 9999;
}

@keyframes rippleExpand {
  from { width: 0; height: 0; opacity: 1; }
  to { width: 200px; height: 200px; opacity: 0; margin-left: -100px; margin-top: -100px; }
}

/* ===== 光标跟随效果 ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.04), transparent);
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s;
  will-change: transform;
}

/* ===== 右侧电梯导航 ===== */
.elevator-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1001;
}

.elevator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elevator-dot:hover { background: rgba(255,255,255,0.3); }
.elevator-dot.active {
  background: var(--accent-red);
  border-color: rgba(230, 57, 70, 0.4);
  box-shadow: 0 0 10px var(--accent-red-glow);
}
.elevator-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  transition: all var(--transition-normal);
}
.elevator-dot:hover::before { box-shadow: 0 0 16px rgba(230,57,70,0.15); }

.dot-label {
  position: absolute;
  right: calc(100% + 14px);
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-fast);
  pointer-events: none;
}
.elevator-dot:hover .dot-label,
.elevator-dot.active .dot-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-white);
}
.elevator-dot.active .dot-label { color: var(--accent-red); }

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-gray);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 1001;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: 0 8px 24px rgba(230,57,70,0.2);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .about-photo-wrapper { margin: 0 auto; }
  .about-text h2::after { left: 50%; transform: translateX(-50%); }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-cards-row { grid-template-columns: 1fr; }
  .section { padding: 60px 30px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
  }
  .nav-links.open { right: 0; }
  .nav-links > li > a, .nav-links .nav-submenu-trigger { padding: 14px 16px; font-size: 15px; }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav-links li.submenu-open > .nav-submenu { display: block; }
  .nav-toggle { display: flex; }
  .hero-guanguan { width: 260px; }
  .hero-portfolio { width: 300px; }
  .hero-guan-char { width: 80px; top: -42%; }
  .section { padding: 60px 20px; }
  .page-content { padding: 40px 20px 80px; }
  .skill-tabs { flex-wrap: wrap; justify-content: center; }
  .footer-nav { padding: 48px 24px 32px; }
  .footer-logo { width: 140px; }
  .social-qrcode-area { grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 100%; }
  .qrcode-img-box { width: 60px; height: 60px; }
  .footer-tagline { font-size: 12px; letter-spacing: 2px; }
  .date-slider { flex-direction: column; gap: 12px; }
  .dates-display { width: 100%; justify-content: center; }
  .date-pill { min-width: 100px; padding: 14px 20px; }
  .experience-timeline { padding: 20px 24px 80px; }
  .timeline-item { padding-left: 48px; }
}

/* ===== 动画工具类 ===== */
.fade-in { animation: fadeIn 0.6s ease-out forwards; }
.slide-up { animation: slideUp 0.6s ease-out forwards; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
