/* ============================================
   LH Streaming - Netflix-Style Design
   © IMH Group, Inc.
   ============================================ */

/* WordPress Page Container Fix - Prevent content clipping */
html, body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
}

/* Twenty Twenty-Five Theme Overrides - Remove ALL constraints */
.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-group,
.wp-block-post-content,
.is-layout-constrained,
.is-layout-flow,
.has-global-padding,
.wp-block-group-is-layout-constrained,
.wp-block-group-is-layout-flow,
.entry-content,
.post-content,
article.page {
  overflow: visible !important;
  max-height: none !important;
  max-width: 100% !important;
}

/* Remove ALL WordPress padding and width constraints */
body.page .is-layout-constrained > *,
body.page .has-global-padding > *,
body.page .wp-block-post-content > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page .has-global-padding,
body.page .wp-block-post-content,
body.page .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
}

/* Our plugin containers handle their own width and padding */
.lh-subscribe,
.lh-account,
.lh-account-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
}

/* Base Variables */
:root {
  --lh-primary: #e50914;
  --lh-primary-hover: #f40612;
  --lh-bg-dark: #000;
  --lh-bg-card: #141414;
  --lh-bg-hover: #181818;
  --lh-text: #fff;
  --lh-text-muted: #b3b3b3;
  --lh-border-radius: 6px;
  --lh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Bar */
.lh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 60%, transparent 100%);
  padding: 12px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, top 0.3s;
}

/* Adjust for WordPress Admin Bar */
.admin-bar .lh-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .lh-header {
    top: 46px;
  }
}

.lh-header.scrolled {
  background: rgba(20,20,20,0.98);
}

.lh-header__left,
.lh-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lh-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lh-header__logo img {
  height: 36px;
  width: auto;
}

.lh-header__logo-text {
  color: #e50914;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none !important;
}

.lh-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lh-header__nav a {
  color: #b3b3b3;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.lh-header__nav a:hover,
.lh-header__nav a.active {
  color: #fff;
}

.lh-header__nav a.active {
  font-weight: 600;
}

/* Search */
.lh-header__search {
  display: flex;
  align-items: center;
  position: relative;
}

.lh-header__search-btn {
  background: none;
  border: none;
  color: var(--lh-text);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--lh-transition);
}

.lh-header__search-btn:hover {
  color: var(--lh-text-muted);
}

.lh-header__search-input {
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--lh-text);
  font-size: 14px;
  outline: none;
  transition: all var(--lh-transition);
}

.lh-header__search.open .lh-header__search-input {
  width: 200px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.8);
  border: 1px solid var(--lh-text-muted);
}

.lh-header__search-input::placeholder {
  color: var(--lh-text-muted);
}

/* Header Icons */
.lh-header__icon {
  color: var(--lh-text);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--lh-transition);
}

.lh-header__icon:hover {
  color: var(--lh-text-muted);
}

.lh-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* User Menu Dropdown */
.lh-user-menu {
  position: relative;
}

.lh-user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.lh-user-menu__trigger:hover {
  background: rgba(255,255,255,0.1);
}

.lh-user-menu__avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.lh-user-menu__caret {
  color: #fff;
  transition: transform 0.2s;
}

.lh-user-menu:hover .lh-user-menu__caret {
  transform: rotate(180deg);
}

.lh-user-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  width: auto;
  background: #141414;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 10000;
}

.lh-user-menu:hover .lh-user-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lh-user-menu__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.lh-user-menu__avatar-lg {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.lh-user-menu__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lh-user-menu__name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.lh-user-menu__email {
  color: #808080;
  font-size: 12px;
}

.lh-user-menu__divider {
  height: 1px;
  background: #333;
  margin: 4px 0;
}

.lh-user-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 12px 16px;
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s;
}

.lh-user-menu__item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.lh-user-menu__item svg {
  flex-shrink: 0;
}

.lh-user-menu__item--logout {
  color: #e50914;
}

.lh-user-menu__item--logout:hover {
  background: rgba(229,9,20,0.15);
  color: #ff3d47;
}

/* Subscribe upsell — drawn with brand accent so it doesn't disappear
   in the standard list of secondary navigation links. */
.lh-user-menu__item--subscribe {
  color: var(--lh-primary);
  font-weight: 600;
}

.lh-user-menu__item--subscribe:hover {
  background: rgba(229, 9, 20, 0.15);
  color: #ff3d47;
}

/* Responsive Header */
@media (max-width: 768px) {
  .lh-header__nav {
    display: none;
  }
  
  .lh-header__search.open .lh-header__search-input {
    width: 150px;
  }
}

.lh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--lh-border-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--lh-transition);
}

.lh-btn--primary {
  background: var(--lh-primary);
  color: var(--lh-text);
}

.lh-btn--primary:hover {
  background: var(--lh-primary-hover);
  transform: scale(1.02);
}

.lh-btn--outline {
  background: transparent;
  color: var(--lh-text);
  border: 1px solid rgba(255,255,255,0.5);
}

.lh-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--lh-text);
}

.lh-btn--ghost {
  background: transparent;
  color: var(--lh-text);
  padding: 8px 16px;
}

.lh-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
}

.lh-btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--lh-text);
  border: 1px solid rgba(255,255,255,0.3);
}

.lh-btn--secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

.lh-btn--danger {
  background: transparent;
  color: #e50914;
  border: 1px solid #e50914;
}

