/* ═══════════════════════════════════════════════════════
   CINEPLEX — Main Stylesheet  (Liquid Glass Edition)
   Font: Outfit (Google Fonts)
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg: #000000;
  --glass-1: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --glass-3: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.09);
  --border-h: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.52);
  --text-muted: rgba(255, 255, 255, 0.28);
  --gold: #ffffff;
  --accent: #ffffff;
  --avatar-grad: linear-gradient(135deg, #3a3a3a, #121212);
  --navbar-h: 66px;
  --max-w: 1200px;
  --px: 30px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --glass-blur: blur(28px) saturate(180%);
  --card-w: 160px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ═══════════════════════════════════════════════════════
   SIMPLE CINEMATIC INTRO OVERLAY
═══════════════════════════════════════════════════════ */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.75s ease;
}

#intro-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-logo-name {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  animation: introNameIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes introNameIn {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(16px);
    letter-spacing: 22px;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: 10px;
  }
}

.intro-logo-sub {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 16px;
  opacity: 0;
  animation: introSubIn 0.7s ease 1.05s forwards;
}

@keyframes introSubIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 32px;
  width: 0;
  animation: introLineIn 0.9s ease 0.6s forwards;
}

@keyframes introLineIn {
  to {
    width: 50px;
  }
}

/* ═══════════════════════════════════════════════════════
   AMBIENT BACKGROUND
═══════════════════════════════════════════════════════ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 65% 50% at 15% 30%,
      rgba(255, 255, 255, 0.11) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 85% 15%,
      rgba(255, 255, 255, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 30% at 55% 88%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 55%
    ),
    var(--bg);
}

/* ── Page transition ── */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

#page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--navbar-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo — text only, minimalist */
.nav-logo {
  text-decoration: none;
  margin-right: 30px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  display: block;
}

.logo-wordmark .thin {
  font-weight: 200;
  letter-spacing: 5px;
  opacity: 0.65;
}

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-links li a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 50px;
  transition:
    color 0.18s,
    background 0.18s;
}

.nav-links li a:hover {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links li a.active {
  color: #ffffff;
  background: rgba(128, 128, 128, 0.274);
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  transition:
    background 0.2s,
    transform 0.18s,
    border-color 0.2s;
}

.nav-spacer {
  flex: 1;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50px;
  padding: 7px 14px;
  width: 190px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.nav-search:focus-within {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.085);
}

.nav-search svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-search input {
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  width: 100%;
}

.nav-search input::placeholder {
  color: var(--text-muted);
}

/* ── Mobile hamburger + slide-down menu (hidden on desktop) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  z-index: 499;
  background: rgba(9, 9, 9, 0.97);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 11px 16px;
}
.mobile-search svg {
  color: var(--text-muted);
  flex-shrink: 0;
}
.mobile-search input {
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  width: 100%;
}
.mobile-search input::placeholder {
  color: var(--text-muted);
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-links li a {
  display: block;
  color: var(--text-dim);
  font-size: 16px;
  font-weight: 500;
  padding: 13px 14px;
  border-radius: 12px;
  transition:
    color 0.18s,
    background 0.18s;
}
.mobile-links li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.mobile-links li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.mobile-lang-opt {
  flex: 1;
  padding: 10px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-dim);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.mobile-lang-opt:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.mobile-lang-opt.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  top: var(--navbar-h);
  z-index: 498;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open {
  overflow: hidden;
}
.mobile-auth {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.mobile-auth a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.mobile-auth-login {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.mobile-auth-login:hover {
  background: rgba(255, 255, 255, 0.1);
}
.mobile-auth-register {
  background: #ffffff;
  color: #0a0a0a;
}
.mobile-auth-register:hover {
  background: rgba(255, 255, 255, 0.85);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

/* Auth buttons wrapper */
/* Language switcher */
.lang-wrap {
  position: relative;
  flex-shrink: 0;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 40px;
  border: 1px solid var(--border-h);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.lang-btn:hover {
  background: var(--glass-2);
  color: #ffffff;
}
.lang-dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s,
    transform 0.18s,
    visibility 0.18s;
  z-index: 200;
}
.lang-dd.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.lang-opt:hover {
  background: var(--glass-2);
  color: #ffffff;
}
.lang-opt.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-auth-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Login button */
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid var(--border-h);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
  flex-shrink: 0;
}
.nav-login-btn:hover {
  background: var(--glass-2);
  color: #ffffff;
}

