/* ========================================
   首页样式 - 全屏背景 + 毛玻璃蒙版
   3A大作游戏感设计
   ======================================== */

/* ========================================
   Hero 区域 - 全屏背景
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0a 0%, #171717 100%);
}

/* 背景视频容器 - 贴合 hero 全屏 */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* 毛玻璃蒙版叠加层 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

/* 渐变叠加增强层次感 */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Hero 内容区 - 左侧文案 + 右侧底部 CTA */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 4rem 5rem;
  gap: 3rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  max-width: 60%;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.5));
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-shrink: 0;
  animation: fadeInUp 0.8s ease 0.25s both;
}

.hero-cta .btn {
  background: white;
  color: #0a0a0a;
  font-weight: 600;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.95);
}

/* ========================================
   项目介绍区域
   ======================================== */

.intro-section {
  padding: 6rem 0;
  background: var(--color-bg);
  position: relative;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.intro-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.intro-text:last-child {
  margin-bottom: 0;
}

/* ========================================
   关于/特性区域
   ======================================== */

.about-section {
  padding: 6rem 0;
  background: hsl(var(--secondary));
  position: relative;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-card {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-text) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.about-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.about-card-text {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

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

.footer {
  background: var(--color-text);
  color: white;
  padding: 2.5rem 0;
  text-align: center;
}

.footer-text {
  opacity: 0.7;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
  .hero-content {
    padding: 3rem 2.5rem;
  }
  
  .hero-left {
    max-width: 70%;
  }
  
  .hero-logo {
    max-height: 120px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 移动端：全部居中、垂直排列 */
  .hero-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1.5rem;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
    max-width: 100%;
  }
  
  .hero-logo {
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: 2.25rem;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .hero-tags {
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .hero-cta .btn {
    padding: 0.875rem 2.5rem;
    width: 100%;
    max-width: 280px;
  }
  
  .intro-section,
  .about-section {
    padding: 4rem 0;
  }
  
  .intro-title {
    font-size: 2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 0.9375rem;
  }
  
  .hero-tag {
    font-size: 0.8125rem;
    padding: 0.25rem 0.75rem;
  }
}
