:root {
  --bg: #060814;
  --surface: rgba(255, 255, 255, 0.045);
  --ink: #e8eaf6;
  --muted: #9aa3c7;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #7dd3fc;
  --accent2: #c084fc;
  --accent-soft: rgba(125, 211, 252, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1100px 500px at 85% -5%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(900px 480px at 8% 15%, rgba(14, 116, 144, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.65;
}
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
header.site-header, main, footer.site-footer { position: relative; z-index: 1; }
header.site-header {
  background: rgba(6, 8, 20, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
nav ul { display: flex; gap: 1.5rem; list-style: none; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:hover, nav a.active { color: var(--accent); }
.container { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.hero {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 20% 110%, rgba(192, 132, 252, 0.12), transparent 65%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.85) 100%);
  border-radius: 18px;
  padding: 3.5rem 2.5rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(125, 211, 252, 0.25);
  box-shadow: inset 0 0 60px rgba(125, 211, 252, 0.08);
}
.hero::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px dashed rgba(192, 132, 252, 0.35);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 1rem;
}
.hero p { color: var(--muted); max-width: 650px; font-size: 1.08rem; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
}
.filter-btn.active, .filter-btn:hover {
  border-color: rgba(125, 211, 252, 0.5);
  background: var(--accent-soft);
  color: var(--accent);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow: 0 14px 30px -10px rgba(125, 211, 252, 0.12);
}
a.thumb { position: relative; display: block; }
a.thumb img { width: 100%; height: 190px; object-fit: cover; display: block; }
a.thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  background: rgba(6, 8, 20, 0.15);
  opacity: 0.9;
}
a.thumb:hover .play { color: var(--accent); }
.card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.card h2 {
  font-size: 1.16rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card .date { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.1rem; flex: 1; }
.card a.watch {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.card a.watch:hover { color: var(--accent); }
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem;
}
.article-wrap .meta { margin-bottom: 0.6rem; }
.article-wrap h1 { font-size: 2rem; margin-bottom: 0.75rem; line-height: 1.25; }
.article-wrap .date { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.article-wrap h2 { font-size: 1.3rem; margin: 1.75rem 0 0.65rem; }
.article-wrap p { margin-bottom: 1.1rem; color: #c3c9e4; }
.info-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}
footer.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 2.2rem 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
