/* ==================== 资讯动态页面样式 ==================== */

/* Hero区域 */
.news-hero-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.news-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/zixun.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  z-index: 0;
  transform: scale(1.1);
}

.news-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 1;
}

.news-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.85) 0%, rgba(26, 35, 50, 0.80) 50%, rgba(15, 20, 25, 0.85) 100%);
  z-index: 2;
}

.news-hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(100, 200, 255, 0.05) 50%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.news-hero-content {
  display: block;
  position: relative;
  z-index: 4;
}

.news-hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-hero-title {
  margin: 0;
  position: relative;
}

.news-title-text {
  font-size: 48px;
  font-weight: 700;
  color: #64c8ff;
  display: block;
  line-height: 1.2;
  margin-bottom: 12px;
}

.news-title-underline {
  display: block;
  width: 80px;
  height: 4px;
  background: #64c8ff;
  border-radius: 2px;
}

.news-hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.news-status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-status-line {
  width: 40px;
  height: 2px;
  background: #64c8ff;
  border-radius: 1px;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.news-status-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}


/* 内容区域 */
.news-content-section {
  padding: 80px 0;
  background: #1a2332;
  position: relative;
}

.news-content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.news-content-section .container {
  position: relative;
  z-index: 1;
}

/* 分类导航 */
.news-category-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.news-category-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(100, 200, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-category-item:hover {
  background: rgba(100, 200, 255, 0.1);
  border-color: #64c8ff;
  color: #ffffff;
  transform: translateY(-2px);
}

.news-category-item.active {
  background: rgba(100, 200, 255, 0.15);
  border-color: #64c8ff;
  color: #64c8ff;
  box-shadow: 0 4px 12px rgba(100, 200, 255, 0.2);
}

.news-category-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 资讯卡片网格 */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(100, 200, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(100, 200, 255, 0.2);
  border-color: #64c8ff;
  background: rgba(255, 255, 255, 0.08);
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(100, 200, 255, 0.9);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.news-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(15, 20, 25, 0.8);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.news-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-summary {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0 0 16px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
}

/* 空状态 */
.news-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.news-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-empty-icon svg {
  width: 100%;
  height: 100%;
}

.news-empty-title {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 12px 0;
}

.news-empty-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* 翻页组件 */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 60px 0 40px 0;
  flex-wrap: wrap;
}

.news-pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 200, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-pagination-btn:hover {
  background: rgba(100, 200, 255, 0.1);
  border-color: #64c8ff;
  color: #ffffff;
  transform: translateY(-2px);
}

.news-pagination-btn svg {
  width: 16px;
  height: 16px;
}

.news-pagination-btn.news-pagination-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.news-pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 200, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-pagination-number:hover {
  background: rgba(100, 200, 255, 0.1);
  border-color: #64c8ff;
  color: #ffffff;
  transform: translateY(-2px);
}

.news-pagination-number.news-pagination-active {
  background: rgba(100, 200, 255, 0.2);
  border-color: #64c8ff;
  color: #ffffff;
  font-weight: 600;
  cursor: default;
}

.news-pagination-number.news-pagination-active:hover {
  transform: none;
}

.news-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* 底部统计信息 */
.news-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-total {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .news-hero-section {
    padding: 60px 0;
  }

  .news-title-text {
    font-size: 36px;
  }

  .news-hero-description {
    font-size: 16px;
  }

  .news-content-section {
    padding: 60px 0;
  }

  .news-category-nav {
    gap: 12px;
    margin-bottom: 40px;
  }

  .news-category-item {
    padding: 10px 20px;
    font-size: 14px;
  }

  .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .news-card-image {
    height: 180px;
  }

  .news-pagination {
    margin: 40px 0 30px 0;
    gap: 6px;
  }

  .news-pagination-btn,
  .news-pagination-number {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .news-pagination-ellipsis {
    min-width: 36px;
    height: 36px;
  }
}

