/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --red:       #e8172a;
  --red-dark:  #b50f1f;
  --red-glow:  rgba(232, 23, 42, 0.18);

  --bg:        #0a0a0c;
  --bg2:       #111115;
  --surface:   #17171d;
  --surface2:  #1f1f27;
  --border:    #2a2a36;
  --border2:   #3a3a48;

  --text:      #f0f0f5;
  --text2:     #b8b8c8;
  --muted:     #74748a;

  --gold:      #f0b429;
  --green:     #22c55e;

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --nav-h:     64px;
  --shadow:    0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.7);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Nav ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,12,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-r, .logo-accent { color: var(--red); }

.nav-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.nav-search:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.nav-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-size: 0.88rem;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
  background: none;
  border: none;
  padding: 0 1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.nav-search button:hover { color: var(--red); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-links a.active { color: var(--red); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.mobile-menu.open { display: flex; }
.mobile-search { display: flex; gap: 0.5rem; }
.mobile-search input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}
.mobile-search button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  display: block;
  padding: 0.6rem 0.5rem;
  color: var(--text2);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.mobile-menu a:hover { color: var(--text); background: var(--surface2); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero-strip {
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(232,23,42,0.14) 0%, transparent 65%),
    var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.hero-inner { max-width: 640px; margin: 0 auto; }

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.hero-sub {
  color: var(--text2);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.hero-search {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow), var(--shadow);
}
.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.9rem 1.25rem;
  color: var(--text);
  font-size: 1rem;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s;
}

.star-avatar-img {
  padding: 0;
  overflow: hidden;
}
.star-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.star-count {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-search button:hover { background: var(--red-dark); }

.red-text { color: var(--red); }

/* ─── Category pills ─────────────────────────────────────── */
.cat-pills-section {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.cat-pills-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cat-pills-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  padding: 0.38rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.cat-pill:hover { background: var(--surface); color: var(--text); border-color: var(--border2); }
.cat-pill.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ─── Filters bar ────────────────────────────────────────── */
.filters-bar {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.filters-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
.filters-left, .filters-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.filters-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.filter-group { display: flex; gap: 0.3rem; }

.filter-btn {
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover { background: var(--surface2); color: var(--text); }
.filter-btn.active {
  background: rgba(232,23,42,0.12);
  color: var(--red);
  border-color: rgba(232,23,42,0.3);
}

.filter-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}
.filter-select:focus { border-color: var(--red); }

/* ─── Video Section ──────────────────────────────────────── */
.video-section { padding: 2rem 0 3rem; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ─── Video Card ─────────────────────────────────────────── */
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--border2);
  box-shadow: var(--shadow);
}

.video-thumb-link { display: block; }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface2);
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }

/* Portrait uploads: the grid slot stays 16/9 for a consistent layout, but the
   image itself is shown in full (object-fit: contain) over a blurred copy of
   itself as filler, instead of being cropped or squished to fit. */
.video-thumb.is-portrait .thumb-bg,
.related-thumb.is-portrait .thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.55);
  transform: scale(1.15);
}
.video-thumb.is-portrait img,
.related-thumb.is-portrait .thumb-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.video-card:hover .video-thumb.is-portrait img { transform: scale(1.0); }

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-placeholder.small { min-height: 90px; }

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

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(232,23,42,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: scale(0.85);
  transition: transform 0.2s;
  backdrop-filter: blur(4px);
}
.video-card:hover .play-btn { transform: scale(1); }

.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.video-hd {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* ── Hover preview progress bar ── */
.preview-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 4;
}
.video-card:hover .preview-bar { opacity: 1; }
.preview-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}

/* Smooth frame crossfade */
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  /* tiny fade between frames looks polished */
  image-rendering: auto;
}

.video-info {
  padding: 0.75rem 0.85rem 0.5rem;
}
.video-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.video-meta {
  display: flex;
  gap: 0.85rem;
  font-size: 0.77rem;
  color: var(--muted);
}
.meta-views, .meta-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.meta-rating svg { color: var(--gold); }