/* Register button in navbar */
.nav-register-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}
.nav-register-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

/* Notification button wrapper */
.notif-wrap {
  position: relative;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition:
    background 0.18s,
    color 0.18s;
  position: relative;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-btn .badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--bg);
}

/* Notification dropdown */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(52px) saturate(180%);
  -webkit-backdrop-filter: blur(52px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition:
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.65);
}

.notif-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.notif-dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.notif-dd-title {
  font-size: 16px;
  font-weight: 700;
}

.notif-dd-clear {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: color 0.18s;
  background: none;
  border: none;
}

.notif-dd-clear:hover {
  color: rgba(255, 255, 255, 0.75);
}

.notif-list {
  max-height: 290px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item.unread {
  background: rgba(255, 255, 255, 0.025);
}

.notif-emoji {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.notif-item-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.notif-item-time {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 5px;
}

.notif-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
  margin-top: 6px;
}

.notif-dd-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.notif-dd-footer a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.18s;
}

.notif-dd-footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Nav user */
.nav-user {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 6px;
  padding: 5px 12px 5px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}

.nav-user:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-h);
}

.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50px;
  background: var(--avatar-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user-name {
  font-size: 14px;
  font-weight: 600;
}

.nav-chevron {
  color: rgba(255, 255, 255, 0.28);
  margin-left: 2px;
  transition: transform 0.22s;
}

/* Avatar-only profile trigger */
.nav-avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
  margin-left: 6px;
}

.nav-avatar-btn:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.nav-avatar-btn .nav-avatar {
  width: 38px;
  height: 38px;
}

/* Profile dropdown wrap */
.profile-wrap {
  position: relative;
  margin-left: 6px;
}

.profile-wrap .nav-user {
  margin-left: 0;
}

.profile-wrap .nav-chevron.open {
  transform: rotate(180deg);
}

/* ── Profile dropdown — new design ── */
.profile-dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 264px;
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(52px) saturate(180%);
  -webkit-backdrop-filter: blur(52px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.96);
  transition:
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 32px 80px rgba(0, 0, 0, 0.75);
}

.profile-dd.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Header */
.pdd-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pdd-avatar-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--avatar-grad);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.pdd-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #383838, #404040);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.pdd-userinfo {
  flex: 1;
  min-width: 0;
}

.pdd-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.pdd-email {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 2px 7px;
}

/* Quick action row */
.pdd-quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
}

.pdd-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s;
}

.pdd-quick-item:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}

.pdd-quick-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.pdd-quick-item:hover .pdd-quick-icon {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

/* Separator */
.pdd-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 2px 0;
}

/* Nav items */
.pdd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.14s,
    color 0.14s;
}

.pdd-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.pdd-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.pdd-item:hover .pdd-item-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.pdd-chevron {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.pdd-item:hover .pdd-chevron {
  color: rgba(255, 255, 255, 0.4);
}

/* Danger (sign out) */
.pdd-danger {
  color: rgba(117, 117, 117, 0.85);
  margin-bottom: 4px;
}

.pdd-danger:hover {
  background: rgba(101, 101, 101, 0.07);
  color: #777777;
}

.pdd-danger-icon {
  background: rgba(101, 101, 101, 0.1);
  color: rgba(117, 117, 117, 0.7);
}

.pdd-danger:hover .pdd-danger-icon {
  background: rgba(101, 101, 101, 0.16);
  color: #777777;
}

/* ── Main wrapper ── */
main {
  width: 100%;
  padding-top: calc(var(--navbar-h) + 22px);
  padding-bottom: 0;
}

/* Hero page overrides — hero goes edge-to-edge under navbar */
.home-page main {
  padding-top: 0;
}

.movie-page main {
  padding-top: 0;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION — FULL-SCREEN CAROUSEL
═══════════════════════════════════════════════════════ */
.hero-section {
  padding: 0;
  margin-top: calc(var(--navbar-h) * -1);
}

.hero-featured {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 540px;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
}

.hero-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.45s ease;
}

/* Inline background trailer iframe */
.hero-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease;
}

.hero-bg-iframe.visible {
  opacity: 1;
}

.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.hero-grad-b {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 50%);
}

