/*
Theme Name: ViralMMS
Theme URI: https://viralmms.com
Author: ViralMMS Studio
Author URI: https://viralmms.com
Description: Advanced Adult Twitter/X-style video feed WordPress theme with OLED dark mode, 16:9 thumbnail player cards, VideoObject SEO schema, hover previews, Telegram viral sharing, and built-in REST API for automated scrapers.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viralmms
*/

:root {
  /* Color Tokens - Light Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-elevated: #ffffff;
  --bg-hover: rgba(0, 0, 0, 0.03);
  --bg-active: rgba(0, 0, 0, 0.06);
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  /* Brand Hot Pink Accent */
  --accent-pink: #ff0066;
  --accent-pink-hover: #e0005a;
  --accent-pink-light: rgba(255, 0, 102, 0.1);
  --accent-pink-glow: rgba(255, 0, 102, 0.35);

  --accent-telegram: #229ED9;
  --accent-whatsapp: #25D366;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-pink: 0 8px 25px var(--accent-pink-glow);

  --sidebar-left-w: 250px;
  --sidebar-right-w: 330px;
  --max-width: 1560px;
  --header-height: 60px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] {
  /* Dark Mode (Viralmms True Obsidian) */
  --bg-primary: #000000;
  --bg-secondary: #0a0b10;
  --bg-elevated: #11131a;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --bg-active: rgba(255, 255, 255, 0.08);
  --border-color: #27272a;
  --border-subtle: #1e1e24;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #71717a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.7);
}

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

html, body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

img, video {
  display: block;
  max-width: 100%;
}

/* 18+ Age Verification Modal */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-card {
  background: #11131a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.age-gate-badge {
  display: inline-block;
  background: var(--accent-pink);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: var(--shadow-pink);
}

.age-gate-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.age-gate-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-age-confirm {
  flex: 1;
  padding: 12px 20px;
  background: var(--accent-pink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-pink);
  transition: transform 0.15s;
}

.btn-age-confirm:hover {
  transform: translateY(-2px);
  background: var(--accent-pink-hover);
}

.btn-age-exit {
  flex: 1;
  padding: 12px 20px;
  background: #27272a;
  color: var(--text-muted);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.btn-age-exit:hover {
  background: #3f3f46;
  color: #fff;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 11, 16, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 16px;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: background 0.15s;
}

.icon-btn:hover {
  background: var(--bg-hover);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* 3-Column Layout - Symmetrically Centered */
.app-layout {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid;
  grid-template-columns: var(--sidebar-left-w) minmax(0, 1fr) var(--sidebar-right-w);
  min-height: 100vh;
  box-sizing: border-box;
}

/* Left Sidebar */
.sidebar-left {
  border-right: 1px solid var(--border-color);
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-sticky::-webkit-scrollbar {
  display: none;
}

/* Hide WP Admin Bar on front-end */
#wpadminbar {
  display: none !important;
}

html, body {
  margin-top: 0 !important;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.brand-container:hover {
  transform: translateY(-1px);
}

.logo-symbol {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, #db2777 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-pink-glow);
}

.logo-symbol svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.accent-text {
  color: var(--accent-pink);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--accent-pink);
  transform: translateX(3px);
}

.nav-item.active {
  color: var(--accent-pink);
  font-weight: 700;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.btn-create-post {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, #db2777 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(255, 0, 102, 0.45);
  transition: all 0.2s ease;
  margin: 10px 0 8px 0;
  flex-shrink: 0;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.btn-create-post svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-create-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 102, 0.65);
  color: #ffffff !important;
}

.sidebar-user-panel {
  margin-top: auto;
  padding-top: 8px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-pink);
}

.theme-toggle-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.theme-toggle-inner svg {
  width: 20px;
  height: 20px;
  color: var(--accent-pink);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Main Content Column */
.main-content {
  border-right: 1px solid var(--border-color);
  min-height: 100vh;
  min-width: 0;
  width: 100%;
}

.feed-topbar {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 50;
  padding-top: 10px;
}

[data-theme="light"] .feed-topbar {
  background: rgba(255, 255, 255, 0.88);
}

.topbar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 12px 18px;
  gap: 16px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.topbar-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 340px;
}

.topbar-search-wrapper input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 8px 36px 8px 36px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  transition: all 0.2s;
}

