/* xLiveChats — Neon Crimson Dark Theme */
:root {
  --bg: #07070d;
  --bg-card: #10101a;
  --bg-sidebar: #0c0c14;
  --bg-header: rgba(7,7,13,0.96);
  --accent: #ff1f6b;
  --accent-rgb: 255,31,107;
  --accent2: #00c8ff;
  --text: #f0f0f8;
  --text-muted: #6a6a80;
  --border: #1c1c2e;
  --sidebar-width: 230px;
  --header-height: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes live-blink { 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideInLeft { from{transform:translateX(-100%)} to{transform:translateX(0)} }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 300;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}

.burger-btn {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.burger-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.burger-btn span:last-child { width: 14px; }

.site-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}
.site-logo-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
}
.site-logo-text { font-size: 17px; font-weight: 700; color: var(--text); }
.site-logo-text span { color: var(--accent); }

.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.header-search-icon {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}
.header-search input {
  width: 100%; height: 34px;
  border-radius: 17px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0 12px 0 32px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { border-color: var(--accent); }

.header-btns {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.btn-login {
  display: inline-block;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.btn-login:hover { border-color: var(--accent); color: var(--accent); }
.btn-signup {
  display: inline-block;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 16px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 16px rgba(var(--accent-rgb),.4);
  white-space: nowrap;
  transition: box-shadow .15s;
}
.btn-signup:hover { box-shadow: 0 0 22px rgba(var(--accent-rgb),.6); }

/* ─── SIDEBAR ─────────────────────────────────────────────────────────────── */
#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
  z-index: 399;
}
#sidebar-overlay.active { display: block; }

#sidebar {
  position: fixed;
  left: 0;
  top: var(--header-height);
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  z-index: 100;
}

.sidebar-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  position: sticky;
  top: 0;
  background: var(--bg-sidebar);
  z-index: 1;
}
.sidebar-mobile-header span { color: var(--text); font-weight: 700; font-size: 14px; }
.sidebar-close-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 30px; height: 30px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}

.live-indicator {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.live-indicator-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: live-blink 1.6s ease infinite;
  flex-shrink: 0;
}
.live-indicator-count { color: var(--text); font-size: 13px; font-weight: 600; }
.live-indicator-sub { color: var(--text-muted); font-size: 11px; margin-top: 3px; }

.sidebar-section { border-bottom: 1px solid var(--border); }
.sidebar-section-header {
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  user-select: none;
}
.sidebar-section-header .chevron {
  font-size: 10px;
  opacity: .6;
  transition: transform .2s;
  display: inline-block;
}
.sidebar-section-header.open .chevron { transform: rotate(180deg); }
.sidebar-section-body {
  padding: 0 12px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.sidebar-tag-btn {
  padding: 5px 11px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  transition: all .15s;
  font-family: inherit;
  display: inline-block;
}
.sidebar-tag-btn:hover, .sidebar-tag-btn.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),.14);
  color: var(--accent);
}

.sidebar-quick-links { padding: 8px 0; }
.sidebar-quick-link {
  padding: 9px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
}
.sidebar-quick-link:hover { color: var(--accent); }

/* ─── MAIN CONTENT ────────────────────────────────────────────────────────── */
#main-content {
  margin-left: var(--sidebar-width);
  padding-top: var(--header-height);
  min-height: 100vh;
}

/* ─── TAB BAR ─────────────────────────────────────────────────────────────── */
#tab-bar {
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sidebar);
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#tab-bar::-webkit-scrollbar { display: none; }

.tab-count {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.tab-btn {
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  transition: all .15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tab-btn:hover { border-color: var(--accent); background: rgba(var(--accent-rgb),.1); color: var(--accent); }
.tab-btn.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),.14);
  color: var(--accent);
}

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
  padding: 20px 20px 0;
}
.page-hero h1 {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -.3px;
}
.page-hero p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* ─── SEO BLOCKS ──────────────────────────────────────────────────────────── */
.seo-intro {
  padding: 18px 20px 0;
}
.seo-intro h1 {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 0 0 6px;
  line-height: 1.25;
}
.seo-intro p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.seo-footer-text {
  margin: 28px 20px 0;
  padding: 26px 30px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.seo-footer-text h2 {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}
.seo-footer-text p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* ─── MODEL CARDS ─────────────────────────────────────────────────────────── */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.model-card {
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  animation: fadeInUp .3s ease both;
  display: block;
  text-decoration: none;
  color: inherit;
}
.model-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb),.18);
}