.lh-btn--danger:hover {
  background: rgba(229,9,20,0.15);
}

/* Account Page */
.lh-account {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.lh-account--login-required {
  text-align: center;
  padding: 80px 20px;
}

.lh-account--login-required p {
  color: var(--lh-text-muted);
  margin-bottom: 20px;
}

.lh-account__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
}

.lh-account__avatar {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.lh-account__name {
  color: var(--lh-text);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.lh-account__email {
  color: var(--lh-text-muted);
  font-size: 14px;
  margin: 0;
}

.lh-account__section {
  background: rgba(255,255,255,0.03);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.lh-account__section-title {
  color: var(--lh-text);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.lh-account__subscription {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lh-account__sub-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.lh-account__sub-status--active,
.lh-account__sub-status--trialing {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.lh-account__sub-status--paused {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
}

.lh-account__sub-status--canceled,
.lh-account__sub-status--past_due {
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
}

.lh-account__sub-period {
  color: var(--lh-text-muted);
  font-size: 14px;
  margin: 0;
}

.lh-account__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.lh-account__notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin: 0;
}

.lh-account__notice--warning {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.lh-account__no-subscription {
  text-align: center;
  padding: 20px;
}

.lh-account__no-subscription p {
  color: var(--lh-text-muted);
  margin-bottom: 16px;
}

.lh-account__message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  animation: lh-fade-in 0.3s ease;
}

.lh-account__message--success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.lh-account__message--error {
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

@keyframes lh-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   Tabbed account UI (LH_Account)
   ===================================================================== */

.lh-account.lh-account--tabbed {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 4% 80px;
  min-height: 80vh;
}

.lh-account.lh-account--tabbed .lh-account__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid #222;
  margin-bottom: 32px;
}

.lh-account.lh-account--tabbed .lh-account__info { flex: 1 1 auto; min-width: 0; }
.lh-account__header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Layout: sidebar + main panel ---------------------------------- */

.lh-account__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.lh-account__nav {
  position: sticky;
  top: calc(var(--lh-header-height, 70px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 10px;
}

.lh-account__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--lh-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.lh-account__nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--lh-text);
}

.lh-account__nav-item.is-active {
  background: var(--lh-primary);
  color: #fff;
}

/* Subscribe-tab CTA — drawn even when not active so it stands out
   as the next-best action for users without a plan. */
.lh-account__nav-item--cta:not(.is-active) {
  background: rgba(229, 9, 20, 0.12);
  color: #ff5060;
  border: 1px solid rgba(229, 9, 20, 0.4);
}
.lh-account__nav-item--cta:not(.is-active):hover {
  background: rgba(229, 9, 20, 0.2);
  color: #fff;
}

.lh-account__main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

@media (max-width: 820px) {
  .lh-account__layout { grid-template-columns: 1fr; }
  .lh-account__nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 6px;
    gap: 4px;
  }
  .lh-account__nav-item { flex: 0 0 auto; white-space: nowrap; padding: 8px 12px; }
  .lh-account__nav-item span { font-size: 13px; }
}

/* ---- Section panels reused inside tabs ----------------------------- */

.lh-account.lh-account--tabbed .lh-account__section {
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 24px;
  margin: 0;
}

.lh-account.lh-account--tabbed .lh-account__section--danger {
  border-color: rgba(229, 9, 20, 0.4);
  background: rgba(229, 9, 20, 0.04);
}

/* ---- Form fields --------------------------------------------------- */

.lh-account__form { display: flex; flex-direction: column; gap: 16px; }
.lh-account__field { display: flex; flex-direction: column; gap: 6px; }
.lh-account__field label,
.lh-account__field legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--lh-text);
  letter-spacing: 0.02em;
}
.lh-account__field input[type="text"],
.lh-account__field input[type="email"],
.lh-account__field input[type="password"],
.lh-account__field select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(0,0,0,0.4);
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--lh-text);
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  font-family: inherit;
}
.lh-account__field input:focus,
.lh-account__field select:focus {
  outline: none;
  border-color: var(--lh-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}
.lh-account__hint { color: var(--lh-text-muted); font-size: 12px; margin: 0; }
.lh-account__field--checkboxes { gap: 10px; border: 0; padding: 0; margin: 0; }
.lh-account__checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.lh-account__checkbox input { width: 18px; height: 18px; accent-color: var(--lh-primary); }
.lh-account__checkbox span { color: var(--lh-text); font-size: 14px; font-weight: 400; }

.lh-account__form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---- Quick stats grid (Overview) ----------------------------------- */

.lh-account__stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.lh-account__stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0,0,0,0.35);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 18px 12px;
  text-decoration: none;
  color: var(--lh-text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.lh-account__stat-card:hover { transform: translateY(-2px); border-color: var(--lh-primary); }
.lh-account__stat-value { font-size: 28px; font-weight: 700; }
.lh-account__stat-label { font-size: 12px; color: var(--lh-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Buttons (account-local variants) ------------------------------ */

.lh-account .lh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}
.lh-account .lh-btn--primary    { background: var(--lh-primary); color: #fff; }
.lh-account .lh-btn--primary:hover { background: var(--lh-primary-light, #ff1f2c); }
.lh-account .lh-btn--secondary  { background: rgba(255,255,255,0.08); color: var(--lh-text); border-color: #333; }
.lh-account .lh-btn--secondary:hover { background: rgba(255,255,255,0.12); }
.lh-account .lh-btn--danger     { background: #b00610; color: #fff; }
.lh-account .lh-btn--danger:hover { background: #d10c18; }
.lh-account .lh-btn--ghost      { background: transparent; color: var(--lh-text-muted); border-color: #333; }
.lh-account .lh-btn--ghost:hover { color: var(--lh-text); border-color: var(--lh-text); }
.lh-account .lh-btn[disabled]   { opacity: 0.5; cursor: not-allowed; }

.lh-account__billing-meta { margin-top: 16px; color: var(--lh-text-muted); font-size: 14px; }
.lh-account__billing-meta p { margin: 4px 0; }
.lh-account__billing-meta strong { color: var(--lh-text); font-weight: 600; }

/* Account Pages (Favorites, History, Settings) */
.lh-account-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  min-height: 60vh;
  background: var(--lh-bg-dark);
}

.lh-account-page--login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 4%;
}

.lh-account-page__icon {
  color: var(--lh-primary);
  margin-bottom: 16px;
}

.lh-account-page__icon svg {
  stroke: currentColor;
}

.lh-account-page__message {
  color: var(--lh-text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.lh-account-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.lh-account-page__title {
  color: var(--lh-text);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.lh-account-page__empty {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid #333;
}

.lh-account-page__empty p {
  color: var(--lh-text-muted);
  font-size: 16px;
  margin: 0;
}

.lh-account-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

/* Video Card for Account Pages */
.lh-video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--lh-border-radius);
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--lh-card-bg);
}

.lh-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lh-video-card__poster {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: var(--lh-border-radius);
  overflow: hidden;
  background: #1a1a1a;
}

.lh-video-card__poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-video-card__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.lh-video-card__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.2);
}

.lh-video-card__progress {
  height: 100%;
  background: var(--lh-primary);
  border-radius: 0 2px 2px 0;
}

.lh-video-card__title {
  padding: 12px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lh-text);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .lh-account-page {
    padding: 80px 4% 40px;
  }
  
  .lh-account-page__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .lh-account-page__title {
    font-size: 22px;
  }
  
  .lh-account-page__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
}

/* Footer */
.lh-footer {
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.lh-footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.lh-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .lh-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .lh-footer__grid {
    grid-template-columns: 1fr;
  }
}

.lh-footer__col {
  display: flex;
  flex-direction: column;
}

.lh-footer__title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lh-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lh-footer__links li {
  margin-bottom: 10px;
}

.lh-footer__links a {
  color: #808080;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.lh-footer__links a:hover {
  color: #fff;
}

.lh-footer__social {
  display: flex;
  gap: 16px;
}

.lh-footer__social a {
  color: #808080;
  transition: color 0.2s;
}

.lh-footer__social a:hover {
  color: #fff;
}

.lh-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #222;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 600px) {
  .lh-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

.lh-footer__language {
  position: relative;
}

.lh-footer__lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 8px 14px;
  color: #b3b3b3;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.lh-footer__lang-btn:hover {
  border-color: #666;
  color: #fff;
}

.lh-footer__lang-btn svg {
  flex-shrink: 0;
}

.lh-footer__lang-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.lh-footer__lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lh-footer__lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s;
}

.lh-footer__lang-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.lh-footer__lang-dropdown a.active {
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
}

.lh-footer__copyright {
  color: #666;
  font-size: 13px;
}

/* Catalog Grid */
.lh-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 0 4%;
}

/* Video Cards */
.lh-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-radius: var(--lh-border-radius);
  overflow: hidden;
  transition: transform var(--lh-transition), box-shadow var(--lh-transition);
}