.topbar-search-wrapper input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 2px var(--accent-pink-light);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Feed Tabs (Latest / Trending / Popular) */
.feed-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.tab-btn {
  flex: 1;
  padding: 10px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
  position: relative;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.tab-btn.active {
  color: var(--accent-pink);
  font-weight: 700;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--accent-pink);
  border-radius: 3px 3px 0 0;
}

/* Horizontal Scrollable Category Pills Bar */
.category-pills-bar {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 11, 16, 0.6);
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.category-pill:hover {
  background: var(--bg-hover);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.category-pill.active {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #ffffff;
  font-weight: 700;
}

/* Card Category Badge & Taxonomies Row */
.badge-category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 4;
}

.card-taxonomies-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.card-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 0, 102, 0.12);
  border: 1px solid rgba(255, 0, 102, 0.35);
  color: var(--accent-pink);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.card-model-pill:hover {
  background: var(--accent-pink);
  color: #fff;
}

.card-geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Post Cards */
.posts-feed {
  display: flex;
  flex-direction: column;
}

.post-card {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
}

.post-card:hover {
  background: var(--bg-hover);
}

.post-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.post-creator-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.creator-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border-color);
}

.creator-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.creator-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.creator-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.creator-name:hover {
  color: var(--accent-pink);
}

.verified-badge {
  width: 15px;
  height: 15px;
  color: var(--accent-pink);
  flex-shrink: 0;
}

.creator-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-caption {
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* 16:9 Thumbnail with Viralmms Pink Play Button */
.video-preview-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-preview-wrapper:hover .video-thumb-img {
  transform: scale(1.02);
}

/* Hover Short Video Preview */
.hover-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 2;
}

.video-preview-wrapper:hover .hover-preview-video {
  display: block;
}

.play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
  z-index: 3;
}

.video-preview-wrapper:hover .play-button-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.play-button-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--accent-pink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 0, 102, 0.6);
  padding-left: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-preview-wrapper:hover .play-button-circle {
  transform: scale(1.12);
  box-shadow: 0 6px 26px rgba(255, 0, 102, 0.85);
}

.play-button-circle svg {
  width: 24px;
  height: 24px;
}

.duration-pill {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 4;
}

.hd-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  background: rgba(255, 0, 102, 0.88);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 4;
}

.post-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 6px;
}

.post-stats-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s;
}

.metric-item:hover {
  color: var(--accent-pink);
}

.metric-item svg {
  width: 17px;
  height: 17px;
}

/* Telegram & Social Share Pills */
.share-pill-telegram {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(34, 158, 217, 0.15);
  color: var(--accent-telegram);
  font-size: 11px;
  font-weight: 700;
  transition: all 0.15s;
}

.share-pill-telegram:hover {
  background: var(--accent-telegram);
  color: #fff;
}

