/* ═══════════════════════════════════════════════════════════════
   StripArchive.cam — Main Stylesheet
   Dark theme inspired by Stripchat.com
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  --bg:          #0d0d1a;
  --bg-card:     #1a1a2e;
  --bg-nav:      #0a0a14;
  --bg-input:    #111124;
  --accent:      #ff6b35;
  --accent-hover:#e55a25;
  --accent-2:    #7c3aed;
  --text:        #f0f0f8;
  --text-muted:  #8888aa;
  --border:      #2a2a44;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 24px rgba(0,0,0,.45);
  --font:        'Inter', 'Poppins', system-ui, sans-serif;
  --transition:  .2s ease;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* ── Age Gate ────────────────────────────────────────────────── */
#age-gate {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(5,5,15,.97);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.age-gate-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 420px; width: 90%;
  text-align: center;
  box-shadow: var(--shadow);
}
.age-gate-box .logo-text { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin-bottom: .5rem; }
.age-gate-box p { color: var(--text-muted); margin: 1rem 0; font-size: .9rem; }
.age-gate-box .badges { display: flex; gap: 1rem; justify-content: center; margin: 1rem 0; }
.age-gate-box .badges span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Navbar ──────────────────────────────────────────────────── */
nav.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-right: .45rem;
}
.nav-logo .brand-text {
  display: inline;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo .brand-accent {
  color: var(--accent);
}
.nav-logo .brand-ext {
  color: var(--text-muted);
  font-weight: 400;
  font-size: .9rem;
}

.search-form {
  flex: 1; max-width: 520px;
  display: flex; align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.search-form:focus-within { border-color: var(--accent); }
.search-form input {
  flex: 1; border: none; background: transparent;
  color: var(--text); padding: .55rem 1rem;
  font-size: .9rem; outline: none;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  background: var(--accent);
  border: none; cursor: pointer;
  padding: .55rem 1rem; color: #fff;
  transition: background var(--transition);
  display: flex; align-items: center; gap: .3rem;
}
.search-form button:hover { background: var(--accent-hover); }

.nav-links {
  display: flex; align-items: center; gap: .5rem; margin-left: auto; flex-shrink: 0;
}
.nav-links a {
  color: var(--text-muted); font-size: .85rem; padding: .35rem .75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: rgba(255,255,255,.06);
}

/* ── Filter Bar ──────────────────────────────────────────────── */
.filter-bar {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.filter-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: .25rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-tab {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.1rem; border-radius: 0;
  color: var(--text-muted); font-size: .88rem; font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all var(--transition);
}
.filter-tab:hover { color: var(--text); }
.filter-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Main Layout ─────────────────────────────────────────────── */
.main-wrap {
  max-width: 1400px; margin: 0 auto;
  padding: 1.5rem 1.5rem;
}
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.4rem; font-weight: 700; }
.page-header p  { color: var(--text-muted); font-size: .88rem; }

/* ── Stats Strip ─────────────────────────────────────────────── */
.stats-strip {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.stat-item { display: flex; flex-direction: column; }
.stat-item .val { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-item .lbl { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ── Video Grid ──────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-card a { color: inherit; }

.video-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: #111;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb .duration {
  position: absolute; bottom: 6px; right: 8px;
  background: rgba(0,0,0,.78);
  color: #fff; font-size: .75rem; font-weight: 600;
  padding: 2px 7px; border-radius: 4px;
  pointer-events: none;
}
.video-thumb .play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition), background var(--transition);
}
.video-card:hover .play-overlay {
  opacity: 1; background: rgba(0,0,0,.35);
}
.play-overlay svg { width: 54px; height: 54px; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }

.video-thumb .performer-avatar {
  position: absolute; bottom: 8px; left: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-card); overflow: hidden;
}
.video-thumb .performer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.video-info { padding: .75rem .9rem; }
.video-info .performer-name {
  font-size: .85rem; font-weight: 600; color: var(--accent);
  margin-bottom: .2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.video-info .video-meta {
  display: flex; justify-content: space-between;
  font-size: .76rem; color: var(--text-muted);
}
.video-info .video-title {
  font-size: .82rem; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: .3rem;
}

/* ── Performer Grid ──────────────────────────────────────────── */
.performer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.performer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem .75rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.performer-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.performer-card .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto .75rem;
  border: 2px solid var(--border);
  background: var(--bg); overflow: hidden;
}
.performer-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.performer-card .name {
  font-size: .9rem; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.performer-card .stats {
  font-size: .75rem; color: var(--text-muted); margin-top: .3rem;
}

/* ── Video Player Page ───────────────────────────────────────── */
.player-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .player-layout { grid-template-columns: 1fr; }
}
.video-player-wrap {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}
.video-player-wrap video, .video-player-wrap iframe {
  width: 100%; height: 100%; border: none;
}
.video-details { margin-top: 1rem; }
.video-details h1 { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
.video-details .meta-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .83rem; color: var(--text-muted); margin-bottom: .75rem;
}
.video-details .meta-row a { color: var(--accent); }
.tags-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag-pill {
  background: rgba(255,107,53,.12);
  color: var(--accent); font-size: .78rem;
  padding: .25rem .7rem; border-radius: 50px;
  border: 1px solid rgba(255,107,53,.25);
}
.tag-pill:hover { background: rgba(255,107,53,.25); }

.btn-group { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Sidebar */
.sidebar-related h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.related-list { display: flex; flex-direction: column; gap: .75rem; }
.related-item {
  display: flex; gap: .75rem; align-items: flex-start;
  border-radius: var(--radius-sm); padding: .4rem;
  transition: background var(--transition);
}
.related-item:hover { background: rgba(255,255,255,.04); }
.related-item .thumb {
  width: 110px; flex-shrink: 0;
  aspect-ratio: 16/9; border-radius: 5px;
  overflow: hidden; background: #111; position: relative;
}
.related-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-item .thumb .dur {
  position: absolute; bottom: 3px; right: 4px;
  font-size: .68rem; background: rgba(0,0,0,.8);
  color: #fff; padding: 1px 5px; border-radius: 3px;
}
.related-item .info { flex: 1; min-width: 0; }
.related-item .info .rname {
  font-size: .8rem; color: var(--accent); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.related-item .info .rmeta { font-size: .73rem; color: var(--text-muted); }

/* ── Performer Profile ───────────────────────────────────────── */
.performer-header {
  background: linear-gradient(135deg, #1a0e2e 0%, #0d1a3a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center; margin-bottom: 1.5rem;
  position: relative; overflow: hidden;
}
.performer-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124,58,237,.15) 0%, transparent 70%);
  pointer-events: none;
}
.performer-header .avatar-lg {
  width: 110px; height: 110px; border-radius: 50%;
  border: 3px solid var(--accent);
  margin: 0 auto 1rem; background: var(--bg-card); overflow: hidden;
}
.performer-header .avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.performer-header h1 { font-size: 1.6rem; font-weight: 800; }
.performer-header .perf-stats {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin: 1rem 0; color: var(--text-muted); font-size: .85rem;
}
.performer-header .perf-stats strong { color: var(--text); display: block; font-size: 1rem; }
.performer-header .sc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,107,53,.12); color: var(--accent);
  border: 1px solid rgba(255,107,53,.3); padding: .4rem 1rem;
  border-radius: 50px; font-size: .82rem; margin-top: .5rem;
}
.performer-header .sc-link:hover { background: rgba(255,107,53,.25); }

