/* ============================================================
   U-PORNO.com — "Noir Luxury" Premium Tube
   Gold/Amber on Deep Black — Refined, Cinematic, Premium
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds — true blacks, no blue cast */
  --bg-void: #050505;
  --bg-surface: #0c0c0c;
  --bg-card: #131313;
  --bg-card-hover: #1a1a1a;
  --bg-input: #0a0a0a;
  --bg-header: rgba(5, 5, 5, 0.92);
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --bg-bottom-nav: rgba(5, 5, 5, 0.96);

  /* Gold palette — warm, not garish */
  --gold: #c9a227;
  --gold-light: #e0b942;
  --gold-dim: rgba(201, 162, 39, 0.12);
  --gold-glow: rgba(201, 162, 39, 0.25);
  --gold-muted: #8a7020;
  --amber: #b8860b;
  --champagne: #f5e6c8;

  /* Text */
  --text-primary: #e8e4dc;
  --text-secondary: #908a7e;
  --text-muted: #5a5650;
  --text-accent: var(--gold);

  /* Borders */
  --border-color: #1f1e1c;
  --border-gold: rgba(201, 162, 39, 0.2);
  --border-gold-hover: rgba(201, 162, 39, 0.45);

  /* Semantic */
  --success: #4caf50;
  --warning: var(--gold);
  --danger: #c62828;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --fs-xs: 0.7rem;
  --fs-sm: 0.78rem;
  --fs-base: 0.88rem;
  --fs-md: 1rem;
  --fs-lg: 1.12rem;
  --fs-xl: 1.35rem;
  --fs-2xl: 1.7rem;
  --fs-3xl: 2.2rem;
  --fs-4xl: 2.8rem;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;

  /* Radii */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px var(--gold-glow);
  --shadow-header: 0 1px 0 var(--border-color);

  /* Transitions */
  --tr-fast: 120ms ease;
  --tr-base: 200ms ease;
  --tr-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --content-max: 1420px;
  --header-height: 54px;
  --catbar-height: 40px;
  --bottom-nav-height: 56px;
  --grid-gap: 8px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-void);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Utilities ---------- */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--sp-lg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Subtle gold line accent — used as decorative separator */
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
  border: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--tr-base);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 0 var(--sp-lg);
}

/* Hamburger */
.drawer-toggle {
  display: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-secondary);
  transition: color var(--tr-fast);
}
.drawer-toggle:hover { color: var(--gold); }
@media (max-width: 767px) {
  .drawer-toggle { display: flex; }
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.logo-text span {
  color: var(--gold);
}
.logo-icon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  fill: var(--gold);
}

/* Search */
.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0 4px 0 16px;
  transition: border-color var(--tr-fast);
}
.header-search:focus-within {
  border-color: var(--gold-muted);
}
.header-search input {
  flex: 1;
  padding: 8px 0;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--fs-sm);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #050505;
  cursor: pointer;
  transition: background var(--tr-fast);
  flex-shrink: 0;
}
.header-search button:hover { background: var(--gold-light); }

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.header-nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  padding: 4px 0;
  position: relative;
  transition: color var(--tr-fast);
}
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--tr-base);
}
.header-nav a:hover { color: var(--text-primary); }
.header-nav a:hover::after { width: 100%; }

@media (max-width: 767px) {
  .header-nav { display: none; }
}

/* Auth buttons */
.header-auth {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}
@media (max-width: 540px) { .header-auth { display: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  cursor: pointer;
  transition: all var(--tr-fast);
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--gold);
  color: #050505;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.btn-sm { padding: 5px 12px; font-size: var(--fs-xs); }

/* ============================================================
   CATEGORY BAR
   ============================================================ */
.categories-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 99;
  height: var(--catbar-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar { display: none; }
.categories-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--bg-surface));
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 767px) {
  .categories-bar a { padding: 0 10px; font-size: 0.63rem; }
}

.categories-bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  height: 100%;
  display: flex;
  align-items: stretch;
}

.categories-bar a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid transparent;
  transition: color var(--tr-fast), border-color var(--tr-fast);
  flex-shrink: 0;
}
.categories-bar a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--gold-muted);
}
.categories-bar a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.categories-bar a.cat-all {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.page-content {
  padding-top: calc(var(--header-height) + var(--catbar-height) + var(--sp-xl));
  padding-bottom: calc(var(--bottom-nav-height) + var(--sp-xl));
  min-height: 100vh;
}

/* Section headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border-color);
}
.section-title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}
.section-title .gold { color: var(--gold); }

.section-sort select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  cursor: pointer;
}

/* ============================================================
   VIDEO GRID
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--grid-gap);
}

@media (max-width: 1400px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }

/* Video Card */
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  cursor: pointer;
  border: 1px solid transparent;
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-gold);
}

/* Thumbnail */
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.video-card:hover .video-thumb img {
  transform: scale(1.04);
}
.video-thumb .badge-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.video-thumb .badge-quality {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--gold);
  color: #050505;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.video-thumb .badge-new {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--danger);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Thumbnail progress bar (preview) */
.video-thumb .preview-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
}
.video-thumb .preview-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 0.1s linear;
}

/* Card info */
.video-info {
  padding: 10px 10px 12px;
}
.video-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.video-card:hover .video-title { color: var(--gold); }

.video-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.video-meta svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.video-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Sponsor badge on card */
.video-sponsor {
  font-size: 0.6rem;
  color: var(--gold-muted);
  margin-top: 3px;
  font-weight: 500;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px)  { .category-grid { grid-template-columns: repeat(2, 1fr); } }

