/* ═══════════════════════════════════════════════════════════════════
   CineScope — Cinematic Dark Design
   Fonts: Bebas Neue (display) + DM Sans (body) + DM Serif Display (accent)
═══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #080a0f;
  --bg-2: #0d1117;
  --bg-3: #141920;
  --bg-4: #1a2030;
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(255, 255, 255, 0.14);
  --text: #e8eaf0;
  --text-2: #8890a4;
  --text-3: #555f74;
  --accent: #e2a84b;
  --accent-dim: rgba(226, 168, 75, 0.15);
  --accent-glow: rgba(226, 168, 75, 0.4);
  --red: #e25555;
  --green: #55c4a0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.8);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-serif: "DM Serif Display", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* ───────────────────────────────────────────── AUTH SCREEN */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.auth-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(226, 168, 75, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(226, 168, 75, 0.05);
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.logo-icon {
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text);
}

.auth-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 32px;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-google:hover {
  background: var(--bg-4);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}

.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.auth-form.active {
  display: flex;
}

.auth-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.auth-input:focus {
  border-color: var(--accent);
  background: var(--bg-4);
}

.auth-input::placeholder {
  color: var(--text-3);
}

.btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: #080a0f;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 4px;
}

.btn-primary:hover {
  background: #f0bc5a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.auth-error {
  font-size: 13px;
  color: var(--red);
  min-height: 18px;
  text-align: center;
}

/* ───────────────────────────────────────────── APP LAYOUT */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ───────────────────────────────────────────── HEADER */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  height: 68px;
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--text);
}

/* Search */
.search-wrap {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
  background: var(--bg-4);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

/* Search dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
  overflow-y: auto;
  z-index: 200;
  animation: dropIn 0.15s ease both;
}

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

.search-results::-webkit-scrollbar {
  width: 4px;
}
.search-results::-webkit-scrollbar-track {
  background: transparent;
}
.search-results::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 4px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}

.search-item:last-child {
  border-bottom: none;
}
.search-item:hover {
  background: var(--bg-3);
}

.search-thumb {
  width: 42px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-4);
  flex-shrink: 0;
}

.search-thumb-placeholder {
  width: 42px;
  height: 62px;
  border-radius: 6px;
  background: var(--bg-4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-3);
}

.search-info {
  flex: 1;
  min-width: 0;
}
.search-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-year {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.search-add-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  color: #080a0f;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.search-add-btn:hover {
  background: #f0bc5a;
  transform: scale(1.05);
}
.search-add-btn.added {
  background: var(--bg-4);
  color: var(--text-3);
  cursor: default;
}
.search-add-btn.added:hover {
  transform: none;
}

.search-loading,
.search-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.user-initial {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #080a0f;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  color: var(--text-2);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-signout {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-signout:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(226, 85, 85, 0.1);
}

/* ───────────────────────────────────────────── CONTROLS BAR */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.watchlist-count {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-3);
  text-transform: uppercase;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ctrl-select {
  padding: 7px 28px 7px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238890a4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all var(--transition);
}

.ctrl-select:hover,
.ctrl-select:focus {
  border-color: var(--accent);
  color: var(--text);
}

/* ───────────────────────────────────────────── WATCHLIST GRID */
.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  padding: 28px 32px;
  flex: 1;
}

@media (min-width: 1200px) {
  .watchlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* Movie card */
.movie-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  aspect-ratio: 2/3;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  animation: cardIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.movie-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(226, 168, 75, 0.3);
  z-index: 2;
}

.movie-card:hover .card-overlay {
  opacity: 1;
}
.movie-card:hover .card-remove {
  opacity: 1;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
  background: var(--bg-4);
}

.card-img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-img.loaded {
  opacity: 1;
}

.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-3);
  background: var(--bg-4);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 10, 15, 0.95) 0%,
    rgba(8, 10, 15, 0.2) 50%,
    transparent 100%
  );
  opacity: 0.6;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
}

.card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-year {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 3px;
}

