/* ============================================================
   STATIC NETWORK — Design System
   Mobile-first. Vanilla CSS. No framework.
   Accent color injected per site via --accent custom property.
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0d0d0d;
  --surface:      #181818;
  --card:         #1e1e1e;
  --card-hover:   #252525;
  --border:       #2a2a2a;
  --text:         #ffffff;
  --text-muted:   #888888;
  --text-dim:     #555555;
  --accent:       #c0392b;  /* overridden inline per site */
  --accent-dim:   color-mix(in srgb, var(--accent) 20%, transparent);
  --radius:       8px;
  --radius-lg:    14px;
  --radius-pill:  100px;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --nav-h:        56px;
  --bottom-nav-h: 60px;
  --max-w:        1200px;
  --transition:   0.18s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-h) + 8px);
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* --- Age Gate --------------------------------------------- */
#age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#age-gate.active { display: flex; }

.age-gate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-gate-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.age-gate-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.age-gate-text {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.age-gate-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-yes {
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}
.btn-yes:hover { opacity: 0.85; }

.btn-no {
  background: var(--card);
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: background var(--transition);
}
.btn-no:hover { background: var(--card-hover); }

.age-gate-legal {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}

.age-gate-legal a { color: var(--text-muted); text-decoration: underline; }

/* --- Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}

.site-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Unified top nav: search icon always visible, other pills desktop-only.
   Mobile users reach Home/Videos/Creators/Sites via the bottom-nav dock. */
.header-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
  align-items: center;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav .nav-pill:not(.nav-search) { display: none; }

@media (min-width: 768px) {
  .header-nav { flex: 1; margin-left: 0; gap: 6px; }
  .header-nav .nav-pill:not(.nav-search) { display: inline-flex; align-items: center; }
  .header-nav .nav-search { margin-left: auto; }
  .site-header { padding: 0 24px; }
}

.nav-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  border: 1px solid transparent;
}
.nav-pill:hover { background: var(--card); color: var(--text); }
.nav-pill.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.header-cta {
  margin-left: auto;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.header-cta:hover { opacity: 0.85; }

/* --- Filter Bar (sticky, all screens) ---------------------
   Category filter, always visible directly below the header.
   Horizontally scrollable when it overflows. */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .filter-bar {
    padding: 12px 24px;
    justify-content: center;
    max-width: var(--max-w);
    margin: 0 auto;
    position: sticky;
    /* Center pills but let them scroll on narrow desktops */
  }
  .filter-bar > * { flex-shrink: 0; }
}

.filter-pill {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--card);
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.filter-pill.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

/* --- Main Layout ------------------------------------------ */
.main-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 12px 32px;
}

@media (min-width: 768px) {
  .main-wrap { padding: 28px 24px 48px; }
}

/* --- Section Header --------------------------------------- */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.section-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Hero Card -------------------------------------------- */
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  cursor: pointer;
  background: var(--card);
  aspect-ratio: 16/9;
}

.hero-card .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-card:hover .thumb-img { transform: scale(1.03); }

.hero-card .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
}

.hero-card .play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.hero-card:hover .play-circle {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.hero-card .hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 18px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero-duration {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* --- Video Grid ------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 520px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (min-width: 900px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 1100px) {
  .video-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Video Card ------------------------------------------- */
.video-card {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.5); }

.thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.video-card:hover .thumb-img { transform: scale(1.05); }

.thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0,0,0,0.35);
  transition: opacity var(--transition);
}
.video-card:hover .thumb-play { opacity: 1; }

.thumb-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.thumb-duration {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.video-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 12px 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Video hidden state (filtering) ----------------------- */
.video-card[hidden] { display: none !important; }

/* --- Lightbox --------------------------------------------- */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.97);
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#lightbox.active { display: flex; }

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.lightbox-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100vw - 80px);
}

.lightbox-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--card-hover); }

.lightbox-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  flex-shrink: 0;
}

.lightbox-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .lightbox-player { max-width: 900px; margin: 0 auto; width: 100%; }
  .lightbox-bar { max-width: 900px; margin: 0 auto; width: 100%; border-bottom: none; padding: 16px 0; }
  #lightbox { align-items: center; padding: 20px; }
  .lightbox-player { aspect-ratio: 16/9; }
}

/* --- Featured Creators ------------------------------------ */
.creators-section {
  margin-bottom: 40px;
}

.creators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .creators-grid { grid-template-columns: repeat(2, 1fr); }
}

.creator-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
}
.creator-card:hover { border-color: var(--accent); background: var(--card-hover); }

.creator-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}

.creator-body { flex: 1; min-width: 0; }

.creator-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.creator-name {
  font-size: 15px;
  font-weight: 700;
}