.category-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color var(--tr-base), transform var(--tr-base);
}
.category-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.category-card:hover img { transform: scale(1.06); }
.category-card .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}
.category-card .cat-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.category-card:hover .cat-name { color: var(--gold); }
.category-card .cat-count {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   PORNSTAR / MODEL GRID
   ============================================================ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 1024px) { .model-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .model-grid { grid-template-columns: repeat(3, 1fr); } }

.model-card {
  text-align: center;
  padding: var(--sp-lg) var(--sp-sm);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--tr-base);
  cursor: pointer;
}
.model-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.model-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--sp-sm);
  border: 2px solid var(--border-color);
  transition: border-color var(--tr-base);
}
.model-card:hover .model-avatar { border-color: var(--gold); }
.model-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.model-card:hover .model-name { color: var(--gold); }
.model-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-hero {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
  background: radial-gradient(ellipse at 50% 80%, rgba(201,162,39,0.05) 0%, transparent 70%);
}
.search-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.5px;
}
.search-hero h1 span { color: var(--gold); }

.search-hero-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.search-hero-form input {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--fs-md);
}
.search-hero-form input::placeholder { color: var(--text-muted); }
.search-hero-form button {
  padding: 10px 28px;
  background: var(--gold);
  color: #050505;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--tr-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.search-hero-form button:hover { background: var(--gold-light); }

/* Similar searches / tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-lg);
  justify-content: center;
}
.tag-pill {
  display: inline-block;
  padding: 5px 12px;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition: all var(--tr-fast);
}
.tag-pill:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.layout-with-sidebar {
  display: flex;
  gap: var(--sp-xl);
}
.layout-primary { flex: 1; min-width: 0; }
.layout-sidebar {
  width: 240px;
  flex-shrink: 0;
}
@media (max-width: 1024px) { .layout-sidebar { display: none; } }

.sidebar-block {
  margin-bottom: var(--sp-xl);
}
.sidebar-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-xs);
  border-bottom: 1px solid var(--border-color);
}
.sidebar-list a {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--tr-fast);
}
.sidebar-list a:hover { color: var(--gold); }
.sidebar-list .count {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================================
   DRAWER (Mobile Menu)
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr-base), visibility var(--tr-base);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-surface);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform var(--tr-slow);
  overflow-y: auto;
  border-right: 1px solid var(--border-color);
}
.drawer-panel.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg);
  border-bottom: 1px solid var(--border-color);
}
.drawer-close {
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--tr-fast);
  line-height: 1;
}
.drawer-close:hover { color: var(--gold); }

.drawer-section-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: var(--sp-lg) var(--sp-lg) var(--sp-sm);
}

/* Drawer nav */
.drawer-nav li a {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 10px var(--sp-lg);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--tr-fast);
}
.drawer-nav li a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}
.drawer-nav li a:hover,
.drawer-nav li a.active {
  color: var(--gold);
  background: var(--gold-dim);
}
.drawer-nav li a:hover svg,
.drawer-nav li a.active svg { opacity: 1; }

/* Drawer categories */
.drawer-categories {
  padding: 0 var(--sp-lg) var(--sp-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.drawer-categories a {
  font-size: var(--fs-xs);
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--tr-fast);
}
.drawer-categories a:hover {
  border-color: var(--gold-muted);
  color: var(--gold);
}

/* ============================================================
   BOTTOM NAVIGATION (Mobile)
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--bottom-nav-height);
  background: var(--bg-bottom-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
}
@media (max-width: 767px) { .bottom-nav { display: flex; } }

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color var(--tr-fast);
}
.bottom-nav a svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
.bottom-nav a:hover,
.bottom-nav a.active { color: var(--gold); }

/* Center search button — elevated */
.bottom-nav .nav-search {
  position: relative;
  top: -10px;
}
.bottom-nav .nav-search .search-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  box-shadow: 0 2px 12px var(--gold-glow);
}
.bottom-nav .nav-search .search-circle svg {
  color: #050505;
  width: 18px;
  height: 18px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--sp-2xl) 0;
}
.pagination a, .pagination span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}
.pagination a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.pagination .active {
  background: var(--gold);
  color: #050505;
  font-weight: 600;
}
.pagination .disabled { color: var(--text-muted); pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: var(--sp-2xl) var(--sp-lg);
  text-align: center;
}
@media (max-width: 767px) { .site-footer { padding-bottom: calc(var(--bottom-nav-height) + var(--sp-2xl)); } }

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-lg) var(--sp-xl);
  margin-bottom: var(--sp-lg);
}
.footer-nav a {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--tr-fast);
}
.footer-nav a:hover { color: var(--gold); }

.footer-disclaimer {
  font-size: 0.65rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto var(--sp-md);
  line-height: 1.6;
}
.footer-copy {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.footer-copy .gold { color: var(--gold); }

/* ============================================================
   PAGE HEADER (Category, Tag, Model pages)
   ============================================================ */
.page-header {
  margin-bottom: var(--sp-xl);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
}
.page-header h1 span { color: var(--gold); }
.page-header p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================================
   LEGAL PAGES (DMCA, Terms, 2257)
   ============================================================ */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--sp-xl) 0;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.3px;
}
.legal-page h1 span { color: var(--gold); }
.legal-page .legal-updated {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-2xl);
}
.legal-page h2 {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--gold);
  margin: var(--sp-2xl) 0 var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border-color);
}
.legal-page p,
.legal-page li {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-md);
}
.legal-page ul {
  padding-left: var(--sp-xl);
  list-style: disc;
  margin-bottom: var(--sp-lg);
}
.legal-page ul li {
  margin-bottom: var(--sp-sm);
}
.legal-page ul li::marker {
  color: var(--gold-muted);
}
.legal-page a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--tr-fast);
}
.legal-page a:hover {
  color: var(--gold-light);
}
.legal-page strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   PROFILE HEADER (Member Profile)
   ============================================================ */