.hero-dots {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.hero-dot {
  height: 5px;
  width: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot.active {
  width: 24px;
  background: #ffffff;
}

.hero-content {
  position: absolute;
  bottom: 88px;
  left: 56px;
  right: 45%;
  z-index: 2;
}

.hero-year {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Film logo (replaces plain text title in hero) */
.hero-film-logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  max-width: 420px;
}

.logo-main {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 5px;
  line-height: 0.88;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow:
    0 4px 60px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(0, 0, 0, 0.4);
}

.logo-sub {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  padding-left: 4px;
}

/* Volume toggle button */
.hero-volume-btn {
  position: absolute;
  bottom: 54px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.hero-volume-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-imdb {
  color: var(--gold);
  font-weight: 700;
}

/* Play button row — now inside .hero-content */
.hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 50px;
  background: #ffffff;
  color: #050505;
  font-size: 16px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.18s,
    transform 0.18s;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.18);
}

.hero-play-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

.hero-play-btn svg {
  color: #050505;
  margin-left: 0;
}

.hero-trailer-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  transition:
    background 0.2s,
    transform 0.18s,
    border-color 0.2s;
}

.hero-trailer-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Now Watching */
.now-watching {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.now-watching-header {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.watch-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.watch-card:hover {
  background: var(--glass-2);
  border-color: var(--border-h);
  transform: translateX(4px);
}

.watch-thumb {
  position: relative;
  width: 78px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #242424;
}

.watch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.watch-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}

.watch-thumb-play svg {
  color: #ffffff;
}

.watch-views {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
}

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

.watch-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.watch-tags {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}

.watch-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.watch-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.watch-rating svg {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════
   GENRE PILLS
═══════════════════════════════════════════════════════ */
.genre-section {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px var(--px) 0;
}

.genre-label-block {
  flex-shrink: 0;
}

.genre-label-line {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.7;
}

.genre-pills {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.genre-pills::-webkit-scrollbar {
  display: none;
}

.genre-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 17px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.genre-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.genre-pill.active {
  background: #ffffff;
  color: #060606;
  border-color: #ffffff;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   CONTENT SECTIONS & HORIZONTAL ROWS
═══════════════════════════════════════════════════════ */
.content-section {
  padding: 32px var(--px) 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  font-size: 21px;
  font-weight: 700;
}

.section-link {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.18s;
}

.section-link:hover {
  color: #ffffff;
}

.section-nav {
  display: flex;
  gap: 7px;
}

.section-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50px;
  background: var(--glass-1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition:
    background 0.18s,
    color 0.18s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-nav-btn:hover {
  background: var(--glass-2);
  color: #ffffff;
  border-color: var(--border-h);
}

.movies-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

.movies-row::-webkit-scrollbar {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   MOVIE CARD
═══════════════════════════════════════════════════════ */
.movie-card {
  flex-shrink: 0;
  width: var(--card-w);
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.movie-card:hover {
  transform: scale(1.2);
  z-index: 20;
}

.movie-card:hover .movie-poster {
  border-radius: var(--r-md);
}

/* ─── Hover overlay on the card ─── */
.movie-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.12) 100%
  );
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.movie-card:hover .movie-card-overlay {
  opacity: 1;
  pointer-events: all;
}

.mco-top {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  padding: 8px 8px 0;
}

.mco-like-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.mco-like-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.mco-like-btn.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.mco-like-btn.active svg {
  fill: #ffffff;
  stroke: #ffffff;
}

.mco-wl-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}

.mco-wl-btn:hover,
.mco-wl-btn.active {
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.mco-wl-btn.active svg {
  fill: currentColor;
}

.mco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.mco-play {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition:
    transform 0.18s,
    color 0.18s;
}

.mco-play:hover {
  transform: scale(1.15);
  color: #ffffff;
}

.mco-bottom {
  margin-top: auto;
  padding: 0 10px 10px;
}

.mco-title {
  font-size: 25px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.mco-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}

.mco-rating {
  color: var(--gold);
  font-weight: 700;
}

.mco-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.mco-desc {
  font-size: 9.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #181818;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glass play button overlay */
.movie-poster-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
}

.movie-play-glass {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 24px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.22s;
}

.movie-card:hover .movie-play-glass {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.22);
}

.movie-play-glass svg {
  color: #ffffff;
  margin-left: 4px;
}

.movie-poster-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.serial-badge {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.movie-series-row {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.movie-card:hover .movie-series-row {
  opacity: 0;
}

.movie-meta-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: opacity 0.2s;
}

.movie-card:hover .movie-meta-row {
  opacity: 0;
}

.movie-rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.movie-rating svg {
  color: var(--gold);
}

.movie-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.2s;
}

.movie-card:hover .movie-title {
  opacity: 0;
}

/* ═══════════════════════════════════════════════════════
   STUDIO LOGOS MARQUEE
═══════════════════════════════════════════════════════ */
.studios-section {
  padding: 52px var(--px) 0;
  overflow: hidden;
}

.studios-label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.studios-track {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent 0%,
    #000000 12%,
    #000000 88%,
    transparent 100%
  );
  mask: linear-gradient(
    90deg,
    transparent 0%,
    #000000 12%,
    #000000 88%,
    transparent 100%
  );
}

.studios-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: studioScroll 32s linear infinite;
}

.studios-inner:hover {
  animation-play-state: paused;
}

.studio-item {
  padding: 0 46px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
}

.studio-item:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Logo image items */
.studio-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 56px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
}

.studio-logo-img {
  height: 26px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.22;
  filter: brightness(0) invert(1);
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
  display: block;
}

.studio-logo-item:hover .studio-logo-img {
  opacity: 0.9;
  filter: none;
}

/* Text-only studio item (no logo) */
.studio-text-item {
  padding: 0 40px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
}

.studio-text-item:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* Brand-specific studio colors */
.studio-netflix {
  color: rgba(57, 57, 57, 0.55);
  font-weight: 900;
  letter-spacing: 2px;
}
.studio-netflix:hover {
  color: #ffffff;
}
.studio-hbo {
  color: rgba(74, 74, 74, 0.55);
  font-weight: 800;
  letter-spacing: 3px;
}
.studio-hbo:hover {
  color: #4a4a4a;
}
.studio-disney {
  color: rgba(96, 96, 96, 0.55);
  font-weight: 800;
  letter-spacing: 2px;
}
.studio-disney:hover {
  color: #606060;
}
.studio-marvel {
  color: rgba(62, 62, 62, 0.55);
  font-weight: 900;
  letter-spacing: 3px;
}
.studio-marvel:hover {
  color: #3e3e3e;
}
.studio-apple {
  color: rgba(201, 201, 201, 0.55);
  font-weight: 300;
  letter-spacing: 1px;
}
.studio-apple:hover {
  color: #c9c9c9;
}
.studio-amazon {
  color: rgba(136, 136, 136, 0.55);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-size: 13px;
}
.studio-amazon:hover {
  color: #888888;
}
.studio-warner {
  color: rgba(94, 94, 94, 0.55);
  font-weight: 800;
  letter-spacing: 3px;
}
.studio-warner:hover {
  color: #5e5e5e;
}
.studio-paramount {
  color: rgba(74, 74, 74, 0.55);
  font-weight: 800;
  letter-spacing: 2px;
}
.studio-paramount:hover {
  color: #4a4a4a;
}
.studio-sony {
  color: rgba(191, 191, 191, 0.55);
  font-weight: 500;
  letter-spacing: 4px;
}
.studio-sony:hover {
  color: #bebebe;
}
.studio-a24 {
  color: rgba(235, 235, 235, 0.55);
  font-weight: 900;
  letter-spacing: 8px;
  font-size: 13px;
}
.studio-a24:hover {
  color: #ebebeb;
}
.studio-universal {
  color: rgba(107, 107, 107, 0.55);
  font-weight: 700;
  letter-spacing: 2px;
}
.studio-universal:hover {
  color: #6b6b6b;
}
.studio-lionsgate {
  color: rgba(177, 177, 177, 0.55);
  font-weight: 800;
  letter-spacing: 2px;
}
.studio-lionsgate:hover {
  color: #b1b1b1;
}

@keyframes studioScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  margin-top: 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 50px var(--px) 38px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.7;
  max-width: 220px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.18s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition:
    background 0.18s,
    color 0.18s;
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--border-h);
}