.lh-card:hover {
  transform: scale(1.05) translateY(-8px);
  z-index: 10;
}

.lh-card__img {
  width: 100%;
  padding-top: 150%;
  background-size: cover;
  background-position: center;
  border-radius: var(--lh-border-radius);
  background-color: var(--lh-bg-card);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all var(--lh-transition);
  position: relative;
}

.lh-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--lh-transition);
  border-radius: var(--lh-border-radius);
}

.lh-card:hover .lh-card__img {
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.lh-card:hover .lh-card__img::after {
  opacity: 1;
}

.lh-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--lh-transition);
}

.lh-card:hover .lh-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.lh-card__play {
  width: 48px;
  height: 48px;
  background: var(--lh-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(229,9,20,0.4);
  transition: transform var(--lh-transition);
}

.lh-card__play:hover {
  transform: scale(1.1);
}

.lh-card__play svg {
  width: 20px;
  height: 20px;
  fill: white;
  margin-left: 2px;
}

.lh-card__title {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lh-text);
  transition: color var(--lh-transition);
}

.lh-card:hover .lh-card__title {
  color: var(--lh-text);
}

.lh-card__meta {
  font-size: 12px;
  color: var(--lh-text-muted);
  margin-top: 4px;
}

/* Netflix-Style Layout */
.lh-netflix {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 80px 4% 60px;
  background: var(--lh-bg-dark);
  min-height: 100vh;
}

.lh-row {
  position: relative;
}

.lh-row__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lh-row__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--lh-text);
  letter-spacing: -0.3px;
}

.lh-row__title::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 2px;
  background: var(--lh-primary);
  margin-left: 8px;
  vertical-align: middle;
  transition: width var(--lh-transition);
}