.profile-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xl);
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--sp-xl);
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--gold-glow);
}
.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-name {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
}
.profile-name span { color: var(--gold); }
.profile-joined {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}
.profile-stats {
  display: flex;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-lg);
}
.profile-stat {
  text-align: center;
}
.profile-stat-value {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.profile-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-tabs {
  display: flex;
  gap: var(--sp-sm);
}
.profile-tabs a {
  padding: 7px 18px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}
.profile-tabs a:hover {
  color: var(--text-primary);
  border-color: var(--border-gold);
}
.profile-tabs a.active {
  background: var(--gold);
  color: #050505;
  border-color: var(--gold);
}
@media (max-width: 640px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-avatar {
    width: 96px;
    height: 96px;
  }
  .profile-stats {
    justify-content: center;
  }
  .profile-tabs {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   SPONSOR CARD (Sponsors Page)
   ============================================================ */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}
@media (max-width: 1024px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .sponsor-grid { grid-template-columns: 1fr; } }

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  text-align: center;
  transition: all var(--tr-base);
}
.sponsor-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.sponsor-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin: 0 auto var(--sp-md);
  border: 1px solid var(--border-color);
}
.sponsor-card:hover .sponsor-logo {
  border-color: var(--gold-muted);
}
.sponsor-name {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
}
.sponsor-card:hover .sponsor-name { color: var(--gold); }
.sponsor-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}
.sponsor-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #050505;
  background: var(--gold);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--tr-fast);
}
.sponsor-visit:hover {
  background: var(--gold-light);
}

/* ============================================================
   FEEDBACK / CONTACT FORM
   ============================================================ */
.feedback-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: var(--sp-lg);
}
.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--tr-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-muted);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--gold);
  color: #050505;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--tr-fast);
}
.form-submit:hover {
  background: var(--gold-light);
}

/* ============================================================
   PLAYLIST HEADER
   ============================================================ */
.playlist-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xl);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--sp-xl);
}
.playlist-cover {
  width: 220px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.playlist-info {
  flex: 1;
  min-width: 0;
}
.playlist-info h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}
.playlist-info h1 span { color: var(--gold); }
.playlist-meta {
  display: flex;
  gap: var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}
.playlist-meta strong {
  color: var(--text-secondary);
}
.playlist-desc {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.65;
}
@media (max-width: 640px) {
  .playlist-header {
    flex-direction: column;
  }
  .playlist-cover {
    width: 100%;
  }
}

/* ============================================================
   CHANNEL CARD (extending category-card with subtitle)
   ============================================================ */
.channel-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color var(--tr-base), transform var(--tr-base);
}
.channel-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.channel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.channel-card:hover img { transform: scale(1.06); }
.channel-card .channel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.channel-card .channel-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: #fff;
  letter-spacing: 0.3px;
}
.channel-card:hover .channel-name { color: var(--gold); }
.channel-card .channel-count {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   ALBUM CARD
   ============================================================ */
.album-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color var(--tr-base), transform var(--tr-base);
}
.album-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.album-card:hover img { transform: scale(1.06); }
.album-card .album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,5,0.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}
.album-card .album-title {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.album-card:hover .album-title { color: var(--gold); }
.album-card .album-count {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Album grid — square ratio */
.album-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 1024px) { .album-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .album-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px)  { .album-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.video-card { animation: fadeInUp 0.35s ease both; }
.video-card:nth-child(2)  { animation-delay: 0.04s; }
.video-card:nth-child(3)  { animation-delay: 0.08s; }
.video-card:nth-child(4)  { animation-delay: 0.12s; }
.video-card:nth-child(5)  { animation-delay: 0.16s; }
.video-card:nth-child(6)  { animation-delay: 0.2s; }
.video-card:nth-child(7)  { animation-delay: 0.24s; }
.video-card:nth-child(8)  { animation-delay: 0.28s; }
.video-card:nth-child(9)  { animation-delay: 0.3s; }
.video-card:nth-child(10) { animation-delay: 0.32s; }

/* Subtle gold shimmer on premium elements */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--champagne) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}

/* ============================================================
   VIDEO VIEW PAGE
   ============================================================ */
.video-player-wrap {
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-xl);
  position: relative;
}
.video-player-wrap video,
.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-player-wrap .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background var(--tr-base);
}
.video-player-wrap .play-overlay:hover { background: rgba(0,0,0,0.2); }
.video-player-wrap .play-overlay svg {
  width: 64px;
  height: 64px;
  fill: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Video detail info */
.video-detail-title {
  font-family: var(--font-body);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--sp-sm);
}

.video-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-color);
}
.video-detail-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.video-detail-meta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Action buttons */
.video-actions {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.video-actions .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.video-actions .action-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}
.video-actions .action-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.video-actions .action-btn.liked {
  color: var(--gold);
  border-color: var(--gold);
}

/* Video tags */
.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-xl);
}

/* Sponsor banner */
.sponsor-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-xl);
}
.sponsor-banner .sponsor-name {
  font-weight: 600;
  color: var(--gold);
  font-size: var(--fs-sm);
}
.sponsor-banner .sponsor-cta {
  margin-left: auto;
  padding: 6px 16px;
  background: var(--gold);
  color: #050505;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background var(--tr-fast);
}
.sponsor-banner .sponsor-cta:hover { background: var(--gold-light); }

