/* ============================================================
   OB FETISH — VIDEO PAGE STYLES
   Player, metadata, locked overlay, related, sidebar
   ============================================================ */

/* ----------------------------------------------------------
   VIDEO PAGE LAYOUT
   ---------------------------------------------------------- */
.obf-video-player-section {
  padding: var(--space-6) 0 var(--space-10);
}

.obf-container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.obf-video-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-8);
  align-items: start;
  margin-top: var(--space-6);
}

@media (max-width: 1024px) {
  .obf-video-layout {
    grid-template-columns: 1fr;
  }
  .obf-video-layout__sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 600px) {
  .obf-video-layout__sidebar {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   PLAYER WRAPPER
   ---------------------------------------------------------- */
.obf-player-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-xl);
}

/* Bunny / Embed player - responsive 16:9 */
.obf-player--bunny,
.obf-player--embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.obf-player--bunny iframe,
.obf-player--embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Native HTML5 player */
.obf-player--html5 {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.obf-video-element {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Custom dark skin for native video controls */
.obf-video-element::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.obf-video-element::-webkit-media-controls-play-button,
.obf-video-element::-webkit-media-controls-current-time-display,
.obf-video-element::-webkit-media-controls-time-remaining-display {
  color: #fff;
}

/* Thumbnail fallback */
.obf-player--thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ----------------------------------------------------------
   LOCKED PLAYER OVERLAY
   ---------------------------------------------------------- */
.obf-player-locked {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-void);
}

.obf-player-locked__bg {
  position: absolute;
  inset: 0;
}

.obf-player-locked__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.obf-player-locked__blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.55);
}

.obf-player-locked__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  z-index: 2;
}

.obf-player-locked__icon {
  width: 80px;
  height: 80px;
  background: rgba(200,16,46,0.15);
  border: 2px solid rgba(200,16,46,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: var(--space-5);
  animation: pulse-glow 2.5s ease infinite;
}

.obf-player-locked__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.obf-player-locked__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 380px;
  margin-bottom: var(--space-6);
}

.obf-player-locked__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.obf-player-locked__preview {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.obf-player-locked__preview:hover {
  color: var(--text-primary);
}

/* ----------------------------------------------------------
   VIDEO INFO SECTION
   ---------------------------------------------------------- */
.obf-video-info {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-6);
}

.obf-video-info__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.obf-video-info__badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.obf-video-info__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.obf-video-info__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 3vw, var(--text-4xl));
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.obf-video-info__stats {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.obf-stat {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   DESCRIPTION
   ---------------------------------------------------------- */
.obf-video-description {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.obf-video-description__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.obf-video-description__content {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

/* ----------------------------------------------------------
   TAGS
   ---------------------------------------------------------- */
.obf-video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

/* ----------------------------------------------------------
   MODEL PILLS
   ---------------------------------------------------------- */
.obf-video-models {
  margin-bottom: var(--space-6);
}

.obf-video-models__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.obf-video-models__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.obf-video-model-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.obf-video-model-pill:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(200,16,46,0.06);
}

.obf-video-model-pill img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.obf-video-model-pill__placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   SIDEBAR
   ---------------------------------------------------------- */
.obf-sidebar-cta {
  background: linear-gradient(135deg, rgba(200,16,46,0.1) 0%, rgba(123,47,255,0.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.obf-sidebar-cta h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.obf-sidebar-cta__perks {
  list-style: none;
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.obf-sidebar-cta__perks li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.obf-sidebar-details {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.obf-sidebar-details__title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.obf-sidebar-details__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.obf-sidebar-details__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}

.obf-sidebar-details__list li:last-child {
  border-bottom: none;
}

.obf-sidebar-details__list li span {
  color: var(--text-muted);
}

.obf-sidebar-details__list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Related section */
.obf-related-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

/* ----------------------------------------------------------
   MODEL PROFILE PAGE
   ---------------------------------------------------------- */
.obf-model-banner {
  position: relative;
  height: 320px;
  background: var(--bg-elevated);
  overflow: hidden;
  margin-top: 0;
}

.obf-model-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.obf-model-banner__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-base) 100%);
}

.obf-model-profile {
  display: flex;
  align-items: flex-end;
  gap: var(--space-6);
  margin-top: calc(-1 * var(--space-16));
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.obf-model-profile__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-base);
  background: var(--bg-elevated);
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

.obf-model-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.obf-model-profile__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.obf-model-profile__name {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  letter-spacing: -0.03em;
}

.obf-model-profile__alias {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.obf-model-profile__stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-4);
}

.obf-model-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.obf-model-stat strong {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.obf-model-stat span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.obf-model-profile__social {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.obf-model-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.obf-model-social-link:hover { color: var(--text-primary); background: var(--glass-bg); }
.obf-model-social-link--twitter:hover   { border-color: #1da1f2; color: #1da1f2; }
.obf-model-social-link--instagram:hover { border-color: #e1306c; color: #e1306c; }

.obf-model-bio {
  max-width: 760px;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--border-subtle);
}

.obf-model-bio__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.obf-model-bio__content {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

/* ----------------------------------------------------------
   MODELS ARCHIVE PAGE
   ---------------------------------------------------------- */
.obf-page-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-subtle);
}

.obf-page-header__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  margin-bottom: var(--space-2);
}

.obf-page-header__desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.obf-models-filters {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.obf-models-search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  color: var(--text-muted);
}

.obf-models-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.obf-models-sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.obf-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
}

.obf-alpha-browser {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
}

.obf-alpha-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.obf-alpha-btn:hover,
.obf-alpha-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

/* ----------------------------------------------------------
   WATCHLIST PAGE
   ---------------------------------------------------------- */
.obf-watchlist-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-6);
}

.obf-watchlist-empty {
  text-align: center;
  padding: var(--space-20) var(--space-8);
  max-width: 480px;
  margin: 0 auto;
}

.obf-watchlist-empty__icon {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  display: flex;
  justify-content: center;
}

.obf-watchlist-empty h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.obf-watchlist-empty p {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: var(--leading-loose);
}

/* ----------------------------------------------------------
   BREADCRUMBS
   ---------------------------------------------------------- */
.obf-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.obf-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.obf-breadcrumbs a:hover {
  color: var(--accent-primary);
}

.obf-breadcrumb-sep {
  opacity: 0.4;
}

.obf-breadcrumbs span:last-child {
  color: var(--text-secondary);
}

/* ----------------------------------------------------------
   COMMENTS SECTION
   ---------------------------------------------------------- */
.obf-video-comments {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.obf-video-comments .comment-list {
  list-style: none;
}

.obf-video-comments .comment {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.obf-video-comments .comment-author {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.obf-video-comments .comment-content {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.obf-video-comments .comment-form input,
.obf-video-comments .comment-form textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-4);
  width: 100%;
  font-family: var(--font-body);
  margin-bottom: var(--space-3);
}

.obf-video-comments .comment-form input:focus,
.obf-video-comments .comment-form textarea:focus {
  border-color: var(--accent-primary);
  outline: none;
}

.obf-video-comments .comment-form-submit input[type="submit"] {
  width: auto;
  background: var(--accent-primary);
  color: #fff;
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.obf-video-comments .comment-form-submit input[type="submit"]:hover {
  background: var(--accent-primary-light);
}