.lh-row:hover .lh-row__title::after {
  width: 40px;
}

.lh-row__explore {
  color: var(--lh-text-muted);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--lh-transition);
}

.lh-row__explore:hover {
  color: var(--lh-text);
}

.lh-row__scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.lh-row__scroll::-webkit-scrollbar {
  height: 6px;
}

.lh-row__scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.lh-row__scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.lh-row__scroll .lh-card {
  flex: 0 0 160px;
}

@media (min-width: 768px) {
  .lh-row__scroll .lh-card {
    flex: 0 0 180px;
  }
}

@media (min-width: 1200px) {
  .lh-row__scroll .lh-card {
    flex: 0 0 200px;
  }
}

/* Single Video Template - Override Theme Styles */
body.single-lh_video {
  background: #000 !important;
}

body.single-lh_video .wp-site-blocks,
body.single-lh_video .is-layout-constrained,
body.single-lh_video .has-global-padding {
  background: transparent !important;
  padding: 0 !important;
  max-width: none !important;
}

body.single-lh_video header,
body.single-lh_video .wp-block-template-part {
  background: #000 !important;
}

body.single-lh_video a {
  color: #e50914;
}

body.single-lh_video footer {
  background: #141414 !important;
  color: #888;
}

.lh-single-video {
  position: relative;
  min-height: 100vh;
  background: #000;
  color: #fff;
}

.lh-single-video__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  background: var(--backdrop) center top / cover no-repeat;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  z-index: 0;
}

.lh-single-video__hero {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.lh-single-video__poster {
  flex: 0 0 280px;
}

.lh-single-video__poster img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lh-single-video__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.lh-single-video__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.lh-single-video__details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lh-detail {
  color: #aaa;
  font-size: 14px;
}

.lh-detail--rating {
  color: #ffc107;
  font-weight: 600;
}

.lh-single-video__genres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lh-genre-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.lh-genre-tag:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.lh-single-video__overview {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
}

.lh-single-video__overview p {
  margin: 0;
}

.lh-single-video__cast,
.lh-single-video__director,
.lh-single-video__country {
  font-size: 14px;
  color: #aaa;
}

.lh-single-video__cast strong,
.lh-single-video__director strong,
.lh-single-video__country strong {
  color: #fff;
  margin-right: 8px;
}

.lh-single-video__tech-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.lh-tech-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.lh-tech-detail__icon {
  font-size: 18px;
}

.lh-tech-detail__label {
  color: #888;
}

.lh-tech-detail__value {
  color: #fff;
  font-weight: 500;
}

.lh-single-video__player {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 40px;
}

.lh-single-video__content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5% 40px;
  color: #ccc;
  line-height: 1.7;
}

.lh-single-video__related {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5% 60px;
}

@media (max-width: 768px) {
  .lh-single-video__hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
  }

  .lh-single-video__poster {
    flex: 0 0 auto;
    width: 200px;
  }

  .lh-single-video__title {
    font-size: 1.8rem;
  }

  .lh-single-video__genres {
    justify-content: center;
  }

  .lh-single-video__overview {
    text-align: left;
  }
}

.lh-player {
  width: 100%;
}

.lh-player__toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  color: #fff;
}

.lh-player__toolbar label {
  color: #fff;
  font-size: 14px;
}

.lh-player__toolbar select,
.lh-player__source {
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}