/* ═══════════════════════════════════════════════════════
   CATALOG PAGE
═══════════════════════════════════════════════════════ */
.catalog-header {
  padding: 0 var(--px) 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.catalog-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.catalog-count {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 400;
  margin-top: 3px;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.catalog-genre-bar {
  padding: 0 var(--px) 24px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
}

.catalog-genre-bar::-webkit-scrollbar {
  display: none;
}

.catalog-grid {
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 12px;
}

.catalog-grid .movie-card {
  width: 100%;
}

.catalog-grid .movie-poster {
  width: 100%;
}

.catalog-grid .movie-card.hidden {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   MOVIE DETAIL PAGE — CINEMATIC REDESIGN
═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.dp-hero {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 440px;
  overflow: hidden;
  background: #050505;
}

.dp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.dp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.12) 0%,
    rgba(5, 5, 5, 0.18) 35%,
    rgba(5, 5, 5, 0.72) 72%,
    #050505 100%
  );
}

/* Back button — circular glass */
.detail-back {
  position: absolute;
  top: calc(var(--navbar-h) + 18px);
  left: 36px;
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 18px rgba(0, 0, 0, 0.45);
}

.detail-back:hover {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 255, 255, 0.34);
  transform: scale(1.06);
}

.detail-back svg {
  color: #ffffff;
}

