/* ==================== LEGACY MOVIE NIGHT CSS ==================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #141420;
  --bg-card: #1a1a2e;
  --bg-hover: #252540;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6c6c7c;
  --accent-primary: #e50914;
  --accent-secondary: #f5c518;
  --accent-success: #10b981;
  --accent-purple: #6366f1;
  --border-subtle: #2a2a3e;
  --border-accent: #e50914;
  --shadow-glow: 0 0 30px rgba(229, 9, 20, 0.3);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==================== LOGIN CONTAINER ==================== */

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(229, 9, 20, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.login-box {
  background: var(--bg-card);
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.login-box h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-box .subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1rem;
}

.login-box .form-label {
  display: block;
  text-align: left;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.login-box .form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition-normal);
}

.login-box .form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.login-box .form-control::placeholder {
  color: var(--text-muted);
}

.login-box .btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #b8070f);
  border: none;
  color: white;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.4);
}

.login-box .alert-danger {
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ==================== APP CONTAINER ==================== */

.app-container {
  display: none;
  min-height: 100vh;
  background: var(--bg-primary);
}

/* ==================== TOP HEADER ==================== */

.top-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding: 15px 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.header-btn.logout-btn {
  background: rgba(229, 9, 20, 0.2);
  border-color: var(--accent-primary);
}

.header-btn.logout-btn:hover {
  background: var(--accent-primary);
}

/* ==================== HERO SECTION ==================== */

.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.5) 50%, transparent 100%), linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.3) 70%, var(--bg-primary) 100%);
}

.hero-content-overlay {
  position: absolute;
  bottom: 100px;
  left: 40px;
  right: 40%;
  z-index: 10;
}

.hero-movie-info h2, #heroMovieTitle {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

#heroMovieMeta, .hero-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

#heroMovieMeta span, .hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

#heroMovieDescription, .hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.hero-actions .btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.hero-actions .btn-play {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.hero-actions .btn-play:hover {
  background: #e0e0e0;
  transform: scale(1.05);
}

.hero-actions .btn-more {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.hero-actions .btn-more:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==================== HERO BUTTONS (SPIN BUTTONS) ==================== */

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #ff1a1a 50%, var(--accent-primary) 100%);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: gradient-shift 3s ease infinite;
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(229, 9, 20, 0.5), 0 0 30px rgba(229, 9, 20, 0.3);
}

.hero-btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-btn i {
  font-size: 1.2rem;
}

.hero-btn-primary i {
  animation: spin-slow 4s linear infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Movie stats in hero */

.movie-stats-mini {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.movie-stats-mini span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.movie-stats-mini i {
  color: var(--accent-primary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
}

/* ==================== QUOTES TICKER ==================== */

.quotes-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent 10%, transparent 90%, var(--bg-primary));
  padding: 15px 0;
  overflow: hidden;
  z-index: 20;
}

.quotes-ticker-content {
  display: flex;
  animation: ticker 60s linear infinite;
  white-space: nowrap;
}

.ticker-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  color: var(--text-secondary);
  font-style: italic;
}

.ticker-quote .quote-text {
  color: var(--text-primary);
}

.ticker-quote .quote-movie {
  color: var(--accent-secondary);
  font-weight: 500;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==================== NETFLIX LISTS SECTION ==================== */

.netflix-lists-section {
  padding: 20px 0 60px;
}

.movie-row {
  margin-bottom: 40px;
  padding: 0 40px;
}

.row-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.movie-row-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.movie-row-container::-webkit-scrollbar {
  height: 6px;
}

.movie-row-container::-webkit-scrollbar-track {
  background: transparent;
}

.movie-row-container::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

/* ==================== NETFLIX MOVIE CARD ==================== */

.netflix-movie-card {
  flex-shrink: 0;
  width: 200px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.netflix-movie-card:hover {
  transform: scale(1.08);
  z-index: 10;
}

.netflix-movie-thumbnail {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
}

.netflix-movie-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.netflix-movie-thumbnail i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: var(--text-muted);
}

.netflix-movie-thumbnail .watched-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-success);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.netflix-movie-info {
  padding: 12px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-normal);
  position: absolute;
  bottom: -120px;
  left: -10px;
  right: -10px;
  background: var(--bg-card);
  border-radius: 0 0 8px 8px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.netflix-movie-card:hover .netflix-movie-info {
  opacity: 1;
  transform: translateY(0);
}