.lh-player__toolbar select:focus,
.lh-player__source:focus {
  outline: none;
  border-color: var(--lh-primary, #e50914);
}

.lh-player__toolbar select option,
.lh-player__source option {
  background: #333;
  color: #fff;
}

.lh-player__stage {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.lh-embed-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.lh-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lh-player__hls video {
  width: 100%;
  height: auto;
  display: block;
}

.lh-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
}

.lh-btn {
  background: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.lh-seek {
  flex: 1;
}

.lh-time {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

.lh-vol {
  width: 90px;
}

.lh-player__brand {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
}

.lh-single-video {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.lh-single-video__player {
  margin-bottom: 24px;
}

.lh-single-video__title {
  font-size: 2rem;
  margin: 0 0 12px 0;
}

.lh-single-video__genres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lh-genre-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.lh-genre-tag:hover {
  background: rgba(255,255,255,0.2);
}

.lh-single-video__description {
  line-height: 1.6;
}

.lh-paywall-notice {
  padding: 40px;
  text-align: center;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
}

.lh-paywall-notice a {
  color: #e50914;
  font-weight: 600;
}

/* Old subscribe styles removed - using new styles at end of file */

.lh-subscribe-error,
.lh-subscribe-active {
  padding: 20px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}

.lh-subscribe-active a {
  color: #e50914;
  font-weight: 600;
}

.lh-search {
  position: relative;
  max-width: 400px;
  margin: 20px auto;
}

.lh-search__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
}

.lh-search__input:focus {
  outline: none;
  border-color: #e50914;
}

.lh-search__results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a2e;
  border-radius: 0 0 8px 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
}

.lh-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lh-search__item:hover {
  background: rgba(229,9,20,0.2);
}

.lh-search__item img {
  width: 50px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
}

.lh-search__item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lh-search__item-title {
  font-weight: 500;
}

.lh-search__item-meta {
  font-size: 12px;
  color: #888;
}

.lh-search__no-results {
  padding: 16px;
  text-align: center;
  color: #888;
}

/* Extended Search */
.lh-search--extended {
  max-width: 600px;
}

.lh-search__main {
  display: flex;
  gap: 8px;
}

.lh-search--extended .lh-search__input {
  flex: 1;
}

.lh-search__toggle-filters {
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.lh-search__toggle-filters:hover,
.lh-search__toggle-filters.active {
  background: rgba(229,9,20,0.3);
  border-color: #e50914;
}

.lh-search__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.lh-search__filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.lh-search__filter label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
}

.lh-search__filter input,
.lh-search__filter select {
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}

.lh-search__filter input:focus,
.lh-search__filter select:focus {
  outline: none;
  border-color: #e50914;
}

.lh-search__apply-filters {
  align-self: flex-end;
  padding: 10px 20px;
  background: #e50914;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.lh-search__apply-filters:hover {
  background: #f40612;
}

.lh-search--extended .lh-search__results {
  position: relative;
  margin-top: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.lh-video-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.lh-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lh-rating__avg {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffc107;
}

.lh-rating__stars {
  display: flex;
  gap: 2px;
}

.lh-star {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.lh-star:hover,
.lh-star.active {
  color: #ffc107;
}

.lh-rating__count {
  color: #888;
  font-size: 0.9rem;
}

.lh-favorite {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.lh-favorite:hover {
  background: rgba(255,255,255,0.2);
}

.lh-favorite.active {
  background: rgba(229,9,20,0.3);
}

.lh-views {
  color: #888;
  font-size: 0.9rem;
}

.lh-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #e50914;
  border-radius: 0 0 8px 8px;
}

.lh-related h3,
.lh-favorites h3,
.lh-history h3 {
  margin: 0 0 16px 0;
  font-size: 1.3rem;
  color: #fff;
}

/* Modern Player Controls */
.lh-player {
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.lh-player:focus {
  outline: none;
}

.lh-player__stage {
  position: relative;
}

.lh-player video {
  width: 100%;
  display: block;
}

.lh-controls--modern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: auto;
  z-index: 50;
}

.lh-controls--hidden {
  opacity: 0;
  visibility: hidden;
}

.lh-player:hover .lh-controls--hidden {
  opacity: 1;
  visibility: visible;
}

.lh-progress-wrap {
  position: relative;
  padding: 8px 0;
  cursor: pointer;
}

.lh-progress-bar {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: height 0.1s;
}

.lh-progress-wrap:hover .lh-progress-bar {
  height: 6px;
}

.lh-progress-buffer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.lh-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #e50914;
  border-radius: 2px;
}

.lh-progress-handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #e50914;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.1s;
}

.lh-progress-wrap:hover .lh-progress-handle {
  transform: translate(-50%, -50%) scale(1);
}

.lh-progress-tooltip {
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  margin-bottom: 8px;
}

.lh-controls__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.lh-controls__left,
.lh-controls__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lh-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lh-btn:hover {
  background: rgba(255,255,255,0.1);
}

.lh-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.lh-btn--play .pause-icon,
.lh-btn--play.playing .play-icon {
  display: none;
}

.lh-btn--play.playing .pause-icon {
  display: block;
}

.lh-btn--mute .vol-mute,
.lh-btn--mute.muted .vol-high {
  display: none;
}

.lh-btn--mute.muted .vol-mute {
  display: block;
}

.lh-btn--fullscreen .fs-exit,
.lh-btn--fullscreen.active .fs-enter {
  display: none;
}

.lh-btn--fullscreen.active .fs-exit {
  display: block;
}

.lh-volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lh-volume-slider {
  width: 0;
  opacity: 0;
  transition: width 0.2s, opacity 0.2s;
  accent-color: #e50914;
}

.lh-volume-wrap:hover .lh-volume-slider {
  width: 80px;
  opacity: 1;
}

.lh-time-display {
  color: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  margin-left: 8px;
}

.lh-settings-wrap {
  position: relative;
}

.lh-settings-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: rgba(20,20,20,0.95);
  border-radius: 8px;
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 8px;
  backdrop-filter: blur(10px);
}

.lh-settings-section {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.lh-settings-title {
  padding: 8px 16px;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.lh-settings-list {
  display: flex;
  flex-direction: column;
}

.lh-settings-item {
  background: none;
  border: none;
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.lh-settings-item:hover {
  background: rgba(255,255,255,0.1);
}

.lh-settings-item.active {
  color: #e50914;
}

.lh-settings-item.active::before {
  content: '✓ ';
}

.lh-player--fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  border-radius: 0;
}

.lh-player--fullscreen video {
  height: 100vh;
  object-fit: contain;
}

.lh-player__error {
  padding: 40px;
  text-align: center;
  color: #888;
}

/* Genre Archive Page */
.lh-genre-archive {
  min-height: 100vh;
  background: var(--lh-bg-dark);
  padding: 100px 4% 60px;
}

/* Body wrapper for the genre archive page — keep the dark background but
   skip the container padding to avoid doubling with `.lh-genre-archive`. */
body.lh-genre-archive-page {
  background: var(--lh-bg-dark);
}

.lh-genre-archive__header {
  margin-bottom: 40px;
}

.lh-genre-archive__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lh-text);
  margin: 0 0 10px;
}

.lh-genre-archive__description {
  font-size: 1.1rem;
  color: var(--lh-text-muted);
  margin: 0;
  max-width: 800px;
}

.lh-genre-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.lh-genre-archive__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--lh-text-muted);
  padding: 60px 20px;
}

