:root {
  --bg: #050510;
  --bg-elevated: #0b0b1a;
  --bg-card: #111127;
  --text-main: #f5f5ff;
  --text-muted: #a0a0c0;
  --accent: #b26bff;      /* neon purple */
  --accent-strong: #d28bff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #1b1030 0, #050510 55%);
  color: var(--text-main);
}

nav {
  background: rgba(5, 5, 16, 0.9);
  border-bottom: 1px solid rgba(178, 107, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 14px 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  color: var(--text-main);
  margin-right: 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent-strong);
}

.hero {
  max-width: 960px;
  margin: 40px auto 24px;
  padding: 32px 40px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #2a1748 0, #111127 45%, #050510 100%);
  box-shadow: 0 0 40px rgba(178, 107, 255, 0.35);
}

.hero-title {
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-meta {
  font-size: 0.95rem;
  color: var(--accent-strong);
}

.container {
  max-width: 960px;
  margin: 0 auto 24px;
  padding: 0 16px;
}

.card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 24px 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(178, 107, 255, 0.25);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--accent-strong);
}

.card p {
  margin-top: 0;
  color: var(--text-muted);
}

ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.article-list li a {
  font-weight: 500;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--accent-strong);
}

.role-title {
  font-weight: 600;
}

.role-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 24px 0 32px;
}

.latest-news {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.latest-news-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #fff; /* adjust for dark mode */
}

.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.news-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.news-card small {
  font-size: 0.8rem;
  color: #888;
}

.news-card a {
  font-size: 0.9rem;
  color: #0077ff;
  text-decoration: none;
}

.news-card a:hover {
  text-decoration: underline;
}
