/* ==========================================================
   MyWatchedMovies – Custom Theme Colors
   Author: Jan T.
   Version: 1.0
   Description: Color system and UI helpers for MyWatchedMovies
   ========================================================== */

/*-------------------------------------
  🎨 Base Palette
-------------------------------------*/
:root {
  /* Greens */
  --mwm-green-1: #52b791;
  --mwm-green-2: #bae2d3;
  --mwm-green-3: #dcf1e9;

  /* Blues (Primary) */
  --mwm-blue-1: #016ba5;
  --mwm-blue-2: #4190BC;
  --mwm-blue-3: #80B5D2;

  /* Oranges */
  --mwm-orange-1: #f4901f;
  --mwm-orange-2: #f9d299;
  --mwm-orange-3: #fce8cc;

  /* Yellow */
  --mwm-yellow-1: #f3ca15;

  /* Red */
  --mwm-red-1: #ef4023;

  /* Neutrals */
  --mwm-light-bg: #f9f9f9;
  --mwm-dark-text: #1b1e20;
  --mwm-muted-text: #555;
  --mwm-dark-bg: #0f1214;
}

/*-------------------------------------
  🌓 Dark Mode
  Activated with <html data-theme="dark">
-------------------------------------*/
html[data-theme="dark"] {
  /* Basis achtergrond & tekst */
  --mwm-light-bg: #0f1214;      /* page background */
  --mwm-dark-text: #f5f6f7;     /* primary text op dark */
  --mwm-muted-text: #b4bcc5;    /* subtiele tekst */

  /* Aangepaste kleuren voor dark mode */
  --mwm-blue-1: #3aa9ff;
  --mwm-blue-2: #2181c5;
  --mwm-blue-3: #16577f;

  --mwm-green-1: #4fd1a4;
  --mwm-green-2: #3b9a7c;
  --mwm-green-3: rgba(79, 209, 164, 0.08); /* hover rows */

  --mwm-orange-1: #ffb347;
  --mwm-orange-2: rgba(255, 179, 71, 0.15);
  --mwm-orange-3: rgba(255, 179, 71, 0.05);

  --mwm-yellow-1: #ffe08a;
  --mwm-red-1: #ff7a6b;
}

/* Globale body-kleuren in dark */
html[data-theme="dark"] body {
  background-color: var(--mwm-light-bg);
  color: var(--mwm-dark-text);
}