/* Video Card for Genre Archive */
.lh-video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--lh-border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--lh-card-bg);
}

.lh-video-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.lh-video-card__poster {
  position: relative;
  width: 100%;
  padding-top: 150%;
  background: #1a1a1a;
}

.lh-video-card__poster img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-video-card__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.lh-video-card__info {
  padding: 12px;
}

.lh-video-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lh-text);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lh-video-card__year {
  font-size: 0.85rem;
  color: var(--lh-text-muted);
}

/* Pagination */
.lh-pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding: 20px 0;
}

.lh-pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--lh-card-bg);
  color: var(--lh-text);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.lh-pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  background: #333;
}

.lh-pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--lh-primary);
  color: #fff;
}

@media (max-width: 768px) {
  .lh-genre-archive {
    padding: 80px 4% 40px;
  }
  
  .lh-genre-archive__title {
    font-size: 1.8rem;
  }
  
  .lh-genre-archive__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
}

/* Subscribe Plans */
.lh-subscribe {
  max-width: 700px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  min-height: 60vh;
  overflow: visible !important;
}

.lh-subscribe__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
}

.lh-subscribe__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.lh-subscribe__plan {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lh-subscribe__plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.lh-subscribe__plan--featured {
  background: linear-gradient(145deg, #1e3a5f 0%, #0f2744 100%);
  border-color: #e50914;
  box-shadow: 0 0 30px rgba(229,9,20,0.2);
}

.lh-subscribe__plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #e50914, #ff4d4d);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.lh-subscribe__plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}

.lh-subscribe__plan-price {
  text-align: center;
  margin-bottom: 8px;
}

.lh-subscribe__plan-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

.lh-subscribe__plan-period {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}

.lh-subscribe__plan-savings {
  text-align: center;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.lh-subscribe__plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.lh-subscribe__plan-features li {
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  font-size: 0.95rem;
}

.lh-subscribe__btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lh-subscribe__plan--featured .lh-subscribe__btn {
  background: linear-gradient(90deg, #e50914, #ff4d4d);
  border: none;
}

.lh-subscribe__plan--featured .lh-subscribe__btn:hover {
  background: linear-gradient(90deg, #ff1a1a, #ff6666);
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .lh-subscribe__title {
    font-size: 1.8rem;
  }
  
  .lh-subscribe__plan-amount {
    font-size: 2.5rem;
  }
  
  .lh-subscribe__plans {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Help Center Styles
   ============================================ */
.lh-help {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  background: #141414;
  min-height: 100vh;
}

.lh-help__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
  text-align: center;
}

.lh-help__intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin: 0 0 48px 0;
}

.lh-help__sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lh-help__section {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
}

.lh-help__section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lh-help__faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lh-help__item {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
}

.lh-help__question {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.lh-help__question::-webkit-details-marker {
  display: none;
}

.lh-help__question::after {
  content: '+';
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.2s ease;
}

.lh-help__item[open] .lh-help__question::after {
  content: '−';
}

.lh-help__question:hover {
  background: rgba(255,255,255,0.05);
}

.lh-help__answer {
  padding: 0 20px 16px 20px;
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

.lh-help__section--contact {
  background: linear-gradient(135deg, rgba(229,9,20,0.1), rgba(229,9,20,0.05));
  border: 1px solid rgba(229,9,20,0.2);
}

.lh-help__contact-text {
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .lh-help {
    padding: 40px 16px;
  }
  
  .lh-help__title {
    font-size: 1.8rem;
  }
  
  .lh-help__section {
    padding: 16px;
  }
}

/* Contact Page Styles */
.lh-contact {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  color: #fff;
}

.lh-contact__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.lh-contact__intro {
  font-size: 1.1rem;
  color: #b3b3b3;
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lh-contact__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.lh-contact__form {
  background: linear-gradient(145deg, #1a1a1a 0%, #141414 100%);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
  max-width: 600px;
  margin: 0 auto;
}

.lh-contact__form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.lh-contact__form-subtitle {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 32px;
}

/* Honeypot - hidden from users */
.lh-contact__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.lh-contact__field {
  margin-bottom: 24px;
}

.lh-contact__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #e5e5e5;
}

.lh-contact__input,
.lh-contact__textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.lh-contact__input:hover,
.lh-contact__textarea:hover {
  background: #151515;
  border-color: #444;
}

.lh-contact__input:focus,
.lh-contact__textarea:focus {
  outline: none;
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.lh-contact__input::placeholder,
.lh-contact__textarea::placeholder {
  color: #666;
}

.lh-contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.lh-contact__select {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.lh-contact__select:hover {
  background-color: #151515;
  border-color: #444;
}

.lh-contact__select:focus {
  outline: none;
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.lh-contact__select option {
  background: #1a1a1a;
  color: #fff;
  padding: 12px;
}

.lh-contact__char-count {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #666;
  margin-top: 6px;
}

.lh-contact__field--checkbox {
  margin-bottom: 24px;
}

.lh-contact__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #b3b3b3;
  line-height: 1.5;
}

.lh-contact__checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #e50914;
  cursor: pointer;
  flex-shrink: 0;
}

.lh-contact__checkbox-label a {
  color: #e50914;
  text-decoration: none;
}

.lh-contact__checkbox-label a:hover {
  text-decoration: underline;
}

.lh-contact__submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lh-contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.lh-contact__submit:active {
  transform: translateY(0);
}

.lh-contact__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.lh-contact__message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.lh-contact__message--success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.lh-contact__message--error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.lh-contact__info {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 32px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.lh-contact__info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
}

.lh-contact__info-item {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lh-contact__info-label {
  font-size: 0.9rem;
  color: #b3b3b3;
  margin-right: 8px;
}

.lh-contact__info-link {
  color: #e50914;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: block;
  font-size: 0.85rem;
  max-width: 100%;
}

.lh-contact__info-link:hover {
  color: #ff3d47;
  text-decoration: underline;
}

.lh-contact__response-time {
  font-size: 0.85rem;
  color: #808080;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #333;
}

@media (max-width: 768px) {
  .lh-contact__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .lh-contact__title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .lh-contact {
    padding: 40px 16px;
  }
  
  .lh-contact__title {
    font-size: 1.8rem;
  }
  
  .lh-contact__form,
  .lh-contact__info {
    padding: 24px;
  }
}

/* Cookie Banner Styles */
.lh-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-top: 1px solid #333;
  padding: 20px 24px;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.lh-cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lh-cookie-banner__text {
  flex: 1;
}

.lh-cookie-banner__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
}

.lh-cookie-banner__desc {
  font-size: 0.9rem;
  color: #b3b3b3;
  margin: 0;
  line-height: 1.5;
}

.lh-cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.lh-cookie-banner__btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.lh-cookie-banner__btn--accept {
  background: #e50914;
  color: #fff;
}

.lh-cookie-banner__btn--accept:hover {
  background: #f40612;
}

.lh-cookie-banner__btn--necessary {
  background: #333;
  color: #fff;
  border: 1px solid #555;
}

.lh-cookie-banner__btn--necessary:hover {
  background: #444;
}

.lh-cookie-banner__btn--settings {
  background: transparent;
  color: #b3b3b3;
  border: 1px solid #555;
}

.lh-cookie-banner__btn--settings:hover {
  color: #fff;
  border-color: #888;
}

/* Cookie Modal */
.lh-cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lh-cookie-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.lh-cookie-modal__content {
  position: relative;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lh-cookie-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
}

.lh-cookie-modal__options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.lh-cookie-modal__option {
  background: #242424;
  border-radius: 8px;
  padding: 16px;
}

.lh-cookie-modal__option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lh-cookie-modal__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.lh-cookie-modal__label input[type="checkbox"] {
  display: none;
}

.lh-cookie-modal__checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s;
}

.lh-cookie-modal__label input[type="checkbox"]:checked + .lh-cookie-modal__checkbox {
  background: #e50914;
  border-color: #e50914;
}

.lh-cookie-modal__label input[type="checkbox"]:checked + .lh-cookie-modal__checkbox::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lh-cookie-modal__label input[type="checkbox"]:disabled + .lh-cookie-modal__checkbox {
  opacity: 0.6;
  cursor: not-allowed;
}

.lh-cookie-modal__option-desc {
  font-size: 0.85rem;
  color: #808080;
  margin: 8px 0 0 32px;
  line-height: 1.4;
}

.lh-cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.lh-cookie-modal__privacy-link {
  color: #b3b3b3;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.lh-cookie-modal__privacy-link:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .lh-cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }
  
  .lh-cookie-banner__actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .lh-cookie-banner__btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .lh-cookie-banner {
    padding: 16px;
  }
  
  .lh-cookie-banner__title {
    font-size: 1rem;
  }
  
  .lh-cookie-banner__desc {
    font-size: 0.85rem;
  }
  
  .lh-cookie-banner__btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .lh-cookie-modal__content {
    padding: 24px;
  }
  
  .lh-cookie-modal__title {
    font-size: 1.25rem;
  }
}

/* Archive Page Styles */
.lh-archive {
  min-height: 100vh;
  background: #141414;
  padding: 100px 0 60px;
}

.lh-archive__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.lh-archive__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 40px 0;
}

.lh-archive__empty {
  color: #808080;
  font-size: 1.1rem;
  text-align: center;
  padding: 60px 0;
}

.lh-archive__pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.lh-archive__pagination .nav-links {
  display: flex;
  gap: 8px;
}

.lh-archive__pagination a,
.lh-archive__pagination span {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.lh-archive__pagination a:hover,
.lh-archive__pagination .current {
  background: #e50914;
}

/* Video Grid */
.lh-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.lh-video-card {
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s;
}

.lh-video-card:hover {
  transform: scale(1.05);
}

.lh-video-card__thumbnail {
  position: relative;
  aspect-ratio: 2/3;
  background: #222;
  overflow: hidden;
}

.lh-video-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-video-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #555;
}

.lh-video-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.lh-video-card:hover .lh-video-card__overlay {
  opacity: 1;
}

.lh-video-card__info {
  padding: 10px 4px;
}

.lh-video-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lh-video-card__meta {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #808080;
}

.lh-video-card__rating {
  color: #ffc107;
}

/* Share Buttons */
.lh-single-video__share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.lh-share__label {
  color: #808080;
  font-size: 0.9rem;
}

.lh-share__buttons {
  display: flex;
  gap: 8px;
}

.lh-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.lh-share__btn:hover {
  transform: scale(1.1);
}

.lh-share__btn--copy:hover {
  background: #666;
}

.lh-share__btn--copy.copied {
  background: #22c55e;
}

.lh-share__btn--whatsapp:hover {
  background: #25d366;
}

.lh-share__btn--twitter:hover {
  background: #000;
}

.lh-share__btn--facebook:hover {
  background: #1877f2;
}

/* ============================================
   Player Branding & Protection
   ============================================ */

/* Player Wrapper with Branding */
.lh-player {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Branded Logo Watermark */
.lh-player__watermark {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lh-player__watermark img {
  max-height: 32px;
  width: auto;
}

.lh-player__watermark-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  letter-spacing: 1px;
}

.lh-player:hover .lh-player__watermark {
  opacity: 0.4;
}

/* Player stage */
.lh-player__stage {
  position: relative;
}

/* YouTube embed container */
.lh-player__embed {
  position: relative;
}

.lh-player__embed .lh-embed-frame {
  position: relative;
}

/* Hide overlay - not needed */
.lh-player__embed-overlay {
  display: none;
}


/* Branded Loading Spinner */
.lh-player__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lh-player__loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--lh-primary);
  border-radius: 50%;
  animation: lh-spin 1s linear infinite;
}

@keyframes lh-spin {
  to { transform: rotate(360deg); }
}

.lh-player__loader-text {
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}

/* Branded Big Play Button */
.lh-player__big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 80px;
  height: 80px;
  background: var(--lh-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.5);
  pointer-events: auto !important;
}

.lh-player__big-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--lh-primary-hover);
}

.lh-player__big-play svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  margin-left: 4px;
}

.lh-player__big-play--hidden {
  display: none;
}

/* Branded Control Bar */
.lh-controls--modern {
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.95) 100%);
  padding: 60px 20px 16px;
}

