/* ═══════════════════════════════════════════════════════════════
   FANZA Partner — style.css
   Dark streaming platform UI
   Font: System stack (fast, no external requests)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  --bg:          #0d0d0f;
  --bg2:         #141416;
  --bg3:         #1c1c20;
  --bg4:         #242428;
  --bg5:         #2c2c32;
  --border:      rgba(255,255,255,.08);
  --border2:     rgba(255,255,255,.14);
  --text:        #f0f0f2;
  --text2:       #b8b8c0;
  --muted:       #70707a;
  --accent:      #e50914;
  --accent-h:    #c20812;
  --accent-glow: rgba(229,9,20,.25);
  --accent2:     #ff6b35;
  --gold:        #f5c518;
  --green:       #22c55e;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --sans:        'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow:      0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.7);
  --container:   1380px;
  --transition:  .18s ease;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--sans); }
input, select, textarea { font-family: var(--sans); }
main { flex: 1; }

/* ── Utilities ───────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg5); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text) !important;
}
.site-logo:hover { color: var(--text) !important; }
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.logo-icon--sm { width: 26px; height: 26px; font-size: 12px; border-radius: 6px; }
.logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.3px;
  white-space: nowrap;
}

/* Desktop nav */
.site-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg3); }

/* Header search */
.header-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  position: relative;
}
.header-search-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 20px;
  padding: 7px 40px 7px 16px;
  font-size: 13px;
  width: 220px;
  transition: all var(--transition);
  outline: none;
}
.header-search-input::placeholder { color: var(--muted); }
.header-search-input:focus {
  border-color: var(--accent);
  width: 280px;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.header-search-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color var(--transition);
}
.header-search-btn:hover { color: var(--text); }

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 7px 9px;
  border-radius: 6px;
  margin-left: auto;
  transition: all var(--transition);
}
.mobile-menu-btn:hover { color: var(--text); border-color: var(--border2); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 12px 0 16px;
  transition: all var(--transition);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.mobile-nav-link:hover { color: var(--text); border-left-color: var(--accent); background: var(--bg3); }
.mobile-search {
  display: flex;
  gap: 8px;
  padding: 12px 20px 4px;
}
.mobile-search input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}
.mobile-search button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}
.mobile-search button:hover { background: var(--accent-h); }

@media (max-width: 900px) {
  .site-nav, .header-search { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0f 0%, #1a0a0a 50%, #0d0d0f 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(229,9,20,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(229,9,20,.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  max-width: 700px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text2);
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-search { width: 100%; }
.hero-search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  gap: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hero-search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.hero-search-icon { color: var(--muted); flex-shrink: 0; }
.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  min-width: 0;
}
.hero-search-input::placeholder { color: var(--muted); }
.hero-search-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
}
.hero-search-btn:hover { background: var(--accent-h); }
.hero-stats {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════════ */
.section {
  padding: 48px 0;
}
.section--alt { background: var(--bg2); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--text);
}
.section-count {
  font-size: 13px;
  color: var(--muted);
}
.section-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  transition: color var(--transition);
}
.section-more:hover { color: var(--accent2); }

/* ════════════════════════════════════════════════════════════════
   MOVIE CARD (landscape 800×565)
   ════════════════════════════════════════════════════════════════ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
@media (max-width: 600px) {
  .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (min-width: 1400px) {
  .movie-grid { grid-template-columns: repeat(5, 1fr); }
}

.movie-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border2);
}
.movie-card-link {
  display: block;
  color: inherit;
}
.movie-card-link:hover { color: inherit; }

/* Poster: 800×565 = 70.6% height ratio */
.movie-card-poster {
  position: relative;
  padding-bottom: 70.6%;
  background: var(--bg4);
  overflow: hidden;
}
.movie-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.movie-card:hover .movie-card-img { transform: scale(1.05); }
.movie-card-poster--error { background: var(--bg4); }

.movie-card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg5);
}

/* Overlay badges */
.movie-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 10px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 40%, transparent 60%, rgba(0,0,0,.7) 100%);
}
.movie-card-code {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .5px;
  align-self: flex-start;
}
.movie-card-runtime {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-end;
  margin-top: auto;
}

/* Play icon on hover */
.movie-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.movie-card:hover .movie-card-play { opacity: 1; }
.movie-card-play svg circle { fill: rgba(229,9,20,.85); }

