/* ===== CSS 变量 ===== */
:root {
  --bg-primary: #0d0d12;
  --bg-secondary: #14141c;
  --bg-glass-1: rgba(255, 255, 255, 0.03);
  --bg-glass-2: rgba(255, 255, 255, 0.05);
  --bg-glass-3: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f5f5f7;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  --accent-primary: #e8894a;
  --accent-secondary: #f5a462;
  --accent-gradient: linear-gradient(135deg, #e8894a 0%, #f5a462 100%);
  --accent-glow: linear-gradient(135deg, rgba(232, 137, 74, 0.4) 0%, rgba(245, 164, 98, 0.2) 100%);
  
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.2);
  
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  
  --blur-sm: 12px;
  --blur-md: 20px;
  --blur-lg: 32px;
  --blur-xl: 50px;
  
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

/* 背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(232, 137, 74, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(245, 164, 98, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(232, 137, 74, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.006) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(232, 137, 74, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 137, 74, 0.4);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== iOS 风格毛玻璃导航栏 ===== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 900px;
  padding: 8px;
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(var(--blur-xl));
  -webkit-backdrop-filter: blur(var(--blur-xl));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.nav.scrolled {
  top: 10px;
  padding: 6px;
  background: rgba(20, 20, 30, 0.85);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: radial-gradient(
    180px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(232, 137, 74, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.nav:hover .nav-glow {
  opacity: 1;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Logo 玻璃质感 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-logo-text {
  font-family: 'Audiowide', cursive;
  font-size: 20px;
  font-weight: 400;
  color: white;
  letter-spacing: 2px;
  text-shadow: 
    0 0 10px rgba(232, 137, 74, 0.8),
    0 0 20px rgba(232, 137, 74, 0.5);
  transition: all 0.3s ease;
}

.nav-logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-primary);
  animation: navDotPulse 2s ease-in-out infinite;
}

@keyframes navDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.nav-logo:hover .nav-logo-text {
  text-shadow: 0 0 20px rgba(232, 137, 74, 0.5);
}

.nav-logo:hover .nav-logo-dot {
  box-shadow: 0 0 20px var(--accent-primary);
  animation: navDotPulse 0.5s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-link-text {
  position: relative;
  z-index: 1;
}

.nav-link-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover .nav-link-indicator {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(232, 137, 74, 0.1);
}

.nav-link.active .nav-link-indicator {
  transform: translateX(-50%) scaleX(1);
  width: 24px;
}

/* ===== Hero 区域 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

/* ===== iOS 风格徽章 - 液体玻璃效果 ===== */
.hero-badge-wrapper {
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 8px;
  background: rgba(232, 137, 74, 0.06);
  border: 1px solid rgba(232, 137, 74, 0.18);
  border-radius: 100px;
  position: relative;
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  overflow: hidden;
}

/* 液体流动光效 */
.hero-badge::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(232, 137, 74, 0.1) 40deg,
    rgba(245, 164, 98, 0.18) 90deg,
    rgba(232, 137, 74, 0.1) 140deg,
    transparent 180deg
  );
  border-radius: 100px;
  animation: liquid-rotate 14s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

@keyframes liquid-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 内部柔和呼吸 */
.hero-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  background: radial-gradient(ellipse at center, rgba(232, 137, 74, 0.06) 0%, transparent 70%);
  border-radius: 100px;
  animation: liquid-breathe 4.5s ease-in-out infinite;
}

@keyframes liquid-breathe {
  0%, 100% { 
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% { 
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 50%;
  color: white;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232, 137, 74, 0.4);
  position: relative;
  z-index: 1;
}

.hero-badge-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 62px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .title-highlight {
  position: relative;
  display: inline-block;
}

.hero-title .title-highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 14px;
  background: linear-gradient(90deg, rgba(232, 137, 74, 0.25), rgba(245, 164, 98, 0.1));
  z-index: -1;
  border-radius: 7px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== 宏伟风格按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity var(--transition-normal);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 
    0 8px 32px rgba(232, 137, 74, 0.3),
    0 0 0 1px rgba(232, 137, 74, 0.1) inset;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 48px rgba(232, 137, 74, 0.4),
    0 0 60px rgba(232, 137, 74, 0.15),
    0 0 0 1px rgba(232, 137, 74, 0.2) inset;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  opacity: 0.6;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ===== Hero 视觉展示 - 宏伟风格 ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 560px;
}