/* In-Feed Native Ad Slot */
.in-feed-ad-card {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(255, 0, 102, 0.05) 0%, rgba(20, 20, 30, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ad-badge {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 1px 5px;
  border-radius: 3px;
  margin-bottom: 4px;
  display: inline-block;
}

/* Right Sidebar */
.sidebar-right {
  position: relative;
  padding: 16px 20px;
}

.sidebar-right-sticky {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.widget-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.widget-header svg {
  width: 20px;
  height: 20px;
  color: var(--accent-pink);
}

.widget-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.widget-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}

.widget-channel-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.widget-channel-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.widget-channel-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-channel-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-visit-pill {
  padding: 6px 14px;
  background: var(--accent-pink);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.btn-visit-pill:hover {
  background: var(--accent-pink-hover);
  transform: scale(1.05);
}

/* Single Post Page - Video Player & Ratio Bar */
.single-post-wrapper {
  padding: 20px;
}

.player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.player-container.theater-mode {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  border-radius: 0;
  margin: 0;
}

.player-container video {
  width: 100%;
  height: 100%;
  display: block;
}

/* Player Floating Utility Controls (PiP, Theater) */
.player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  background: var(--bg-elevated);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s;
}

.toolbar-btn:hover {
  color: var(--accent-pink);
}

.toolbar-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Single Watch Action Bar */
.single-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

/* Like / Dislike Ratio Bar */
.reaction-bar-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reaction-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.15s;
}

.reaction-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.reaction-btn:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.reaction-btn.liked {
  background: var(--accent-pink-light);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.ratio-bar {
  width: 100%;
  height: 4px;
  background: #3f3f46;
  border-radius: 4px;
  overflow: hidden;
}

.ratio-fill {
  height: 100%;
  background: var(--accent-pink);
  transition: width 0.3s ease;
}

/* 2257 Compliance Notice Badge */
.compliance-badge-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Modal Video Player & Dialogs (Zero Inline Clutter)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-dialog {
  background: #11131a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  line-height: 1;
}

.modal-close-btn:hover {
  background: var(--accent-pink);
  transform: scale(1.1);
}

.modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.modal-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal-details {
  padding: 18px 20px;
}

/* Mobile Sticky Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  flex: 1;
  height: 100%;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--accent-pink);
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Architecture & Strict Mobile-First Boundaries
   ========================================================================== */
html, body {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@media (max-width: 1120px) {
  :root {
    --sidebar-left-w: 80px;
    --sidebar-right-w: 300px;
  }
  .brand-name, .nav-label { display: none; }
  .nav-item { justify-content: center; padding: 14px; }
}

@media (max-width: 900px) {
  .app-layout { 
    grid-template-columns: 80px 1fr !important; 
  }
  .sidebar-right { 
    display: none !important; 
  }
}

@media (max-width: 768px) {
  /* Header & Bottom Nav */
  .mobile-header { 
    display: flex !important; 
    height: var(--header-height);
    padding: 0 12px;
    width: 100%;
    max-width: 100vw;
  }
  
  .mobile-bottom-nav { 
    display: flex !important; 
    height: 56px;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
  }

  /* Core Layout - 1 Column Edge-to-Edge */
  .app-layout { 
    display: block !important;
    width: 100% !important; 
    max-width: 100vw !important; 
    overflow-x: hidden !important;
    margin-top: var(--header-height); 
    margin-bottom: 56px; 
    padding: 0 !important;
  }

  .sidebar-left, 
  .sidebar-right { 
    display: none !important; 
  }

  .main-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    border-right: none !important;
    padding-bottom: 72px !important;
  }

  /* Sticky Topbar */
  .feed-topbar {
    position: sticky;
    top: var(--header-height);
    width: 100%;
    max-width: 100%;
    z-index: 50;
    padding: 8px 10px;
    box-sizing: border-box;
  }

  .topbar-title-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 4px 6px !important;
  }

  .page-title {
    font-size: 1.15rem !important;
  }

  .topbar-search-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  .topbar-search-wrapper input {
    width: 100% !important;
    font-size: 0.82rem !important;
    padding: 7px 12px 7px 34px !important;
  }

  .feed-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
  }

  .category-pills-bar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 6px 4px 8px 4px !important;
    gap: 6px !important;
  }

  .category-pills-bar::-webkit-scrollbar {
    display: none !important;
  }

  .category-pill {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
  }

  /* Post Cards on Mobile */
  .posts-feed {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .post-card {
    padding: 12px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-left: none !important;
    border-right: none !important;
  }

  .post-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .creator-avatar {
    width: 38px !important;
    height: 38px !important;
  }

  .creator-name {
    font-size: 0.9rem !important;
  }

  .creator-handle {
    font-size: 0.78rem !important;
  }

  .post-caption {
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    margin-bottom: 8px !important;
  }

  /* Video scaling - strict 100% mobile frame boundaries */
  .video-preview-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  .video-thumb-img, 
  .hover-preview-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .play-button-circle {
    width: 44px !important;
    height: 44px !important;
  }

  .play-button-circle svg {
    width: 20px !important;
    height: 20px !important;
  }

  .duration-pill, .hd-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .post-bottom-bar {
    padding-top: 8px !important;
    font-size: 0.8rem !important;
  }

  /* Single Watch Page on Mobile */
  .single-post-wrapper {
    padding: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .player-container {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
  }

  .player-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .player-toolbar {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
  }

  .toolbar-btn {
    font-size: 0.78rem !important;
  }

  .single-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .single-meta-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .single-action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .reaction-bar-container {
    width: 100% !important;
  }

  .reaction-buttons-row {
    justify-content: space-between !important;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
}

/* ==========================================================================
   Photo Gallery Grid & Lightbox Viewer (Viralmms Pattern)
   ========================================================================== */
.gallery-preview-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: #000;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-grid-item {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-preview-grid:hover .gallery-grid-item img {
  transform: scale(1.04);
}

.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  z-index: 3;
}