/* Card body */
.movie-card-body { padding: 10px 12px 12px; }
.movie-card-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.movie-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.movie-card-studio {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.movie-card-year { font-size: 11px; color: var(--muted); }
.movie-card-actress {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ════════════════════════════════════════════════════════════════
   ACTRESS CARDS
   ════════════════════════════════════════════════════════════════ */
/* Homepage row */
.actress-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg5) transparent;
}
.actress-card {
  flex-shrink: 0;
  width: 120px;
  text-align: center;
  color: var(--text) !important;
  transition: transform var(--transition);
}
.actress-card:hover { transform: translateY(-4px); }
.actress-card-photo {
  width: 120px;
  height: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  margin-bottom: 8px;
  background: var(--bg3);
  transition: border-color var(--transition);
}
.actress-card:hover .actress-card-photo { border-color: var(--accent); }
.actress-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.actress-card-name {
  font-size: 12px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.actress-card-count { font-size: 11px; color: var(--muted); display: block; }

/* Actress index grid */
.actress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
@media (min-width: 1400px) { .actress-grid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 480px) { .actress-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

.actress-card-lg {
  text-align: center;
  color: var(--text) !important;
  transition: transform var(--transition);
}
.actress-card-lg:hover { transform: translateY(-4px); }
.actress-card-lg-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  margin-bottom: 8px;
  background: var(--bg3);
  aspect-ratio: 4/5;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.actress-card-lg:hover .actress-card-lg-photo {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.actress-card-lg-photo img { width: 100%; height: 100%; object-fit: cover; }
.actress-card-lg-name {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actress-card-lg-count { font-size: 11px; color: var(--muted); display: block; }

/* Actress profile (single actress page) */
.actress-profile {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.actress-profile-photo {
  width: 140px;
  height: 175px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg3);
  flex-shrink: 0;
}
.actress-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.actress-profile-info { flex: 1; min-width: 0; }

/* Small actress cards on movie page */
.actress-grid-sm {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.actress-card-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 90px;
  text-align: center;
  color: var(--text) !important;
  transition: transform var(--transition);
}
.actress-card-sm:hover { transform: translateY(-3px); }
.actress-card-sm img {
  width: 90px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg3);
  transition: border-color var(--transition);
}
.actress-card-sm:hover img { border-color: var(--accent); }
.actress-card-sm-name {
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  color: var(--text2);
}

/* ════════════════════════════════════════════════════════════════
   STUDIO / TAG / SERIES COMPONENTS
   ════════════════════════════════════════════════════════════════ */
/* Studio chips row */
.studio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.studio-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text2) !important;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.studio-chip:hover {
  background: var(--bg4);
  border-color: var(--accent);
  color: var(--text) !important;
}
.studio-chip-count {
  background: var(--bg4);
  border-radius: 12px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tag-cloud--lg { gap: 10px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  color: var(--text2) !important;
  font-weight: 500;
  line-height: 1.4;
  transition: all var(--transition);
  white-space: nowrap;
}
.tag-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}
.tag-chip sup {
  font-size: .7em;
  margin-left: 4px;
  color: var(--muted);
}

/* Series row */
.series-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.series-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text) !important;
  transition: all var(--transition);
}
.series-card:hover {
  border-color: var(--accent);
  background: var(--bg4);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.series-card-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.series-card-count { font-size: 11px; color: var(--muted); }

/* Taxonomy grid (studios/series index) */
.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.taxonomy-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text) !important;
  transition: all var(--transition);
}
.taxonomy-card:hover {
  border-color: var(--accent);
  background: var(--bg4);
  transform: translateY(-2px);
}
.taxonomy-card-name { font-size: 13px; font-weight: 600; line-height: 1.4; }
.taxonomy-card-count { font-size: 11px; color: var(--muted); }

/* ════════════════════════════════════════════════════════════════
   TAXONOMY HEADER (archive pages)
   ════════════════════════════════════════════════════════════════ */
.taxonomy-header {
  padding: 36px 0 28px;
}
.taxonomy-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 8px 0 6px;
  color: var(--text);
}
.taxonomy-count {
  font-size: 14px;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════
   ARCHIVE SEARCH FILTER
   ════════════════════════════════════════════════════════════════ */
.archive-search { margin-bottom: 28px; }
.archive-search--lg .archive-search-wrap { max-width: 600px; }
.archive-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 480px;
}
.archive-search-input {
  flex: 1;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.archive-search-input::placeholder { color: var(--muted); }
.archive-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.archive-search-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
}
.archive-search-btn:hover { background: var(--accent-h); }
.archive-search-clear {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--radius);
  padding: 10px 13px;
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
  transition: all var(--transition);
  cursor: pointer;
}
.archive-search-clear:hover { color: var(--text); border-color: var(--border2); }
.search-results-info {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ════════════════════════════════════════════════════════════════
   MOVIE PAGE — HERO
   ════════════════════════════════════════════════════════════════ */
.movie-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.movie-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: blur(20px) brightness(.3) saturate(1.2);
  transform: scale(1.1);
}
.movie-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,13,15,1) 0%, rgba(13,13,15,.6) 60%, transparent 100%);
}
.movie-hero-content {
  position: relative;
  z-index: 1;
  padding: 28px 0 32px;
}
.movie-jav-code {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
  letter-spacing: .8px;
  margin-bottom: 10px;
}
.movie-title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 12px;
  max-width: 900px;
}
.movie-quick-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}
.movie-quick-studio {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}
.movie-quick-studio:hover { color: var(--accent2); }
.movie-quick-date, .movie-quick-runtime {
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ════════════════════════════════════════════════════════════════
   MOVIE PAGE — LAYOUT
   ════════════════════════════════════════════════════════════════ */
.movie-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 32px 0 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .movie-layout { grid-template-columns: 1fr; }
  .movie-sidebar { order: -1; }
}