.card-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 85, 85, 0.85);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition);
  z-index: 3;
}

.card-remove:hover {
  background: var(--red);
  transform: scale(1.1);
}

/* Watched badge on card */
.card-watched-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: rgba(85, 196, 160, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
}

/* Toggle watched button on card */
.card-toggle-watched {
  position: absolute;
  top: 8px;
  right: 40px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(85, 196, 160, 0.85);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition);
  z-index: 3;
}
.card-toggle-watched:hover {
  background: var(--green);
  transform: scale(1.1);
}
.card-toggle-watched.is-watched {
  background: rgba(226, 168, 75, 0.85);
}
.card-toggle-watched.is-watched:hover {
  background: var(--accent);
  transform: scale(1.1);
}
.movie-card:hover .card-toggle-watched {
  opacity: 1;
}

/* ───────────────────────────────────────────── EMPTY STATE */
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 32px;
  text-align: center;
}

.empty-icon {
  font-size: 64px;
  color: var(--text-3);
  opacity: 0.4;
  font-family: var(--font-display);
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text-2);
}

.empty-state p {
  font-size: 15px;
  color: var(--text-3);
  max-width: 360px;
  line-height: 1.6;
}

/* ───────────────────────────────────────────── MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-2);
  cursor: pointer;
  font-size: 13px;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.modal-inner {
  display: flex;
  gap: 0;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-poster-wrap {
  position: relative;
  flex-shrink: 0;
  width: 220px;
}

.modal-poster {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.modal-poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 80%, var(--bg-2) 100%);
}

.modal-info {
  flex: 1;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-meta {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1.1;
}

.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-lang {
  background: var(--bg-4);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.badge-rating {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(226, 168, 75, 0.3);
}

.modal-overview {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  flex: 1;
}

.btn-remove {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(226, 85, 85, 0.1);
  border: 1px solid rgba(226, 85, 85, 0.3);
  border-radius: var(--radius);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
  margin-top: auto;
}

.btn-remove:hover {
  background: rgba(226, 85, 85, 0.2);
  border-color: var(--red);
}

/* Modal actions row */
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  align-self: flex-start;
  flex-wrap: wrap;
}
.modal-actions .btn-remove,
.modal-actions .btn-watched {
  margin-top: 0;
  align-self: auto;
}

.btn-watched {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(85, 196, 160, 0.1);
  border: 1px solid rgba(85, 196, 160, 0.3);
  border-radius: var(--radius);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-watched:hover {
  background: rgba(85, 196, 160, 0.2);
  border-color: var(--green);
}
.btn-watched.active {
  background: rgba(85, 196, 160, 0.2);
  border-color: var(--green);
}

/* ───────────────────────────────────────────── TOAST */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-3);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast.success {
  border-color: var(--green);
  color: var(--green);
}
.toast.error {
  border-color: var(--red);
  color: var(--red);
}

/* ───────────────────────────────────────────── SPINNER */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ───────────────────────────────────────────── SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 6px;
}

/* ───────────────────────────────────────────── RESPONSIVE */
@media (max-width: 768px) {
  .app-header {
    padding: 0 16px;
    gap: 12px;
  }
  .header-logo {
    display: none;
  }
  .user-name {
    display: none;
  }
  .controls-bar {
    padding: 12px 16px;
  }
  .watchlist-grid {
    padding: 16px;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .modal-inner {
    flex-direction: column;
  }
  .modal-poster-wrap {
    width: 100%;
    height: 240px;
  }
  .modal-poster {
    height: 240px;
  }
  .modal-poster-glow {
    background: linear-gradient(to top, var(--bg-2) 0%, transparent 100%);
  }
  .modal-info {
    padding: 20px;
  }
  .modal-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px;
  }
  .search-wrap {
    max-width: 100%;
  }
  .controls-right {
    gap: 6px;
  }
  .ctrl-select {
    font-size: 12px;
    padding: 6px 24px 6px 10px;
  }
}