/* 外层玻璃容器 - 更大更有气势 */
.hero-ring-container {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 50%;
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 
    0 0 80px rgba(232, 137, 74, 0.1),
    inset 0 0 60px rgba(232, 137, 74, 0.03);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.hero-ring.ring-outer {
  width: 440px;
  height: 440px;
  border: 1px solid rgba(232, 137, 74, 0.1);
  animation: rotate-clockwise 45s linear infinite;
}

.hero-ring.ring-outer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 
    0 0 15px var(--accent-primary),
    0 0 30px var(--accent-primary),
    0 0 50px var(--accent-primary);
}

.hero-ring.ring-middle {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(245, 164, 98, 0.12);
  animation: rotate-counter 36s linear infinite;
}

.hero-ring.ring-middle::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 18%;
  width: 6px;
  height: 6px;
  background: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 
    0 0 12px var(--accent-secondary),
    0 0 24px var(--accent-secondary);
}

.hero-ring.ring-inner {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(232, 137, 74, 0.15);
  animation: rotate-clockwise 28s linear infinite;
}

.hero-main-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(232, 137, 74, 0.35));
  animation: liquid-float 7s ease-in-out infinite;
}

@keyframes liquid-float {
  0%, 100% { 
    transform: translateY(0);
    filter: drop-shadow(0 0 40px rgba(232, 137, 74, 0.35));
  }
  50% { 
    transform: translateY(-18px);
    filter: drop-shadow(0 0 60px rgba(232, 137, 74, 0.5));
  }
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* 核心光晕 */
.hero-glow-core {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(232, 137, 74, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: liquid-pulse 6s ease-in-out infinite;
}

@keyframes liquid-pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.5;
  }
  50% { 
    transform: scale(1.4);
    opacity: 0.8;
  }
}

.hero-floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-element {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  opacity: 0.6;
}

.float-element.elem-1 {
  top: 18%;
  right: 8%;
  animation: float-particle 8s ease-in-out infinite;
}

.float-element.elem-2 {
  bottom: 22%;
  left: 6%;
  animation: float-particle 7s ease-in-out infinite 1s;
}

.float-element.elem-3 {
  top: 10%;
  left: 18%;
  animation: float-particle 9s ease-in-out infinite 2s;
}

.float-element.elem-4 {
  bottom: 16%;
  right: 10%;
  animation: float-particle 7.5s ease-in-out infinite 0.5s;
}

@keyframes float-particle {
  0%, 100% { 
    transform: translateY(0) translateX(0);
    opacity: 0.4;
  }
  50% { 
    transform: translateY(-40px) translateX(25px);
    opacity: 0.8;
  }
}

/* ===== iOS 风格卡片 - 液体玻璃效果 ===== */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
  transition: all var(--transition-normal);
}

.card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

/* ===== 项目卡片 ===== */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

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

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 40px rgba(232, 137, 74, 0.1);
}

.project-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-card-content {
  padding: 24px;
}

.project-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.project-card-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.project-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-card-tag {
  padding: 6px 14px;
  background: rgba(232, 137, 74, 0.12);
  border-radius: 100px;
  font-size: 12px;
  color: #f5a462;
}

/* ===== 朋友项目区域 ===== */
.friends-section {
  padding: 100px 0;
  text-align: center;
}

.friends-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.friend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  min-width: 240px;
  max-width: 300px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all var(--transition-normal);
}

.friend-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 137, 74, 0.25);
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 48px rgba(232, 137, 74, 0.12);
}

