:root {
  --bg: #eef2f7;
  --ink: #050912;
  --muted: #6a7280;
  --panel: #fbfcff;
  --line: #cfd8e6;
  --dark: #03050b;
  --cyan: #19d9ff;
  --blue: #2258ff;
  --violet: #a94dff;
  --magenta: #f05cff;
  --red: #ff2f3f;
  --green: #32f4a5;
  --shadow: 0 18px 48px rgba(7, 17, 31, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 17, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  padding: 6px clamp(14px, 3vw, 30px);
  color: white;
  background: rgba(3, 5, 11, 0.94);
  border-bottom: 1px solid rgba(25, 217, 255, 0.28);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand img,
.lead-logo img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border: 1px solid rgba(25, 217, 255, 0.44);
  border-radius: var(--radius);
  box-shadow: 0 0 22px rgba(25, 217, 255, 0.28);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(25, 217, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:hover,
.story-card h3 a:hover,
.link-card:hover strong {
  color: var(--cyan);
}

.nav-links a:hover {
  background: rgba(25, 217, 255, 0.1);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: #00101d;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: var(--radius);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(150px, 0.22fr);
  gap: clamp(10px, 2.4vw, 22px);
  align-items: center;
  min-height: 230px;
  max-height: 320px;
  padding: clamp(10px, 1.8vw, 18px) clamp(14px, 3vw, 30px);
  color: white;
  background:
    radial-gradient(circle at 76% 18%, rgba(25, 217, 255, 0.24), transparent 28%),
    radial-gradient(circle at 14% 86%, rgba(169, 77, 255, 0.22), transparent 26%),
    linear-gradient(135deg, #02040a, #07101d 58%, #010208);
  border-bottom: 2px solid rgba(25, 217, 255, 0.22);
}

.lead::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 16px),
    linear-gradient(90deg, rgba(169, 77, 255, 0.16), transparent 18%, transparent 82%, rgba(25, 217, 255, 0.14));
  mix-blend-mode: screen;
  opacity: 0.55;
}

.lead > * {
  position: relative;
  z-index: 1;
}

.lead-copy {
  max-width: 700px;
}

.lead-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #b9f6ff;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead h1 {
  max-width: 420px;
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(2.15rem, 4.7vw, 4.35rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 30px rgba(25, 217, 255, 0.14);
}

.lead p {
  max-width: 420px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  font-weight: 700;
  line-height: 1.42;
}

.hero-emblem {
  position: relative;
  justify-self: center;
  width: clamp(138px, 18vw, 230px);
  aspect-ratio: 1;
  opacity: 0.82;
  pointer-events: none;
}

.hero-emblem::before {
  position: absolute;
  inset: 13%;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(25, 217, 255, 0.34), rgba(34, 88, 255, 0.1) 48%, transparent 70%);
  filter: blur(18px);
}

.hero-emblem img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 26px rgba(25, 217, 255, 0.34));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 52%, rgba(0, 0, 0, 0.82) 66%, transparent 82%);
  mask-image: radial-gradient(circle, #000 52%, rgba(0, 0, 0, 0.82) 66%, transparent 82%);
}

.label,
.feed-status,
.story-source,
.link-card span {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news,
.video-section,
.studio-links,
.legal-section,
.site-footer {
  padding-right: clamp(16px, 4vw, 42px);
  padding-left: clamp(16px, 4vw, 42px);
}

.news,
.video-section,
.studio-links,
.legal-section {
  padding-top: clamp(14px, 3vw, 28px);
  scroll-margin-top: 58px;
}

.section-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.section-bar h2 {
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-bar p {
  max-width: 680px;
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.3;
}

.feed-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.66rem;
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--green);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.filter {
  min-height: 24px;
  padding: 0 8px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter.active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.story-stack {
  display: grid;
  gap: 4px;
}

.story-card,
.link-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.07);
}

.story-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 6px 8px;
  border-left: 3px solid rgba(25, 217, 255, 0.68);
}

.story-rank {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 6px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
}

.story-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 2px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.story-source {
  display: inline-flex;
  margin-top: 3px;
  color: var(--muted);
}

.video-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: white;
  background:
    radial-gradient(circle at 88% 18%, rgba(25, 217, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #050914, #091226 58%, #03050b);
  border: 1px solid rgba(25, 217, 255, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.12);
}

.video-mark img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(25, 217, 255, 0.44);
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(25, 217, 255, 0.22);
}

.video-panel h3 {
  margin: 3px 0 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.video-panel p {
  max-width: 620px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #00101d;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tab-button.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(25, 217, 255, 0.26);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.legal-grid article {
  min-height: 96px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
}

.legal-grid a {
  color: var(--blue);
  font-weight: 900;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.link-card {
  min-height: 120px;
  padding: 14px;
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  margin-top: 10px;
  font-size: 1.08rem;
  line-height: 1.15;
}

.link-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.primary-link {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(25, 217, 255, 0.32), transparent 36%),
    linear-gradient(135deg, #071326, #020714);
  border-color: rgba(25, 217, 255, 0.3);
}

.primary-link small {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 28px;
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 950;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .video-panel,
  .legal-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .lead {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .section-bar {
    align-items: start;
    flex-direction: column;
  }

  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .lead h1 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .hero-emblem {
    position: absolute;
    right: -28px;
    width: 150px;
    opacity: 0.28;
  }

  .story-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}
