:root {
  --bg: #08111d;
  --panel: rgba(17, 24, 38, 0.92);
  --panel2: rgba(24, 34, 52, 0.92);
  --line: rgba(255,255,255,.08);
  --text: #edf4ff;
  --muted: #9db1ca;
  --accent: #57d4ff;
  --accent2: #8d71ff;
  --success: #14c6a0;
  --danger: #ff8f70;
  --shadow: 0 14px 40px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87,212,255,.14), transparent 26%),
    radial-gradient(circle at top right, rgba(141,113,255,.18), transparent 24%),
    linear-gradient(180deg, #08111d, #0c1624 58%, #0b1421);
  overflow-x: hidden;
}
.bg-glow {
  position: fixed;
  width: 35rem;
  height: 35rem;
  filter: blur(90px);
  opacity: .12;
  z-index: 0;
  pointer-events: none;
}
.glow-1 { background: #57d4ff; left: -10rem; top: -10rem; }
.glow-2 { background: #8d71ff; right: -10rem; top: -8rem; }

.shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 70px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--accent);
}
h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: .98;
}
.sub {
  max-width: 770px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.button, .chip, input {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
}
.button, .chip {
  cursor: pointer;
  padding: 10px 16px;
  transition: .2s ease;
}
.button:hover, .chip:hover, .chip.active {
  border-color: rgba(87,212,255,.28);
  background: linear-gradient(135deg, rgba(87,212,255,.13), rgba(141,113,255,.13));
}
.toolbar {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-wrap {
  min-width: min(100%, 340px);
}
input {
  width: 100%;
  padding: 12px 16px;
  outline: none;
}
.status, .meta-bar {
  color: var(--muted);
  margin-bottom: 12px;
}
.meta-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 270px;
  display: flex;
  flex-direction: column;
}
.card-top, .card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.card-top { margin-bottom: 14px; }
.title {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.35;
}
.summary {
  margin: 0 0 14px;
  color: #dbe8f7;
  line-height: 1.6;
}
.why-box {
  border: 1px solid rgba(255,255,255,.06);
  background: var(--panel2);
  border-radius: 18px;
  padding: 12px 13px;
  margin-bottom: 16px;
}
.why-box strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: .92rem;
}
.why-box p { margin: 0; color: var(--muted); line-height: 1.55; }
.source, .time { color: var(--muted); font-size: .92rem; }
.link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.link:hover { text-decoration: underline; }
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid var(--line);
}
.category {
  text-transform: capitalize;
  color: var(--success);
  background: rgba(20,198,160,.09);
}
.score {
  color: var(--danger);
  background: rgba(255,143,112,.09);
}
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .toolbar { align-items: stretch; }
  .card-bottom { flex-direction: column; align-items: flex-start; }
}