.friend-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.friend-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== 团队页面 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all var(--transition-normal);
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 30px rgba(232, 137, 74, 0.25);
}

.team-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-role {
  font-size: 14px;
  color: #f5a462;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
}

.team-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-tag {
  padding: 6px 14px;
  background: rgba(232, 137, 74, 0.12);
  border-radius: 100px;
  font-size: 11px;
  color: #f5a462;
}

/* ===== 联系页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 750px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 137, 74, 0.25);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 40px rgba(232, 137, 74, 0.12);
}

.contact-icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.contact-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-link {
  color: #f5a462;
  text-decoration: none;
  font-size: 16px;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--accent-secondary);
}

/* ===== 页脚 ===== */
.footer {
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
}

.footer-text {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 80px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    height: 480px;
  }

  .hero-ring-container {
    width: 380px;
    height: 380px;
  }

  .hero-ring.ring-outer {
    width: 380px;
    height: 380px;
  }

  .hero-ring.ring-middle {
    width: 280px;
    height: 280px;
  }

  .hero-ring.ring-inner {
    width: 175px;
    height: 175px;
  }

  .hero-main-image {
    width: 165px;
    height: 165px;
  }
}

@media (max-width: 640px) {
  .nav {
    top: 10px;
    width: calc(100% - 20px);
    padding: 6px;
  }
  
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  
  .nav-logo {
    padding: 8px 12px;
  }
  
  .nav-logo-text {
    font-size: 16px;
  }
  
  .nav-links {
    width: auto;
    gap: 4px;
  }
  
  .nav-link {
    padding: 8px 10px;
    font-size: 12px;
  }
}
  .nav-link {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-ring-container {
    width: 300px;
    height: 300px;
  }

  .hero-ring.ring-outer {
    width: 300px;
    height: 300px;
  }

  .hero-ring.ring-middle {
    width: 220px;
    height: 220px;
  }

  .hero-ring.ring-inner {
    width: 135px;
    height: 135px;
  }

  .hero-main-image {
    width: 125px;
    height: 125px;
  }
}

/* ===== 项目列表页面 ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
  margin-bottom: 80px;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(232, 137, 74, 0.15);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-glass-2);
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform var(--transition-normal);
}

.project-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  background: var(--accent-glow);
  color: var(--text-primary);
}

.project-card-content {
  padding: 24px;
}

.project-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-card-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-card-tag {
  padding: 6px 14px;
  background: var(--bg-glass-2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===== 项目详情页面 ===== */
.project-detail-section {
  padding-bottom: 100px;
}

.project-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.project-info {
  max-width: 540px;
}