.video-tags {
  padding: 0 0.85rem 0.75rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

/* ─── Tag / Category chips ───────────────────────────────── */
.tag-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.73rem;
  color: var(--text2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tag-chip:hover { background: var(--surface); color: var(--red); border-color: rgba(232,23,42,0.3); }
.tag-chip.large {
  font-size: 0.82rem;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
}

/* ─── Eye preview button ─────────────────────────────────── */
.eye-preview-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,0.72);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  z-index: 5;
  letter-spacing: 0.01em;
}
.video-card:hover .eye-preview-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.eye-preview-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ─── Preview Modal ──────────────────────────────────────── */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  pointer-events: none;
}
.preview-modal.open {
  visibility: visible;
  pointer-events: auto;
}

.preview-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(6px);
}
.preview-modal.open .preview-modal-backdrop { opacity: 1; }

.preview-modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease;
}
.preview-modal.open .preview-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.preview-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem 0.75rem;
}
.preview-modal-title {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.preview-modal-close {
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.preview-modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.preview-player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}
.preview-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.preview-modal-footer {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
}
.btn-watch-full {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--red);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
.btn-watch-full:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ─── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 0 0.5rem;
  flex-wrap: wrap;
}
.page-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.page-btn:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }

.page-numbers { display: flex; gap: 0.3rem; }
.page-num {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.page-num:hover { background: var(--surface2); color: var(--text); }
.page-num.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}
.page-ellipsis {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ─── Page headers ───────────────────────────────────────── */
.page-header {
  padding: 2.5rem 1.5rem 1.5rem;
}
.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.3rem;
}
.page-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--red); }

/* ─── Categories grid ─────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  padding-bottom: 3rem;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.category-card:hover {
  background: var(--surface2);
  border-color: var(--border2);
  transform: translateY(-2px);
}
.category-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}
.category-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.category-arrow { color: var(--muted); transition: color 0.15s; }
.category-card:hover .category-arrow { color: var(--red); }

/* ─── Stars grid ─────────────────────────────────────────── */
.star-search-bar, .tag-search-bar {
  margin-bottom: 1.5rem;
}
.star-filter-input {
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.star-filter-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.star-filter-input::placeholder { color: var(--muted); }

.stars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  padding-bottom: 3rem;
}
.star-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.star-card:hover {
  background: var(--surface2);
  border-color: rgba(232,23,42,0.3);
  transform: translateY(-3px);
}
.star-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.star-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  word-break: break-word;
  line-height: 1.3;
}
.star-card:hover .star-name { color: var(--text); }

.star-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.star-hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ─── Tags cloud ─────────────────────────────────────────── */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 3rem;
}

/* ─── Video player ────────────────────────────────────────── */
.player-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  align-items: start;
}

.player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.player-wrapper iframe,
.player-wrapper > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.player-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text2);
  font-size: 0.9rem;
}
.player-error a { color: var(--red); }

.video-detail-info {
  margin-top: 1.25rem;
}
.video-detail-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.video-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 0.5rem;
}
.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hd-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.detail-section { margin-top: 1.25rem; }
.detail-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.detail-stars { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.star-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text2);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.star-chip svg { color: var(--red); }
.star-chip:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); }

.detail-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-chip-large {
  display: inline-block;
  padding: 0.38rem 0.85rem;
  background: rgba(232,23,42,0.08);
  border: 1px solid rgba(232,23,42,0.2);
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: #d06070;
  transition: background 0.15s, color 0.15s;
}
.cat-chip-large:hover {
  background: rgba(232,23,42,0.16);
  color: var(--red);
}

.detail-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text2);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-external:hover { background: var(--surface2); border-color: var(--border2); color: var(--text); }

