/* ==========================================================================
   STREAMIX — Raw CSS Design System (No Frameworks / No React)
   Palette: #050A12, #0B1420, #101C2A, #F20D35, #D90B2D, #1B3042, #10C98A, #8B5CF6
   ========================================================================== */
:root {
  --bg-primary: #050a12;
  --bg-secondary: #0b1420;
  --bg-card: #101c2a;
  --bg-sidebar: #070e18;
  --accent-red: #f20d35;
  --accent-red-dark: #d90b2d;
  --text-primary: #ffffff;
  --text-secondary: #a5afbd;
  --border: #1b3042;
  --success: #10c98a;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --amber: #f59e0b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mono-num {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 9999px;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Brand Logo */
.brand-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo.lg {
  font-size: 2.25rem;
}
.brand-logo.xl {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}
.brand-logo span:last-child {
  color: var(--accent-red);
}

/* Reusable Buttons */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  box-shadow: 0 8px 24px -6px rgba(242, 13, 53, 0.48);
  transition: transform 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.btn-red:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-red:active {
  transform: scale(0.98);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: #ffffff;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-dark:hover {
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--success);
  background: rgba(16, 201, 138, 0.12);
  border: 1px solid rgba(16, 201, 138, 0.35);
}

/* Top Navbar */
.ott-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.ott-header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.ott-nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.ott-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.ott-nav-link:hover,
.ott-nav-link.active {
  color: #ffffff;
}
.ott-nav-link.active {
  border-bottom-color: var(--accent-red);
}
.ott-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}
.icon-btn:hover {
  background: var(--bg-card);
  color: #ffffff;
}
.notif-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color 0.15s ease;
}
.avatar-btn:hover {
  border-color: var(--accent-red);
}
.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-menu {
  position: absolute;
  top: 48px;
  right: 0;
  width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 60;
}
.dropdown-menu.open {
  display: block;
}
.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: left;
}
.dropdown-item:hover {
  background: var(--bg-secondary);
  color: #ffffff;
}

/* Mobile Quick Category Strip & Bottom Navigation */
.mobile-quick-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 1rem 0.25rem;
}
.chip-btn {
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}
.chip-btn.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 64px;
  background: rgba(7, 14, 24, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}
.mobile-tab.active {
  color: var(--accent-red);
}

/* Main Container & Sections */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1rem 5.5rem;
}
.view-section {
  display: none;
}
.view-section.active {
  display: block;
}

/* Welcome & Auth Screens */
.welcome-stage {
  position: relative;
  min-height: calc(100vh - 120px);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem;
  align-items: center;
}
.welcome-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  opacity: 0.25;
  pointer-events: none;
}
.welcome-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
}
.welcome-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 18, 0.95) 0%, rgba(5, 10, 18, 0.82) 100%);
}
.welcome-left,
.welcome-right {
  position: relative;
  z-index: 2;
}
.feature-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.feature-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: rgba(16, 28, 42, 0.88);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
}
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.6rem;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auth-card {
  max-width: 440px;
  margin: 1.5rem auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-secondary);
  margin-bottom: 1.75rem;
}
.hero-banner img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #050a12 8%, rgba(5, 10, 18, 0.65) 55%, rgba(5, 10, 18, 0.25) 100%),
    linear-gradient(to right, rgba(5, 10, 18, 0.94) 15%, rgba(5, 10, 18, 0.45) 55%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  max-width: 640px;
}
.hero-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.hero-meta .highlight {
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-title {
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.hero-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Carousels & Grids */
.row-block {
  margin-bottom: 1.85rem;
}
.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.row-title {
  font-size: 1.15rem;
  font-weight: 700;
}
.row-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.scroll-arrow {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 0.55rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  align-items: center;
  justify-content: center;
}
.scroll-arrow:hover {
  color: #fff;
  border-color: var(--accent-red);
}
.see-all-btn {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.see-all-btn:hover {
  color: var(--accent-red);
}

.carousel-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-behavior: smooth;
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.content-card {
  flex: 0 0 144px;
  background: var(--bg-card);
  border: 1px solid rgba(27, 48, 66, 0.85);
  border-radius: 0.9rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.poster-grid .content-card {
  flex: unset;
  width: 100%;
}
.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 13, 53, 0.65);
}
.card-poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-secondary);
  overflow: hidden;
}
.card-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.content-card:hover .card-hover-overlay {
  opacity: 1;
}
.circle-play {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--accent-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-list {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(16, 28, 42, 0.92);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-bar-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent-red);
}
.card-body {
  padding: 0.65rem 0.75rem;
}
.card-title {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta .star {
  color: #fbbf24;
  font-weight: 600;
}

/* Filters, Panels & Form Inputs */
.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
}
.filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.input-field,
.select-field,
.textarea-field {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
}
.input-field:focus,
.select-field:focus,
.textarea-field:focus {
  border-color: var(--accent-red);
}