.netflix-movie-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.netflix-movie-meta {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.netflix-movie-contributor {
  font-size: 0.8rem;
  color: var(--accent-secondary);
}

.netflix-movie-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.netflix-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.netflix-card-actions button {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.netflix-card-actions .btn-stream {
  background: var(--accent-primary);
  color: white;
}

.netflix-card-actions .btn-watch {
  background: var(--accent-success);
  color: white;
}

/* ==================== LOAD MORE ==================== */

.load-more-container {
  text-align: center;
  margin-top: 20px;
}

.load-more-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.load-more-btn:hover {
  background: var(--bg-hover);
  border-color: var(--accent-primary);
}

/* ==================== SELECTED MOVIE DIV ==================== */

#selectedMovieDiv {
  padding: 0 40px;
  margin-bottom: 40px;
}

.selected-movie {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(10, 10, 15, 0.98));
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid rgba(229, 9, 20, 0.4);
  box-shadow: 0 0 60px rgba(229, 9, 20, 0.2), 0 25px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: movieReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.selected-movie::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(229, 9, 20, 0.08) 0%, transparent 50%);
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes movieReveal {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.selected-movie h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #e50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.selected-movie h2 i {
  background: none;
  -webkit-text-fill-color: #f5c518;
  margin-right: 10px;
}

.selected-movie .added-by {
  font-size: 1.1rem;
  color: var(--accent-secondary);
  margin-bottom: 25px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.selected-movie img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 9, 20, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.selected-movie img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(229, 9, 20, 0.4);
}

.selected-movie-poster {
  width: 280px;
  flex-shrink: 0;
  margin-bottom: 25px;
}

.selected-movie-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.selected-movie-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.selected-movie-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  justify-content: center;
  flex-wrap: wrap;
}

.selected-movie-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-movie-meta span i {
  color: var(--accent-primary);
}

.selected-movie-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.selected-movie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
}

.selected-movie-actions button, .selected-movie-actions .btn, .action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
}

.btn-action {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-action:hover::before {
  left: 100%;
}

.btn-stream {
  background: linear-gradient(135deg, #e50914, #b20710);
  color: white;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.btn-stream:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6);
}

.btn-watch {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-watch:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-skip {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-skip:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.selected-movie-actions .btn-stream {
  background: var(--accent-primary);
  color: white;
}

.selected-movie-actions .btn-stream:hover {
  background: #c70812;
  transform: translateY(-2px);
}

.selected-movie-actions .btn-watched {
  background: var(--accent-success);
  color: white;
}

.selected-movie-actions .btn-watched:hover {
  background: #0d9668;
}

.selected-movie-actions .btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

/* ==================== QUOTES SECTION ==================== */

.quotes-section, .movie-quotes-section {
  margin-top: 30px;
  padding: 25px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 197, 24, 0.2);
  position: relative;
  z-index: 1;
  width: 100%;
}

.quotes-section h4, .quotes-title {
  color: var(--accent-secondary);
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quotes-title i {
  color: var(--accent-secondary);
}

.quotes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-item {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(20, 20, 32, 0.9));
  padding: 20px;
  border-radius: 12px;
  position: relative;
  border-left: 3px solid var(--accent-secondary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.quote-item .quote-text {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.quote-item .quote-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-item .quote-author {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quote-delete-btn {
  background: transparent;
  border: none;
  color: rgba(229, 9, 20, 0.5);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.2s ease;
  opacity: 0;
}

.quote-item:hover .quote-delete-btn {
  opacity: 1;
}

.quote-delete-btn:hover {
  background: rgba(229, 9, 20, 0.2);
  color: var(--accent-primary);
}

/* Add Quote Section */

.add-quote-section {
  margin-top: 25px;
  position: relative;
  z-index: 1;
}

.btn-add-quote {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.1));
  border: 1px dashed var(--accent-secondary);
  color: var(--accent-secondary);
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-add-quote:hover {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.3), rgba(245, 197, 24, 0.2));
  border-style: solid;
}

.quote-form {
  margin-top: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.quote-input, .quote-author-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1rem;
}

.quote-input {
  min-height: 100px;
  resize: vertical;
}

.quote-input:focus, .quote-author-input:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.2);
}

.quote-form-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-submit-quote {
  background: var(--accent-success);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-submit-quote:hover {
  background: #0d9668;
  transform: translateY(-2px);
}

.btn-cancel-quote {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-quote:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.quote-item .delete-quote {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--accent-primary);
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-fast);
}

.quote-item:hover .delete-quote {
  opacity: 1;
}

/* ==================== MODALS ==================== */

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  color: var(--text-primary);
}