/* ─── Sidebar / related ───────────────────────────────────── */
.player-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  max-height: calc(100vh - var(--nav-h) - 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sidebar-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.related-list { display: flex; flex-direction: column; gap: 0.75rem; }

.related-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.related-card:hover { background: var(--surface); }

.related-thumb-link { flex-shrink: 0; display: block; }

.related-thumb {
  position: relative;
  width: 140px;
  aspect-ratio: 16/9;
  background: var(--surface2);
  border-radius: 6px;
  overflow: hidden;
}
.related-thumb .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.related-card:hover .related-thumb .thumb-img { transform: scale(1.05); }

.related-duration {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  z-index: 2;
}

/* Small eye button — icon only, no text label */
.eye-preview-sm {
  padding: 0.38rem;
  gap: 0;
  font-size: 0;        /* hide any accidental text */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  justify-content: center;
}
.related-card:hover .eye-preview-sm {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.related-info { flex: 1; min-width: 0; }

.related-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.3rem;
  transition: color 0.15s;
}
.related-title:hover { color: var(--red); }

.related-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.73rem;
  color: var(--muted);
}

/* ─── Empty state ─────────────────────────────────────────── */
.empty-state {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 4rem 1rem;
  color: var(--text2);
}
.empty-icon { font-size: 3rem; }
.empty-state h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}
.empty-state p { color: var(--muted); font-size: 0.9rem; }
.empty-state a { color: var(--red); }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-logo p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.25rem;
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text2);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--red); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 600px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .player-layout {
    grid-template-columns: 1fr;
  }
  .player-sidebar {
    position: static;
    max-height: none;
  }
  .related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .related-card {
    flex-direction: column;
  }
  .related-thumb { width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }

  .hero-strip { padding: 2rem 1rem; }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }

  .filters-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .stars-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .video-title { font-size: 0.8rem; }
}

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ─── Focus visible ───────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.exclusive-badge {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: #fff !important;
}
.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.nav-special {
  color: var(--gold) !important;
  font-weight: 600;
}
.nav-special:hover { opacity: 0.8; }

/* ─── Age Gate Overlay ───────────────────────────────────────────────────── */
body.age-gate-locked { overflow: hidden; }
.age-gate-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 6, 8, 0.97);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
}
.age-gate-box {
  max-width: 440px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.age-gate-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.age-gate-box h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.age-gate-box p { color: var(--text2); font-size: 0.92rem; line-height: 1.5; }
.age-gate-actions {
  display: flex; gap: 0.75rem; margin: 1.5rem 0 1.25rem;
}
.btn-age-enter, .btn-age-leave {
  flex: 1; padding: 0.8rem 1rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  border: 1px solid var(--border2);
}
.btn-age-enter {
  background: var(--red); color: #fff; border-color: var(--red);
}
.btn-age-enter:hover { background: var(--red-dark); }
.btn-age-leave { background: transparent; color: var(--text2); }
.btn-age-leave:hover { background: var(--surface2); }
.age-gate-fine { font-size: 0.76rem; color: var(--muted); }
.age-gate-fine a { color: var(--text2); }

/* ─── Legal pages ────────────────────────────────────────────────────────── */
.legal-page { max-width: 760px; padding: 2.5rem 1.5rem 4rem; line-height: 1.7; }
.legal-page h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.legal-page h2 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; color: var(--text); }
.legal-page p, .legal-page li { color: var(--text2); font-size: 0.94rem; }
.legal-page ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.legal-updated { color: var(--muted); font-size: 0.85rem; }
.legal-placeholder { color: var(--gold); background: rgba(240,180,41,0.08); padding: 0.15rem 0.4rem; border-radius: 4px; }
.legal-draft-notice {
  background: rgba(232,23,42,0.08); border: 1px solid rgba(232,23,42,0.3);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem;
  font-size: 0.88rem; color: var(--text2);
}
.legal-note { font-size: 0.85rem; color: var(--muted); margin-top: 1.5rem; }

.report-form { display: flex; flex-direction: column; gap: 0.4rem; max-width: 480px; margin-top: 1.5rem; }
.report-form label { font-size: 0.85rem; color: var(--text2); margin-top: 0.75rem; }
.report-form select, .report-form textarea, .report-form input {
  background: var(--surface2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.6rem 0.75rem; font-size: 0.9rem; font-family: inherit;
}
.report-form button { margin-top: 1.25rem; border: none; }

.btn-report-video {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--muted); font-size: 0.82rem; text-decoration: none;
  margin-top: 0.5rem;
}
.btn-report-video:hover { color: var(--text2); }