/* Auth cards licht → donker */
html[data-theme="dark"] .auth-card {
  background: #15191d;
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

html[data-theme="dark"] .auth-left {
  border-color: rgba(255,255,255,.03);
}

html[data-theme="dark"] .subline {
  color: var(--mwm-muted-text);
}

/* Cards */
html[data-theme="dark"] .card {
  background: #15191d;
  border: 1px solid rgba(255,255,255,.04);
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .card-header {
  background-color: #2c3034;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .card-header h5,
html[data-theme="dark"] .card-header h6 {
  color: var(--mwm-dark-text);
  font-weight: 600;
}

/* Override bg-white in dark mode */
html[data-theme="dark"] .bg-white {
  background-color: #2c3034 !important;
}

html[data-theme="dark"] .card-header.bg-white {
  background-color: #2c3034 !important;
}

html[data-theme="dark"] .card-body {
  background: #15191d;
}

/* Forms */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background-color: #1a1f23;
  border-color: rgba(255,255,255,0.1);
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
  background-color: #1f2428;
  border-color: var(--mwm-blue-1);
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .form-control:disabled,
html[data-theme="dark"] .form-control[readonly] {
  background-color: #0f1214;
  color: var(--mwm-muted-text);
}

html[data-theme="dark"] .form-text {
  color: var(--mwm-muted-text);
}

/* Tabellen - Bootstrap dark table style */
html[data-theme="dark"] .table {
  --bs-table-bg: #212529;
  --bs-table-striped-bg: #2c3034;
  --bs-table-striped-color: #f5f6f7;
  --bs-table-active-bg: #373b3e;
  --bs-table-active-color: #f5f6f7;
  --bs-table-hover-bg: #323539;
  --bs-table-hover-color: #f5f6f7;
  color: var(--mwm-dark-text);
  border-color: #373b3e;
  background-color: #212529;
}

html[data-theme="dark"] .table > :not(caption) > * > * {
  background-color: var(--bs-table-bg);
  border-bottom-color: #373b3e;
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .table th {
  background-color: #2c3034;
  border-bottom: 2px solid rgba(58,169,255,0.3);
  color: var(--mwm-dark-text);
  border-color: #373b3e;
}

html[data-theme="dark"] .table td {
  border-color: #373b3e;
  background-color: #212529;
}

html[data-theme="dark"] .table tbody tr {
  background-color: #212529;
}

html[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #2c3034;
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: #323539;
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .movie-row:hover {
  background-color: rgba(79, 209, 164, 0.12) !important;
}

/* Compact table zebra in dark */
html[data-theme="dark"] .compact-table .movie-row:nth-child(even) {
  background-color: #2c3034;
}

html[data-theme="dark"] .compact-table .movie-row:nth-child(odd) {
  background-color: #212529;
}

html[data-theme="dark"] .compact-table th {
  background-color: #2c3034;
  border-color: #373b3e;
}

/* Navbars die blauw waren mogen iets donkerder */
html[data-theme="dark"] .decade-navbar,
html[data-theme="dark"] .stats-navbar,
html[data-theme="dark"] .lists-navbar {
  background-color: rgba(1, 107, 165, 0.35);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Year navbar licht → donker */
html[data-theme="dark"] .year-navbar {
  background-color: rgba(22, 87, 127, 0.3);
  color: var(--mwm-dark-text);
}

/* Modals */
html[data-theme="dark"] #movieDetailsModal .modal-content {
  background: #15191d;
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] #movieDetailsModal .modal-footer {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.03);
}

html[data-theme="dark"] .modal-content {
  background: #15191d;
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

html[data-theme="dark"] .modal-footer {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.03);
}

/* Footer */
html[data-theme="dark"] .footer-mwm {
  background-color: rgba(1, 107, 165, 0.15);
  color: var(--mwm-dark-text);
}

/* Alerts */
html[data-theme="dark"] .alert-success {
  background-color: rgba(79, 209, 164, 0.15);
  border-color: rgba(79, 209, 164, 0.3);
  color: var(--mwm-green-1);
}

html[data-theme="dark"] .alert-danger {
  background-color: rgba(255, 122, 107, 0.15);
  border-color: rgba(255, 122, 107, 0.3);
  color: var(--mwm-red-1);
}

html[data-theme="dark"] .alert-info {
  background-color: rgba(58, 169, 255, 0.15);
  border-color: rgba(58, 169, 255, 0.3);
  color: var(--mwm-blue-1);
}

html[data-theme="dark"] .alert-warning {
  background-color: rgba(255, 179, 71, 0.15);
  border-color: rgba(255, 179, 71, 0.3);
  color: var(--mwm-orange-1);
}

/* Badges */
html[data-theme="dark"] .badge {
  color: #fff;
}

/* Links */
html[data-theme="dark"] a {
  color: var(--mwm-blue-1);
}

html[data-theme="dark"] a:hover {
  color: var(--mwm-blue-2);
}

/* Buttons - verbeterde leesbaarheid in dark mode */
html[data-theme="dark"] .btn-warning {
  background-color: var(--mwm-orange-1);
  border-color: var(--mwm-orange-1);
  color: #1b1e20;
  font-weight: 500;
}

html[data-theme="dark"] .btn-warning:hover {
  background-color: #ffbe5c;
  border-color: #ffbe5c;
  color: #1b1e20;
}

html[data-theme="dark"] .btn-success {
  background-color: var(--mwm-green-1);
  border-color: var(--mwm-green-1);
  color: #1b1e20;
  font-weight: 500;
}

html[data-theme="dark"] .btn-success:hover {
  background-color: #5fd9b0;
  border-color: #5fd9b0;
  color: #1b1e20;
}

html[data-theme="dark"] .btn-primary {
  background-color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
  color: #1b1e20;
  font-weight: 500;
}

html[data-theme="dark"] .btn-primary:hover {
  background-color: #4fb8ff;
  border-color: #4fb8ff;
  color: #1b1e20;
}

/*-------------------------------------
  ⚙️ Overrides & Bootstrap integration
-------------------------------------*/
html {
  height: 100%;
}

body {
  background-color: var(--mwm-light-bg);
  color: var(--mwm-dark-text);
  font-family: "Inter", "Roboto", sans-serif;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Primary (blue) */
.text-primary,
.mwm-text-blue {
  color: var(--mwm-blue-1) !important;
}
.bg-primary {
  background-color: var(--mwm-blue-1) !important;
}
.btn-primary {
  background-color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
}
.btn-primary:hover {
  background-color: var(--mwm-blue-2);
  border-color: var(--mwm-blue-2);
}

/* Success (green) */
.bg-success,
.mwm-bg-green {
  background-color: var(--mwm-green-1) !important;
}
.text-success {
  color: var(--mwm-green-1) !important;
}
.btn-success {
  background-color: var(--mwm-green-1);
  border-color: var(--mwm-green-1);
}
.btn-success:hover {
  background-color: var(--mwm-green-2);
  border-color: var(--mwm-green-2);
}

/* Warning (orange/yellow) */
.bg-warning,
.mwm-bg-orange {
  background-color: var(--mwm-orange-1) !important;
}
.text-warning {
  color: var(--mwm-orange-1) !important;
}

/* Danger (red) */
.bg-danger,
.mwm-bg-red {
  background-color: var(--mwm-red-1) !important;
}
.text-danger {
  color: var(--mwm-red-1) !important;
}
.btn-danger {
  background-color: var(--mwm-red-1);
  border-color: var(--mwm-red-1);
}
.btn-danger:hover {
  background-color: #d6381f;
  border-color: #d6381f;
}

/* Secondary/Muted */
.text-muted {
  color: var(--mwm-muted-text) !important;
}

/*-------------------------------------
  🟩 Utility Classes
-------------------------------------*/
.mwm-border-blue { border-color: var(--mwm-blue-1) !important; }
.mwm-border-green { border-color: var(--mwm-green-1) !important; }
.mwm-border-orange { border-color: var(--mwm-orange-1) !important; }
.mwm-border-red { border-color: var(--mwm-red-1) !important; }

.mwm-bg-blue-1 { background-color: var(--mwm-blue-1) !important; }
.mwm-bg-blue-2 { background-color: var(--mwm-blue-2) !important; }
.mwm-bg-blue-3 { background-color: var(--mwm-blue-3) !important; }

.mwm-bg-green-1 { background-color: var(--mwm-green-1) !important; }
.mwm-bg-green-2 { background-color: var(--mwm-green-2) !important; }
.mwm-bg-green-3 { background-color: var(--mwm-green-3) !important; }

.mwm-bg-orange-1 { background-color: var(--mwm-orange-1) !important; }
.mwm-bg-orange-2 { background-color: var(--mwm-orange-2) !important; }
.mwm-bg-orange-3 { background-color: var(--mwm-orange-3) !important; }

.mwm-bg-yellow-1 { background-color: var(--mwm-yellow-1) !important; }
.mwm-bg-red-1 { background-color: var(--mwm-red-1) !important; }

/*-------------------------------------
  🧩 Components
-------------------------------------*/

/* Decade Navigation Bar */
.decade-navbar {
  background-color: var(--mwm-blue-2);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease-out;
  color: white;
}

/* Year Navigation Bar */
.year-navbar {
  background-color: var(--mwm-blue-3);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease-out;
  color: var(--mwm-dark-text);
}

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

.decade-navbar .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.decade-navbar .btn {
  transition: all 0.2s ease;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.decade-navbar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.decade-navbar .btn-outline-primary {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.decade-navbar .btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.decade-navbar .btn-outline-secondary {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

.decade-navbar .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* Year Navbar Styling */
.year-navbar .text-muted {
  color: rgba(27, 30, 32, 0.7) !important;
}

.year-navbar .btn {
  transition: all 0.2s ease;
  color: var(--mwm-dark-text);
  border-color: rgba(27, 30, 32, 0.2);
}

.year-navbar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.year-navbar .btn-outline-primary {
  color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
}

.year-navbar .btn-outline-primary:hover {
  background-color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
  color: white;
}

.year-navbar .btn-primary {
  background-color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
  color: white;
}

.year-navbar .btn-primary:hover {
  background-color: var(--mwm-blue-2);
  border-color: var(--mwm-blue-2);
}

/* Statistics Navigation Bar */
.stats-navbar {
  background-color: var(--mwm-blue-2);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease-out;
  color: white;
}

.stats-navbar .btn {
  transition: all 0.2s ease;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.stats-navbar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.stats-navbar .btn-outline-primary {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.stats-navbar .btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.stats-navbar .btn-primary {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.stats-navbar .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Lists Navigation Bar */
.lists-navbar {
  background-color: var(--mwm-blue-2);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease-out;
  color: white;
}

.lists-navbar .btn {
  transition: all 0.2s ease;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.lists-navbar .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.lists-navbar .btn-outline-primary {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.lists-navbar .btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.lists-navbar .btn-primary {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.lists-navbar .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Decade and Year Navigation */
.decade-btn, .year-btn {
  min-width: 70px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.decade-btn:hover, .year-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.decade-btn.btn-primary, .year-btn.btn-primary {
  background-color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
}

.year-btn.btn-success {
  background-color: var(--mwm-green-1);
  border-color: var(--mwm-green-1);
}

/* Movies Table Styling */
.movie-row {
  transition: background-color 0.2s ease;
}

.movie-row:hover {
  background-color: var(--mwm-green-3) !important;
}

.table th {
  background-color: var(--mwm-light-bg);
  border-bottom: 2px solid var(--mwm-blue-2);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.5rem;
}

.table td {
  vertical-align: middle;
  font-size: 0.8rem;
  padding: 0.3rem 0.5rem;
  line-height: 1.2;
}

.table .form-check-input {
  margin: 0;
  transform: scale(0.9);
}

.table .form-check-input:checked {
  background-color: var(--mwm-green-1);
  border-color: var(--mwm-green-1);
}

/* Compact Table Styling (MyEpisodes-like) */
.compact-table {
  font-size: 0.8rem;
}

.compact-table th,
.compact-table td {
  padding: 0.25rem 0.4rem;
  border-width: 1px;
}

.compact-table th {
  font-size: 0.7rem;
  font-weight: 600;
  background-color: #e9ecef;
}

.compact-table td {
  font-size: 0.75rem;
}

.compact-table .movie-row:nth-child(even) {
  background-color: #f8f9fa;
}

.compact-table .movie-row:nth-child(odd) {
  background-color: white;
}

.compact-table .movie-row:hover {
  background-color: var(--mwm-green-3) !important;
}

/* Movie Cards */

/* Navbar */
.navbar-mwm {
  background-color: var(--mwm-blue-1);
}
.navbar-mwm .navbar-brand,
.navbar-mwm .nav-link {
  color: #fff !important;
}
.navbar-mwm .navbar-brand-logo {
  height: 24px;
  width: auto;
  vertical-align: middle;
}
.navbar-mwm .nav-link:hover {
  color: var(--mwm-orange-1) !important;
}

/* Tables */
.table-mwm thead {
  background-color: var(--mwm-blue-3);
}
.table-mwm tbody tr:hover {
  background-color: var(--mwm-green-3);
}

/* Checkboxes */
input[type="checkbox"].mwm-checkbox:checked {
  accent-color: var(--mwm-blue-1);
}
input[type="checkbox"].mwm-checkbox.planned:checked {
  accent-color: var(--mwm-orange-1);
}
input[type="checkbox"].mwm-checkbox.watched:checked {
  accent-color: var(--mwm-green-1);
}

/* Badges */
.badge-upcoming {
  background-color: var(--mwm-orange-1);
  color: #fff;
}
.badge-new {
  background-color: var(--mwm-green-1);
  color: #fff;
}

/* Main content area - grows to fill available space */
main {
  flex: 1 0 auto;
}

/* Footer - sticks to bottom */
.footer-mwm {
  background-color: var(--mwm-blue-1);
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: auto;
}
.footer-mwm a {
  color: var(--mwm-orange-1);
  text-decoration: none;
}
.footer-mwm a:hover {
  text-decoration: underline;
}

/*-------------------------------------
  🎬 Movie Title Links
-------------------------------------*/
.movie-title-link {
  color: var(--mwm-dark-text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.movie-title-link:hover {
  color: var(--mwm-blue-1);
  text-decoration: underline !important;
}

/*-------------------------------------
  🎥 Movie Details Modal
-------------------------------------*/
#movieDetailsModal .modal-content {
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#movieDetailsModal .modal-header {
  background-color: var(--mwm-blue-1);
  color: white;
  border-bottom: none;
}

#movieDetailsModal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

#movieDetailsModal .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

#movieDetailsModal .modal-footer {
  border-top: 1px solid #dee2e6;
  background-color: var(--mwm-light-bg);
}

#movieDetailsModal img {
  max-width: 100%;
  height: auto;
}

#movieDetailsModal h3 {
  color: var(--mwm-blue-1);
  font-weight: 600;
}

#movieDetailsModal h5 {
  color: var(--mwm-blue-2);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/*-------------------------------------
  ✨ Transitions & Effects
-------------------------------------*/
a,
button,
input[type="checkbox"] {
  transition: all 0.2s ease-in-out;
}

/*-------------------------------------
  📱 Mobile Responsive Styles
-------------------------------------*/
/* Larger checkboxes on mobile for better touch targets */
@media (max-width: 768px) {
  .table .form-check-input,
  .form-check-input {
    transform: scale(1.3);
    cursor: pointer;
  }

  /* Add more spacing around checkboxes on mobile */
  .table td.text-center {
    padding: 0.5rem;
  }
}

/*-------------------------------------
  🔐 Authentication Pages (Login/Register)
-------------------------------------*/
body.auth-page {
  height: 100%;
  background: linear-gradient(135deg, var(--mwm-blue-3) 0%, var(--mwm-green-2) 100%);
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
}

.auth-left {
  padding: 48px 40px;
  border-right: 1px solid rgba(0,0,0,.06);
}

.brand {
  font-weight: 700;
  color: var(--mwm-blue-1);
  text-decoration: none;
  font-size: 1.5rem;
}

.brand:hover {
  color: var(--mwm-blue-2);
}

.badge-free {
  background: var(--mwm-green-1);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50rem;
  padding: 6px 14px;
  display: inline-block;
}

.headline {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--mwm-dark-text);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.subline {
  color: var(--mwm-muted-text);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  color: var(--mwm-dark-text);
}

.feature-list li {
  margin-bottom: 0.6rem;
}

.feature-list .check {
  color: var(--mwm-blue-1);
  margin-right: 0.4rem;
}

.auth-right {
  padding: 48px 40px;
}

.auth-right .btn-outline-primary {
  color: var(--mwm-blue-1);
  border-color: var(--mwm-blue-1);
}

.auth-right .btn-outline-primary:hover {
  background: var(--mwm-blue-1);
  color: #fff;
}

.badges {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-tag {
  background: var(--mwm-light-bg);
  color: var(--mwm-dark-text);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50rem;
  padding: 6px 12px;
  font-size: 0.9rem;
}

/* Screenshot Gallery */
.screenshot-gallery {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.screenshot-gallery .screenshot {
  width: 30%;
  min-width: 120px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.screenshot-gallery .screenshot:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Screenshot Modal */
#screenshotModal .modal-content {
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  background-color: #fff;
}

#screenshotModal .modal-header {
  background-color: var(--mwm-blue-1);
  color: white;
  border-bottom: none;
  padding: 1rem 1.5rem;
}

#screenshotModal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

#screenshotModal .modal-body {
  padding: 1.5rem;
  background-color: #f8f9fa;
}

#screenshotModal .modal-body img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 991.98px) {
  .auth-left {
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .screenshot-gallery {
    margin-top: 2rem;
  }

  .screenshot-gallery .screenshot {
    width: 31%;
    min-width: 100px;
  }
}

@media (max-width: 576px) {
  .screenshot-gallery .screenshot {
    width: 100%;
    max-width: 300px;
  }
}

/*-------------------------------------
  🏠 Landing Page
-------------------------------------*/
.landing-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(15, 18, 20, 0.8); /* Dark background with 80% opacity */
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
}

.landing-topbar-logo {
  height: 32px;
  width: auto;
}

body.landing-page {
  background: var(--mwm-dark-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Desktop: Full viewport with fixed parallax effect */
@media (min-width: 768px) {
  body.landing-page {
    min-height: 100vh;
    background-attachment: fixed;
  }
}

/* Mobile: Avoid fixed attachment for iOS performance */
@media (max-width: 767px) {
  body.landing-page {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background-position: center top;
  }
}

.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 1rem 2rem 1rem;
  position: relative;
  z-index: 1;
}

.landing-logo-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.landing-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.landing-tagline {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.landing-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.landing-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-btn {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
  border: none;
}

.landing-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: transparent;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
  z-index: -1;
}

.landing-btn-secondary:hover::before {
  background: conic-gradient(from var(--angle), transparent 0%, transparent 60%, #ff6b6b 70%, #feca57 77%, #48dbfb 84%, #ff9ff3 91%, transparent 100%);
  animation: border-spin 5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.3), 0 0 30px rgba(72, 219, 251, 0.2);
}

.landing-btn-primary {
  background-color: var(--mwm-blue-1);
  color: #ffffff;
}

.landing-btn-primary:hover {
  background-color: var(--mwm-blue-2);
  color: #ffffff;
  transform: translateY(-2px);
}

.landing-btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.landing-btn-secondary::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
}

.landing-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .landing-tagline {
    font-size: 1.5rem;
  }

  .landing-description {
    font-size: 1rem;
  }

  .landing-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    display: block;
  }

  .landing-logo {
    max-width: 300px;
  }

  .landing-logo-icon {
    width: 60px;
    height: 60px;
  }
}

/*-------------------------------------
  🎬 Popular Movies Section
-------------------------------------*/
.popular-movies-section {
  background-color: var(--mwm-dark-bg);
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

.popular-movies-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.popular-movies-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Highlight Card (#1 Movie) - Compact Version */
.popular-highlight {
  display: flex;
  justify-content: center;
}

.popular-highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: visible;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

.popular-highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
  z-index: -1;
}

.popular-highlight-card:hover {
  transform: translateY(-4px);
}

.popular-highlight-card:hover::before {
  background: conic-gradient(from var(--angle), transparent 0%, transparent 60%, #ff6b6b 70%, #feca57 77%, #48dbfb 84%, #ff9ff3 91%, transparent 100%);
  animation: border-spin 5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.3), 0 0 30px rgba(72, 219, 251, 0.2);
}

.popular-highlight-poster {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.popular-highlight-info {
  padding: 1rem;
}

.popular-rank-badge {
  display: inline-block;
  background: var(--mwm-blue-1);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.popular-highlight-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.popular-highlight-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.popular-year,
.popular-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popular-rating i {
  color: var(--mwm-yellow-1);
}

.popular-watched-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popular-watched-checkbox:hover {
  background: rgba(255, 255, 255, 0.1);
}

.popular-watched-checkbox label {
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
  font-size: 0.9rem;
}

.popular-watched-checkbox .form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

/* List Items (#2-10) */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.popular-list-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
  z-index: -1;
}

.popular-list-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.popular-list-item:hover::before {
  background: conic-gradient(from var(--angle), transparent 0%, transparent 60%, #ff6b6b 70%, #feca57 77%, #48dbfb 84%, #ff9ff3 91%, transparent 100%);
  animation: border-spin 5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.3), 0 0 30px rgba(72, 219, 251, 0.2);
}

.popular-list-rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mwm-blue-2);
  min-width: 40px;
  text-align: center;
}

.popular-list-poster {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.popular-list-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-list-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.popular-list-checkbox {
  margin-left: auto;
}

.popular-list-checkbox .form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .popular-movies-section {
    padding: 3rem 1rem;
  }

  .popular-movies-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .popular-movies-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }

  /* Highlight komt eerst op mobiel */
  .popular-highlight {
    order: 1;
  }

  .popular-list {
    order: 2;
  }

  .popular-highlight-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .popular-list-title {
    font-size: 1rem;
    white-space: normal;
  }

  .popular-list-poster {
    width: 50px;
    height: 75px;
  }

  .popular-list-rank {
    font-size: 1.25rem;
    min-width: 35px;
  }

  .popular-list-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/*-------------------------------------
  🎨 Section Divider
-------------------------------------*/
.section-divider {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(74, 158, 255, 0.3) 15%,
    rgba(74, 158, 255, 0.8) 35%,
    rgba(255, 107, 107, 0.8) 50%,
    rgba(255, 193, 7, 0.8) 65%,
    rgba(156, 39, 176, 0.3) 85%,
    transparent 100%
  );
  position: relative;
  z-index: 3;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(74, 158, 255, 0.1) 15%,
    rgba(74, 158, 255, 0.2) 35%,
    rgba(255, 107, 107, 0.2) 50%,
    rgba(255, 193, 7, 0.2) 65%,
    rgba(156, 39, 176, 0.1) 85%,
    transparent 100%
  );
  filter: blur(10px);
}

/*-------------------------------------
  📋 Watchlist Overview Section
-------------------------------------*/
.watchlist-overview-section {
  background-color: #0f1214;
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.watchlist-overview-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.watchlist-overview-subtitle {
  font-size: 1.25rem;
  color: #a0a0a0;
  text-align: center;
  margin-bottom: 1.5rem;
}

.watchlist-overview-description {
  font-size: 1rem;
  color: #d0d0d0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.watchlist-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}

.watchlist-card {
  background: linear-gradient(135deg, #1a1d21 0%, #0f1214 100%);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.watchlist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
  z-index: -1;
}

.watchlist-card:hover {
  transform: translateY(-5px);
}

.watchlist-card:hover::before {
  background: conic-gradient(from var(--angle), transparent 0%, transparent 60%, #ff6b6b 70%, #feca57 77%, #48dbfb 84%, #ff9ff3 91%, transparent 100%);
  animation: border-spin 5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.3), 0 0 30px rgba(72, 219, 251, 0.2);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.watchlist-card-icon {
  font-size: 3rem;
  color: #4a9eff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.watchlist-card-content {
  position: relative;
  z-index: 1;
}

.watchlist-card-badge {
  display: inline-block;
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.watchlist-card-badge.badge-animation {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

.watchlist-card-badge.badge-awards {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.watchlist-card-badge.badge-collections {
  background: rgba(156, 39, 176, 0.2);
  color: #ce93d8;
}

.watchlist-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.watchlist-card-description {
  font-size: 0.95rem;
  color: #a0a0a0;
  margin-bottom: 0;
  line-height: 1.5;
}

.watchlist-overview-cta {
  text-align: center;
}

.watchlist-cta-button {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.watchlist-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 158, 255, 0.4);
}

/* Tablet Responsive */
@media (max-width: 992px) {
  .watchlist-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .watchlist-overview-section {
    padding: 3rem 1rem;
  }

  .watchlist-overview-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .watchlist-overview-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .watchlist-overview-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .watchlist-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .watchlist-card {
    padding: 1.5rem;
  }

  .watchlist-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .watchlist-card-title {
    font-size: 1.1rem;
  }

  .watchlist-card-description {
    font-size: 0.85rem;
  }

  .watchlist-cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/*-------------------------------------
  📺 Streaming Services Section
-------------------------------------*/
.streaming-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  min-height: 400px;
}

.streaming-posters-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  z-index: 1;
}

.streaming-posters-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.6;
}

.streaming-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 18, 20, 0.85) 0%,
    rgba(15, 18, 20, 0.7) 50%,
    rgba(15, 18, 20, 0.85) 100%
  );
  z-index: 2;
}

.streaming-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.streaming-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.streaming-logo-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.streaming-logo-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
}

.streaming-logo-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.streaming-logo-item:hover::before {
  background: conic-gradient(from var(--angle), transparent 0%, transparent 60%, #ff6b6b 70%, #feca57 77%, #48dbfb 84%, #ff9ff3 91%, transparent 100%);
  animation: border-spin 5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.3), 0 0 30px rgba(72, 219, 251, 0.2);
}

.streaming-logo-item img {
  height: 36px;
  width: auto;
  display: block;
}

/* Tablet Responsive */
@media (max-width: 992px) {
  .streaming-section {
    padding: 4rem 0;
  }

  .streaming-logos {
    gap: 1.5rem;
  }

  .streaming-logo-item img {
    height: 28px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .streaming-section {
    padding: 3rem 1rem;
    min-height: 350px;
  }

  .streaming-posters-bg {
    grid-template-columns: repeat(6, 1fr);
  }

  .streaming-logos {
    gap: 1rem;
  }

  .streaming-logo-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }

  .streaming-logo-item img {
    height: 24px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .streaming-logos {
    gap: 0.75rem;
  }

  .streaming-logo-item {
    padding: 0.6rem 0.8rem;
  }

  .streaming-logo-item img {
    height: 20px;
  }
}

/*-------------------------------------
  🔐 Auth Pages (Signup/Signin)
-------------------------------------*/
.auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(15, 18, 20, 0.8); /* Dark background with 80% opacity */
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
}

.auth-topbar-logo {
  height: 32px;
  width: auto;
}

body.auth-flow-page {
  background: var(--mwm-dark-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

/* Desktop: Full viewport with fixed parallax effect */
@media (min-width: 768px) {
  body.auth-flow-page {
    min-height: 100vh;
    background-attachment: fixed;
  }
}

/* Mobile: Avoid fixed attachment for iOS performance */
@media (max-width: 767px) {
  body.auth-flow-page {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background-position: center top;
  }
}

.auth-flow-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 1rem 2rem 1rem;
}

.auth-flow-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  max-width: 500px;
  width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
}

html[data-theme="dark"] .auth-flow-card {
  background: rgba(21, 25, 29, 0.98);
  border: 1px solid rgba(255,255,255,.08);
}

.auth-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.auth-flow-logo {
  width: 60px;
  height: 60px;
}

.auth-flow-alt-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background-color: rgba(1, 107, 165, 0.1);
  color: var(--mwm-blue-1);
  border: 2px solid var(--mwm-blue-1);
  transition: all 0.2s ease;
}

.auth-flow-alt-btn:hover {
  background-color: var(--mwm-blue-1);
  color: #ffffff;
}

.auth-flow-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--mwm-dark-text);
  margin-bottom: 0.5rem;
}

.auth-flow-subtitle {
  color: var(--mwm-muted-text);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.auth-flow-social-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
  border: 2px solid rgba(0,0,0,0.1);
}

.auth-flow-social-btn.google {
  background-color: #ffffff;
  color: #333;
}

.auth-flow-social-btn.google:hover {
  background-color: #f8f9fa;
  border-color: rgba(0,0,0,0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-flow-social-btn.apple {
  background-color: #000000;
  color: #ffffff;
}

.auth-flow-social-btn.apple:hover {
  background-color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.auth-flow-social-btn.email {
  background-color: var(--mwm-blue-1);
  color: #ffffff;
  border-color: var(--mwm-blue-1);
}

.auth-flow-social-btn.email:hover {
  background-color: var(--mwm-blue-2);
  border-color: var(--mwm-blue-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(1, 107, 165, 0.3);
}

.auth-flow-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--mwm-muted-text);
  font-size: 0.9rem;
}

.auth-flow-form-group {
  margin-bottom: 1.25rem;
}

.auth-flow-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--mwm-dark-text);
}

.auth-flow-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: var(--mwm-dark-text);
}

html[data-theme="dark"] .auth-flow-form-input {
  background-color: #1a1f23;
  border-color: rgba(255,255,255,0.1);
  color: var(--mwm-dark-text);
}

.auth-flow-form-input:focus {
  outline: none;
  border-color: var(--mwm-blue-1);
  box-shadow: 0 0 0 3px rgba(1, 107, 165, 0.1);
}

.auth-flow-form-link {
  color: var(--mwm-blue-1);
  text-decoration: none;
  font-size: 0.9rem;
}

.auth-flow-form-link:hover {
  text-decoration: underline;
}

.auth-flow-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.auth-flow-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.auth-flow-checkbox label {
  font-size: 0.9rem;
  color: var(--mwm-dark-text);
  cursor: pointer;
}

.auth-flow-submit-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  background-color: var(--mwm-blue-1);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  display: block;
}

.auth-flow-submit-btn:hover {
  background-color: var(--mwm-blue-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(1, 107, 165, 0.3);
}

/* Tablet */
@media (max-width: 768px) {
  .auth-flow-container {
    padding: 70px 0.75rem 1.5rem 0.75rem;
  }

  .auth-flow-card {
    padding: 2rem 1.75rem;
  }

  .auth-flow-header {
    margin-bottom: 1.5rem;
  }

  .auth-flow-logo {
    width: 50px;
    height: 50px;
  }

  .auth-flow-title {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

  .auth-flow-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }

  .auth-flow-social-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .auth-flow-divider {
    margin: 1.25rem 0;
  }

  .auth-flow-form-group {
    margin-bottom: 1rem;
  }

  .auth-flow-form-input {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .auth-flow-checkbox {
    margin-bottom: 1.25rem;
  }

  .auth-flow-submit-btn {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .auth-flow-container {
    padding: 65px 0.5rem 1rem 0.5rem;
    min-height: auto;
  }

  .auth-flow-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .auth-flow-header {
    margin-bottom: 1rem;
  }

  .auth-flow-logo {
    width: 40px;
    height: 40px;
  }

  .auth-flow-alt-btn {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
  }

  .auth-flow-title {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
  }

  .auth-flow-subtitle {
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }

  .auth-flow-social-btn {
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
  }

  .auth-flow-social-btn i {
    font-size: 1rem;
  }

  .auth-flow-divider {
    margin: 1rem 0;
    font-size: 0.8rem;
  }

  .auth-flow-form-group {
    margin-bottom: 0.75rem;
  }

  .auth-flow-form-label {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
  }

  .auth-flow-form-input {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .auth-flow-form-link {
    font-size: 0.8rem;
  }

  .auth-flow-checkbox {
    margin-bottom: 1rem;
  }

  .auth-flow-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .auth-flow-checkbox label {
    font-size: 0.85rem;
  }

  .auth-flow-submit-btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  /* Compact alerts */
  .auth-flow-card .alert {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
}

/*-------------------------------------
  🎬 Streaming Providers
-------------------------------------*/
.streaming-providers-container {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .streaming-providers-container {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.streaming-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mwm-muted-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.streaming-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.streaming-provider {
  display: inline-block;
  transition: transform 0.2s ease;
}

.streaming-provider:hover {
  transform: scale(1.1);
}

.streaming-logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease;
}

.streaming-logo:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Dark mode adjustments */
html[data-theme="dark"] .streaming-logo {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .streaming-logo:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

/* Amazon Buy Button */
.amazon-logo {
  background-color: #FF9900;
}

.amazon-logo .bi-amazon {
  font-size: 24px;
  color: #232F3E;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .streaming-logo {
    width: 35px;
    height: 35px;
  }

  .streaming-providers {
    gap: 0.4rem;
  }

  .amazon-logo .bi-amazon {
    font-size: 20px;
  }
}
