/* 首页样式 */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.home main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.home-banner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.home-banner:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.home-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.home-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.nav-item {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 暗黑模式 */
.dark-mode .home-banner {
  background-color: rgba(22, 33, 62, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .home-subtitle {
  color: #b0b0b0;
}

.dark-mode .nav-item {
  background: linear-gradient(135deg, #4a5bd8 0%, #664ba2 100%);
  box-shadow: 0 4px 15px rgba(74, 91, 216, 0.3);
}

.dark-mode .nav-item:hover {
  box-shadow: 0 8px 25px rgba(74, 91, 216, 0.5);
  background: linear-gradient(135deg, #664ba2 0%, #4a5bd8 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .home-title {
    font-size: 2rem;
  }
  
  .home-subtitle {
    font-size: 1rem;
  }
  
  .home-banner {
    padding: 30px 15px;
    margin: 0 10px;
  }
  
  .nav-item {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .home-nav {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .home-title {
    font-size: 1.8rem;
  }
  
  .home-banner {
    padding: 20px 10px;
  }
  
  .nav-item {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