/* Progress bar with brand color */
.lh-progress-fill {
  background: var(--lh-primary);
}

.lh-progress-handle {
  background: var(--lh-primary);
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.6);
}

/* Branded Volume Slider */
.lh-volume-slider::-webkit-slider-thumb {
  background: var(--lh-primary);
}

.lh-volume-slider::-moz-range-thumb {
  background: var(--lh-primary);
}

/* Anti-Download Protection Notice */
.lh-player__protection-notice {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 25;
}

.lh-player__protection-notice--visible {
  opacity: 1;
}

/* Fullscreen Branding */
.lh-player--fullscreen .lh-player__watermark {
  top: 24px;
  right: 24px;
}

.lh-player--fullscreen .lh-player__watermark img {
  max-height: 40px;
}

/* Hide native video controls completely */
.lh-player video::-webkit-media-controls {
  display: none !important;
}

.lh-player video::-webkit-media-controls-enclosure {
  display: none !important;
}

.lh-player video::-webkit-media-controls-panel {
  display: none !important;
}

/* Disable context menu styling */
.lh-player__no-context {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Branded Error State */
.lh-player__error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 20;
}

.lh-player__error-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.lh-player__error-text {
  font-size: 16px;
  margin-bottom: 8px;
}

.lh-player__error-retry {
  background: var(--lh-primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 12px;
}

.lh-player__error-retry:hover {
  background: var(--lh-primary-hover);
}

/* ============================================
   Legal Pages (Privacy, Terms, About)
   ============================================ */

.lh-legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  color: var(--lh-text);
  background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, transparent 100%);
  border-radius: 16px;
}

