:root {
  --primary: #FF6B35;
  --secondary: #4ECDC4;
  --accent: #FFD93D;
  --dark: #0a0f1a;
  --darker: #05070c;
  --card-bg: rgba(20, 28, 45, 0.85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--dark);
  color: #fff;
  overflow-x: hidden;
}

.header-scrolled {
  background: rgba(10, 15, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-hero-articles {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, #1a0f2e 0%, #0d1f1c 50%, #2a1a0a 100%);
  overflow: hidden;
}

.page-hero-articles::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://filetx.3633yx.com/250419-9333b78083874bbfb4928a2b3cf1779d.jpeg') center/cover no-repeat;
  opacity: 0.22;
}

.page-hero-articles::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 55%);
}

.hero-articles-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-articles-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-articles-desc {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover, .filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.article-card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(78, 205, 196, 0.25);
}

.article-thumb {
  position: relative;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-thumb img {
  transform: scale(1.08);
}

.article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.article-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.article-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: var(--accent);
}

.article-summary {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.read-more {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary);
}

.download-section {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(78, 205, 196, 0.15) 100%);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://filetx.3633yx.com/250419-a3815af0f2d94afca5685f7c77ab96a5.jpeg') center/cover no-repeat;
  opacity: 0.1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.download-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .page-hero-articles {
    min-height: 40vh;
    padding: 5rem 0 3rem;
  }

  .article-thumb img {
    height: 160px;
  }
}