/* Video description */
.video-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border-color);
}

/* ============================================================
   TAGS PAGE
   ============================================================ */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags-grid .tag-pill {
  font-size: var(--fs-sm);
  padding: 8px 16px;
}

/* ============================================================
   LOGIN / AUTH PAGE
   ============================================================ */
.auth-wrapper {
  max-width: 420px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-lg);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
}
.auth-card h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--sp-xl);
}
.auth-card h2 span { color: var(--gold); }

.form-group {
  margin-bottom: var(--sp-lg);
}
.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-xs);
}
.form-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--tr-fast);
}
.form-group input:focus { border-color: var(--gold-muted); }
.form-group input::placeholder { color: var(--text-muted); }

.auth-submit {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: #050505;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--tr-fast);
}
.auth-submit:hover { background: var(--gold-light); }

.auth-links {
  text-align: center;
  margin-top: var(--sp-lg);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.auth-links a { color: var(--gold); }
.auth-links a:hover { text-decoration: underline; }

/* ============================================================
   MODALS (Login / Signup)
   ============================================================ */
.login-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.login-modal-overlay.open { display: flex; }

.login-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.login-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--tr-fast);
  background: none;
  border: none;
  line-height: 1;
}
.login-modal-close:hover { color: var(--gold); }
.login-modal-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--sp-xl);
}
.login-modal-title .gold,
.login-modal-title span { color: var(--gold); }

/* Auth form inside modals */
.auth-form .form-group { margin-bottom: var(--sp-lg); }
.auth-form .form-label,
.login-modal .form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.auth-form .form-input,
.login-modal .form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--tr-fast);
}
.auth-form .form-input:focus,
.login-modal .form-input:focus { border-color: var(--gold-muted); }
.auth-form .form-submit,
.login-modal .form-submit,
.login-modal .auth-submit {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: #050505;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--tr-fast);
  border: none;
}
.auth-form .form-submit:hover,
.login-modal .form-submit:hover,
.login-modal .auth-submit:hover { background: var(--gold-light); }
.auth-form .auth-links,
.login-modal .auth-links {
  text-align: center;
  margin-top: var(--sp-lg);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.auth-form .auth-separator { text-align: center; color: var(--text-muted); font-size: var(--fs-sm); margin: var(--sp-md) 0; }
.generic-error { color: var(--danger); font-size: var(--fs-sm); margin-bottom: var(--sp-md); }

/* ============================================================
   AGE VERIFICATION POPUP
   ============================================================ */
.age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-popup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl) var(--sp-3xl);
  text-align: center;
  max-width: 480px;
}

/* ============================================================
   KVS BLOCK TEMPLATE COMPATIBILITY
   Maps original KVS CSS classes to our Gold theme
   ============================================================ */

/* Alias original CSS variables used in block templates */
:root {
  --font-heading: var(--font-display);
  --bg-card-hover: #1a1a1a;
  --neon-pink: var(--gold);
  --neon-cyan: var(--gold-light);
  --neon-purple: var(--gold-muted);
  --neon-pink-dim: var(--gold-dim);
  --neon-cyan-dim: var(--gold-dim);
  --neon-purple-dim: var(--gold-dim);
  --neon-pink-glow: var(--gold-glow);
  --neon-cyan-glow: var(--gold-glow);
  --neon-purple-glow: var(--gold-glow);
  --text-accent: var(--gold);
}

/* .grid — KVS default grid container (used by categories, models, etc.) */
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 1400px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .grid { grid-template-columns: repeat(2, 1fr); } }

/* .grid-card — KVS default card (category, model, etc.) */
.grid-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  text-decoration: none;
  color: inherit;
}
.grid-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}
.grid-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--bg-surface);
}
.grid-card-body {
  padding: 10px 12px 14px;
}
.grid-card-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.grid-card:hover .grid-card-title { color: var(--gold); }
.grid-card-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.grid-card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* .animate-in — KVS fade animation */
.animate-in {
  animation: fadeInUp 0.35s ease both;
}

/* .sort-bar — KVS sorting toolbar */
.sort-bar {
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
}
.sort-bar::-webkit-scrollbar { display: none; }
.sort-bar-inner {
  display: flex;
  gap: 0;
}
.sort-tab {
  padding: 10px 16px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--tr-fast), border-color var(--tr-fast);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sort-tab:hover { color: var(--text-primary); }
.sort-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* .video-card — KVS default video card (used in block templates) */
.video-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}
.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.video-card:hover .video-card-thumb { transform: scale(1.04); }
.video-card-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.82);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}
.video-card-quality {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--gold);
  color: #050505;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.video-card-body { padding: 10px 10px 12px; }
.video-card-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.video-card:hover .video-card-title { color: var(--gold); }
.video-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.meta-rating { color: var(--gold-muted); }

/* .page-header — KVS page header (title + description) */
.page-header {
  margin-bottom: var(--sp-xl);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
}
.page-header h1 span { color: var(--gold); }
.page-header p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 600px;
}

/* .main-content — wrapper for page content below fixed header+catbar */
.main-content {
  padding-top: calc(var(--header-height) + var(--catbar-height) + var(--sp-xl));
  padding-bottom: var(--sp-2xl);
  min-height: 60vh;
}
@media (max-width: 767px) {
  .main-content { padding-bottom: calc(var(--bottom-nav-height) + var(--sp-xl)); }
}