.model-card-img-wrapper {
  position: relative;
  overflow: hidden;
  background: #0a0a14;
}
.model-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.model-card:hover .model-card-img { transform: scale(1.05); }

.live-badge {
  position: absolute;
  top: 7px; left: 7px;
  background: #e53030;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}
.live-badge-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: live-blink 1.5s ease infinite;
}
.offline-badge {
  position: absolute;
  top: 7px; left: 7px;
  background: rgba(60,60,60,.9);
  color: #aaa;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  z-index: 2;
}

.platform-badge {
  position: absolute;
  bottom: 6px; left: 7px;
  font-size: 9px;
  color: #fff;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
}

.fav-heart {
  position: absolute;
  top: 7px; right: 7px;
  cursor: pointer;
  font-size: 16px;
  background: rgba(0,0,0,.5);
  border-radius: 50%;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform .2s;
}
.fav-heart:hover { transform: scale(1.2); }

.img-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  z-index: 1;
}

.model-card-body { padding: 9px 11px; }
.model-card-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.model-card-name a {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.model-card-name a:hover { color: var(--accent); }
.model-card-age { color: var(--text-muted); font-size: 10px; flex-shrink: 0; }
.model-card-tags { display: flex; flex-wrap: wrap; gap: 3px; }
.model-tag {
  background: rgba(var(--accent-rgb),.1);
  color: var(--accent);
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 9px;
  text-decoration: none;
  transition: background .15s;
}
.model-tag:hover { background: rgba(var(--accent-rgb),.2); }

/* ─── CONTENT PADDING ─────────────────────────────────────────────────────── */
.page-content {
  padding: 16px 20px 40px;
}

/* ─── LOAD MORE ───────────────────────────────────────────────────────────── */
.load-more-wrap { text-align: center; padding: 28px 0 6px; }
.load-more-btn {
  padding: 13px 48px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: rgba(var(--accent-rgb),.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.load-more-btn:hover { background: rgba(var(--accent-rgb),.2); }
.load-more-btn:disabled { opacity: .6; cursor: not-allowed; }
.load-more-count { color: var(--text-muted); font-weight: 400; font-size: 11px; margin-left: 6px; }

/* ─── NO RESULTS ──────────────────────────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 60px 0;
}
.no-results-icon { font-size: 36px; margin-bottom: 10px; }
.no-results h3 { color: var(--text); font-size: 15px; font-weight: 600; margin: 0 0 5px; }
.no-results p { color: var(--text-muted); font-size: 12px; margin: 0 0 16px; }

/* ─── BACK BUTTON ─────────────────────────────────────────────────────────── */
.back-bar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sidebar);
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-family: inherit;
  transition: all .15s;
}
.back-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── MODEL PAGE ──────────────────────────────────────────────────────────── */
.model-page-h1 {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  padding: 14px 20px 0;
  letter-spacing: -.3px;
  line-height: 1.25;
}
.model-page-h1-platform { color: var(--text-muted); font-weight: 400; font-size: 15px; }

.model-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; padding: 24px 24px 0; align-items: start; }

.model-player {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.model-player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.model-player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.model-player-cta-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #e53030;
  color: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.model-player-cta-badge .live-badge-dot { width: 7px; height: 7px; }
.model-player-platform-badge {
  position: absolute;
  top: 14px; right: 14px;
  color: #fff;
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
}

.model-stats-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 12px;
}
.model-stat-box {
  background: var(--bg-card);
  border-radius: 9px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  text-align: center;
}
.model-stat-box-icon { font-size: 17px; margin-bottom: 4px; }
.model-stat-box-val { color: var(--text); font-size: 15px; font-weight: 700; }
.model-stat-box-lbl { color: var(--text-muted); font-size: 11px; margin-top: 2px; }

.model-similar-title { color: var(--text); font-size: 15px; font-weight: 700; margin: 22px 0 12px; }
.model-similar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }

.model-info-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
}
.model-info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.model-info-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-sidebar);
}
.model-info-avatar img { width: 100%; height: 100%; object-fit: cover; }
.model-info-name { color: var(--text); font-size: 18px; font-weight: 800; margin: 0 0 5px; line-height: 1.2; }
.model-info-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.model-platform-badge {
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.model-char-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.model-char-item {
  background: var(--bg-sidebar);
  border-radius: 7px;
  padding: 9px 12px;
}
.model-char-label { color: var(--text-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.model-char-val { color: var(--text); font-size: 13px; font-weight: 600; }
.model-description { color: var(--text-muted); font-size: 13px; line-height: 1.65; margin-bottom: 14px; }
.model-tags-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.model-tag-lg {
  background: rgba(var(--accent-rgb),.1);
  color: var(--accent);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11px;
  text-decoration: none;
  transition: background .15s;
}
.model-tag-lg:hover { background: rgba(var(--accent-rgb),.2); }

.btn-primary {
  width: 100%;
  padding: 13px;
  border-radius: 9px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 26px rgba(var(--accent-rgb),.45);
  transition: box-shadow .2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(var(--accent-rgb),.65); }

.btn-secondary {
  width: 100%;
  padding: 13px;
  border-radius: 9px;
  border: 1px solid var(--accent);
  background: rgba(var(--accent-rgb),.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(var(--accent-rgb),.2); }

.btn-ghost {
  width: 100%;
  padding: 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.model-actions { display: flex; flex-direction: column; gap: 10px; }

.model-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,59,59,.15);
  border-radius: 8px;
  padding: 5px 10px;
}
.model-live-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff3b3b; animation: live-blink 1.5s ease infinite; }
.model-live-badge-text { color: #ff5555; font-size: 12px; font-weight: 700; }

/* ─── TAGS CLOUD PAGE ─────────────────────────────────────────────────────── */
.tags-cloud-section {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
  margin: 0 20px;
}
.tags-cloud-section h2 { color: var(--text); font-size: 18px; font-weight: 700; margin: 0 0 20px; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-item {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: all .15s;
}
.tag-cloud-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb),.1);
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
#site-footer {
  margin-top: 40px;
  margin-left: var(--sidebar-width);
  border-top: 1px solid var(--border);
  background: var(--bg-sidebar);
  padding: 36px 20px 20px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.footer-logo-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
}
.footer-logo-text { font-size: 14px; font-weight: 700; color: var(--text); }
.footer-logo-text span { color: var(--accent); }
.footer-logo-tag { color: var(--text-muted); font-size: 11px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 22px;
  margin-bottom: 28px;
}
.footer-col-title {
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin: 0 0 12px;
}
.footer-link {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: none;
  transition: color .15s;
}
.footer-link:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { color: var(--text-muted); font-size: 10px; }
.footer-bottom-links { display: flex; gap: 14px; }
.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 10px;
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom-links a:hover { color: var(--accent); }

.footer-lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

/* ─── AGE GATE ────────────────────────────────────────────────────────────── */
#ageVerification {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .2s ease;
}
#ageVerification.show { opacity: 1; }
body.age-verification-active { overflow: hidden; }
body.age-verified #ageVerification { display: none !important; }