/* Player */
.player-section { margin-bottom: 32px; }
.server-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.server-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text2);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.server-tab:hover { border-color: var(--accent); color: var(--text); }
.server-tab--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.player-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.player-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Download */
.download-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.download-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg4);
  border: 1.5px solid var(--border);
  color: var(--text) !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.download-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff !important;
}

/* Section blocks */
.section-block { margin-bottom: 32px; }
.block-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* Sidebar */
.movie-sidebar { position: sticky; top: 76px; }
.sidebar-poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background: var(--bg3);
}
.sidebar-poster img { width: 100%; height: auto; display: block; }
.sidebar-details {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
}
.sidebar-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  margin-bottom: 14px;
}
.details-list { list-style: none; }
.detail-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row dt {
  color: var(--muted);
  font-weight: 600;
  min-width: 80px;
  flex-shrink: 0;
  font-size: 12px;
}
.detail-row dd { color: var(--text2); flex: 1; word-break: break-word; }
.detail-row dd a { color: var(--accent); }
.detail-row dd a:hover { color: var(--accent2); }
.sidebar-ext-link { margin-top: 12px; }
.ext-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text2) !important;
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.ext-link-btn:hover { border-color: var(--accent); color: var(--text) !important; }

/* Screenshots grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.screenshot-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: zoom-in;
}
.screenshot-item:hover img {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ════════════════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  cursor: zoom-out;
}
.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  z-index: 2;
  background: rgba(0,0,0,.6);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  transition: background var(--transition);
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }

/* ════════════════════════════════════════════════════════════════
   BREADCRUMB
   ════════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden="true"] { color: var(--bg5); }
.breadcrumb span[aria-current="page"] { color: var(--text2); }

/* ════════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════════ */
.pagination {
  margin: 40px 0 20px;
}
.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text2);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 38px;
  justify-content: center;
  text-decoration: none !important;
}
.page-btn:hover:not(.page-btn--disabled):not(.page-btn--active) {
  border-color: var(--accent);
  color: var(--text);
  background: var(--bg4);
}
.page-btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  cursor: default;
}
.page-btn--disabled {
  opacity: .35;
  cursor: default;
}
.page-ellipsis { color: var(--muted); padding: 0 4px; line-height: 38px; }
.pagination-info {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text) !important;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--border2); background: var(--bg4); }

/* ════════════════════════════════════════════════════════════════
   EMPTY STATE
   ════════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state svg { margin: 0 auto 16px; opacity: .25; }
.empty-state p { font-size: 15px; }
.empty-hint { font-size: 13px; margin-top: 8px; }

/* ════════════════════════════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════════════════════════════ */
.error-page {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}
.error-code {
  font-size: 120px;
  font-weight: 900;
  letter-spacing: -8px;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.error-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.error-message { color: var(--text2); margin-bottom: 32px; font-size: 15px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-suggestions { color: var(--muted); font-size: 13px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.error-links a { color: var(--accent); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 13px; color: var(--muted); }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-group { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-nav-group a {
  font-size: 13px;
  color: var(--text2);
  transition: color var(--transition);
}
.footer-nav-group a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer-copy { font-size: 12px; color: var(--muted); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE FIXES
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { min-height: 360px; }
  .hero-content { padding: 40px 0; }
  .hero-search-btn { padding: 8px 16px; font-size: 13px; }
  .section { padding: 32px 0; }
  .movie-layout { gap: 24px; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .movie-grid { grid-template-columns: repeat(2, 1fr); }
  .actress-row { gap: 10px; }
  .actress-card { width: 100px; }
  .actress-card-photo { width: 100px; height: 125px; }
  .error-code { font-size: 80px; }
  .taxonomy-grid, .series-row { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   LOADING SKELETON
   ════════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
