/* ============================================
   hip-hop.cloud — Prototype Styles
   ============================================ */

:root {
  /* Brand — matched to music.hip-hop.cloud green pill */
  --brand: #16a34a;
  --brand-600: #15803d;
  --brand-700: #166534;
  --brand-soft: #e8f7ee;

  /* Battle accents (Creative Zone Battle gradient) */
  --battle-1: #ff8a3d;
  --battle-2: #d35522;
  --battle-3: #6b1a0c;
  --battle-yellow: #ffc24c;

  /* Surfaces */
  --bg: #f5f6f7;
  --bg-tint: #eef0f2;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e7e9ec;
  --border-strong: #d8dbe0;

  /* Text */
  --text: #0f1115;
  --text-muted: #6b7280;
  --text-soft: #8a8f98;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.04), 0 1px 1px rgba(15, 17, 21, 0.03);
  --shadow-md: 0 4px 16px rgba(15, 17, 21, 0.06), 0 1px 2px rgba(15, 17, 21, 0.04);
  --shadow-lg: 0 20px 50px -20px rgba(15, 17, 21, 0.18);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-y: clamp(56px, 7vw, 96px);
}

/* ============================================
   Reset / base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }
.card-link { display: block; height: 100%; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--text-muted); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 18px -8px rgba(22,163,74,.55);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; border-color: var(--border-strong); }
.btn-ghost-dark {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.16); }
.btn-cz {
  background: #fff;
  color: var(--battle-3);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.4);
}

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.icon-btn:hover { background: var(--surface); border-color: var(--border); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 247, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(245, 246, 247, 0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}
.brand-text { white-space: nowrap; }
.brand-dot { color: var(--brand); }

.primary-nav { flex: 1; }
.primary-nav ul {
  display: flex; gap: 4px;
  justify-content: center;
}
.primary-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover { color: var(--text); background: rgba(15,17,21,.04); }
.primary-nav a.is-active {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.header-actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.menu-btn { display: none; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-nav ul { padding: 12px var(--gutter); }
.mobile-nav a {
  display: block;
  padding: 12px 8px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}
.mobile-nav a:hover { background: var(--bg); }
.mobile-cta { color: var(--brand) !important; font-weight: 700 !important; }

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(22,163,74,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.accent { color: var(--brand); }
.hero-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.meta-item span { font-size: 13px; color: var(--text-muted); }

.hero-feature {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-feature-link { display: block; color: inherit; }
.hero-feature-art { aspect-ratio: 16 / 11; overflow: hidden; }
.hero-feature-art svg { width: 100%; height: 100%; }
.hero-feature-body { padding: 22px 24px 26px; }
.hero-feature-body h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 10px 0 8px;
}
.byline { font-size: 13px; color: var(--text-muted); }

/* ============================================
   Sections
   ============================================ */