.gallery-badge-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

/* Single Gallery Hero & Thumbs */
.gallery-hero-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-color);
}

.gallery-main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-view img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-count-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 11, 16, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-thumbs-strip {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--bg-surface);
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-thumb-item {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.gallery-thumb-item:hover, .gallery-thumb-item.active {
  border-color: var(--accent-pink);
  opacity: 1;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Creator Channel Profile Header
   ========================================================================== */
.channel-profile-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.channel-cover-banner {
  position: relative;
  width: 100%;
  height: 160px;
}

.channel-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,11,16,0.95) 100%);
}

.channel-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  padding: 0 24px 20px 24px;
  margin-top: -45px;
  position: relative;
  z-index: 2;
}

.channel-avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.channel-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.channel-verified-icon {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-meta-col {
  flex: 1;
  min-width: 200px;
}

.channel-name-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.channel-handle-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.channel-stats-row {
  display: flex;
  gap: 16px;
  margin: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.channel-bio-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 650px;
  margin-top: 6px;
}

.channel-actions-col {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.channel-follow-btn {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.channel-follow-btn.following {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   Channels Directory Page & Grid (viralmms.com/channels benchmark)
   ========================================================================== */
.channels-directory-page {
  padding: 20px 24px;
}

.channels-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.channels-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4px 6px 4px 16px;
}

.channels-search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 200px;
}

.btn-channel-search {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-channel-search:hover {
  background: var(--accent-pink-hover);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.channel-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
}

.channel-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pink);
  box-shadow: 0 8px 24px rgba(255, 0, 102, 0.15);
}

.channel-card-banner {
  position: relative;
  height: 95px;
  width: 100%;
  overflow: hidden;
  background: #111;
}

.channel-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.channel-card-item:hover .channel-card-banner img {
  transform: scale(1.04);
}

.channel-card-body {
  padding: 0 16px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.channel-card-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-surface);
  margin-top: -29px;
  object-fit: cover;
  margin-bottom: 8px;
  background: var(--bg-surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.channel-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.channel-card-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.channel-card-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  flex: 1;
}

.channel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
}

.channel-card-posts-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--accent-pink);
}

.channel-card-visit-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.channel-card-item:hover .channel-card-visit-btn {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
}

/* ==========================================================================
   Monetization & Native In-Feed / Under-Player Ad Placement
   ========================================================================== */
.ad-placement-wrapper {
  margin: 20px 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  position: relative;
}

.ad-disclaimer {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ad-banner-link {
  text-decoration: none;
  display: block;
}

.ad-mockup-inner {
  background: linear-gradient(135deg, rgba(255, 0, 102, 0.15) 0%, rgba(20, 20, 30, 0.6) 100%);
  border: 1px dashed rgba(255, 0, 102, 0.35);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.ad-mockup-inner:hover {
  background: linear-gradient(135deg, rgba(255, 0, 102, 0.25) 0%, rgba(20, 20, 30, 0.8) 100%);
  border-color: var(--accent-pink);
}

.ad-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.ad-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Model / Actress Profile Styles (KVS & WP-Script Benchmark)
   ========================================================================== */
.model-profile-hero {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.model-cover-banner {
  position: relative;
  width: 100%;
  height: 180px;
}

.model-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,11,16,0.95) 100%);
}

.model-info-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 22px;
  padding: 0 24px 22px 24px;
  margin-top: -55px;
  position: relative;
  z-index: 2;
}

