:root {
  --brand-blue: #2563eb;    
  --bg-main: #ffffff;        
  --bg-sub: #f8fafc;           
  --text-primary: #0f172a;     
  --text-secondary: #475569;   
  --border-light: #f1f5f9;     
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

header {
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

.news-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.news-card img {
  border-radius: 8px;
  object-fit: cover;
}

#trending-container .trending-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

#trending-container .trending-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  color: #e2e8f0;
  font-weight: 700;
}

#pagination {
  display: flex;
  justify-content: center;
}

#pagination .btn {
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 2px;
  transition: all 0.2s;
  border: 1px solid var(--border-light);
}

#pagination .btn-primary {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: white;
}

#pagination .btn-outline-primary:hover {
  background-color: var(--bg-sub);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

#breaking-news-ticker p {
  font-weight: 500;
  transition: color 0.2s;
}

#breaking-news-ticker p:hover {
  color: var(--brand-blue);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.trx-link:hover {
  color: #000;
  border-bottom: 1px solid gray;
}