.section { padding: var(--section-y) 0; }
.section-tinted { background: var(--bg-tint); }
.section-nav { padding: 0 0 clamp(28px, 4vw, 44px); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--text-muted); margin-top: 6px; font-size: 15px; }
.link-more {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.link-more:hover { background: var(--surface-2); border-color: var(--border-strong); }
.link-more span { transition: transform .15s ease; }
.link-more:hover span { transform: translateX(2px); }

/* ============================================
   Tags
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  letter-spacing: 0.01em;
}
.tag-battle {
  background: linear-gradient(135deg, var(--battle-1), var(--battle-2));
  color: #fff;
  border-color: transparent;
}
.tag-analysis {
  background: var(--brand-soft);
  color: var(--brand-700);
  border-color: rgba(22,163,74,.15);
}
.tag-soft {
  max-width: 180px;
  color: var(--brand-700);
  background: rgba(22, 163, 74, .09);
  border-color: rgba(22, 163, 74, .16);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tags { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.dot-sep { color: var(--text-soft); }

/* ============================================
   Grids
   ============================================ */
.grid { display: grid; gap: 24px; }
.grid-news {
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.grid-news .featured { grid-row: span 2; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-releases { grid-template-columns: repeat(6, 1fr); gap: 18px; }
.grid-analysis {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.portal-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.portal-section-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.portal-section-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.portal-section-card span {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.portal-section-card small {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-body { padding: 20px 22px 24px; }
.card-body h3 {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.card-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.card-art { aspect-ratio: 16 / 9; background: var(--surface-2); position: relative; overflow: hidden; }
.card-art-image {
  background:
    linear-gradient(135deg, rgba(5, 7, 11, .92), rgba(15, 23, 42, .72)),
    var(--surface-2);
}
.card-art-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.card-link:hover .card-art-image img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}
.card-play-badge {
  position: absolute;
  inset: auto 14px 14px auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ef4444);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

/* News card art — abstract gradients */
.art-1 { background:
  radial-gradient(120% 80% at 80% 20%, rgba(22,163,74,.35), transparent 60%),
  linear-gradient(135deg, #0c3a26, #134e30 70%, #1a6a40);
}
.art-2 { background:
  radial-gradient(100% 80% at 20% 20%, rgba(255,138,61,.55), transparent 60%),
  linear-gradient(135deg, #2a1a14, #4a2418);
}
.art-3 { background:
  radial-gradient(120% 80% at 80% 80%, rgba(255,194,76,.45), transparent 60%),
  linear-gradient(135deg, #5a1a0c, #2a0a04);
}
.art-4 { background:
  radial-gradient(100% 80% at 30% 30%, rgba(120,180,255,.35), transparent 60%),
  linear-gradient(135deg, #1a1f2a, #2a3140);
}

.card-news.featured .card-art { aspect-ratio: 4 / 3; }
.card-news.featured .card-body h3 { font-size: clamp(18px, 1.7vw, 22px); }

/* news.hip-hop.cloud social feed */
.news-feed-page {
  background: #eef0f2;
  color: #101418;
}
.news-feed-container {
  max-width: 820px;
}
.news-feed-hero {
  padding: 48px 0 18px;
}
.news-feed-intro {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 42px);
  background:
    radial-gradient(circle at 88% 18%, rgba(22, 163, 74, .18), transparent 30%),
    linear-gradient(135deg, #ffffff, #f7faf8);
  box-shadow: 0 20px 55px -34px rgba(15, 23, 42, .42);
}
.news-feed-intro h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 7vw, 58px);
  line-height: .95;
  letter-spacing: -.055em;
}
.news-feed-intro p {
  max-width: 620px;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}
.news-feed-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 2px 6px;
  scrollbar-width: none;
}
.news-feed-pills::-webkit-scrollbar { display: none; }
.news-feed-pills a {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  padding: 9px 14px;
  color: #475569;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.news-feed-pills a:hover,
.news-feed-pills a.is-active {
  color: #0f172a;
  border-color: rgba(22, 163, 74, .34);
  background: #dcfce7;
}
.news-feed-section {
  padding: 10px 0 78px;
}
.news-feed-stream {
  display: grid;
  gap: 18px;
}
.news-feed-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 26px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 16px 45px -34px rgba(15, 23, 42, .52);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.news-feed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 163, 74, .32);
  background: #ffffff;
}
.news-feed-card.is-pinned {
  border-color: rgba(22, 163, 74, .55);
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, .08) inset,
    0 26px 70px -40px rgba(22, 163, 74, .65);
}
.news-feed-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-avatar {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #06110c;
  font-weight: 900;
  background: linear-gradient(135deg, #58e08f, var(--brand));
  box-shadow: 0 0 0 6px rgba(30, 184, 114, .09);
}
.news-author { min-width: 0; }
.news-author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-author-line strong {
  color: #0f172a;
  font-size: 14px;
}
.news-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
  margin-top: 2px;
}
.news-meta-line a { color: #16a34a; }
.news-pin-badge {
  border: 1px solid rgba(22,163,74,.28);
  border-radius: 999px;
  padding: 3px 8px;
  color: #15803d;
  background: #dcfce7;
  font-size: 11px;
  font-weight: 800;
}
.news-feed-title {
  display: block;
  color: #0f172a;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 900;
}
.news-feed-title:hover { color: #16a34a; }
.news-feed-excerpt {
  margin: 12px 0 0;
  color: #334155;
  line-height: 1.68;
}
.news-feed-media {
  display: block;
  margin-top: 16px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #f8fafc;
}
.news-feed-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.news-feed-media-abstract {
  position: relative;
  min-height: 240px;
  padding: 24px;
  color: #eafff1;
  background:
    radial-gradient(circle at 85% 18%, rgba(88,224,143,.42), transparent 28%),
    linear-gradient(135deg, #0d2b1f, #07110d 62%, #101d16);
}
.news-feed-media-abstract strong {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  max-width: 620px;
  font-size: clamp(24px, 5vw, 42px);
  line-height: .98;
  letter-spacing: -.055em;
}
.nf-line {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(88,224,143,.95) 0 18px, transparent 18px 28px);
  opacity: .35;
}
.nf-line-a { top: 34px; }
.nf-line-b { top: 58px; width: 68%; }
.nf-orb {
  position: absolute;
  width: 86px;
  height: 86px;
  right: 30px;
  top: 32px;
  border-radius: 50%;
  border: 18px solid rgba(88,224,143,.2);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.1);
}
.news-feed-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}
.news-feed-actions a {
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
}
.news-feed-actions a:hover { color: #15803d; }

.meta-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.meta-row .muted { font-size: 13px; }

/* ============================================
   Battle cards (Creative Zone Battle style covers)
   ============================================ */
.battle-cover {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(110% 80% at 75% 22%, var(--battle-1) 0%, var(--battle-2) 45%, var(--battle-3) 100%);
  position: relative;
  display: grid;
  place-items: center;
}
.battle-cover.variant-b {
  background:
    radial-gradient(110% 80% at 25% 80%, #ff9b55 0%, #b13a16 50%, #401208 100%);
}
.battle-cover.variant-c {
  background:
    radial-gradient(110% 80% at 50% 30%, #ffb066 0%, #c54b1d 55%, #4a160a 100%);
}
.battle-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 40% at 80% 15%, rgba(255,217,163,.35), transparent 70%);
  pointer-events: none;
}
.bc-overlay {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding: 0 22px;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: clamp(20px, 3.3vw, 30px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  gap: 4px;
}
.cz-yellow { color: var(--battle-yellow); }
.round-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.card-battle .battle-cover { aspect-ratio: 16 / 10; }
.card-battle .bc-overlay { font-size: clamp(22px, 2.6vw, 30px); }

/* ============================================
   Embedded video player
   ============================================ */
.section-video {
  background:
    radial-gradient(80% 70% at 15% 10%, rgba(22,163,74,.12), transparent 60%),
    linear-gradient(180deg, #11151b 0%, #0b0f14 100%);
  color: #fff;
}
.section-video .section-sub,
.section-video .muted {
  color: rgba(255,255,255,.66);
}
.section-video .link-more {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}
.video-player-card {
  padding: clamp(12px, 1.6vw, 18px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03)),
    #05070a;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px -30px rgba(0,0,0,.8);
}
.hh-video-embed {
  margin: 0;
}
.hh-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--r-xl) - 8px);
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(22,163,74,.22), transparent 65%),
    #05070a;
}
.hh-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hh-video-embed figcaption {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  margin-top: 10px;
  padding-inline: 4px;
}
.video-side {
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-side h3 {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.video-side p {
  color: rgba(255,255,255,.72);
}
.video-checklist {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.video-checklist li {
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.video-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(22,163,74,.18);
}
.video-shortcode {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.58);
  font-size: 13px;
}
.video-shortcode code {
  display: block;
  white-space: normal;
  word-break: break-word;
  color: #d7ffe7;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.video-shortcode a {
  display: inline-flex;
  width: max-content;
  color: #d7ffe7;
  font-weight: 800;
  text-decoration: none;
}
.video-shortcode a:hover { color: #fff; }

/* ============================================
   Featured battle card (large CZB block)
   ============================================ */
.featured-battle { padding: clamp(20px, 3vw, 36px) 0 var(--section-y); }
.battle-gateway {
  background:
    radial-gradient(80% 70% at 12% 8%, rgba(22, 163, 74, .13), transparent 60%),
    linear-gradient(180deg, rgba(247, 252, 249, .65) 0%, rgba(255, 255, 255, 0) 100%);
}
.battle-gateway-head {
  max-width: 760px;
  margin: 0 0 clamp(22px, 3vw, 34px);
}
.battle-gateway-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.055em;
}
.battle-gateway-head p {
  color: var(--text-muted);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.65;
}
.battle-gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}
.battle-gateway-card {
  display: grid;
  grid-template-rows: minmax(240px, .9fr) auto;
  min-height: 620px;
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #101915, #07110c);
  box-shadow: 0 26px 70px -32px rgba(9, 35, 20, .7);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.battle-gateway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 86px -34px rgba(9, 35, 20, .85);
  border-color: rgba(118, 255, 145, .22);
}
.battle-gateway-art {
  position: relative;
  min-height: 260px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  isolation: isolate;
}
.battle-gateway-audio .battle-gateway-art {
  background:
    radial-gradient(80% 80% at 72% 18%, rgba(192, 255, 205, .34), transparent 56%),
    radial-gradient(70% 90% at 8% 84%, rgba(118, 255, 145, .28), transparent 62%),
    linear-gradient(135deg, #0a3a23 0%, #116234 58%, #052314 100%);
}
.battle-gateway-video .battle-gateway-art {
  background:
    radial-gradient(80% 80% at 78% 12%, rgba(255, 255, 255, .24), transparent 56%),
    radial-gradient(65% 75% at 16% 80%, rgba(118, 255, 145, .22), transparent 60%),
    linear-gradient(135deg, #10161d 0%, #173323 54%, #05090d 100%);
}
.battle-gateway-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .24) 72%, rgba(0, 0, 0, .42) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .18), transparent 42%);
  z-index: -1;
}
.battle-gateway-title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 74px);
  line-height: .86;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}
