/* =========================================
  1. Page Banner
  ========================================= */
.page-banner {
  padding-top: 70px;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 85, 206, 0.4), rgba(100, 50, 255, 0.3));
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background: linear-gradient(135deg, rgba(43, 85, 206, 0.4), rgba(100, 50, 255, 0.3));
  }
  50% {
    background: linear-gradient(135deg, rgba(100, 50, 255, 0.4), rgba(43, 85, 206, 0.3));
  }
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  animation: fadeInDown 1s ease-out;
}

.banner-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 15px;
  text-shadow: 0 0 30px rgba(0, 150, 255, 0.6);
}

.banner-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #a0cfff;
  font-size: 14px;
}

.banner-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================
  2. Article Section
  ========================================= */
.article-section {
  padding: 80px 0;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.article-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 50px;
  margin: 0 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.article-container:hover {
  box-shadow: 0 20px 60px rgba(43, 85, 206, 0.2);
  border-color: rgba(43, 85, 206, 0.3);
}

.article-content {
  color: #ccc;
  font-size: 16px;
  line-height: 2;
}

.article-content p {
  margin-bottom: 25px;
  text-align: justify;
}

.article-content h2 {
  color: #fff;
  font-size: 24px;
  margin: 40px 0 20px;
  padding-left: 15px;
  border-left: 4px solid #2b55ce;
}

.article-content h3 {
  color: #a0cfff;
  font-size: 20px;
  margin: 30px 0 15px;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content blockquote {
  background: rgba(43, 85, 206, 0.1);
  border-left: 4px solid #2b55ce;
  margin: 30px 0;
  padding: 20px 25px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #a0cfff;
}

.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* =========================================
  3. Back Link
  ========================================= */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2b55ce;
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 30px;
  padding: 12px 25px;
  background: rgba(43, 85, 206, 0.1);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: rgba(43, 85, 206, 0.2);
  transform: translateX(-5px);
}

/* =========================================
  4. Related Articles
  ========================================= */
.related-section {
  padding: 60px 0 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-title {
  text-align: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.related-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(43, 85, 206, 0.3);
  border-color: rgba(43, 85, 206, 0.5);
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover img {
  transform: scale(1.1);
}

.related-card-content {
  padding: 20px;
}

.related-card-date {
  color: #2b55ce;
  font-size: 12px;
  margin-bottom: 8px;
}

.related-card-title {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================
  5. 响应式
  ========================================= */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 28px;
    padding: 0 20px;
  }

  .article-container {
    padding: 30px 20px;
    margin: 0 15px;
  }

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

  .banner-meta {
    flex-direction: column;
    gap: 10px;
  }
}