/* Explore Genres & Languages */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.genre-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.9rem 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.genre-tile.active,
.genre-tile:hover {
  border-color: var(--accent-red);
  color: #ffffff;
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.lang-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.lang-tile.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
}

/* Details Tabs */
.tabs-line {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.tab-line-btn {
  padding-bottom: 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
}
.tab-line-btn.active {
  color: #ffffff;
  border-bottom-color: var(--accent-red);
}

/* Account & Plans */
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-bottom: 0.65rem;
  width: 100%;
  text-align: left;
  transition: border-color 0.15s ease;
}
.account-row:hover {
  border-color: rgba(242, 13, 53, 0.55);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.plan-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card.highlighted {
  background: var(--bg-card);
  border-color: var(--accent-red);
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 5.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.footer-bottom .dev-credit {
  text-align: right;
}
.footer-bottom .dev-credit a {
  color: var(--accent-red);
  font-weight: 600;
}

/* ==========================================================================
   ADMIN PANEL STYLES (admin.html)
   ========================================================================== */
.admin-shell {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 256px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: -264px;
  z-index: 60;
  transition: left 0.2s ease;
}
.admin-sidebar.open {
  left: 0;
}
.admin-sidebar-head {
  height: 64px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
}
.admin-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav-btn:hover {
  background: var(--bg-card);
  color: #ffffff;
}
.admin-nav-btn.active {
  background: var(--accent-red);
  color: #ffffff;
}
.admin-subnav {
  margin-left: 1rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.admin-subnav .admin-nav-btn {
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
}
.admin-subnav .admin-nav-btn.active {
  background: rgba(242, 13, 53, 0.15);
  color: var(--accent-red);
}
.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  height: 64px;
  background: rgba(7, 14, 24, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
}
.admin-content {
  padding: 1.5rem;
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
}
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
}
.kpi-delta {
  font-size: 0.75rem;
  color: var(--success);
  margin-top: 0.15rem;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
}
.table-wrap {
  overflow-x: auto;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.8rem;
}
table.data-table th {
  padding: 0.65rem 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
table.data-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(27, 48, 66, 0.5);
  vertical-align: middle;
}
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.qa-btn {
  padding: 0.8rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #ffffff;
}

/* Modals & Toasts */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open {
  display: flex;
}
.modal-box {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
.toast-container {
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast-msg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Breakpoints: 320px -> 480px -> 768px -> 1024px -> 1440px */
@media (min-width: 640px) {
  .container {
    padding: 1.5rem 2rem 4rem;
  }
  .hero-banner {
    min-height: 440px;
  }
  .hero-content {
    padding: 2.5rem;
  }
  .content-card {
    flex: 0 0 168px;
  }
  .poster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .filter-bar {
    grid-template-columns: repeat(4, 1fr);
  }
  .genre-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .lang-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .ott-nav-links {
    display: flex;
  }
  .mobile-quick-tabs,
  .mobile-bottom-nav {
    display: none;
  }
  .scroll-arrow {
    display: inline-flex;
  }
  .site-footer {
    padding-bottom: 2.5rem;
  }
  .poster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .welcome-stage {
    grid-template-columns: 7fr 5fr;
    padding: 3rem;
  }
  .feature-pills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .toast-container {
    bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .poster-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .admin-sidebar {
    position: sticky;
    left: 0;
    height: 100vh;
  }
  .admin-close-btn,
  .admin-menu-btn {
    display: none;
  }
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .analytics-grid {
    grid-template-columns: 5fr 4fr 3fr;
  }
}

.explore-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.35rem 1rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-red);
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  overflow: hidden;
  border: 2px solid var(--border);
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.google-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #050a12;
  font-size: 0.85rem;
  font-weight: 600;
  transition: filter 0.15s ease;
}
.google-btn:hover {
  filter: brightness(0.94);
}

