/* Enhanced Neon Blog Theme - Professional Design */

/* Navigation Bar */
.navbar {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--neon-cyan);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  height: 50px;
  filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.5));
  transition: all 0.3s ease;
}

.nav-logo:hover {
  filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.8));
  transform: scale(1.05);
}

.nav-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px var(--neon-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-search {
  display: flex;
  align-items: center;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--neon-cyan);
  border-radius: 25px;
  padding: 0.8rem 1.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 300px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
  border-color: var(--neon-pink);
}

.search-input::placeholder {
  color: var(--text-secondary);
}

:root {
  /* Primary Neon Colors */
  --neon-cyan: #00f5ff;
  --neon-electric-blue: #0080ff;
  --neon-purple: #8b5cf6;
  --neon-pink: #ff0080;
  --neon-green: #00ff88;
  --neon-orange: #ff6600;
  --neon-yellow: #ffff00;
  
  /* Background Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a25;
  --bg-card: rgba(20, 20, 30, 0.8);
  --bg-glass: rgba(15, 15, 25, 0.6);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b8b8c8;
  --text-muted: #888898;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-electric-blue));
  --gradient-secondary: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  --gradient-accent: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  --gradient-warm: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
  
  /* Shadows */
  --shadow-neon-cyan: 0 0 20px rgba(0, 245, 255, 0.3);
  --shadow-neon-purple: 0 0 20px rgba(139, 92, 246, 0.3);
  --shadow-neon-pink: 0 0 20px rgba(255, 0, 128, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  /* Borders */
  --border-neon: 1px solid rgba(0, 245, 255, 0.3);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* Enhanced Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 245, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  z-index: -2;
  animation: backgroundPulse 15s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.03) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite reverse;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes backgroundShift {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(-1%) translateY(-0.5%) rotate(0.5deg); }
  50% { transform: translateX(1%) translateY(0.5%) rotate(-0.5deg); }
  75% { transform: translateX(-0.5%) translateY(1%) rotate(0.3deg); }
}

/* Enhanced Navigation */
.site-nav {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-neon);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: var(--shadow-card);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo img {
  height: 55px;
  filter: drop-shadow(var(--shadow-neon-cyan));
  transition: all 0.3s ease;
}

.nav-logo img:hover {
  filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.6));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px var(--neon-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Enhanced Search Form */
.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form input {
  background: var(--bg-card);
  border: var(--border-neon);
  border-radius: 30px;
  padding: 0.8rem 1.5rem;
  color: var(--text-primary);
  width: 250px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-form input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
  background: rgba(20, 20, 30, 0.9);
}

.search-form input::placeholder {
  color: var(--text-muted);
}

.search-form span {
  position: absolute;
  right: 20px;
  color: var(--neon-cyan);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.search-form span:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
}

/* Enhanced Hero Section */
.hero-section {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 245, 255, 0.02) 50%, transparent 100%);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.title-part-1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
  animation: titleGlow1 3s ease-in-out infinite alternate;
}

.title-part-2 {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 0, 128, 0.3);
  animation: titleGlow2 3s ease-in-out infinite alternate;
  animation-delay: 1s;
}

@keyframes titleGlow1 {
  from { 
    text-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
    filter: brightness(1);
  }
  to { 
    text-shadow: 0 0 60px rgba(0, 245, 255, 0.6), 0 0 80px rgba(0, 128, 255, 0.2);
    filter: brightness(1.1);
  }
}