.project-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.meta-tag {
  padding: 8px 16px;
  background: var(--bg-glass-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}

.project-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.project-highlights {
  background: var(--bg-glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.project-highlights h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.project-highlights ul {
  list-style: none;
  padding: 0;
}

.project-highlights li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
}

.project-highlights li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 12px;
}

.project-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-image-card {
  background: var(--bg-glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.project-image-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.project-image-card img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.project-image-placeholder {
  min-width: 350px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
}

.placeholder-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.placeholder-subtext {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  padding: 0 20px;
}

/* ===== 图片查看器 (Lightbox) ===== */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-viewer.active {
  opacity: 1;
  visibility: visible;
}

.image-viewer-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.image-viewer.active .image-viewer-content {
  transform: scale(1);
}

.image-viewer img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.image-viewer-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  background: var(--bg-glass-2);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-viewer-close:hover {
  background: var(--bg-glass-3);
  border-color: var(--glass-border-light);
  transform: rotate(90deg);
}

.image-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-glass-2);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.image-viewer:hover .image-viewer-nav {
  opacity: 1;
}

.image-viewer-nav:hover {
  background: var(--bg-glass-3);
  border-color: var(--glass-border-light);
}

.image-viewer-nav.prev {
  left: -70px;
}

.image-viewer-nav.next {
  right: -70px;
}

.image-viewer-caption {
  text-align: center;
  padding: 16px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.image-viewer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* 让项目图片可点击 */
.project-image-card {
  cursor: zoom-in;
}

.project-image-card img {
  pointer-events: none;
}

/* ===== 更新日志卡片 ===== */
.update-log {
  background: var(--bg-glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.update-log::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.update-log-title {
  font-size: 20px;
  font-weight: 600;
  padding: 24px 28px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.update-log-title::before {
  content: '↻';
  color: var(--accent-primary);
  font-size: 24px;
}

.update-log-content {
  padding: 20px 28px 28px;
  max-height: 500px;
  overflow-y: auto;
}

.update-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}

.update-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.update-date {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(232, 137, 74, 0.2);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.update-details {
  padding-left: 20px;
}

.update-details p {
  margin: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  position: relative;
}

.update-details p::before {
  content: '•';
  position: absolute;
  left: -20px;
  color: var(--accent-secondary);
  font-size: 16px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .project-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .project-info {
    max-width: 100%;
  }

  .project-meta {
    justify-content: center;
  }

  .project-actions {
    justify-content: center;
  }

  .project-highlights {
    text-align: left;
  }

  .project-image-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-title {
    font-size: 32px;
  }

  .project-card-image-wrapper {
    height: 180px;
  }

  .update-log-content {
    padding: 16px 20px 20px;
  }

  .update-details {
    padding-left: 16px;
  }

  .update-details p::before {
    left: -16px;
  }
}

/* ===== 团队页面 v2 ===== */
.team-section {
  padding-bottom: 120px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-icon {
  font-size: 24px;
  color: var(--accent-primary);
  animation: float 3s ease-in-out infinite;
}

.title-icon:last-child {
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-8px); opacity: 0.7; }
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-glass-1);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--card-accent, var(--accent-primary)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.team-card:hover .card-glow {
  opacity: 0.08;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--glass-border-light);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(232, 137, 74, 0.1);
}

.card-header {
  margin-bottom: 20px;
  position: relative;
}

.avatar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-inner {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-glass-2);
  border: 3px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 1;
}

/* 特殊头像（宫崎柚子、s7ae）与原页面相同 */
.avatar-inner.special-avatar {
  width: 120px;
  height: 120px;
}

.avatar-inner.special-avatar .avatar-img {
  width: 120px;
  height: 120px;
}

.avatar-frame.special-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160%;
  height: 160%;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
}

.dev-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  z-index: 10;
  transform: rotate(15deg);
}

/* 发卡风格徽章 - 右上角 */
.dev-badge.hairpin-badge {
  position: absolute;
  top: -20px;
  right: -25px;
  width: 55px;
  height: 55px;
  z-index: 10;
  transform: rotate(25deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.dev-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.member-title {
  font-size: 14px;
  color: var(--accent-primary);
  margin-bottom: 14px;
  font-weight: 500;
}

.member-title a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.member-title a:hover {
  text-shadow: 0 0 20px rgba(232, 137, 74, 0.6);
}

.member-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 240px;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
}

.tag {
  padding: 6px 14px;
  background: var(--bg-glass-2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--bg-glass-3);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 137, 74, 0.2);
}

/* ===== 联系页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 650px;
  margin: 0 auto 60px;
}

.contact-card {
  display: block;
  background: var(--bg-glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 137, 74, 0.15);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card__icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.contact-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.contact-card__link {
  font-size: 18px;
  color: var(--accent-primary);
  transition: all var(--transition-fast);
}

.contact-card:hover .contact-card__link {
  color: var(--accent-secondary);
  text-decoration: underline;
}

.cta-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.cta-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .team-section {
    padding-bottom: 80px;
  }

  .section-title {
    font-size: 32px;
    gap: 12px;
  }

  .title-icon {
    font-size: 18px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-card {
    padding: 28px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}