/* .load-more — KVS load more button */
.load-more {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: var(--sp-xl) auto;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all var(--tr-fast);
}
.load-more:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* .empty-content — KVS empty state message */
.empty-content {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* KVS login/signup form styles (.auth-form from block template) */
.auth-form { max-width: 420px; margin: 0 auto; }
.form-group { margin-bottom: var(--sp-lg); }
.form-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  transition: border-color var(--tr-fast);
}
.form-input:focus { border-color: var(--gold-muted); outline: none; }
.form-input::placeholder { color: var(--text-muted); }
.form-submit, .form-error, .generic-error { margin-top: var(--sp-md); }

/* KVS tag pills (used in tag cloud blocks) */
.tag-pill {
  display: inline-block;
  padding: 5px 12px;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition: all var(--tr-fast);
  text-decoration: none;
}
.tag-pill:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

/* ============================================================
   KVS BLOCK TEMPLATE CLASSES — Gold/Amber Premium
   Comprehensive styles for all KVS block template components
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. VIDEO PLAYER
   ──────────────────────────────────────────────────────────── */
.player-section {
  background: #000;
  width: 100%;
  margin-bottom: var(--sp-xl);
}
.player-wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}
.embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.embed-wrap iframe,
.embed-wrap video,
.embed-wrap object,
.embed-wrap embed,
.embed-wrap .fp-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ────────────────────────────────────────────────────────────
   2. VIDEO INFO (extended — page-level container)
   ──────────────────────────────────────────────────────────── */
.video-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
}
.video-stats svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  vertical-align: middle;
}
.video-stats .stat-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.video-description a {
  color: var(--gold);
  transition: color var(--tr-fast);
}
.video-description a:hover {
  color: var(--gold-light);
}

/* ────────────────────────────────────────────────────────────
   3. RATING
   ──────────────────────────────────────────────────────────── */
.rating-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}
.rating-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.rating-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: all var(--tr-fast);
}
.rating-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}
.rating-btn:hover svg {
  stroke: var(--gold);
}
.rating-btn.active,
.rating-btn.voted {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.rating-btn.active svg,
.rating-btn.voted svg {
  stroke: var(--gold);
  fill: var(--gold);
}
.rating-bar-fill {
  flex: 1;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}
.rating-bar-positive {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--tr-base);
}

/* ────────────────────────────────────────────────────────────
   4. ACTION BAR
   ──────────────────────────────────────────────────────────── */
.action-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-color);
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
  text-decoration: none;
}
.action-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.action-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}
.action-btn.active {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.action-btn.active svg {
  fill: var(--gold);
  stroke: var(--gold);
}

/* ────────────────────────────────────────────────────────────
   5. TAGS ROW (video page)
   ──────────────────────────────────────────────────────────── */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-xl);
}
.tags-row .tag-pill {
  padding: 5px 12px;
  font-size: var(--fs-xs);
}

/* ────────────────────────────────────────────────────────────
   6. COMMENTS
   ──────────────────────────────────────────────────────────── */
.comments-wrapper {
  margin-top: var(--sp-xl);
}
.comments-section {
  margin-bottom: var(--sp-2xl);
}
.comments-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border-color);
}
.comments-section .section-title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
}
.comment-item {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--border-color);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.comment-no-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
}
.comment-body {
  flex: 1;
  min-width: 0;
}
.comment-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xs);
}
.comment-author {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.comment-author a {
  color: var(--text-primary);
  transition: color var(--tr-fast);
}
.comment-author a:hover {
  color: var(--gold);
}
.comment-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.comment-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.block-new-comment {
  margin-top: var(--sp-xl);
  padding: var(--sp-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.block-new-comment textarea {
  width: 100%;
  min-height: 100px;
  padding: var(--sp-md);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  resize: vertical;
  line-height: 1.6;
  transition: border-color var(--tr-fast);
}
.block-new-comment textarea:focus {
  border-color: var(--gold-muted);
  outline: none;
}
.block-new-comment textarea::placeholder {
  color: var(--text-muted);
}
.block-new-comment button,
.block-new-comment input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-md);
  padding: 10px 24px;
  background: var(--gold);
  color: #050505;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: background var(--tr-fast);
  border: none;
}
.block-new-comment button:hover,
.block-new-comment input[type="submit"]:hover {
  background: var(--gold-light);
}

/* ────────────────────────────────────────────────────────────
   7. TAG CLOUD (larger pill layout with counts)
   ──────────────────────────────────────────────────────────── */
.tag-cloud-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition: all var(--tr-fast);
  text-decoration: none;
  cursor: pointer;
}
.tag-cloud-item:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}
.tag-cloud-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
}
.tag-cloud-item:hover .tag-cloud-count {
  color: var(--gold-muted);
}

/* ────────────────────────────────────────────────────────────
   8. CONTENT SOURCE INFO (sponsor/channel on video page)
   ──────────────────────────────────────────────────────────── */
.content-source-info {
  margin-bottom: var(--sp-xl);
}
.content-source-card {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--tr-fast);
}
.content-source-card:hover {
  border-color: var(--border-gold);
}
.content-source-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.content-source-details {
  flex: 1;
  min-width: 0;
}
.content-source-details .source-name {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.content-source-details .source-name a {
  color: var(--text-primary);
  transition: color var(--tr-fast);
}
.content-source-details .source-name a:hover {
  color: var(--gold);
}
.content-source-details .source-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.content-source-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.content-source-score {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
}
.content-source-criteria {
  display: flex;
  gap: 3px;
}
.criteria-bar {
  display: flex;
  gap: 3px;
}
.criteria-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  transition: background var(--tr-fast);
}
.criteria-dot.active {
  background: var(--gold);
}

