:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #7c9cff;
  --accent-dim: #5a7ad6;
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 106%;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 156, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(90, 122, 214, 0.12), transparent),
    var(--bg);
}

main {
  max-width: 32rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem 4rem;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.tagline {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.bio {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1.5rem 0 0;
  text-align: left;
}

.hub-extra {
  text-align: center;
  margin: 0 0 1.5rem;
}

.hub-extra a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.hub-extra a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.card h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 600;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.link-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.link-list li:first-child {
  padding-top: 0;
}

.link-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.link-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

.affiliate-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

footer {
  margin-top: 2.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.back-nav {
  margin: 0 0 1rem;
  text-align: left;
}

.back-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.disclosure-card {
  margin-bottom: 1.75rem;
}

.disclosure-card h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.disclosure-body {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.news-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 600;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-title {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-block;
}

.news-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-source {
  font-style: italic;
}

.news-summary {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.footer-meta {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-meta code {
  font-size: 0.75rem;
}

.trending-updated {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.5rem 0 1rem;
}

.trending-more {
  margin-top: 1rem;
  text-align: right;
}

.trending-more a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.trending-more a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