.creator-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.creator-badge.featured {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.creator-badge.site {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.creator-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.creator-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-btn {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  transition: opacity var(--transition);
}
.platform-btn.primary {
  background: var(--accent);
  color: #fff;
}
.platform-btn.secondary {
  background: var(--card-hover);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.platform-btn:hover { opacity: 0.8; }

/* --- FAQ -------------------------------------------------- */
.faq-section { margin-bottom: 40px; }

.faq-list { display: flex; flex-direction: column; gap: 6px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:focus-within { border-color: var(--accent); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-dim);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 16px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 12px;
}

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

.footer-credit {
  color: var(--text-dim);
}
.footer-credit a { color: var(--text-muted); }
.footer-credit a:hover { color: var(--accent); }

/* --- Bottom Nav (mobile only) ----------------------------- */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--bottom-nav-h);
  background: rgba(18,18,18,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .bottom-nav { display: none; }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  transition: color var(--transition);
  padding: 6px 4px;
}
.bottom-nav-item:hover,
.bottom-nav-item.active { color: var(--accent); }

.bottom-nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Divider ---------------------------------------------- */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* --- Utility ---------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   V2 ADDITIONS: breadcrumbs, video detail, category, creator,
   search, tag pills, related grid, quick search bar
   ============================================================ */

/* --- Breadcrumbs ------------------------------------------ */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 0 16px;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.breadcrumbs::-webkit-scrollbar { display: none; }
.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}
.breadcrumb-sep {
  color: var(--text-dim);
  margin: 0 6px;
}

/* --- Page intro (homepage/index paragraphs) --------------- */
.page-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.category-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.75;
  max-width: 780px;
}
.category-intro p { margin: 0 0 14px 0; }
.category-intro p:last-child { margin-bottom: 0; }
.category-intro a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.category-intro a:hover { opacity: 0.8; }
.category-intro strong { color: var(--text); }

/* --- Quick-search bar (homepage link) --------------------- */
.search-quick {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px 0 24px;
  transition: background var(--transition), border-color var(--transition);
}
.search-quick:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--text);
}
.search-quick svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* --- Nav search icon pill --------------------------------- */
.nav-pill.nav-search {
  padding: 8px 10px;
}

/* --- Search page ------------------------------------------ */
.search-wrap {
  position: relative;
  margin-bottom: 20px;
}
.search-input {
  width: 100%;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 14px 44px 14px 48px;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--accent); }
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}
.search-clear:hover { color: var(--text); background: var(--card-hover); }
.search-status {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- Video detail page ------------------------------------ */
.video-player-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.video-player-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-player-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-meta {
  margin-bottom: 24px;
}
.video-detail-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .video-detail-title { font-size: 26px; }
}
.video-meta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tag-pill {
  background: var(--card);
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.tag-pill:hover {
  background: var(--card-hover);
  border-color: var(--accent);
}
.video-detail-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Creator inline block on video pages ------------------ */
.creator-inline {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 24px;
}
.creator-inline-avatar {
  flex-shrink: 0;
}
.creator-inline-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card-hover);
}
.creator-inline-body { flex: 1; min-width: 0; }
.creator-inline-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  transition: color var(--transition);
}
.creator-inline-name:hover { color: var(--accent); }
.creator-inline-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-inline-platforms {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* --- Creator profile page --------------------------------- */
.creator-hero {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}
.creator-hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  border: 2px solid var(--accent);
}
@media (min-width: 768px) {
  .creator-hero-avatar { width: 120px; height: 120px; }
}
.creator-hero-body { flex: 1; min-width: 220px; }
.creator-hero-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .creator-hero-name { font-size: 32px; }
}
.creator-hero-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.creator-hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.platform-btn.large {
  padding: 10px 18px;
  font-size: 14px;
}
.creator-bio {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 12px 0 20px;
}
.creator-bio p { color: var(--text); }

.creator-avatar-link,
.creator-name-link {
  display: inline-block;
  color: inherit;
  transition: color var(--transition);
}
.creator-name-link:hover { color: var(--accent); }

/* --- Category-section on /videos/ ------------------------- */
.cat-section {
  margin-bottom: 32px;
}
.cat-section-intro {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.section-title a {
  color: var(--text);
  transition: color var(--transition);
}
.section-title a:hover { color: var(--accent); }
.see-all-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  transition: opacity var(--transition);
}
.see-all-link:hover { opacity: 0.75; }

/* --- Anchor cards (all .video-card is now an <a>) --------- */
a.video-card { display: block; text-decoration: none; color: inherit; }
a.hero-card  { display: block; text-decoration: none; color: inherit; }

/* --- 404 page --------------------------------------------- */
.notfound-wrap {
  max-width: 640px;
  margin: 40px auto 60px;
  text-align: center;
  padding: 0 16px;
}
.notfound-badge {
  font-size: 80px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 8px;
}
.notfound-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.notfound-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}
.notfound-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.notfound-suggest-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.notfound-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.notfound-cat-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.notfound-cat-pill:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

/* --- AEO Quick Answer block ------------------------------- */
.quick-answer {
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0 30px;
}
.quick-answer-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.quick-answer-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
.last-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* --- Pillar/article pages --------------------------------- */
.pillar-article { max-width: 780px; margin: 0 auto; }
.pillar-title { font-size: 32px; font-weight: 900; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 6px; }
.pillar-body { font-size: 16px; line-height: 1.7; color: var(--text); }
.pillar-body h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.pillar-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.pillar-body p { margin: 0 0 16px; }
.pillar-body ul, .pillar-body ol { margin: 0 0 18px 22px; }
.pillar-body li { margin-bottom: 6px; line-height: 1.6; }
.pillar-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pillar-body a:hover { opacity: 0.8; }
.pillar-body strong { color: var(--text); font-weight: 700; }
.pillar-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  color: var(--text-muted);
  font-style: italic;
  margin: 20px 0;
}

/* --- Page intro (used on creators + other index pages) ---- */
.page-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* --- SEO block on category pages (below-the-fold) --------- */
.seo-block {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 780px;
  color: var(--text-muted);
}
.seo-block .section-header { margin-bottom: 14px; }
.seo-block .quick-answer { margin: 14px 0 20px; }
.seo-block .category-intro { font-size: 14px; }
.seo-block .last-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  margin-left: auto;
  align-self: center;
}
.seo-block .faq-list { margin-top: 8px; }