/* ────────────────────────────────────────────────────────────
   9. MODEL HERO (banner on model/pornstar page)
   ──────────────────────────────────────────────────────────── */
.model-hero {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg) var(--sp-2xl);
  background: radial-gradient(ellipse at 50% 80%, rgba(201,162,39,0.06) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--sp-xl);
}
.model-hero .model-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--sp-lg);
  border: 3px solid var(--gold);
  box-shadow: 0 0 24px var(--gold-glow);
}
.model-hero .model-name {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.5px;
}
.model-hero .model-name span {
  color: var(--gold);
}
.model-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  margin-top: var(--sp-lg);
}
.model-stat {
  text-align: center;
}
.model-stat-value {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
}
.model-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.channel-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  margin-top: var(--sp-lg);
}
.channel-stats .model-stat-value {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
}
.channel-stats .model-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ────────────────────────────────────────────────────────────
   10. RELATED VIDEOS
   ──────────────────────────────────────────────────────────── */
.related-section {
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-xl);
}
.related-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border-color);
}
.related-section .section-title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
}
.related-scroll {
  display: flex;
  gap: var(--grid-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-sm);
}
.related-scroll::-webkit-scrollbar {
  display: none;
}
.related-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}
.related-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
}
.related-card-title {
  padding: var(--sp-sm) var(--sp-md) 2px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-card-title {
  color: var(--gold);
}
.related-card-meta {
  padding: 2px var(--sp-md) var(--sp-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ────────────────────────────────────────────────────────────
   11. DASHBOARD / PROFILE
   ──────────────────────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  text-align: center;
  transition: border-color var(--tr-fast);
}
.dashboard-card:hover {
  border-color: var(--border-gold);
}
.dashboard-card-number {
  display: block;
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: var(--sp-xs);
  font-family: var(--font-display);
}
.dashboard-card-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}
.profile-username {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
}
.profile-email {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}

/* ────────────────────────────────────────────────────────────
   12. FEED CARD (vertical card — TikTok/Shorts style)
   ──────────────────────────────────────────────────────────── */
.feed-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  cursor: pointer;
}
.feed-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}
.feed-card-thumb {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
}
.feed-card-info {
  padding: var(--sp-md);
}
.feed-card-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-card:hover .feed-card-title {
  color: var(--gold);
}

/* ────────────────────────────────────────────────────────────
   13. PLAYLIST VIEW
   ──────────────────────────────────────────────────────────── */
.playlist-view {
  padding: 10px 10px 12px;
}
.playlist-view h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}
.playlist-view h1 span {
  color: var(--gold);
}
.playlist-view .video-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-md) var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
}
.playlist-view .video-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border-color);
}

/* ────────────────────────────────────────────────────────────
   14. DRAWER SIDEBAR WIDGETS
   ──────────────────────────────────────────────────────────── */

/* Category / Channel items in drawer */
.drawer-cat-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 8px var(--sp-lg);
  transition: background var(--tr-fast);
  text-decoration: none;
  color: inherit;
}
.drawer-cat-item:hover {
  background: var(--gold-dim);
}
.drawer-cat-rank {
  width: 22px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}
.drawer-cat-item:nth-child(1) .drawer-cat-rank,
.drawer-cat-item:nth-child(2) .drawer-cat-rank,
.drawer-cat-item:nth-child(3) .drawer-cat-rank {
  color: var(--gold);
}
.drawer-cat-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.drawer-cat-info {
  flex: 1;
  min-width: 0;
}
.drawer-cat-name {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-cat-item:hover .drawer-cat-name {
  color: var(--gold);
}
.drawer-cat-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Drawer tags — same as tag-pill */
.drawer-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition: all var(--tr-fast);
  text-decoration: none;
}
.drawer-tag:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

/* Top characters block (models in drawer) */
.top-characters-block {
  padding: 0 0 var(--sp-lg);
}
.top-char-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 8px var(--sp-lg);
  transition: background var(--tr-fast);
  text-decoration: none;
  color: inherit;
}
.top-char-item:hover {
  background: var(--gold-dim);
}
.top-char-rank {
  width: 22px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}
.top-char-item:nth-child(1) .top-char-rank,
.top-char-item:nth-child(2) .top-char-rank,
.top-char-item:nth-child(3) .top-char-rank {
  color: var(--gold);
}
.top-char-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.top-char-item:hover .top-char-avatar {
  border-color: var(--gold-muted);
}
.top-char-name {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-char-item:hover .top-char-name {
  color: var(--gold);
}
.top-char-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────
   15. FORMS (dark theme)
   ──────────────────────────────────────────────────────────── */
.form-dark {
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}
.form-row > * {
  flex: 1;
}
.form-section {
  margin-bottom: var(--sp-2xl);
}
.form-title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border-color);
}
.form-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--border-color);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.form-switch-btn {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--border-color);
  border-radius: 11px;
  cursor: pointer;
  transition: background var(--tr-fast);
  flex-shrink: 0;
  border: none;
}
.form-switch-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--tr-fast);
}
.form-switch-btn.active {
  background: var(--gold);
}
.form-switch-btn.active::after {
  left: 20px;
  background: #050505;
}
.form-divider {
  height: 1px;
  background: var(--border-color);
  margin: var(--sp-xl) 0;
  border: none;
}
.form-success {
  padding: var(--sp-md) var(--sp-lg);
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-lg);
}
.form-actions {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.form-actions .btn {
  min-width: 120px;
}
.field-error {
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: var(--sp-xs);
}
.field-error input,
.field-error textarea,
input.field-error,
textarea.field-error {
  border-color: var(--danger);
}

/* ────────────────────────────────────────────────────────────
   16. MISC
   ──────────────────────────────────────────────────────────── */
.embed-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}
.embed-section textarea,
.embed-section input[type="text"] {
  width: 100%;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: monospace;
  font-size: var(--fs-xs);
  transition: border-color var(--tr-fast);
}
.embed-section textarea:focus,
.embed-section input[type="text"]:focus {
  border-color: var(--gold-muted);
  outline: none;
}

