:root {
  --bg: #0f0f0f;
  --bg-soft: #1a1a1a;
  --bg-card: #181818;
  --panel: rgba(24,24,24,0.95);
  --panel-strong: rgba(15,15,15,0.98);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(230,57,70,0.5);
  --text: #f0f0f0;
  --muted: #999;
  --accent: #e63946;
  --accent-hover: #ff4d5e;
  --accent-2: #ff6b35;
  --accent-3: #f72585;
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.7);
  --shadow-soft: 0 4px 16px rgba(0,0,0,0.5);
  --radius-lg: 10px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --display-font: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --ui-font: Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
}

.pageMain { padding: 16px 0 60px; }

/* ── HEADER ──────────────────────────────── */
.siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #111;
  border-bottom: 2px solid var(--accent);
}

.siteHeaderTop {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brandLockup { min-width: 0; line-height: 1; }

.brandName {
  display: inline-block;
  font: 900 1.8rem/1 var(--display-font);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brandName span.brand-videox { color: var(--accent); }
.brandName span.brand-atlas { color: #fff; }

.brandTagline { display: none; }

.siteUtilities {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.siteNavShell {
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.siteNav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  overflow-x: auto;
}

.siteNavLink {
  padding: 9px 14px;
  color: #ccc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.siteNavLink:hover,
.siteNavLink.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* ── SEARCH ──────────────────────────────── */
.nvSearchWrap {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.nvSearchInput {
  width: 100%;
  padding: 8px 80px 8px 14px;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}

.nvSearchInput:focus { border-color: var(--accent); }
.nvSearchInput::placeholder { color: #666; }

.nvSearchBtn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 0 16px;
  background: var(--accent);
  border: none;
  border-radius: 0 4px 4px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.15s;
}

.nvSearchBtn:hover { background: var(--accent-hover); }

.nvSearchResults {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  max-height: 360px;
  overflow-y: auto;
}

/* ── CTA BUTTONS ──────────────────────────── */
.siteCTA,
.actionButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 4px;
  padding: 9px 18px;
  font: 700 13px/1 var(--ui-font);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.1s;
  background: var(--accent);
  color: #fff;
}

.siteCTA:hover,
.actionButton:hover { background: var(--accent-hover); transform: translateY(-1px); }

.actionButton.secondary,
.actionButton.ghost {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #ccc;
}

.actionButton.secondary:hover,
.actionButton.ghost:hover {
  background: #333;
  color: #fff;
}

/* ── VIDEO GRID ──────────────────────────── */
.videoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.videoCard {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.videoCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,57,70,0.2);
}

.videoThumbLink {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #222;
}

.videoThumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.videoCard:hover .videoThumb { transform: scale(1.04); }

.videoDuration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.videoCardBody {
  padding: 8px 10px 10px;
}

.videoMetaRow {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.metaPill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff;
}

.metaPill.subtle {
  background: #2a2a2a;
  color: #aaa;
}

.videoCard h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.videoCard h3 a:hover { color: var(--accent); }

.videoCard p {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.videoFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #666;
}

.videoFooter a { color: var(--accent); font-weight: 700; }
.videoFooter a:hover { color: var(--accent-hover); }

/* ── SECTION PANELS ──────────────────────── */
.sectionPanel {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.sectionHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.sectionHeader h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sectionEyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 4px;
}

.inlineLink {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s;
}

.inlineLink:hover { color: var(--accent-hover); }

/* ── HERO ────────────────────────────────── */
.homeHero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.heroCopy h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
}

.sectionLead {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 13px;
}

.actionRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.heroStats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.statCard {
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.statCard strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.statCard span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.heroVisual { display: none; }

/* ── HERO VIDEO/WATCH ────────────────────── */
.watchHero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.watchHeroCopy h1 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.heroFrame {
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.heroFrame img { width: 100%; height: 100%; object-fit: cover; }

/* ── FEATURE GRID (CATEGORIES) ───────────── */
.featureGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.featureCard {
  padding: 14px 16px !important;
  border: 1px solid #252525 !important;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.featureCard:hover {
  border-color: var(--accent) !important;
  transform: translateY(-1px);
}

.featureCard h2 {
  margin: 4px 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.featureCard p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── WATCH LAYOUT (SIDEBAR) ──────────────── */
.watchLayout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  align-items: start;
}

.railPanel { padding: 14px !important; }

.railHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.railHeader h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.railCopy {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

.railClear {
  background: none;
  border: 1px solid #333;
  color: #888;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.railClear:hover { border-color: var(--accent); color: var(--accent); }

/* ── FILTER PILLS ────────────────────────── */
.filterPill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  background: #222;
  border: 1px solid #333;
  color: #ccc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.filterPill:hover,
.filterPill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── AD SLOTS ────────────────────────────── */
.adSlot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1a1a1a;
  border: 1px dashed #2a2a2a;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 16px 0;
  color: #555;
  font-size: 12px;
  text-align: center;
}

.adEyebrow {
  background: #2a2a2a;
  border-radius: 3px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
}

/* ── PAGINATION ──────────────────────────── */
.pagerWrap {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 24px 0 0;
  flex-wrap: wrap;
}

.pagerLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #ccc;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pagerLink:hover,
.pagerLink[aria-current] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── WATCH PAGE META ─────────────────────── */
.watchMeta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0;
}

.watchMetaStat {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 4px;
  align-items: center;
}

.watchMetaStat strong { color: var(--text); }

.tagCloud {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}

/* ── FOOTER ──────────────────────────────── */
.siteFooter {
  background: #111;
  border-top: 1px solid #222;
  padding: 30px 0;
  margin-top: 40px;
}

.footerGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.footerGrid a {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
  transition: color 0.15s;
}

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

.footerGrid h2 {
  margin: 4px 0 8px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.footerGrid p {
  font-size: 12px;
  color: #666;
  margin: 0 0 6px;
}

.footerEyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 8px !important;
}

/* ── LANG SELECTOR ───────────────────────── */
.nvLangWrap { position: relative; }

.nvLangBtn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ccc;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s;
}

.nvLangBtn:hover { border-color: var(--accent); }

.nvLangDropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 4px;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}

.nvLangDropdown.open { display: block; }

/* ── AGE GATE ────────────────────────────── */
.ageGateOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ageGateBox {
  background: #1a1a1a;
  border: 2px solid var(--accent);
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  padding: 36px;
  text-align: center;
}

.ageGateBox h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.ageGateBox p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.ageGateBtns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.ageGateBtns .yes {
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font: 700 14px/1 var(--ui-font);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.15s;
}

.ageGateBtns .yes:hover { background: var(--accent-hover); }

.ageGateBtns .no {
  background: #2a2a2a;
  color: #999;
  padding: 12px 32px;
  border: 1px solid #333;
  border-radius: 4px;
  font: 700 14px/1 var(--ui-font);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ── LISTING PAGE ────────────────────────── */
.listingLead {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.pillRow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* ── COMMUNITY ───────────────────────────── */
.communityLayout { margin-top: 0; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .homeHero,
  .watchHero,
  .watchLayout,
  .footerGrid { grid-template-columns: 1fr; }

  .heroVisual { display: none; }

  .videoGrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 600px) {
  .siteHeaderTop { flex-wrap: wrap; }
  .brandName { font-size: 1.4rem; }
  .videoGrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .featureGrid { grid-template-columns: repeat(2, 1fr); }
}
