/* ============================================================
   Design Tokens
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-base:       #0a0a1a;
  --bg-surface:    #111127;
  --bg-card:       #16162e;
  --bg-card-hover: #1d1d40;
  --bg-modal:      #12122a;

  --accent:        #7c3aed;
  --accent-light:  #a855f7;
  --accent-glow:   rgba(124, 58, 237, 0.35);
  --gold:          #f59e0b;
  --danger:        #ef4444;
  --success:       #10b981;

  --text-primary:  #f1f0ff;
  --text-secondary:#a09ec0;
  --text-muted:    #6b6990;

  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(124,58,237,0.4);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-modal: 0 20px 80px rgba(0,0,0,0.8);
  --transition:   cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ============================================================
   Topbar / Navigation
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  height: 68px;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.topbar-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.topbar-search-wrap {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0 18px;
  height: 42px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.topbar-search-wrap:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.topbar-search-wrap svg { width: 17px; height: 17px; color: var(--text-muted); flex-shrink: 0; }
#topbar-search {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}
#topbar-search::placeholder { color: var(--text-muted); }

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s var(--transition);
}
.nav-link svg { width: 18px; height: 18px; }
.nav-link:hover { color: var(--text-primary); background: var(--bg-surface); }
.nav-link.active {
  color: var(--accent-light);
  background: rgba(124,58,237,0.15);
}

/* ============================================================
   Main Layout
   ============================================================ */
.main {
  padding-top: 68px;
  min-height: 100vh;
}

.view { display: none; }
.view.active { display: block; }

/* ============================================================
   Hero Section
   ============================================================ */
#hero-section {
  position: relative;
  height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.45) saturate(1.2);
  transition: background-image 0.5s;
}
#hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 10%,
    rgba(10,10,26,0.5) 50%,
    var(--bg-base) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 48px 48px;
  max-width: 680px;
}
.hero-badges { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-trending { background: rgba(239,68,68,0.2); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.badge-rating   { background: rgba(245,158,11,0.2); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.badge-year     { background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border); }
.hero-title { font-size: 2.6rem; font-weight: 800; line-height: 1.1; margin-bottom: 12px; letter-spacing: -1px; }
.hero-overview { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Section / Section Header
   ============================================================ */
.section { padding: 40px 32px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px; height: 22px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-light));
  border-radius: 99px;
  display: block;
}

/* ============================================================
   Movie Grid & Cards
   ============================================================ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}

.movie-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--transition), box-shadow 0.25s var(--transition);
  border: 1px solid var(--border);
}
.movie-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card), 0 0 0 2px var(--border-accent);
  background: var(--bg-card-hover);
}

.card-poster-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg-surface);
}
.card-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--transition);
}
.movie-card:hover .card-poster { transform: scale(1.05); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.3) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  transition: opacity 0.25s;
}
.movie-card:hover .card-overlay { opacity: 1; }

.card-rating {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
}

.icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.icon-btn svg { width: 15px; height: 15px; pointer-events: none; }
.icon-btn:hover { background: var(--accent); color: white; transform: scale(1.1); }
.icon-btn.active { color: var(--accent-light); background: rgba(124,58,237,0.3); }
.btn-watched.active { color: var(--success); background: rgba(16,185,129,0.25); }

.card-info { padding: 12px; }
.card-title { font-size: 0.88rem; font-weight: 600; line-height: 1.3; margin-bottom: 3px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-year { font-size: 0.78rem; color: var(--text-muted); }

.user-rating-stars { display: flex; gap: 3px; padding: 8px 12px; border-top: 1px solid var(--border); }

/* ============================================================
   Skeleton Loaders
   ============================================================ */
.movie-card.skeleton {
  pointer-events: none;
  border-color: transparent;
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.sk-poster, .sk-title, .sk-year {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-card-hover) 50%, var(--bg-surface) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}
.sk-poster { aspect-ratio: 2/3; width: 100%; }
.sk-title  { height: 13px; width: 80%; margin: 14px 12px 6px; }
.sk-year   { height: 11px; width: 40%; margin: 0 12px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s var(--transition);
  white-space: nowrap;
  border: none;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--accent-glow); }
.btn-primary.active { background: linear-gradient(135deg, var(--success), #34d399); box-shadow: 0 4px 16px rgba(16,185,129,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.15); transform: translateY(-1px); }
.btn-ghost.active { background: rgba(124,58,237,0.2); border-color: var(--border-accent); color: var(--accent-light); }
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }

/* ============================================================
   Search View
   ============================================================ */
.search-header {
  padding: 40px 32px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.search-big-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 20px;
  height: 56px;
  width: 100%;
  max-width: 640px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-big-wrap:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.search-big-wrap svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
#search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 1.1rem; font-family: inherit;
}
#search-input::placeholder { color: var(--text-muted); }

/* ============================================================
   Profile View
   ============================================================ */
.profile-header {
  padding: 48px 32px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.profile-meta h2 { font-size: 1.6rem; font-weight: 800; }
.profile-meta p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }
.profile-actions { margin-top: 24px; width: 100%; display: flex; gap: 12px; flex-wrap: wrap; }

.profile-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  min-width: 100px;
}
.stat-card .stat-val { font-size: 1.8rem; font-weight: 800; color: var(--accent-light); }
.stat-card .stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

