:root {
  --bg: #050816;
  --bg-card: #0f172a;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --danger: #f97373;
  --success: #4ade80;
  --border-radius-lg: 18px;
  --border-radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --transition-fast: 180ms ease-out;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1d2538 0, #050816 55%);
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
}

.link-muted {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Pagination styling (inside Live News card) */
.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.news-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.news-pagination li {
  color: #fff;
  display: flex;
}

.news-pagination li a {
  background-color: rgba(68, 75, 110, 0.4);
  padding: 4px 10px;
  border: 1px solid rgba(61, 49, 91, 0.5);
  border-right: 0;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
  color: var(--text-main);
}

.news-pagination li.active a {
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  color: #0b1020;
  font-weight: 600;
  border-color: transparent;
}

.news-pagination li.disabled a {
  opacity: 0.3;
  cursor: not-allowed;
}

.news-pagination li:first-child a {
  border-radius: 4px 0 0 4px;
}

.news-pagination li:last-child a {
  border-radius: 0 4px 4px 0;
  border-right: 1px solid rgba(61, 49, 91, 0.5);
}

.news-pagination li a:hover:not(.disabled a) {
  cursor: pointer;
  background-color: rgba(68, 75, 110, 0.6);
  transform: translateY(-1px);
}

.news-pagination li.active a:hover {
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  filter: brightness(1.1);
}