.selector-group {
  margin-bottom: var(--sp-xl);
}
.selector-group-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-md);
}
.selector-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--tr-fast);
  margin-right: 6px;
  margin-bottom: 6px;
}
.selector-item:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}
.selector-item.active {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.selector-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-lg);
}

.box.message {
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}
.box.message a {
  color: var(--gold);
  transition: color var(--tr-fast);
}
.box.message a:hover {
  color: var(--gold-light);
}

.scale {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

.disabled {
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.duration {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
}

.voters {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

.sidebar-section {
  margin-bottom: var(--sp-xl);
}

.category-hero-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: var(--sp-xl);
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE — KVS Block Template Classes
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-hero .model-avatar {
    width: 100px;
    height: 100px;
  }
  .model-stats,
  .channel-stats {
    gap: var(--sp-xl);
  }
  .related-card {
    flex: 0 0 180px;
  }
  .content-source-card {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-sm);
  }
  .dashboard-card {
    padding: var(--sp-lg);
  }
  .dashboard-card-number {
    font-size: var(--fs-2xl);
  }
  .model-hero {
    padding: var(--sp-2xl) var(--sp-lg) var(--sp-xl);
  }
  .model-hero .model-avatar {
    width: 88px;
    height: 88px;
  }
  .model-hero .model-name {
    font-size: var(--fs-2xl);
  }
  .model-stats,
  .channel-stats {
    flex-wrap: wrap;
    gap: var(--sp-lg);
  }
  .model-stat {
    min-width: 60px;
  }
  .related-card {
    flex: 0 0 155px;
  }
  .action-bar {
    gap: 6px;
  }
  .action-btn {
    padding: 7px 12px;
    font-size: var(--fs-xs);
  }
  .action-btn span {
    display: none;
  }
  .rating-bar {
    flex-wrap: wrap;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .embed-wrap {
    border-radius: 0;
  }
  .content-source-card {
    padding: var(--sp-md);
    gap: var(--sp-md);
  }
  .content-source-thumb {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .comment-avatar,
  .comment-no-avatar {
    width: 32px;
    height: 32px;
  }
  .comment-item {
    gap: var(--sp-sm);
  }
  .tag-cloud {
    justify-content: flex-start;
  }
  .model-stats,
  .channel-stats {
    gap: var(--sp-md);
  }
}

/* ============================================================
   VIDEO VIEW PAGE — overrides for single video page
   ============================================================ */

/* Video page: h1.video-title is the main title (large) */
.video-info > h1.video-title,
.video-info > .video-title:first-child {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--sp-md);
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Video stats row on video page */
.video-info > .video-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-color);
}
.video-info > .video-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.video-info > .video-stats svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Player section — limit height, black background */
.player-section {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-xl);
}
.player-wrapper {
  position: relative;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-wrapper #kt_player,
.player-wrapper video,
.player-wrapper iframe,
.player-wrapper object,
.player-wrapper embed {
  width: 100% !important;
  height: 100% !important;
}
.embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.embed-wrap iframe,
.embed-wrap object,
.embed-wrap embed {
  width: 100%;
  height: 100%;
}

/* KVS default eye placeholder — make it smaller and less intrusive */
.player-wrapper img[src*="player"] {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Video description on video page */
.video-info > .video-description,
.video-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border-color);
}

/* Player related videos (horizontal scroll below player) */
.player-related-videos {
  margin-top: var(--sp-lg);
}
.player-related-videos-container {
  display: flex;
  gap: var(--sp-sm);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: var(--sp-sm);
}
.player-related-videos-container::-webkit-scrollbar { display: none; }
.player-related-videos-item {
  flex-shrink: 0;
  width: 180px;
}
.player-related-videos-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
  .video-info > h1.video-title,
  .video-info > .video-title:first-child {
    font-size: var(--fs-xl);
  }
  .player-wrapper {
    max-height: 50vh;
    border-radius: 0;
  }
  .player-section {
    border-radius: 0;
    margin-left: calc(-1 * var(--sp-lg));
    margin-right: calc(-1 * var(--sp-lg));
  }
}


/* =======================================================
   U-PORNO PATCH 2026-04-16
   Fixes: breadcrumb overlap, catbar arrows, model-stats,
          lang-switcher, .block-comments toggle
   ======================================================= */

/* 1) Breadcrumb bar — сдвинуть из-под фиксированного header+catbar */
.breadcrumb-bar {
  margin-top: calc(var(--header-height) + var(--catbar-height));
  padding: var(--sp-sm) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-gold);
}
.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.breadcrumb-bar a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--gold-light); }
.breadcrumb-bar .sep { color: var(--text-muted); opacity: .5; }