.profile-tabs {
  display: flex;
  gap: 4px;
  padding: 28px 32px 0;
  border-bottom: 1px solid var(--border);
}
.profile-tab {
  padding: 10px 22px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.profile-tab:hover { color: var(--text-primary); }
.profile-tab.active { color: var(--accent-light); border-bottom-color: var(--accent-light); }

.profile-panel { display: none; padding: 28px 32px; }
.profile-panel.active { display: block; }

/* ============================================================
   Star Rating
   ============================================================ */
.star-row { display: flex; gap: 4px; }
.star {
  font-size: 1.4rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
  line-height: 1;
  padding: 0;
}
.star:hover, .star.filled { color: var(--gold); }
.star:hover { transform: scale(1.25); }
.user-rating-stars .star { font-size: 1.1rem; }

/* ============================================================
   Modal
   ============================================================ */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#modal-overlay.open { opacity: 1; pointer-events: all; }

#movie-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--transition);
}
#movie-modal.open { opacity: 1; pointer-events: all; transform: none; }

.modal-content {
  position: relative;
  background: var(--bg-modal);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-modal);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.modal-close-btn:hover { background: var(--danger); }
.modal-close-btn svg { width: 18px; height: 18px; }

.modal-loading { display: flex; align-items: center; justify-content: center; min-height: 400px; }

.modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 280px;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.35) saturate(1.1);
}
.modal-backdrop::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-modal) 100%);
}

.modal-inner { position: relative; z-index: 1; }
.modal-top {
  display: flex;
  gap: 28px;
  padding: 36px 32px 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.modal-poster-wrap {
  flex-shrink: 0;
  width: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.modal-poster { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.modal-meta { flex: 1; min-width: 260px; margin-top: 80px; }
.modal-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.genre-chip {
  padding: 4px 12px;
  background: rgba(124,58,237,0.2);
  border: 1px solid var(--border-accent);
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-light);
}
.modal-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 6px; }
.modal-tagline { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 12px; }
.modal-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.83rem; color: var(--text-secondary); margin-bottom: 16px; }
.modal-stats .stat { display: flex; align-items: center; gap: 4px; }
.modal-overview { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 22px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.modal-rating-wrap { padding: 14px 16px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); border: 1px solid var(--border); width: fit-content; }
.modal-rating-wrap.hidden { display: none; }
.rating-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }

.modal-cast { padding: 0 32px 32px; }
.modal-cast h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.cast-grid { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.cast-grid::-webkit-scrollbar { height: 4px; }
.cast-card { flex-shrink: 0; width: 80px; text-align: center; }
.cast-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; border: 2px solid var(--border); }
.cast-name { font-size: 0.72rem; font-weight: 600; line-height: 1.2; }
.cast-char { font-size: 0.66rem; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   Spinner
   ============================================================ */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--bg-surface);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: all 0.3s var(--transition);
  pointer-events: none;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: none; }
.toast.error { border-color: rgba(239,68,68,0.4); }

/* ============================================================
   Empty State
   ============================================================ */
.empty-msg {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 48px 0;
  grid-column: 1/-1;
}

/* ============================================================
   body modal-open
   ============================================================ */
body.modal-open { overflow: hidden; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar-search-wrap { max-width: none; }
  .hero-content { padding: 0 20px 36px; }
  .hero-title { font-size: 1.8rem; }
  .section { padding: 28px 16px; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
  .modal-top { padding: 24px 20px 20px; }
  .modal-meta { margin-top: 40px; }
  .modal-poster-wrap { width: 130px; }
  .modal-title { font-size: 1.4rem; }
  .profile-header { padding: 28px 16px 0; }
  .profile-tabs { padding: 20px 16px 0; overflow-x: auto; }
  .profile-panel { padding: 20px 16px; }
  .search-header { padding: 24px 16px 0; }
}

@media (max-width: 480px) {
  .nav-link span { display: none; }
  .hero-title { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .modal-top { flex-direction: column; }
  .modal-poster-wrap { width: 150px; }
  .modal-meta { margin-top: 0; }
}

/* ============================================================
   Auth View
   ============================================================ */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 68px);
  padding: 40px 20px;
}
.auth-box {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-modal);
  text-align: center;
}
.auth-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.auth-box h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.input-group {
  margin-bottom: 20px;
  text-align: left;
}
.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.input-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}
.input-group input:focus {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.btn-block {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1.05rem;
  margin-top: 12px;
}
.auth-switch {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.auth-switch a {
  color: var(--accent-light);
  font-weight: 600;
  margin-left: 6px;
  transition: all 0.2s;
}
.auth-switch a:hover {
  text-decoration: underline;
  color: white;
}
.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fef2f2;
}