@keyframes titleGlow2 {
  from { 
    text-shadow: 0 0 40px rgba(255, 0, 128, 0.3);
    filter: brightness(1);
  }
  to { 
    text-shadow: 0 0 60px rgba(255, 0, 128, 0.6), 0 0 80px rgba(139, 92, 246, 0.2);
    filter: brightness(1.1);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-neon-cyan);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.cta-button.secondary {
  background: var(--gradient-secondary);
  box-shadow: var(--shadow-neon-pink);
}

.cta-button.secondary:hover {
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

/* Enhanced Hot News Section */
.hot-news-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  margin: 3rem 0;
  position: relative;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
  animation: sectionGlow 2s ease-in-out infinite alternate;
}

@keyframes sectionGlow {
  from { text-shadow: 0 0 30px rgba(255, 0, 128, 0.3); }
  to { text-shadow: 0 0 50px rgba(255, 0, 128, 0.5), 0 0 70px rgba(139, 92, 246, 0.3); }
}

/* Hot News Container - 3x2 Layout */
.hot-news-container {
  margin-top: 3rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hot-news-row {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.hot-news-row:first-child {
  justify-content: space-between;
}

.hot-news-row:last-child {
  justify-content: center;
  gap: 5rem;
}

/* Enhanced News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 0 2rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: var(--border-subtle);
  position: relative;
  backdrop-filter: blur(10px);
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 20px;
}

.news-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card), var(--shadow-neon-cyan);
  border-color: var(--neon-cyan);
}

.news-card:hover::before {
  opacity: 0.1;
}

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

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

.news-content {
  padding: 2rem;
}

.news-category {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-title:hover {
  color: var(--neon-cyan);
}

.news-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.news-source {
  color: var(--neon-cyan);
  font-weight: 500;
}

.news-date {
  color: var(--text-muted);
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-link:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
}

.news-link i {
  transition: transform 0.3s ease;
}

.news-link:hover i {
  transform: translateX(5px);
}

/* Enhanced Blog Section */
.blog-section {
  padding: 4rem 0;
  text-align: center;
}

/* Normal News Grid - 4x4 Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 245, 255, 0.2);
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 20px;
}

.blog-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 245, 255, 0.2);
  border-color: var(--neon-cyan);
}

.blog-card:hover::before {
  opacity: 0.1;
}

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

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

.blog-content {
  padding: 0.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.author-image {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
}

.blog-author {
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-title:hover {
  color: var(--neon-purple);
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  font-size: 0.8rem;
}

.read-more {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Hot News Card Styling */
.hot-news-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 0, 128, 0.3);
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.hot-news-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 0, 128, 0.2);
  border-color: var(--neon-pink);
}

.hot-news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.hot-news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  padding: 1.5rem 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 120px;
}

.hot-category {
  display: inline-block;
  background: rgba(255, 0, 128, 0.9);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  max-width: fit-content;
  white-space: nowrap;
}

.hot-news-title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  display: block;
  overflow: visible;
  text-overflow: unset;
  max-height: none;
  word-wrap: break-word;
}

/* Ensure pagination is perfectly centered */
.blog-section .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
  position: relative;
  left: 0;
  right: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(0, 245, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  min-width: 35px;
  text-align: center;
}

.pagination a:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 245, 255, 0.3);
  transform: translateY(-1px);
}

.pagination a.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 245, 255, 0.4);
}

.pagination-prev,
.pagination-next {
  background: var(--gradient-secondary) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.4rem 0.8rem !important;
  font-size: 0.85rem !important;
}

.pagination-prev:hover,
.pagination-next:hover {
  box-shadow: 0 2px 8px rgba(255, 0, 128, 0.4) !important;
}

/* Enhanced Footer */
.site-footer {
  background: var(--bg-tertiary);
  border-top: var(--border-neon);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-section h3 {
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-section ul li a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  border: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: var(--border-subtle);
  color: var(--text-muted);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
}

.newsletter-form button {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.newsletter-form button:hover {
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-2px);
}

/* News Categories */
.news-categories {
  margin-top: 4rem;
  text-align: center;
}

.news-categories h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.category-filter {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.category-filter:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-3px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* News Detail Popup Modal - Redesigned */
.news-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background: linear-gradient(145deg, 
    rgba(15, 15, 25, 0.95) 0%,
    rgba(25, 25, 40, 0.95) 50%,
    rgba(15, 15, 25, 0.95) 100%
  );
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 24px;
  padding: 0;
  max-width: 95%;
  max-height: 95%;
  width: 900px;
  position: relative;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 245, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: modalSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 245, 255, 0.8) 50%,
    transparent 100%
  );
}

.modal-header {
  background: linear-gradient(135deg, 
    rgba(138, 43, 226, 0.9) 0%,
    rgba(255, 0, 128, 0.9) 50%,
    rgba(0, 245, 255, 0.9) 100%
  );
  padding: 2rem 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

.modal-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-close:hover {
  background: rgba(255, 0, 128, 0.8);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

.modal-body {
  padding: 2.5rem;
  max-height: 65vh;
  overflow-y: auto;
  position: relative;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink));
  border-radius: 3px;
}

.modal-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 2px solid rgba(0, 245, 255, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 245, 255, 0.1);
  transition: all 0.3s ease;
}

.modal-image:hover {
  transform: scale(1.02);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 245, 255, 0.3);
}

.modal-content-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: justify;
  font-weight: 400;
}

.modal-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(0, 245, 255, 0.1) 0%,
    rgba(255, 0, 128, 0.1) 100%
  );
  border-radius: 16px;
  margin-top: 2rem;
  border: 1px solid rgba(0, 245, 255, 0.2);
  backdrop-filter: blur(10px);
}