.model-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-full);
  border: 4px solid var(--bg-surface);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

.model-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.model-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-meta-col {
  flex: 1;
  min-width: 240px;
}

.model-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-name-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.model-country-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.model-aliases-row {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 4px 0;
}

.alias-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.alias-text {
  color: var(--accent-pink);
  font-weight: 500;
}

.model-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.model-stat-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.model-bio-paragraph {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 680px;
}

.model-actions-col {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-model-follow {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255,0,102,0.3);
}

.btn-model-follow:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,0,102,0.45);
}

.btn-model-follow.following {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

/* ==========================================================================
   Actresses A-Z Directory Page Styles
   ========================================================================== */
.models-directory-page {
  padding: 20px 24px;
}

.directory-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.directory-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4px 6px 4px 16px;
}

.directory-search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 180px;
}

.btn-model-search {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* A-Z Alphabet Filter */
.az-alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.az-letter-pill {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.az-letter-pill:hover, .az-letter-pill.active {
  background: var(--accent-pink);
  color: #fff;
}

/* Models Cards Grid */
.models-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.model-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.model-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pink);
  box-shadow: 0 8px 24px rgba(255,0,102,0.15);
}

.model-card-avatar-box {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.model-card-item:hover .model-card-avatar-box {
  border-color: var(--accent-pink);
}

.model-card-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-card-count-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.8);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 2px 0;
}

.model-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.model-card-country {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Starring Model & Tag Pills on Single Post */
.post-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid rgba(255,0,102,0.3);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.post-model-pill:hover {
  border-color: var(--accent-pink);
  background: rgba(255,0,102,0.12);
  color: var(--accent-pink);
}

.post-model-pill img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.post-tag-pill {
  display: inline-block;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-tag-pill:hover {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}

/* ==========================================================================
   Feed vs Tube Grid Mode Switching
   ========================================================================== */
.posts-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  padding: 18px !important;
}

.posts-grid .post-item-wrapper {
  display: contents !important;
}

.posts-grid .post-card {
  display: none !important;
}

.posts-grid .video-grid-card {
  display: flex !important;
}

.posts-feed {
  display: flex !important;
  flex-direction: column !important;
}

.posts-feed .video-grid-card {
  display: none !important;
}

.posts-feed .post-card {
  display: block !important;
}

/* ==========================================================================
   Topbar & View Mode Switcher Controls
   ========================================================================== */
.topbar-left-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.active-mode-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-pink);
  background: rgba(255, 0, 102, 0.12);
  border: 1px solid rgba(255, 0, 102, 0.35);
  padding: 2px 7px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.view-mode-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2px;
}

.view-toggle-btn {
  width: 32px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
  border: none;
}

.view-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.view-toggle-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.view-toggle-btn.active {
  color: #ffffff;
  background: var(--accent-pink);
  box-shadow: 0 2px 8px var(--accent-pink-glow);
}

.mobile-view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2px;
}

.mobile-view-btn {
  width: 32px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
  border: none;
}

.mobile-view-btn svg {
  width: 16px;
  height: 16px;
}

.mobile-view-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.mobile-view-btn.active {
  color: #ffffff;
  background: var(--accent-pink);
  box-shadow: 0 2px 8px var(--accent-pink-glow);
}

/* ==========================================================================
   Responsive Video Cards Grid (Adult Tube Benchmark)
   ========================================================================== */
.video-grid-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s, box-shadow 0.22s;
  cursor: pointer;
  position: relative;
}

.video-grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 102, 0.5);
  box-shadow: 0 12px 28px rgba(255, 0, 102, 0.18);
}

.card-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-grid-card:hover .card-thumb-img {
  transform: scale(1.05);
}

.card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-grid-card:hover .card-thumb-overlay {
  opacity: 1;
}

.card-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 0, 102, 0.6);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.video-grid-card:hover .card-play-btn {
  transform: scale(1);
}

.card-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.badge-hd {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-category-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 0, 102, 0.9);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card-details {
  display: flex;
  gap: 10px;
  padding: 12px 14px 10px 14px;
}

.card-avatar-box {
  flex-shrink: 0;
}