/* ── Section Header ──────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; flex-wrap: wrap; gap: .5rem;
}
.section-header h2 { font-size: 1.1rem; font-weight: 700; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .35rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.page-btn {
  min-width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: .85rem;
  color: var(--text-muted); transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.page-btn.disabled { opacity: .35; pointer-events: none; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  max-width: 640px;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: .4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: .6rem .9rem; font-size: .9rem;
  outline: none; transition: border-color var(--transition);
  font-family: var(--font);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 130px; resize: vertical; }
.alert {
  padding: .85rem 1rem; border-radius: var(--radius-sm);
  margin-bottom: 1rem; font-size: .88rem;
}
.alert-success { background: rgba(34,197,94,.1); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.alert-error   { background: rgba(239,68,68,.1);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.alert-info    { background: rgba(99,102,241,.1);  color: #a5b4fc; border: 1px solid rgba(99,102,241,.2); }

/* ── "More from" section ─────────────────────────────────────── */
.more-from { margin-top: 2rem; }
.more-from h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.more-from .video-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-nav);
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: .82rem; color: var(--text-muted);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.rta-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 4px; padding: .2rem .6rem; font-size: .72rem;
}

/* ── Skeleton Loader ─────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, #22224a 50%, var(--bg-card) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.skeleton-card { height: 240px; border-radius: var(--radius); }

/* ── Toast Notifications ─────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  display: flex; flex-direction: column; gap: .5rem;
}
.toast {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .75rem 1.2rem;
  font-size: .85rem; box-shadow: var(--shadow);
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 1rem; }
  .main-wrap { padding: 1rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
  .performer-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .performer-header .perf-stats { gap: 1rem; }
}

/* ── Utility ─────────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.d-flex { display: flex; } .gap-1 { gap: .5rem; } .align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.fw-600 { font-weight: 600; } .fs-sm { font-size: .82rem; }
.loading { pointer-events: none; opacity: .6; }

