:root {
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #10b981);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}
/* 轮播图按钮样式 */
.carousel-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.carousel-buttons .btn {
  min-width: 140px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-buttons .btn-primary {
  background: rgba(99, 102, 241, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.carousel-buttons .btn-primary:hover {
  background: rgba(99, 102, 241, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* 轮播图样式 */
.carousel {
  position: relative;
}

.carousel-item {
  height: 500px;
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 70%;
  max-width: 800px;
  padding: 2.5rem 2rem;
  /* color: #fff; */
  text-align: center;
  z-index: 10;
  
  /* 毛玻璃效果 */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* 渐变边框效果 */
  /* background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.005)); */
}

.carousel-caption::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  z-index: -1;
}

.carousel-caption h2 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  margin-bottom: 1rem;
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  line-height: 1.5;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  z-index: 5;
}

@media (max-width: 768px) {
  .carousel-item {
    height: 300px;
  }
  
  .carousel-item img {
    height: 300px;
  }
  
  .carousel-caption {
    width: 95%;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
  
  .carousel-caption::before {
    border-radius: 15px;
  }
  
  .carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .carousel-caption p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

/* 特色功能样式 */
.feature-card {
  padding: 2rem 1rem;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.feature-card h4 {
  margin-bottom: 1rem;
  color: var(--bs-dark);
  font-weight: 600;
}

/* 分类卡片样式 */
.category-card {
  position: relative;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quest-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.steam-card {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.category-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.category-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.category-info p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.5;
}

.category-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 章节标题样式 */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #8b5cf6;
}
.bi-fire {
  color: #8b5cf6;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .category-card {
    height: 250px;
  }

  .category-content {
    padding: 1.5rem;
  }

  .category-icon {
    font-size: 2.5rem;
  }

  .category-info h3 {
    font-size: 1.5rem;
  }

  .category-info p {
    font-size: 1rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}