.modal-date {
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-date::before {
  content: '📅';
  font-size: 1rem;
}

}

/* Enhanced Modal Animations */
@keyframes modalFadeIn {
  from { 
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to { 
    opacity: 1;
    backdrop-filter: blur(15px);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .news-modal.show {
    padding: 1rem;
  }
  
  .modal-content {
    width: 100%;
    max-height: 95%;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .modal-title {
    font-size: 1.4rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-image {
    height: 250px;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hot-news-container {
    padding: 0 1.5rem;
  }
  
  .hot-news-row {
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .hot-news-row:last-child {
    gap: 4rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hot-news-container {
    padding: 0 1rem;
  }
  
  .hot-news-row {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hot-news-row:last-child {
    gap: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hot-news-card img {
    height: 200px;
  }
  
  .hot-news-content {
    padding: 1.2rem 1.5rem;
    gap: 0.8rem;
    min-height: 100px;
  }
  
  .hot-news-title {
    font-size: 1.2rem;
    line-height: 1.3;
    display: block;
    overflow: visible;
    text-overflow: unset;
    max-height: none;
  }
  
  .hot-category {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .blog-card {
    min-height: 120px;
  }
  
  .blog-card img {
    height: 80px;
  }
  
  .blog-content {
    padding: 0.6rem;
  }
  
  .blog-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .blog-excerpt {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }
  
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .news-categories h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .category-filter {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .pagination {
    gap: 0.3rem;
    margin-top: 1.5rem;
  }
  
  .pagination a {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    min-width: 30px;
  }
  
  .pagination-prev,
  .pagination-next {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.4rem;
    gap: 0.4rem;
  }
  
  .nav-title {
    font-size: 0.55rem !important;
  }
  
  .nav-links {
    gap: 0.6rem;
  }
  
  .nav-links a {
    font-size: 0.55rem !important;
  }
  
  .nav-link {
    font-size: 0.55rem !important;
  }
  
  .search-input {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.55rem !important;
    max-width: 180px !important;
  }
  
  .nav-logo img {
    height: 22px !important;
  }
  
  .search-form span {
    font-size: 0.7rem !important;
    right: 10px !important;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination a {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 25px;
  }
}

@media (max-width: 360px) {
  .nav-title {
    font-size: 0.45rem !important;
  }
  
  .nav-link {
    font-size: 0.45rem !important;
  }
  
  .search-input {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.45rem !important;
    max-width: 150px !important;
  }
  
  .nav-logo img {
    height: 18px !important;
  }
  
  .nav-container {
    padding: 0 0.2rem;
    gap: 0.3rem;
  }
  
  .nav-menu {
    gap: 0.3rem;
  }
}

@media (max-width: 320px) {
  .nav-title {
    font-size: 0.4rem !important;
  }
  
  .nav-link {
    font-size: 0.4rem !important;
  }
  
  .search-input {
    padding: 0.2rem 0.4rem !important;
    font-size: 0.4rem !important;
    max-width: 120px !important;
  }
  
  .nav-logo img {
    height: 16px !important;
  }
  
  .nav-container {
    padding: 0 0.1rem;
    gap: 0.2rem;
  }
}
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .modal-read-original,
  .modal-share {
    width: 100%;
    text-align: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 0.8rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .search-input {
    width: 100% !important;
    max-width: 250px !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.65rem !important;
  }
  
  .nav-title {
    font-size: 0.7rem !important;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.7rem !important;
  }
  
  .nav-link {
    font-size: 0.7rem !important;
  }
  
  .nav-logo img {
    height: 30px !important;
  }
  
  .hot-news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hot-news-card img {
    height: 180px;
  }
  
  .hot-news-content {
    padding: 1rem 1.2rem;
    min-height: 70px;
  }
  
  .hot-news-title {
    font-size: 0.85rem;
    line-height: 1.1;
  }
  
  .hot-category {
    font-size: 0.65rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-button {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .hot-news-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .category-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .category-filter {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .hot-news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  
  .hot-news-card img {
    height: 180px;
  }
  
  .hot-news-content {
    padding: 1rem 1.2rem;
    gap: 0.6rem;
    min-height: 80px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  
  .pagination {
    gap: 0.3rem;
    margin-top: 1.5rem;
  }
  
  .pagination a {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    min-width: 30px;
  }
  
  .pagination-prev,
  .pagination-next {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.8rem !important;
  }
  
  .news-content,
  .blog-content {
    padding: 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0, 245, 255, 0.2);
  border-top: 4px solid var(--neon-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: var(--shadow-neon-cyan);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-neon-cyan);
  z-index: 1000;
}

.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}