/* 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 {
  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 {
  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-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); }
}
