/* ==========================================================================
   HOTTESTLIVECAMGIRLS — MINIMAL BLACK & WHITE REDESIGN
   Clean, light, no color accents
   ========================================================================== */

/* --------------------------------------------------------------------------
   BASE RESET & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --bg:         #ffffff;
  --bg-subtle:  #f5f5f5;
  --bg-card:    #ffffff;
  --text:       #111111;
  --text-muted: #666666;
  --border:     #e0e0e0;
  --border-dark:#111111;
  --shadow:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --radius:     4px;
  --radius-md:  8px;
  --font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg-subtle) !important;
  color: var(--text) !important;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text) !important; text-decoration: none !important; }
a:hover { color: var(--text) !important; }

/* --------------------------------------------------------------------------
   HEADER / NAV
   -------------------------------------------------------------------------- */
.header {
  background: var(--bg) !important;
  border-bottom: 2px solid var(--border-dark) !important;
  box-shadow: none !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav {
  background: var(--bg) !important;
  padding: 0 24px !important;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: -0.5px;
  white-space: nowrap;
  text-decoration: none !important;
}

.logo i { font-size: 22px; }

.navbar { display: none !important; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-actions a {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.nav-actions a:hover { background: var(--bg-subtle) !important; }

.nav-actions .btn-black {
  background: var(--text) !important;
  color: #fff !important;
  font-weight: 600;
}

.nav-actions .btn-black:hover { background: #333 !important; }

.mobile-show-categories { display: none; }

/* Search */
.nav-search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--border-dark);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
}
.nav-search-overlay.active { display: block; }
.nav-search-overlay .input-group {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
}
.nav-search-overlay .form-control {
  border: 0; background: var(--bg);
  font-size: 15px; padding: 10px 16px;
}
.nav-search-overlay .btn {
  background: var(--text) !important;
  color: #fff !important;
  border: 0; padding: 0 18px;
}

/* --------------------------------------------------------------------------
   TOP SECTION — STATUS BAR + FILTER TABS
   -------------------------------------------------------------------------- */
.top-section {
  display: flex !important;
  flex-wrap: wrap;
  width: 100%;
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
  padding: 0 !important;
  margin: 0 !important;
}

.top-section .content { flex: 1; margin-left: 0 !important;
  background: var(--bg) !important;
  padding: 8px 24px !important;
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.status-bar strong {
  color: var(--text);
  font-weight: 700;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none !important;
}

.filter-tab:hover {
  border-color: var(--text);
  color: var(--text) !important;
}

.filter-tab.active {
  background: var(--text) !important;
  color: #fff !important;
  border-color: var(--text) !important;
}

/* Sort dropdown */
.rows-select select {
  border: 1px solid var(--border-dark) !important;
  border-radius: var(--radius) !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 28px 5px 10px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* --------------------------------------------------------------------------
   MAIN LAYOUT
   -------------------------------------------------------------------------- */
.page-wrapper {
  display: flex;
  gap: 24px;
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SIDEBAR
   -------------------------------------------------------------------------- */
.aside {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 !important;
  align-self: flex-start;
  position: sticky;
  top: 80px;
}

.aside-section {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.aside-section:last-child { border-bottom: none; }

.aside-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.aside-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text) !important;
  transition: background 0.1s;
}

.aside-links li a:hover { background: var(--bg-subtle) !important; }
.aside-links li a.active { font-weight: 700; }

.aside-links .count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 1px 6px;
  border-radius: 10px;
}

.join-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--text) !important;
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--text) !important;
  transition: background 0.15s;
}
.join-btn:hover { background: #333 !important; }

/* --------------------------------------------------------------------------
   MODEL GRID
   -------------------------------------------------------------------------- */
.main-content { flex: 1; min-width: 0; }

#dataContent.row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  background: transparent !important;
}

#dataContent.row .img-col {
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 0 !important;
  margin: 0 !important;
}

#dataContent.row .img-col:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.thumbnail-card { position: relative; }

/* Thumbnail */
.thumb-overflow {
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  aspect-ratio: 4/3;
  display: block;
}

.img-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Card body — below image, no overlay */
.card-body {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
}

.card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.card-network {
  font-size: 11px;
  color: var(--text-muted) !important;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Card status dot */
.card-status {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  margin-right: 4px;
  vertical-align: middle;
}

.card-status.online { background: var(--text); }

/* Gold show badge */
.gold-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  color: var(--text) !important;
  margin-left: 4px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   SHOW MORE
   -------------------------------------------------------------------------- */
.loadMoreContainer {
  text-align: center;
  padding: 24px 0;
  grid-column: 1 / -1;
}

#loadMore {
  background: var(--text) !important;
  color: #fff !important;
  border: 2px solid var(--text) !important;
  border-radius: var(--radius);
  padding: 10px 32px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
#loadMore:hover { background: #333 !important; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  #dataContent.row { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 800px) {
  #dataContent.row { grid-template-columns: repeat(2, 1fr) !important; }
  .aside { display: none !important; }
  .page-wrapper { padding: 16px; gap: 16px; }
  .top-section .content { padding: 12px 16px !important; }
}