.card-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  transition: transform 0.15s;
}

.card-avatar-img:hover {
  transform: scale(1.08);
}

.card-meta-box {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.video-grid-card:hover .card-title {
  color: var(--accent-pink);
}

.card-channel-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}

.card-channel-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-channel-name:hover {
  color: var(--text-primary);
}

.card-verified-icon {
  width: 12px;
  height: 12px;
  color: var(--accent-pink);
  flex-shrink: 0;
}

.card-stats-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.card-geo-pill {
  color: #ff4d94;
  font-weight: 700;
  background: rgba(255, 0, 102, 0.08);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  text-decoration: none;
}

.card-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.card-models-mini {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-model-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-pink);
  background: rgba(255, 0, 102, 0.08);
  border: 1px solid rgba(255, 0, 102, 0.25);
  padding: 1px 6px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}

.mini-model-pill:hover {
  background: var(--accent-pink);
  color: #ffffff;
}

.card-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.15s;
  cursor: pointer;
}

.card-like-btn:hover, .card-like-btn.liked {
  color: var(--accent-pink);
}

.card-like-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Cinema Video Player Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-dialog {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  z-index: 10;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
}

.modal-close-btn:hover {
  background: var(--accent-pink);
}

.modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-details {
  padding: 20px 24px;
}

.modal-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-like, .btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
  background: var(--bg-hover);
  color: var(--text-primary);
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-like:hover, .btn-share:hover {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}

.btn-like svg, .btn-share svg {
  width: 16px;
  height: 16px;
}

.modal-video-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.modal-video-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
  margin-bottom: 16px;
  background: var(--bg-hover);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Categories Directory Page & Grid
   ========================================================================== */
.categories-directory-page {
  max-width: 1000px;
  margin: 0 auto;
}

.categories-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.category-card-item {
  position: relative;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}

.category-card-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--accent-pink);
  box-shadow: 0 10px 24px rgba(255, 0, 102, 0.2);
}

.category-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card-item:hover .category-card-thumb {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 15, 0.2) 0%, rgba(9, 10, 15, 0.95) 85%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-card-count {
  background: rgba(255, 0, 102, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.category-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Full Width Clean Centered Feed Pagination
   ========================================================================== */
.feed-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 40px 20px 50px 20px;
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

.feed-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  user-select: none;
}

.feed-pagination .page-numbers:hover {
  background: var(--bg-hover);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 0, 102, 0.25);
}

.feed-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #db2777 100%);
  border-color: var(--accent-pink);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--accent-pink-glow);
}

.feed-pagination .prev.page-numbers,
.feed-pagination .next.page-numbers {
  padding: 0 22px;
  font-weight: 800;
  gap: 6px;
}

.feed-pagination .prev.page-numbers:hover,
.feed-pagination .next.page-numbers:hover {
  background: var(--accent-pink);
  color: #ffffff !important;
  border-color: var(--accent-pink);
}

.feed-pagination .dots {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: default;
  color: var(--text-muted);
}

/* ==========================================================================
   Tags & Topics Directory Page & Archive Styling
   ========================================================================== */
.tags-directory-page {
  padding: 20px 24px;
}

.tag-card-item {
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tag-card-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-pink) !important;
  background: var(--bg-hover) !important;
  box-shadow: 0 8px 24px rgba(255, 0, 102, 0.15) !important;
}

.tag-card-item:hover .tag-arrow-icon {
  transform: translateX(3px);
  color: #fff;
}

.featured-tag-pill:hover {
  border-color: var(--accent-pink) !important;
  background: var(--bg-surface) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 0, 102, 0.2);
}

.az-letter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.az-letter-pill:hover,
.az-letter-pill.active {
  background: var(--accent-pink) !important;
  border-color: var(--accent-pink) !important;
  color: #ffffff !important;
}

.tags-type-tabs .tab-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.tags-type-tabs .tab-btn:hover,
.tags-type-tabs .tab-btn.active {
  background: var(--accent-pink) !important;
  border-color: var(--accent-pink) !important;
  color: #ffffff !important;
}

.tag-archive-header {
  border-radius: var(--radius-md);
  margin: 16px 20px;
}




