* {
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(120deg, #0f172a, #020617);
  color: #e5e7eb;
}

header {
  padding: 2rem;
  text-align: center;
  background: radial-gradient(circle at top, #1e293b, #020617);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

header p {
  color: #94a3b8;
}

main {
  padding: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #020617;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 0 30px rgba(56,189,248,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(56,189,248,0.25);
}

.card h3 {
  font-size: 1.2rem;
  margin-top: 0;
}

.card a {
  color: #38bdf8;
  text-decoration: none;
}

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

.card .source {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
}