.modal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 25px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 25px;
}

.btn-close {
  filter: invert(1);
}

/* ==================== WHEEL MODAL ==================== */

#wheelModal .modal-body {
  background: radial-gradient(circle at center, var(--bg-secondary), var(--bg-primary));
}

#wheelCanvas {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

#spinBtn {
  background: linear-gradient(135deg, var(--accent-primary), #b8070f);
  border: none;
  color: white;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: var(--transition-normal);
}

#spinBtn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

#spinBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#wheelResult {
  margin-top: 20px;
  padding: 20px;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

/* ==================== SLOTS MODAL ==================== */

#slotsContainer {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.slot-reel {
  width: 150px;
  height: 200px;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-secondary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.slot-reel-inner {
  position: absolute;
  width: 100%;
  transition: transform 0.1s linear;
}

.slot-item {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.slot-item img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 8px;
}

#leverBtn {
  background: linear-gradient(180deg, #ffd700, #ff8c00);
  border: none;
  color: #1a1a1a;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

#leverBtn:hover:not(:disabled) {
  transform: scale(1.05);
}

/* ==================== CUSTOM LISTS ==================== */

#customListsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.custom-list-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition-normal);
}

.custom-list-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.custom-list-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.custom-list-card .list-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.custom-list-card .list-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.custom-list-card .list-actions {
  display: flex;
  gap: 10px;
}

.custom-list-card .list-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

/* ==================== COLOR PALETTE ==================== */

.color-palette, #colorPalette {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

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

.color-picker-input {
  width: 50px;
  height: 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.remove-color-btn {
  background: var(--accent-primary);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
}

/* ==================== LIST MOVIES ==================== */

.list-movies-container, #listMoviesContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.list-movie-item {
  background: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.list-movie-item img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.list-movie-item .movie-title {
  padding: 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-movie-item .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--accent-primary);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-fast);
}

.list-movie-item:hover .remove-btn {
  opacity: 1;
}

/* ==================== MOVIE DROPDOWN ==================== */

.custom-movie-dropdown {
  position: relative;
}

.movie-dropdown-list, #movieDropdownList, #listMovieDropdownList {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  z-index: 1000;
  display: none;
}

.movie-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.movie-dropdown-item:hover {
  background: var(--bg-hover);
}

.movie-dropdown-item img {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* ==================== MOVIE LIST (OLD) ==================== */

.lists-section {
  padding: 40px;
}

.list-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.movie-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.movie-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.movie-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.movie-card-thumbnail {
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card-content {
  padding: 20px;
}

.movie-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.movie-card-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.movie-card-actions {
  display: flex;
  gap: 10px;
}

.movie-card-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

/* ==================== SEARCH ==================== */

.movie-search {
  position: relative;
  max-width: 600px;
  margin: 0 auto 30px;
}

.movie-search input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.movie-search input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.movie-search .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* ==================== STATS ==================== */

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==================== RUNTIME PROGRESS ==================== */

#runtimeProgress {
  max-width: 400px;
  margin: 0 auto;
  padding: 10px;
}

#runtimeProgressBar {
  height: 4px;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

#runtimeProgressText {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 5px;
}

/* ==================== ANIMATIONS ==================== */

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.fa-spin {
  animation: spin 1s linear infinite;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  .hero-content-overlay {
    right: 20%;
  }
}

@media (max-width: 1024px) {
  #heroMovieTitle, .hero-movie-info h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 10px 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .hero-content-overlay {
    left: 20px;
    right: 20px;
    bottom: 60px;
  }
}

@media (max-width: 768px) {
  #heroMovieTitle, .hero-movie-info h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .movie-row {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .netflix-movie-card {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .selected-movie {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .selected-movie-poster {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #selectedMovieDiv {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .login-box h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .selected-movie-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .selected-movie-actions button, .selected-movie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