.age-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.8);
  animation: fadeInUp .3s ease;
}
.age-modal-icon { font-size: 56px; margin-bottom: 16px; }
.age-modal h2 { color: var(--text); font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.age-modal p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0 0 24px; }
.age-modal-btns { display: flex; flex-direction: column; gap: 10px; }
.age-btn-yes {
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 20px rgba(var(--accent-rgb),.4);
}
.age-btn-yes:hover { box-shadow: 0 0 28px rgba(var(--accent-rgb),.6); }
.age-btn-no {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.age-btn-no:hover { border-color: var(--text-muted); }
.age-leave-link {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: underline;
}

/* ─── MOBILE STICKY CTA ───────────────────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 250;
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  padding: 20px 16px 14px;
  pointer-events: none;
}
.mobile-cta button {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: all;
  font-family: inherit;
  box-shadow: 0 0 32px rgba(var(--accent-rgb),.55), 0 4px 20px rgba(0,0,0,.4);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .burger-btn { display: flex; }
  .btn-login { display: none; }
  .header-search { max-width: none; }
  .site-logo-text { font-size: 15px; }
  .btn-signup { padding: 6px 12px; font-size: 11px; }

  #sidebar {
    top: 0;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 400;
  }
  #sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0,0,0,.6);
  }
  .sidebar-mobile-header { display: flex !important; }

  #main-content { margin-left: 0; }

  .seo-intro { padding: 14px 14px 0; }
  .seo-intro h1 { font-size: 17px; }
  .seo-intro p { font-size: 12px; }

  .seo-footer-text { margin: 24px 14px 0; padding: 20px 18px; }
  .seo-footer-text h2 { font-size: 14px; }

  .page-content { padding: 12px 14px 80px; }
  .page-hero { padding: 14px 14px 0; }
  .page-hero h1 { font-size: 17px; }

  #tab-bar { padding: 8px 14px; }
  .tab-count { display: none; }

  .models-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 8px;
  }
  .model-card-img { height: 145px; }

  .load-more-btn { padding: 12px 32px; font-size: 13px; }

  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 20px 16px; }
  #site-footer { padding: 28px 16px 20px; margin-left: 0; }
  .footer-logo-tag { display: none; }

  .mobile-cta { display: block; }

  .model-layout { grid-template-columns: 1fr; padding: 14px; }
  .model-stats-strip { grid-template-columns: repeat(2,1fr); }
  .model-similar-grid { grid-template-columns: repeat(2,1fr); }

  .back-bar { padding: 12px 14px; }
  .tags-cloud-section { margin: 0 14px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .models-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
}

/* ─── MODEL CONTENT & FAQ (contenu unique anti-duplicate) ────────────────── */
.model-content-block { margin: 22px 0 4px; }
.model-intro-text { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

.model-faq-block { margin: 22px 0 4px; }
.model-faq-title { color: var(--text); font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.model-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.model-faq-question {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.model-faq-question::-webkit-details-marker { display: none; }
.model-faq-question::before { content: '+ '; color: var(--accent); font-weight: 700; }
.model-faq-item[open] .model-faq-question::before { content: '– '; }
.model-faq-answer { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 8px 0 0; }

/* ─── MODEL PAGE — 5-BLOCK GRID (desktop: 2 cols / mobile: stacked, reordered) ──
   Desktop: explicit grid-row per left-column block (player/shortbio/longbio each get
   their own row) + .model-sidebar-col spans all 3 rows as ONE tall item. This is
   deliberate: putting profile+similar directly on the same *shared* row as shortbio
   (via plain grid-column+order auto-placement) made that row stretch to the height of
   the much-taller similar-models grid, leaving a huge empty gap under the short bio
   text — spanning avoids forcing any single row to match an unrelated column's height. */
.model-layout { grid-template-rows: auto auto 1fr; }
.model-block-player   { grid-column: 1; grid-row: 1; }
.model-block-shortbio { grid-column: 1; grid-row: 2; }
.model-block-longbio  { grid-column: 1; grid-row: 3; }
.model-sidebar-col {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Similar-models grid lives in the 360px sidebar column on desktop too — 2 cols fits it */
.model-similar-grid { grid-template-columns: repeat(2,1fr); }

@media (max-width: 768px) {
  /* The wrapper disappears from the box model so its 2 children become direct grid
     items again and pick up their own `order` below — independent of DOM position. */
  .model-sidebar-col { display: contents; }
  .model-block-player   { grid-column: 1; grid-row: auto; order: 1; }
  .model-block-profile  { grid-column: 1; order: 2; }
  .model-block-shortbio { grid-column: 1; grid-row: auto; order: 3; }
  .model-block-similar  { grid-column: 1; order: 4; }
  .model-block-longbio  { grid-column: 1; grid-row: auto; order: 5; }
}

/* ─── SIDEBAR — POPULAR TAGS BY CATEGORY ──────────────────────────────────── */
.sidebar-tag-category { width: 100%; margin-bottom: 8px; }
.sidebar-tag-category-label {
  cursor: default;
  font-weight: 700;
  background: rgba(var(--accent-rgb),.14);
  border-color: var(--accent);
  color: var(--accent);
  margin-bottom: 6px;
}
.sidebar-tag-category-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sidebar-tag-btn-sm { font-size: 10px; padding: 4px 9px; }

/* ─── TAILWIND CLASS SHIM (dark theme) ──────────────────────────────────────
   The 4 blog articles were written with Tailwind utility classes, but this
   site never loads Tailwind — every one of these classes was a no-op,
   leaving raw unstyled (often near-invisible dark-on-dark) content. Rather
   than rewrite ~1200 lines of article markup, this defines real CSS for the
   exact utility classes those articles actually use, remapped to the site's
   dark "Neon Crimson" theme (light Tailwind "-50" tints become subtle dark
   tints, "-900" near-black text becomes bright readable accent text). */

.max-w-4xl { max-width: 860px; }
.max-w-none { max-width: none; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.mt-8 { margin-top: 32px; } .mr-2 { margin-right: 8px; }
.my-6 { margin: 24px 0; } .my-8 { margin: 32px 0; }
.p-4 { padding: 16px; } .p-6 { padding: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.pt-6 { padding-top: 24px; }

.flex { display: flex; } .inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1,1fr); }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.space-x-2 > * + * { margin-left: 8px; }
.space-x-4 > * + * { margin-left: 16px; }
.space-y-1 > * + * { margin-top: 4px; }
.space-y-2 > * + * { margin-top: 8px; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3,1fr); }
}

.text-3xl { font-size: 26px; line-height: 1.3; } .text-4xl { font-size: 32px; line-height: 1.25; }
.text-xl { font-size: 19px; } .text-lg { font-size: 16px; } .text-sm { font-size: 13px; }
.font-bold { font-weight: 700; } .font-semibold { font-weight: 600; } .font-medium { font-weight: 500; }
.list-disc { list-style: disc; } .list-inside { list-style-position: inside; }

.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-l-4 { border-left: 4px solid; }
.rounded-lg { border-radius: 12px; }
.overflow-x-auto { overflow-x: auto; }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,.35); }
.transition-all { transition: all .2s ease; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:text-orange-600:hover { color: #fb923c; }

.text-white { color: #fff; }
.bg-white { background: var(--bg-card); }
.bg-gray-50 { background: var(--bg); }
.bg-gray-900 { background: #0a0a0f; }
.border-gray-200 { border-color: var(--border); }
.text-gray-600, .text-gray-700 { color: var(--text-muted); } .text-gray-800, .text-gray-900 { color: var(--text); }
.bg-gray-50 h3, .bg-gray-900 { color: var(--text); }
.text-green-400 { color: #4ade80; }

/* Color families: subtle dark tint background + bright readable text/border,
   generated for each Tailwind color used across the 4 articles. */
.bg-orange-50 { background: rgba(251,146,60,.08); } .border-orange-200 { border-color: rgba(251,146,60,.3); } .border-orange-500 { border-color: #fb923c; }
.text-orange-100 { color: rgba(255,255,255,.92); } .text-orange-700, .text-orange-800 { color: #fdba74; } .text-orange-900 { color: #fb923c; }

.bg-red-50 { background: rgba(248,113,113,.08); } .border-red-200 { border-color: rgba(248,113,113,.3); } .border-red-500 { border-color: #f87171; }
.text-red-700, .text-red-800 { color: #fca5a5; } .text-red-900 { color: #f87171; }

.bg-green-50 { background: rgba(74,222,128,.08); } .border-green-200 { border-color: rgba(74,222,128,.3); } .border-green-500 { border-color: #4ade80; }
.text-green-100 { color: rgba(255,255,255,.92); } .text-green-700, .text-green-800 { color: #86efac; } .text-green-900 { color: #4ade80; }

.bg-blue-50 { background: rgba(96,165,250,.08); } .border-blue-200 { border-color: rgba(96,165,250,.3); } .border-blue-500 { border-color: #60a5fa; }
.text-blue-100 { color: rgba(255,255,255,.92); } .text-blue-700, .text-blue-800 { color: #93c5fd; } .text-blue-900 { color: #60a5fa; }

.bg-purple-50 { background: rgba(192,132,252,.08); } .border-purple-200 { border-color: rgba(192,132,252,.3); } .border-purple-500 { border-color: #c084fc; }
.text-purple-700, .text-purple-800 { color: #d8b4fe; } .text-purple-900 { color: #c084fc; }

.bg-yellow-50 { background: rgba(251,191,36,.08); } .border-yellow-200 { border-color: rgba(251,191,36,.3); } .border-yellow-500 { border-color: #fbbf24; }
.text-yellow-700, .text-yellow-800 { color: #fde68a; } .text-yellow-900 { color: #fbbf24; }

.text-pink-100 { color: rgba(255,255,255,.92); }

/* Gradients via custom properties (same technique Tailwind itself uses) */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--grad-from, var(--accent)), var(--grad-to, var(--accent2))); }
.from-orange-500 { --grad-from: #f97316; } .from-green-500 { --grad-from: #22c55e; }
.from-blue-500 { --grad-from: #3b82f6; } .from-pink-500 { --grad-from: #ec4899; }
.to-red-500 { --grad-to: #ef4444; } .to-red-600 { --grad-to: #dc2626; }
.to-blue-600 { --grad-to: #2563eb; } .to-purple-600 { --grad-to: #9333ea; }

/* Article body typography (the <article class="prose prose-lg"> wrapper) */
.prose { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.prose h2 { color: var(--text); font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.prose h3 { color: var(--text); font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.prose h4 { color: var(--text); font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0; padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.prose pre { background: #0a0a0f; border: 1px solid var(--border); border-radius: 10px; }
.prose code { color: #4ade80; font-family: 'SF Mono', Monaco, monospace; font-size: 13px; }

/* ─── VISUAL POLISH — stats/blog cards ─────────────────────────────────── */
.content-card { position: relative; overflow: hidden; }
.stat-box-lg { transition: transform .15s, border-color .15s; }
.stat-box-lg:hover { transform: translateY(-2px); border-color: var(--accent); }
.stat-box-lg .stat-num.gradient-num {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.article-card { position: relative; padding-left: 22px; transform: translateY(0); transition: transform .15s, border-color .15s; }
.article-card:hover { transform: translateY(-2px); }
.article-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent-card, var(--accent));
  border-radius: 4px 0 0 4px;
}
.article-card.accent-pink   { --accent-card: #f472b6; }
.article-card.accent-orange { --accent-card: #fb923c; }
.article-card.accent-blue   { --accent-card: #60a5fa; }
.article-card.accent-green  { --accent-card: #4ade80; }
.content-card-title { position: relative; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }

/* ─── GENERIC CONTENT PAGES (blog/stats/favorites) — dark theme, no Tailwind dependency ── */
.content-wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.content-hero {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  color: #fff;
}
.content-hero h1 { margin: 0 0 8px; font-size: 28px; }
.content-hero p { margin: 0; opacity: .9; }
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.content-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-card-sub { color: var(--text-muted); font-size: 13px; margin: -10px 0 16px; }
.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  transition: border-color .15s;
}
.article-card:hover { border-color: var(--accent); }
.article-card h4 { color: var(--text); margin: 0 0 8px; font-size: 15px; }
.article-card p { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.article-card a.read-more { color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.stat-box-lg {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.stat-box-lg .stat-num { font-size: 30px; font-weight: 800; color: var(--text); }
.stat-box-lg .stat-lbl { color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h2 { color: var(--text); margin: 0 0 8px; }
.empty-state p { color: var(--text-muted); margin: 0 0 24px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}

/* ─── AGE GATE — DATE OF BIRTH DROPDOWNS ──────────────────────────────────── */
.age-dob-row { display: flex; gap: 8px; margin-bottom: 8px; }
.age-dob-select {
  flex: 1;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.age-dob-select:focus { outline: none; border-color: var(--accent); }
.age-dob-error { color: #f87171; font-size: 12px; margin: 0 0 16px; text-align: left; }

/* ─── COOKIE CONSENT BANNER (GDPR) — discreet bottom bar ──────────────────── */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: -100px;
  z-index: 500;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  transition: bottom .35s ease;
}
.cookie-consent.show { bottom: 16px !important; }
.cookie-consent-text { flex: 1; min-width: 200px; color: var(--text-muted); font-size: 12px; line-height: 1.5; margin: 0; }
.cookie-consent-text a { color: var(--accent); text-decoration: none; }
.cookie-consent-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-decline, .cookie-btn-accept {
  padding: 7px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.cookie-btn-decline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.cookie-btn-decline:hover { border-color: var(--text-muted); }
.cookie-btn-accept { background: var(--accent); border: none; color: #fff; }
.cookie-btn-accept:hover { filter: brightness(1.1); }

@media (max-width: 600px) {
  .cookie-consent { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-consent-btns { justify-content: center; }
}