@media (max-width: 480px) {
  #dataContent.row { grid-template-columns: repeat(2, 1fr) !important; }
  .top-nav { padding: 0 16px !important; }
}

/* --------------------------------------------------------------------------
   MISC OVERRIDES
   -------------------------------------------------------------------------- */
.breadcrumbs { display: none !important; }
footer, .footer { background: var(--bg) !important; border-top: 1px solid var(--border) !important; }
footer a, .footer a { color: var(--text-muted) !important; }
.form-control, .form-select {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--text) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1) !important;
}
.dropdown-menu { background: var(--bg) !important; border: 1px solid var(--border) !important; }
.dropdown-item { color: var(--text) !important; font-size: 13px; }
.dropdown-item:hover { background: var(--bg-subtle) !important; }
.notification-col { background: var(--bg) !important; border: 1px solid var(--border) !important; }
.pagination .page-link {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.pagination .page-item.active .page-link {
  background: var(--text) !important;
  color: #fff !important;
  border-color: var(--text) !important;
}
.loader { border-color: var(--text) !important; border-bottom-color: transparent !important; }
.back-to-top { background: var(--text) !important; }
.bottom-bar-img { display: none !important; }

/* Fix stage (player) */
.stage { flex-shrink: 0 !important; }

/* Fix stage (player) - prevent flex shrink and set min-width */
.stage { flex-shrink: 0 !important; min-width: 320px !important; }

/* ========== MOBILE NAV - LOGIN + JOIN BUTTONS ========== */
@media (max-width: 992px) {
    .top-nav {
        justify-content: flex-start !important;
        height: 52px !important;
    }

    .logo {
        flex-shrink: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 0 !important;
        min-width: 0 !important;
    }

    .nav-mobile-group {
        display: flex !important;
        flex-shrink: 0 !important;
        gap: 6px !important;
        margin-left: auto !important;
        order: 1 !important;
        align-items: center !important;
    }

    .nav-mobile-group .nav-login {
        display: inline-flex !important;
        visibility: visible !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
    }

    .nav-mobile-group .btn-green {
        display: inline-flex !important;
        visibility: visible !important;
        background: #111 !important;
        color: #fff !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        padding: 6px 12px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }

    .mobile-show-categories {
        display: none !important;
    }
}

/* ========== FORM PAGES - SIGNUP / LOGIN ========== */
section.forms {
  background: var(--bg-subtle) !important;
}

section.forms .card {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow) !important;
}

section.forms .card-body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

section.forms .form-control {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-size: 14px;
  padding: 10px 14px;
}

section.forms .form-control::placeholder {
  color: var(--text-muted) !important;
}

section.forms .form-control:focus {
  border-color: var(--text) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1) !important;
}

section.forms label {
  color: var(--text) !important;
  font-weight: 600;
}

section.forms .btn {
  background: var(--text) !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 40px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius) !important;
}

section.forms .btn:hover {
  background: #333 !important;
}

section.forms a.fr__link,
section.forms a {
  color: var(--text) !important;
  text-decoration: underline !important;
}

section.forms .notification.info {
  background: var(--bg-subtle) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

section.forms .notification.success {
  background: #e8f5e9 !important;
  border: 1px solid #4caf50 !important;
  color: #1b5e20 !important;
}

section.forms .captcha-img {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

/* ========== FIX: top-section on signup/login pages ========== */
/* These pages use .top-section class but shouldnt look like the main page header */
body .top-section.pb-0 {
  background: var(--bg-subtle) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .top-section.pb-0::before {
  display: none !important;
}

body .top-section.pb-0 .notification.info {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

body .top-section.pb-0 .notification.info a,
body .top-section.pb-0 .notification a {
  color: var(--text) !important;
}

body .top-section.pb-0 .notification.success {
  background: #e8f5e9 !important;
  border: 1px solid #4caf50 !important;
  color: #1b5e20 !important;
}

/* Fix: .description in signup/login notification must be dark */
body .top-section.pb-0 .description,
body .top-section.pb-0 .notification p,
section.forms .description,
section.forms .notification p {
  color: #111111 !important;
}

/* ========== CAPTCHA FIX ========== */
section.forms .captcha {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

section.forms .captcha .captcha-img,
section.forms .captcha-img {
  border: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: 40px !important;
}

section.forms .captcha .captcha-input,
section.forms .captcha-input {
  color: #111 !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  height: 40px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  max-width: none !important;
  flex-grow: 1 !important;
}

section.forms .captcha-input::placeholder {
  color: var(--text-muted) !important;
}