/* Hero content: title + rating bottom-left */
.dp-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 50px 42px;
  z-index: 2;
}

.dp-hero-title {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6);
}

.dp-hero-rating {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.dp-hero-rating .rating-denom {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
}

.dp-hero-meta {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}

.dp-hero-meta-sep {
  margin: 0 12px;
  opacity: 0.3;
}

/* ── Info row ── */
.dp-info-section {
  display: flex;
  gap: 34px;
  padding: 36px 50px 42px;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-poster {
  width: 130px;
  flex-shrink: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-start;
}

.dp-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.dp-details {
  flex: 1;
  min-width: 0;
}

.dp-detail-line {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
}

.dp-detail-line strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.dp-synopsis {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 22px;
  margin-top: 14px;
  max-width: 680px;
}

.dp-genres {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.dp-genre-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.78);
  cursor: default;
}

.dp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-play {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 32px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #050505;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.18s;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.14);
}

.btn-play:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  background: var(--glass-1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  background: var(--glass-2);
  border-color: var(--border-h);
  color: #ffffff;
}

.btn-secondary.active {
  color: var(--gold);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Section heading (centered with lines) ── */
.dp-section-label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 50px;
  margin-bottom: 24px;
}

.dp-section-label::before,
.dp-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* ── Gallery ── */
.dp-gallery {
  padding: 52px 0 0;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 50px 52px;
}

.dp-gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
  background: #111111;
  border-radius: 6px;
}

.dp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.3s;
  filter: brightness(0.82);
}

.dp-gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1);
}

/* ── Cast section ── */
.dp-cast-section {
  padding: 52px 50px;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-cast-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-top: 0;
  padding: 20px 0;
}

.dp-cast-scroll::-webkit-scrollbar {
  display: none;
}

.dp-cast-card {
  flex-shrink: 0;
  width: 88px;
  text-align: center;
}

.dp-cast-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 10px;
  border: 2px solid rgba(255, 255, 255, 0.09);
  transition:
    transform 0.22s,
    border-color 0.22s;
}

.dp-cast-card:hover .dp-cast-avatar {
  transform: scale(1.07);
  border-color: rgba(255, 255, 255, 0.25);
}

.dp-cast-name {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.35;
}

/* ── Related section ── */
.dp-related-section {
  padding: 52px 50px;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-related-section .section-title {
  font-size: 19px;
}

/* ── Detail tag (legacy compat) ── */
.detail-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════
   REVIEWS SECTION
═══════════════════════════════════════════════════════ */
.reviews-section {
  padding: 52px 50px 60px;
  background: #050505;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.reviews-title {
  font-size: 21px;
  font-weight: 700;
}

.reviews-count {
  font-size: 14px;
  color: var(--text-dim);
}

.review-write-card {
  background: var(--glass-1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.review-write-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.review-write-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--avatar-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.review-write-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.review-stars-input {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.review-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.22);
  font-size: 24px;
  transition:
    color 0.15s,
    transform 0.15s;
  padding: 0;
}

.review-star-btn:hover,
.review-star-btn.active {
  color: var(--gold);
  transform: scale(1.15);
}

.review-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  resize: vertical;
  min-height: 92px;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}

.review-textarea:focus {
  border-color: rgba(255, 255, 255, 0.25);
  outline: none;
}

.review-textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.review-submit-btn {
  padding: 11px 26px;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #060606;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition:
    background 0.18s,
    transform 0.18s;
}

.review-submit-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  background: var(--glass-1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.18s;
}

.review-card:hover {
  border-color: var(--border-h);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
}

.review-date {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-helpful {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s;
  background: none;
  border: none;
}

.review-helpful:hover {
  color: rgba(255, 255, 255, 0.7);
}

.review-helpful svg {
  width: 14px;
  height: 14px;
}

.review-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.45);
}