/* Когда breadcrumb-bar есть — main-content не нуждается в двойном padding-top */
.breadcrumb-bar + .main-content,
body.page-view_video .breadcrumb-bar + .main-content,
body.page-videos_list .breadcrumb-bar + .main-content { padding-top: var(--sp-lg); }

/* H1 видео должен правильно скроллиться якорем под фикс-хедером */
.video-title { scroll-margin-top: calc(var(--header-height) + var(--catbar-height) + var(--sp-md)); }

/* 2) Category bar — scroll arrows */
.categories-bar-wrap { position: fixed; top: var(--header-height); left: 0; right: 0; z-index: 99; background: var(--bg-surface); }
.categories-bar-wrap .categories-bar { position: static; }
.categories-bar-nav-btn {
  position: absolute;
  top: 0; bottom: 0;
  width: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--gold);
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}
.categories-bar-nav-btn.prev {
  left: 0;
  background: linear-gradient(90deg, var(--bg-surface) 70%, transparent);
}
.categories-bar-nav-btn.next {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-surface) 70%, transparent);
}
.categories-bar-nav-btn:hover { color: var(--gold-light); }
.categories-bar-wrap.has-overflow .categories-bar-nav-btn { display: flex; }
@media (max-width: 767px) {
  .categories-bar-nav-btn { display: none !important; }
}

/* 3) Model / sponsor hero card — исправить кривой layout */
.model-hero {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-lg);
}
.model-hero .model-avatar {
  flex: 0 0 auto;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
}
.model-hero > div { flex: 1 1 auto; min-width: 0; }
.model-hero .model-name { margin: 0 0 6px; font-family: var(--font-heading); color: var(--text-primary); font-size: var(--fs-xl); }
.model-hero .channel-stats { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-sm); }
.model-hero .model-stats { display: flex; gap: var(--sp-lg); margin-top: var(--sp-sm); }
.model-hero .model-stat { display: flex; flex-direction: column; }
.model-hero .model-stat strong { font-family: var(--font-heading); font-size: var(--fs-xl); color: var(--gold); line-height: 1; }
.model-hero .model-stat span { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 4px; }
.category-hero-desc { color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.5; margin: var(--sp-sm) 0 0; }

/* 4) Sponsor (content-source) info card */
.content-source-info { margin-top: var(--sp-xl); }
.content-source-info .page-header { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); margin-bottom: var(--sp-md); }
.content-source-info .page-header h2 { margin: 0; font-family: var(--font-heading); color: var(--text-primary); font-size: var(--fs-xl); }
.content-source-subscribe { display: flex; align-items: center; gap: var(--sp-sm); }
.content-source-subs-count { color: var(--text-muted); font-size: var(--fs-sm); }
.content-source-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}
.content-source-thumb { width: 160px; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-void); display: flex; align-items: center; justify-content: center; }
.content-source-thumb img { width: 100%; height: 100%; object-fit: cover; }
.content-source-no-thumb { color: var(--text-muted); font-size: var(--fs-xs); text-align: center; padding: 16px; }
.content-source-details { display: flex; flex-direction: column; gap: var(--sp-sm); min-width: 0; }
.content-source-rating { display: flex; align-items: center; gap: var(--sp-md); }
.content-source-score { font-family: var(--font-heading); font-size: var(--fs-2xl); color: var(--gold); line-height: 1; }
.content-source-criteria { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xs) var(--sp-md); }
.content-source-criteria li { display: flex; flex-direction: column; gap: 4px; color: var(--text-secondary); font-size: var(--fs-xs); }
.criteria-bar { display: flex; gap: 3px; }
.criteria-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-void); border: 1px solid var(--border-gold); }
.criteria-dot.active { background: var(--gold); border-color: var(--gold); }
.content-source-desc { color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.5; margin-top: var(--sp-sm); }
@media (max-width: 767px) {
  .content-source-card { grid-template-columns: 1fr; }
  .content-source-thumb { width: 100%; max-width: 240px; margin: 0 auto; }
  .content-source-criteria { grid-template-columns: 1fr; }
}

/* 5) Comments form toggle (KVS stock toggle-button handler compatibility) */
.block-comments .block-new-comment { display: none; margin-top: var(--sp-md); }
.block-comments .toggle-button.active ~ .block-new-comment,
.block-comments .toggle-button.active + .block-new-comment,
.block-comments.is-adding .block-new-comment { display: block; }

/* 6) Language switcher */
.lang-switcher { position: relative; margin-right: var(--sp-sm); }
.lang-switcher-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--fs-xs);
  font-family: var(--font-body);
  line-height: 1;
}
.lang-switcher-toggle:hover { color: var(--gold-light); border-color: var(--gold); }
.lang-switcher-toggle svg { opacity: .8; }
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 4px); right: 0;
  min-width: 120px;
  padding: 4px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 110;
}
.lang-switcher.open .lang-switcher-menu { display: block; }
.lang-switcher-menu li { list-style: none; }
.lang-switcher-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-sm);
}
.lang-switcher-menu a.active { color: var(--gold); font-weight: 600; }
.lang-switcher-menu a:hover { background: var(--gold-dim); color: var(--gold-light); }

/* Drawer lang-switcher (mobile) */
.drawer-lang { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--sp-lg) var(--sp-md); }
.drawer-lang a {
  padding: 6px 12px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-xs);
}
.drawer-lang a.active { background: var(--gold-dim); color: var(--gold); border-color: var(--gold); }

@media (max-width: 767px) {
  .lang-switcher { display: none; } /* desktop switcher hidden on mobile; drawer has it */
}
/* === END U-PORNO PATCH 2026-04-16 === */