.battle-gateway-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  transform: rotate(-18deg);
}
.battle-gateway-orbit.orbit-a {
  width: 310px;
  height: 128px;
  right: -58px;
  top: 44px;
}
.battle-gateway-orbit.orbit-b {
  width: 210px;
  height: 88px;
  right: 28px;
  top: 94px;
  opacity: .75;
}
.battle-gateway-play {
  position: absolute;
  top: clamp(22px, 3vw, 34px);
  right: clamp(22px, 3vw, 34px);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(118, 255, 145, .16);
  color: #d9ffe1;
  border: 1px solid rgba(217, 255, 225, .22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
  backdrop-filter: blur(10px);
}
.battle-gateway-body {
  padding: clamp(24px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  background:
    radial-gradient(85% 90% at 100% 0%, rgba(118, 255, 145, .10), transparent 55%),
    linear-gradient(135deg, #101915 0%, #07110c 100%);
}
.battle-gateway-body h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}
.battle-gateway-body p {
  color: rgba(255,255,255,.74);
  font-size: 15px;
  line-height: 1.65;
}
.battle-gateway-card .cz-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.battle-gateway-card .cz-stats li {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .09);
}
.battle-gateway-card .cz-stats strong {
  font-size: clamp(17px, 1.5vw, 22px);
  color: #b9ffc7;
}
.cz-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #1a0a06, #2a0e07);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(86,30,12,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cz-card:hover { transform: translateY(-3px); box-shadow: 0 32px 72px -28px rgba(86,30,12,.6); }
.cz-art {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}
.cz-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cz-art-title {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: #fff;
  padding: 0 36px;
  text-transform: uppercase;
}
.cz-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.cz-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.live-pill .live-dot { background: var(--battle-yellow); box-shadow: 0 0 0 0 rgba(255,194,76,.6); }
.cz-body h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.cz-body p { color: rgba(255,255,255,.78); font-size: 15px; max-width: 50ch; }
.cz-stats {
  display: flex; gap: clamp(20px, 3vw, 36px);
  padding-top: 4px;
}
.cz-stats li { display: flex; flex-direction: column; gap: 2px; }
.cz-stats strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--battle-yellow);
}
.cz-stats span { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.05em; }
.cz-cta { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.cz-host { font-size: 13px; color: rgba(255,255,255,.55); font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* ============================================
   Releases
   ============================================ */
.release { display: flex; flex-direction: column; gap: 10px; }
.release-cover {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.release:hover .release-cover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cov-1 { background: linear-gradient(135deg, #0c3a26, #16a34a); }
.cov-2 { background: linear-gradient(135deg, #1f1f24, #3a3a44); }
.cov-3 { background: linear-gradient(135deg, #4a1a0a, #ff8a3d); }
.cov-4 { background: linear-gradient(135deg, #1a2435, #4a6485); }
.cov-5 { background: linear-gradient(135deg, #3a1a3a, #8a3a8a); }
.cov-6 { background: linear-gradient(135deg, #34280a, #b58a2a); }
.play-fab {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.release:hover .play-fab { opacity: 1; transform: translateY(0); }
.release:hover .play-fab, .play-fab:hover { background: var(--brand-600); }
.release-meta h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.release-meta .muted { font-size: 13px; }

/* ============================================
   Analysis grid
   ============================================ */
.card-analysis.large .card-art { aspect-ratio: 16 / 10; }
.card-analysis.large .card-body h3 { font-size: clamp(20px, 1.8vw, 24px); }
.art-an-1 { background:
  radial-gradient(120% 80% at 25% 30%, rgba(22,163,74,.55), transparent 60%),
  linear-gradient(135deg, #0a2419, #134e30);
}
.art-an-2 { background:
  radial-gradient(100% 80% at 70% 30%, rgba(255,255,255,.18), transparent 60%),
  linear-gradient(135deg, #0f1115, #2a2f3a);
}
.art-an-3 { background:
  radial-gradient(100% 80% at 30% 70%, rgba(255,194,76,.35), transparent 60%),
  linear-gradient(135deg, #2a1a08, #5a3a0c);
}

/* ============================================
   Panels (interviews/history/guides/archive)
   ============================================ */
.panel {
  padding: 28px 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.panel:hover { transform: none; box-shadow: var(--shadow-sm); }
.panel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-700);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.panel h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.panel p { color: var(--text-muted); font-size: 14px; max-width: 50ch; }
.panel .link-more { align-self: flex-start; margin-top: 6px; }
.editorial-strip .panel {
  min-height: 220px;
}
.editorial-strip .panel .link-more {
  margin-top: auto;
}

/* ============================================
   CTA
   ============================================ */
.cta { padding: var(--section-y) 0; }
.cta-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(22,163,74,.16), transparent 60%),
    linear-gradient(135deg, #0d0f12, #181c22);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-art {
  width: clamp(120px, 14vw, 170px);
  aspect-ratio: 1;
  flex-shrink: 0;
}
.cta-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cta-copy p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 60ch; margin-bottom: 20px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.portal-bridge::after {
  content: "hip-hop.cloud";
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(14px, 3vw, 28px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 9vw, 110px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0 24px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 36ch; }
.site-footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: var(--text);
  font-size: 14px;
  transition: color .15s ease;
}
.footer-list a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.archive-page,
.single-page {
  min-height: 70vh;
}
.archive-hero,
.article-header {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.archive-hero h1,
.article-header h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.archive-hero p {
  color: var(--text-muted);
  font-size: clamp(15px, 1.5vw, 18px);
}
.video-filter-panel {
  margin: 0 0 clamp(28px, 4vw, 42px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(22, 163, 74, .16);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(22, 163, 74, .10), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .92));
  box-shadow: var(--shadow-sm);
}
.video-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.filter-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.video-filter-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.filter-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.filter-count span {
  color: var(--text-muted);
  font-weight: 700;
}
.video-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 1fr) minmax(170px, .7fr) auto;
  gap: 12px;
  align-items: end;
}
.video-filter-form label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.video-filter-form input,
.video-filter-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}
.video-filter-form input:focus,
.video-filter-form select:focus {
  border-color: rgba(22, 163, 74, .5);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}
.filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-actions .btn {
  min-height: 46px;
  white-space: nowrap;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.filter-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.filter-chips a:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 163, 74, .35);
  background: #fff;
}
.filter-chips a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), #ef4444);
}
.filter-chips span,
.filter-chips em {
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.filter-chips a.active span,
.filter-chips a.active em {
  color: rgba(255, 255, 255, .82);
}
.archive-grid {
  align-items: stretch;
}
.archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 5vw, 52px);
}
.archive-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.archive-pagination a,
.archive-pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .82);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.archive-pagination .current,
.archive-pagination a:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ef4444);
}
.article-container {
  max-width: 860px;
  padding-top: clamp(44px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 100px);
}
.article-back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.article-back {
  display: inline-flex;
}
.article-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow-sm);
}
.article-content p,
.article-content li {
  color: #252a32;
  font-size: 18px;
  line-height: 1.75;
}
.article-content p + p {
  margin-top: 18px;
}
.article-content a {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-content .hh-video-embed {
  margin: 28px 0;
}
.article-content .hh-video-frame {
  border-radius: var(--r-lg);
}
.article-content .hh-video-embed figcaption {
  color: var(--text-muted);
}
.video-context-panel {
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(22, 163, 74, .16);
  border-radius: var(--r-xl);
  background:
    radial-gradient(95% 120% at 0% 0%, rgba(22, 163, 74, .10), transparent 58%),
    linear-gradient(135deg, rgba(248, 250, 252, .98), rgba(255, 255, 255, .95));
  box-shadow: var(--shadow-sm);
}
.video-context-head {
  margin-bottom: 18px;
}
.video-context-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.video-context-head p {
  max-width: 680px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.video-context-content h2 {
  margin: 24px 0 10px;
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: -.02em;
}
.video-context-content h2:first-child {
  margin-top: 0;
}
.article-content .video-context-content p,
.article-content .video-context-content li {
  font-size: 16px;
  line-height: 1.7;
}
.video-context-content .wiki-meta-table {
  margin-bottom: 18px;
}
.video-context-content .wiki-list {
  margin-top: 12px;
}

/* ============================================
   Wiki / Encyclopedia
   ============================================ */
.wiki-hub {
  display: grid;
  gap: 22px;
}
.wiki-hero-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(22,163,74,.18), transparent 32%),
    linear-gradient(135deg, #111827 0%, #1f2937 54%, #0f1115 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(26px, 5vw, 48px);
  overflow: hidden;
  position: relative;
}
.wiki-hero-card::after {
  content: "WIKI";
  position: absolute;
  right: clamp(18px, 5vw, 50px);
  bottom: -18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -.08em;
  color: rgba(255,255,255,.06);
  pointer-events: none;
}
.wiki-hero-card h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 10ch;
  margin-bottom: 16px;
}
.wiki-hero-card p {
  max-width: 62ch;
  color: rgba(255,255,255,.78);
}
.wiki-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.wiki-section-grid,
.wiki-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wiki-section-card,
.wiki-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.wiki-section-card:hover,
.wiki-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.wiki-section-card h3,
.wiki-card h2 {
  font-size: 22px;
  margin: 12px 0 10px;
}
.wiki-section-card p,
.wiki-card p,
.wiki-content .wiki-note {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.wiki-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.wiki-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.article-content .wiki-list li,
.wiki-list li {
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 15px;
  line-height: 1.45;
}
.wiki-meta-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.wiki-meta-table div {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px;
}
.wiki-meta-table dt {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.wiki-meta-table dd {
  margin: 0;
  font-weight: 700;
}
.wiki-source {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.wiki-related-videos {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.wiki-related-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 12px 0 8px;
}
.wiki-related-head p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 62ch;
}
.wiki-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.wiki-video-card a {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-lg);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,17,21,.74), rgba(15,17,21,.9)),
    radial-gradient(circle at 20% 20%, rgba(22,163,74,.45), transparent 34%),
    #111827;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.wiki-video-card a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.wiki-video-card h3 {
  font-size: 17px;
  line-height: 1.25;
  color: #fff;
}
.wiki-video-card p {
  color: rgba(255,255,255,.68);
  font-size: 13px;
}
.wiki-video-play {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
}

/* ============================================
   Responsive — tablet
   ============================================ */
@media (max-width: 1080px) {
  .primary-nav ul { gap: 0; }
  .primary-nav a { padding: 8px 10px; font-size: 13px; }
  .grid-news { grid-template-columns: 1fr 1fr; }
  .grid-news .featured { grid-row: span 1; grid-column: span 2; }
  .grid-analysis { grid-template-columns: 1fr 1fr; }
  .card-analysis.large { grid-column: span 2; }
  .grid-releases { grid-template-columns: repeat(4, 1fr); }
  .portal-sections { grid-template-columns: repeat(2, 1fr); }
  .video-layout { grid-template-columns: 1fr; }
  .wiki-section-grid,
  .wiki-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-inner { height: 64px; }
  .primary-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav.is-open { display: block; }
  .header-actions .btn-primary span { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { flex-wrap: wrap; gap: 20px 32px; }

  .cz-card { grid-template-columns: 1fr; }
  .cz-art { min-height: 220px; }
  .cz-art-title { padding: 24px 28px; }
  .battle-gateway-grid { grid-template-columns: 1fr; }
  .battle-gateway-card { min-height: 0; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-releases { grid-template-columns: repeat(3, 1fr); }

  .cta-card { grid-template-columns: 1fr; text-align: left; }
  .cta-art { width: 96px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wiki-section-grid,
  .wiki-grid,
  .wiki-video-grid,
  .wiki-meta-table { grid-template-columns: 1fr; }
  .video-filter-head { flex-direction: column; align-items: flex-start; }
  .video-filter-form { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: 1 / -1; }
}

/* ============================================
   Responsive — mobile
   ============================================ */
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 12px; }
  .brand-text { display: none; }
  .header-actions .btn-primary { padding: 10px 14px; }

  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta { padding-top: 20px; gap: 16px 24px; }
  .meta-item strong { font-size: 18px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head h2 { font-size: 1.6rem; }

  .grid-news { grid-template-columns: 1fr; }
  .grid-news .featured { grid-column: span 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-releases { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-analysis { grid-template-columns: 1fr; }
  .card-analysis.large { grid-column: span 1; }
  .portal-sections { grid-template-columns: 1fr; }
  .video-filter-panel { padding: 16px; border-radius: 22px; }
  .video-filter-form { grid-template-columns: 1fr; }
  .filter-actions { flex-direction: column; align-items: stretch; }
  .filter-actions .btn { width: 100%; justify-content: center; }
  .filter-count { flex-wrap: wrap; border-radius: 18px; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-chips a { flex: 0 0 auto; }
  .tags { flex-wrap: wrap; }
  .tag-soft { max-width: 100%; }

  .cz-stats { gap: 18px; flex-wrap: wrap; }
  .cz-stats strong { font-size: 22px; }
  .battle-gateway-head h2 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .battle-gateway-art { min-height: 210px; padding: 24px; }
  .battle-gateway-title { font-size: clamp(38px, 15vw, 58px); }
  .battle-gateway-card .cz-stats { grid-template-columns: 1fr; }
  .battle-gateway-play { width: 58px; height: 58px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .release-cover { border-radius: 12px; }
  .play-fab { opacity: 1; transform: translateY(0); width: 38px; height: 38px; }
}

/* ============================================
   Focus & accessibility
   ============================================ */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