/* ═══════════════════════════════════════════════════════
   WATCH / VIDEO PLAYER PAGE
═══════════════════════════════════════════════════════ */
.watch-page main {
  padding-top: var(--navbar-h);
  max-width: 100%;
}

.player-wrapper {
  position: relative;
  background: #000000;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: calc(100vh - var(--navbar-h) - 80px);
  overflow: hidden;
}

.player-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.25) scale(1.08);
  position: absolute;
  inset: 0;
}

.player-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-poster img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.player-center-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
}

.player-center-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    background 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.player-center-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.22);
}

.player-center-icon svg {
  color: #ffffff;
  margin-left: 4px;
}

.player-center-btn.playing .player-center-icon {
  opacity: 0;
}

.player-center-btn.playing:hover .player-center-icon {
  opacity: 1;
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 44px 22px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 100%);
}

.player-progress-wrap {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 13px;
  cursor: pointer;
}

.player-progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.player-progress-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transition: opacity 0.15s;
}

.player-progress-wrap:hover .player-progress-fill::after {
  opacity: 1;
}

.player-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.player-ctrl-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  transition:
    color 0.15s,
    transform 0.15s;
}

.player-ctrl-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.player-time {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.player-spacer {
  flex: 1;
}

.player-vol-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-vol-slider {
  width: 72px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.player-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.watch-info-section {
  padding: 28px var(--px);
}

.watch-title {
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.watch-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.watch-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════ */
.search-header {
  padding: 0 var(--px) 28px;
}

.search-big-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 22px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.search-big-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.search-big-wrap svg {
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
}

.search-big-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 500;
}

.search-big-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.search-results-label {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.search-results-label strong {
  color: #ffffff;
}

.search-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-dim);
}

.search-empty svg {
  margin: 0 auto 18px;
  opacity: 0.28;
}

.search-empty h3 {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 7px;
}

.search-empty p {
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════ */
.profile-cover {
  height: 180px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(64, 64, 64, 0.35) 0%,
    rgba(53, 53, 53, 0.25) 35%,
    rgba(66, 66, 66, 0.2) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
}

.profile-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 41px
  );
}

.profile-cover-actions {
  position: absolute;
  top: 16px;
  right: var(--px);
  display: flex;
  gap: 8px;
}

.profile-cover-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
}

.profile-cover-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