.lh-legal__title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  text-align: center;
  letter-spacing: -0.02em;
}

.lh-legal__updated {
  color: var(--lh-text-muted);
  font-size: 13px;
  margin-bottom: 48px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lh-legal__content {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
}

.lh-legal__content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--lh-primary);
  display: inline-block;
}

.lh-legal__content h2:first-child {
  margin-top: 0;
}

.lh-legal__content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 24px 0 12px;
}

.lh-legal__content p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.lh-legal__content ul {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}

.lh-legal__content li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.lh-legal__content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lh-primary);
  font-weight: 600;
}

.lh-legal__content a {
  color: var(--lh-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.lh-legal__content a:hover {
  color: var(--lh-primary-hover);
  text-decoration: underline;
}

.lh-legal__content strong {
  color: #fff;
  font-weight: 600;
}

/* About page company info */
.lh-about__company {
  text-align: center;
  margin-bottom: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(229,9,20,0.15) 0%, rgba(229,9,20,0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(229,9,20,0.2);
}

.lh-about__company-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.lh-about__company-name strong {
  color: var(--lh-primary);
}

.lh-about__company-address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

/* Contact info styling */
.lh-legal__content .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--lh-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  margin: 8px 0;
  transition: all 0.2s ease;
}

.lh-legal__content .contact-email:hover {
  background: var(--lh-primary-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .lh-legal {
    padding: 32px 16px 60px;
    border-radius: 0;
  }
  
  .lh-legal__title {
    font-size: 2rem;
  }
  
  .lh-legal__content {
    padding: 20px;
  }
  
  .lh-legal__content h2 {
    font-size: 1.2rem;
  }
  
  .lh-about__company {
    padding: 24px 16px;
  }
  
  .lh-about__company-name {
    font-size: 1.4rem;
  }
}