.profile-hero {
  padding: 0 var(--px) 32px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.profile-avatar-big {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: var(--avatar-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
  border: 3px solid var(--bg);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.profile-avatar-big:hover .avatar-edit-overlay {
  opacity: 1;
}

.avatar-edit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.profile-avatar-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.profile-identity {
  flex: 1;
}

.profile-name {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.profile-email {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.profile-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.profile-badge.gold {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.profile-badge.white {
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 var(--px) 32px;
}

.stat-card {
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.18s,
    background 0.18s;
}

.stat-card:hover {
  border-color: var(--border-h);
  background: var(--glass-2);
}

.stat-num {
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

.profile-section {
  padding: 0 var(--px) 32px;
}

.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.profile-section-title {
  font-size: 18px;
  font-weight: 700;
}

.profile-section-action {
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.18s;
  background: none;
  border: none;
}

.profile-section-action:hover {
  color: #ffffff;
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: var(--glass-1);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.setting-row:hover {
  background: var(--glass-2);
  border-color: var(--border-h);
}

.setting-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
}

.setting-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.setting-value {
  font-size: 14px;
  color: var(--text-dim);
}

.setting-chevron {
  color: var(--text-muted);
}

.setting-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}

.setting-toggle.on {
  background: #ffffff;
}

.setting-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  top: 3px;
  left: 3px;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.setting-toggle.on::after {
  transform: translateX(20px);
  background: #060606;
}

/* ═══════════════════════════════════════════════════════
   CATEGORY PAGE
═══════════════════════════════════════════════════════ */
.category-hero {
  padding: 0 var(--px) 32px;
}

.category-hero-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.category-hero-sub {
  font-size: 16px;
  color: var(--text-dim);
}

.category-grid {
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background-color: #111111;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
  display: block;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  transition: background 0.28s;
  z-index: 0;
}

.category-card:hover::before {
  background: linear-gradient(
    155deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.cat-name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat-count {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.cat-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.4);
}

.cat-movies-section {
  padding: 42px var(--px) 0;
}

/* ═══════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS
═══════════════════════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════ */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(22px);
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  z-index: 9000;
  opacity: 0;
  transition:
    opacity 0.28s,
    transform 0.28s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Hero next/prev navigation button ── */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}
.hero-nav-btn.hero-btn-next {
  right: 40px;
}
.hero-nav-btn.hero-btn-prev {
  left: 40px;
}

/* ── Hero film progress indicators ── */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  right: 44px;
  display: flex;
  gap: 7px;
  z-index: 5;
  align-items: center;
}

.hero-ind {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: width 0.2s;
}

.hero-ind.active {
  width: 52px;
}

.hero-ind-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
}

.hero-ind.done .hero-ind-fill {
  width: 100%;
}

@keyframes heroFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ── Card Prime Video style — panel below poster ── */
.card-panel {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 10px 11px 12px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.movie-card:hover .card-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cp2-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.cp2-play {
  height: 30px;
  padding: 0 14px;
  border-radius: 6px;
  background: #ffffff;
  border: none;
  color: #090909;
  font-size: 11px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cp2-play:hover {
  background: rgba(255, 255, 255, 0.88);
}

.cp2-wl {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.cp2-wl:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.cp2-info {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.cp2-rating {
  color: var(--gold);
  font-weight: 700;
}
.cp2-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ── Movie detail page — background trailer ── */
.dp-hero-trailer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.dp-hero-trailer.visible {
  opacity: 1;
}
/* S3 video element uchun object-fit */
video.dp-hero-trailer,
video.hero-bg-iframe {
  object-fit: cover;
}

/* Banner trailer bottom inner-shadow — blends hero into the section below */
.dp-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0) 0%,
    rgba(5, 5, 5, 0.55) 58%,
    #050505 100%
  );
  box-shadow: inset 0 -48px 60px -12px #050505;
}

/* Banner trailer controls — mute toggle + fullscreen */
.dp-hero-controls {
  position: absolute;
  top: calc(var(--navbar-h) + 18px);
  right: 36px;
  z-index: 5;
  display: flex;
  gap: 10px;
}
.dp-hero-ctrl-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 18px rgba(0, 0, 0, 0.45);
}
.dp-hero-ctrl-btn:hover {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 255, 255, 0.34);
  transform: scale(1.06);
}
@media (max-width: 640px) {
  .dp-hero-controls {
    right: 16px;
    gap: 8px;
  }
  .dp-hero-ctrl-btn {
    width: 40px;
    height: 40px;
  }
}

/* ════════════════════════════════════════════════════
   MEDIA QUERIES
════════════════════════════════════════════════════ */

/* ── Large tablet / small laptop (≤ 1024px) ── */
@media (max-width: 1024px) {
  :root {
    --card-w: 160px;
  }
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .dp-hero-title {
    font-size: 44px;
  }
  .logo-main {
    font-size: 66px;
  }
  .hero-content {
    right: 38%;
  }
  .navbar-inner {
    padding: 0 24px;
  }
  .nav-logo {
    margin-right: 18px;
  }
}

/* ── Portrait tablet & large phone: switch to hamburger (≤ 860px) ── */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-search {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  :root {
    --px: 14px;
    --card-w: 140px;
  }

  /* Navbar — boshqa sahifalarda doim orqa fon ko'rinadi */
  .navbar {
    background: rgba(9, 9, 9, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }

  /* Bosh sahifada (home-page) — scroll qilinmasa transparent */
  body.home-page .navbar:not(.scrolled) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
  }
  body.home-page .navbar.scrolled {
    background: rgba(9, 9, 9, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }

  .navbar-inner {
    padding: 0 14px;
    gap: 8px;
  }
  .nav-logo {
    margin-right: 0;
  }
  .logo-wordmark {
    font-size: 17px;
    letter-spacing: 3px;
  }
  .lang-wrap .lang-btn span {
    display: none;
  }

  /* Auth: register is in the mobile menu — keep navbar compact (login only) */
  .nav-auth-btns {
    gap: 6px;
  }
  .nav-register-btn {
    display: none !important;
  }
  .nav-login-btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  /* Hero */
  .hero-section {
    height: auto;
    min-height: 440px;
    padding-bottom: 0;
  }
  .hero-bg-iframe {
    display: none;
  }
  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 30px;
  }
  .hero-year {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }
  .hero-film-logo {
    gap: 5px;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .logo-main {
    font-size: 34px;
    letter-spacing: 0;
    line-height: 0.96;
  }
  .logo-sub {
    font-size: 12px;
    letter-spacing: 6px;
  }
  .hero-meta {
    font-size: 12px;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .hero-play-btn {
    padding: 11px 22px;
    font-size: 14px;
  }
  .hero-trailer-btn {
    padding: 11px 18px;
    font-size: 13px;
  }
  .hero-volume-btn {
    width: 40px;
    height: 40px;
    bottom: 26px;
    right: 16px;
  }

  /* Hero indicators — volume btn dan chap tomonda */
  .hero-indicators {
    bottom: 36px;
    right: 128px;
    max-width: calc(100vw - 144px); /* volume btn bilan to'qnashmaydi */
    flex-wrap: nowrap;
    overflow: hidden;
  }

  /* 4 va undan ortiq indicator bo'lsa — har bir bar torroq */
  .hero-indicators .hero-ind:nth-child(n+4) ~ .hero-ind,
  .hero-indicators:has(.hero-ind:nth-child(4)) .hero-ind {
    width: 22px;
  }
  .hero-indicators:has(.hero-ind:nth-child(4)) .hero-ind.active {
    width: 34px;
  }
  .hero-nav-btn {
    width: 36px;
    height: 36px;
  }
  .hero-nav-btn.hero-btn-next {
    right: 12px;
  }
  .hero-nav-btn.hero-btn-prev {
    left: 12px;
  }

  /* Cards — 2 per row */
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 8px;
  }
  .movies-row {
    gap: 10px;
  }
  .section-title {
    font-size: 17px;
  }

  /* Detail page — banner trailer stays visible (main media) */
  .dp-hero {
    height: 56vw;
    min-height: 200px;
  }
  .dp-hero-title {
    font-size: 26px;
    letter-spacing: -0.5px;
  }
  .dp-hero-rating {
    font-size: 20px;
  }
  .dp-hero-meta {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 4px 0;
  }
  .dp-info-section {
    flex-direction: column;
    gap: 16px;
  }
  .dp-poster {
    width: 120px;
    flex-shrink: 0;
    margin: 0 auto;
  }
  .dp-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dp-cast-scroll {
    gap: 10px;
  }

  /* Detail page — tighten the large 50px section paddings on phones */
  .dp-hero-content {
    padding: 0 16px 20px;
  }
  .dp-info-section {
    padding: 24px 16px 28px;
  }
  .dp-section-label {
    padding: 0 16px;
  }
  .dp-gallery-grid {
    padding: 0 16px 32px;
  }
  .dp-cast-section {
    padding: 32px 16px;
  }
  .dp-related-section {
    padding: 32px 16px;
  }

  /* Reviews / comments */
  .reviews-section {
    padding: 32px 16px 44px;
  }
  .reviews-title {
    font-size: 18px;
  }
  .review-write-card {
    padding: 16px;
    margin-bottom: 18px;
  }

  /* Category */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer — 4-col grid → 2-col on phones */
  .footer-inner {
    padding: 36px 16px 28px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    margin-bottom: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* ── Small phone (≤ 400px) ── */
@media (max-width: 400px) {
  :root {
    --card-w: 124px;
  }
  .catalog-grid {
    gap: 12px 7px;
  }
  .logo-main {
    font-size: 28px;
  }
  .logo-sub {
    font-size: 11px;
    letter-spacing: 4px;
  }
  .hero-meta {
    font-size: 11px;
    gap: 8px;
  }
  .hero-play-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  .hero-trailer-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  .dp-hero-title {
    font-size: 22px;
  }
  .logo-wordmark {
    font-size: 16px;
    letter-spacing: 2.5px;
  }
  .section-title {
    font-size: 16px;
  }
}

/* ── Touch devices: no sticky hover on cards ── */
@media (hover: none) {
  .movie-card:hover {
    transform: none;
    z-index: auto;
  }
  .movie-card:hover .movie-card-overlay {
    opacity: 0;
    pointer-events: none;
  }
  .category-card:hover {
    transform: none;
    box-shadow: none;
  }
}
