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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  min-height: 100vh;
  position: relative;
}

/* Animated background glow effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(120, 80, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 100, 150, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(80, 200, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Sync Banner */
.sync-banner {
  background: linear-gradient(90deg, #667eea, #764ba2);
  color: white;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.sync-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#syncMessage {
  font-size: 0.9rem;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: white;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.sync-status {
  font-size: 0.75rem;
  color: #888;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand a {
  text-decoration: none;
}

.nav-brand h1 {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #667eea;
  background: rgba(102, 126, 234, 0.08);
}

.nav-user {
  margin-left: 0.5rem;
}
  color: #667eea;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-large {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  background: white;
  color: #667eea;
}

.btn-large:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  color: white;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #667eea;
  margin-bottom: 0.5rem;
}

/* Anime Preview */
.anime-preview {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.anime-preview h2 {
  color: #667eea;
  margin-bottom: 1.5rem;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-bar select {
  padding: 0.5rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.filter-bar select:focus {
  outline: none;
  border-color: #667eea;
}

/* Anime Grid */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

/* Staggered card entrance animation */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.anime-grid .anime-card {
  animation: cardFadeIn 0.5s ease backwards;
}

.anime-grid .anime-card:nth-child(1) { animation-delay: 0.02s; }
.anime-grid .anime-card:nth-child(2) { animation-delay: 0.04s; }
.anime-grid .anime-card:nth-child(3) { animation-delay: 0.06s; }
.anime-grid .anime-card:nth-child(4) { animation-delay: 0.08s; }
.anime-grid .anime-card:nth-child(5) { animation-delay: 0.1s; }
.anime-grid .anime-card:nth-child(6) { animation-delay: 0.12s; }
.anime-grid .anime-card:nth-child(7) { animation-delay: 0.14s; }
.anime-grid .anime-card:nth-child(8) { animation-delay: 0.16s; }
.anime-grid .anime-card:nth-child(9) { animation-delay: 0.18s; }
.anime-grid .anime-card:nth-child(10) { animation-delay: 0.2s; }
.anime-grid .anime-card:nth-child(11) { animation-delay: 0.22s; }
.anime-grid .anime-card:nth-child(12) { animation-delay: 0.24s; }
.anime-grid .anime-card:nth-child(n+13) { animation-delay: 0.26s; }

.anime-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.anime-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(236, 72, 153, 0.6));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.anime-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(102, 126, 234, 0.25),
    0 0 60px rgba(118, 75, 162, 0.15);
}

.anime-card:hover::before {
  opacity: 1;
}

/* Card Image Container */
.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.anime-card:hover .card-image img {
  transform: scale(1.08);
}

/* Score Badge */
.card-score {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 40, 0.95));
  color: #ffc107;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 193, 7, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Color-coded scores */
.card-score.score-high { color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }
.card-score.score-good { color: #a3e635; border-color: rgba(163, 230, 53, 0.3); }
.card-score.score-mid { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.card-score.score-low { color: #fb923c; border-color: rgba(251, 146, 60, 0.3); }

/* Status Badge */
.card-status {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.status-airing {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.4);
}

.status-finished {
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
}

.status-upcoming {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

/* Rating Badge - Bottom Right */
.card-rating {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.card-rating.rating-g {
  background: rgba(76, 175, 80, 0.9);
  color: white;
}

.card-rating.rating-pg {
  background: rgba(33, 150, 243, 0.9);
  color: white;
}

.card-rating.rating-pg13 {
  background: rgba(255, 193, 7, 0.9);
  color: #333;
}

.card-rating.rating-r {
  background: rgba(255, 152, 0, 0.9);
  color: white;
}

.card-rating.rating-r17 {
  background: rgba(244, 67, 54, 0.9);
  color: white;
}

.card-rating.rating-rx {
  background: rgba(156, 39, 176, 0.9);
  color: white;
}

/* Add Button */
.card-add-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.anime-card:hover .card-add-btn {
  opacity: 1;
  transform: scale(1);
}

.card-add-btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  transform: scale(1.15) !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

/* Card Body */
.card-body {
  padding: 14px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 6px;
}

.card-format {
  background: linear-gradient(135deg, #667eea15, #764ba215);
  color: #667eea;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.7rem;
}

.card-eps {
  color: #888;
}

/* Combined Episode Section */
.card-episode-section {
  margin-top: 8px;
}

.episode-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.episode-countdown {
  font-size: 0.7rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.episode-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
}

.episode-count-solo {
  font-size: 0.75rem;
  color: #888;
}

.episode-progress-bar {
  height: 6px;
  background: #e8e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.episode-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #a855f7, #ec4899);
  border-radius: 4px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
}

.card-studio {
  font-size: 0.7rem;
  color: #888;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Dub Badge with shine animation */
.card-dub-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.card-dub-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.card-dub-badge.confirmed {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.5);
}

.card-dub-badge.likely {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.5);
}

/* Move add button when dub badge present */
.card-image:has(.card-dub-badge) .card-add-btn {
  left: auto;
  right: 8px;
  top: 40px;
}

/* No Results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: white;
  font-size: 1.2rem;
}

/* Loading State */
.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: white;
  font-size: 1.2rem;
}

/* Error State */
.error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #ff6b6b;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1.1rem;
}

/* Dashboard */
.dashboard-header {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-header h2 {
  color: #667eea;
  margin-bottom: 1.5rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0 1rem 0;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  transition: all 0.3s;
}

.tab-btn:hover {
  background: #f8f9fa;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.tab-content {
  display: none;
  background: white;
  padding: 2rem;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 400px;
}

.tab-content.active {
  display: block;
}

/* Progress Grid */
.progress-grid {
  display: grid;
  gap: 1rem;
}

.progress-card {
  display: flex;
  gap: 1.5rem;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s;
}

.progress-card:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.progress-image {
  width: 100px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.progress-details {
  flex: 1;
}

.progress-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.progress-bar-container {
  background: #e0e0e0;
  height: 8px;
  border-radius: 4px;
  margin: 1rem 0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  height: 100%;
  transition: width 0.3s;
}

.progress-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.progress-actions button {
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-increment {
  background: #667eea;
  color: white;
}

.btn-increment:hover {
  background: #5568d3;
}

.btn-complete {
  background: #4caf50;
  color: white;
}

.btn-complete:hover {
  background: #45a049;
}

.btn-session {
  background: #ff9800;
  color: white;
}

.btn-session:hover {
  background: #e68900;
}

.btn-session.marked {
  background: #f44336;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #333;
}

.modal-anime-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.modal-anime-title {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.modal-anime-info {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.modal-anime-synopsis {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Loading */
.loading {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
  }
  
  .mobile-menu-btn {
    display: block !important;
  }
  
  .season-nav h2 {
    font-size: 1.5rem;
    min-width: auto;
  }
  
  .season-stats {
    gap: 0.75rem;
  }
  
  .season-stats .stat {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .season-stats .stat strong {
    font-size: 1.2rem;
  }
  
  .filter-bar {
    flex-direction: column;
  }
  
  .filter-bar select,
  .filter-bar input {
    width: 100%;
  }
  
  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  
  .card-title {
    font-size: 0.8rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .progress-card {
    flex-direction: column;
  }
  
  .progress-image {
    width: 100%;
    height: 200px;
  }
  
  .tabs {
    flex-direction: column;
  }
  
  .tab-btn {
    border-radius: 8px;
  }
}

/* ==========================================
   ENHANCED STYLES FOR FULL PLATFORM
   ========================================== */

/* Navigation Enhancements */
.nav-brand a {
  text-decoration: none;
  color: inherit;
}

.nav-brand a h1 {
  color: #667eea;
}

.nav-user {
  position: relative;
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #667eea;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  display: none;
  z-index: 1000;
}

.user-menu:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.user-dropdown a:hover {
  background: #f5f5f5;
}

/* Season Header */
.season-header {
  text-align: center;
  padding: 2rem 0 2.5rem;
  color: white;
  position: relative;
}

.season-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.season-nav h2 {
  font-size: 2.75rem;
  margin: 0;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #e0e0ff 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 280px;
  letter-spacing: -0.5px;
  text-shadow: none;
}

.season-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.season-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Sync Button */
.sync-btn {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  backdrop-filter: blur(10px);
  font-weight: 600;
}

.sync-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(118, 75, 162, 0.5));
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.sync-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.sync-btn.syncing {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.season-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.season-stats .stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  min-width: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.season-stats .stat:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.season-stats .stat strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.season-stats .stat:not(.last-updated)::after {
  content: '';
}

.last-updated {
  background: rgba(255, 255, 255, 0.1) !important;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Filter Section */
.filter-section {
  background: rgba(255, 255, 255, 0.98);
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 100;
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-bar select {
  padding: 0.65rem 2rem 0.65rem 1rem;
  border: 2px solid #e8e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 130px;
  font-weight: 500;
  color: #444;
}

.filter-bar select:hover {
  border-color: #c5c5e8;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.filter-bar select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.filter-bar select:focus {
  outline: none;
  border-color: #667eea;
}

.filter-bar input {
  padding: 0.65rem 1.25rem;
  border: 2px solid #e8e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
  font-weight: 500;
  color: #444;
}

.filter-bar input:hover {
  border-color: #c5c5e8;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.filter-bar input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.filter-bar input::placeholder {
  color: #999;
  font-weight: 400;
}

/* Genre Multi-Select Filter */
.genre-filter-container {
  position: relative;
}

.genre-filter-btn {
  padding: 0.65rem 1.25rem;
  border: 2px solid #e8e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 120px;
  text-align: left;
}

.genre-filter-btn:hover {
  border-color: #c5c5e8;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.genre-filter-btn.has-selection {
  border-color: #667eea;
  background: linear-gradient(180deg, #f0f3ff 0%, #e8ecff 100%);
  color: #667eea;
}

.genre-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 2px solid #e8e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.genre-dropdown.open {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
}

.genre-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: #444;
}

.genre-clear-btn {
  background: none;
  border: none;
  color: #667eea;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.genre-clear-btn:hover {
  background: rgba(102, 126, 234, 0.1);
}

.genre-options {
  padding: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.genre-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #555;
  transition: all 0.2s ease;
}

.genre-options label:hover {
  background: rgba(102, 126, 234, 0.08);
}

.genre-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #667eea;
  cursor: pointer;
}

.genre-options input[type="checkbox"]:checked + span,
.genre-options label:has(input:checked) {
  color: #667eea;
  font-weight: 500;
}

/* Custom scrollbar for genre options */
.genre-options::-webkit-scrollbar {
  width: 6px;
}

.genre-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.genre-options::-webkit-scrollbar-thumb {
  background: #c5c5e8;
  border-radius: 3px;
}

.genre-options::-webkit-scrollbar-thumb:hover {
  background: #667eea;
}

.search-input {
  flex: 1;
  min-width: 200px;
}

/* Adult Content Toggle */
.toggle-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border: 2px solid #e8e8f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.toggle-filter:hover {
  border-color: #c5c5e8;
  background: #fff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.toggle-filter input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #e74c3c;
  cursor: pointer;
}

.toggle-filter .toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
}

.toggle-filter:has(input:checked) {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.toggle-filter:has(input:checked) .toggle-label {
  color: #e74c3c;
}

/* Enhanced Anime Cards */
.anime-card {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.anime-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.anime-card-image {
  position: relative;
  overflow: hidden;
}

.anime-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s;
}

.anime-card:hover .anime-card-image img {
  transform: scale(1.05);
}

.anime-score {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: #ffc107;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

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

.badge-upcoming {
  background: #9e9e9e;
  color: white;
}

.badge-dub {
  background: #ff9800;
  color: white;
}

.badge-dub-complete {
  background: #4caf50;
  color: white;
}

.badge-platform {
  background: #2196f3;
  color: white;
}

.episode-count {
  font-weight: 600;
  color: #667eea;
}

.anime-card-actions {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: white;
  transform: scale(1.1);
}

/* Page Headers */
.page-header {
  text-align: center;
  padding: 2rem 0;
  color: white;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
}

/* Tabs */
.list-tabs,
.dub-tabs,
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: #f0f0f0;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.tab-count {
  background: rgba(0, 0, 0, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
}

.tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
}

/* List Items */
.anime-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-item {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  align-items: center;
}

.list-item-poster img {
  width: 60px;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
}

.list-item-info {
  flex: 1;
}

.list-item-title {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
}

.list-item-title:hover {
  color: #667eea;
}

.list-item-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.list-item-progress {
  font-size: 0.9rem;
  color: #666;
}

.behind-text {
  color: #f44336;
  font-weight: 500;
}

.progress-bar-container {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: #667eea;
  border-radius: 3px;
  transition: width 0.3s;
}

.list-item-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-increment,
.btn-finish {
  background: #667eea;
  color: white;
  font-size: 0.9rem;
}

.btn-remove {
  background: #f44336;
  color: white;
}

.status-select {
  padding: 0.4rem;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* Behind Section */
.behind-section {
  background: rgba(244, 67, 54, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 2px solid #f44336;
}

.behind-section h2 {
  color: #d32f2f;
  margin-bottom: 1rem;
}

.behind-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.behind-card {
  display: flex;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem;
  border-radius: 8px;
  min-width: 250px;
  text-decoration: none;
  color: inherit;
}

.behind-card img {
  width: 50px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.behind-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.behind-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.behind-count {
  color: #f44336;
  font-size: 0.85rem;
}

/* Dashboard Section */
.dashboard-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
  color: #667eea;
  margin-bottom: 1rem;
}

/* Activity List */
.activity-list {
  max-height: 400px;
  overflow-y: auto;
}

.activity-date {
  font-weight: 600;
  color: #666;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  margin-top: 1rem;
}

.activity-date:first-child {
  margin-top: 0;
}

.activity-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.activity-poster {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.activity-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-title {
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.activity-title:hover {
  color: #667eea;
}

.activity-detail {
  font-size: 0.85rem;
  color: #666;
}

/* Platform Stats */
.platform-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.platform-card {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.platform-card h3 {
  margin: 0 0 0.75rem 0;
  color: #333;
}

.platform-counts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #666;
}

/* Anime Detail Page */
.anime-detail-header {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.anime-detail-overlay {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.anime-poster img {
  width: 220px;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.anime-info {
  color: white;
  flex: 1;
}

.anime-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.anime-info .alt-title {
  font-size: 1.1rem;
  opacity: 0.7;
  font-weight: normal;
  margin-bottom: 1rem;
}

.anime-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.meta-item {
  font-size: 0.95rem;
  opacity: 0.9;
}

.meta-item.score {
  color: #ffc107;
}

.genres {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.genre-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.anime-detail-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

.anime-detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.synopsis-section,
.dub-section,
.user-progress-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.synopsis-section h3,
.dub-section h3,
.user-progress-section h3 {
  color: #667eea;
  margin-bottom: 1rem;
}

.dub-entry {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  align-items: center;
}

.dub-platform {
  font-weight: 600;
}

.dub-status {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.dub-status.finished {
  background: #4caf50;
  color: white;
}

.dub-status.ongoing {
  background: #ff9800;
  color: white;
}

.progress-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.progress-status {
  font-weight: 600;
  color: #667eea;
}

.behind-badge {
  background: #f44336;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.progress-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.status-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-status {
  padding: 0.5rem 1rem;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-status:hover,
.btn-status.active {
  background: #667eea;
  color: white;
}

.anime-detail-sidebar .info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.info-card h4 {
  color: #667eea;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.info-row span:first-child {
  color: #666;
}

.info-row span:last-child {
  font-weight: 500;
}

.next-episode {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.next-episode h4 {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.countdown {
  font-size: 1.5rem;
  font-weight: 700;
}

.login-prompt {
  text-align: center;
  padding: 1rem;
}

/* Admin Styles */
.navbar-admin {
  background: #1a1a2e;
}

.navbar-admin .nav-brand h1 {
  color: #ff6b6b;
}

.admin-badge {
  background: #ff6b6b;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-left: 0.5rem;
}

.admin-container {
  padding-top: 2rem;
}

.admin-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-section h2 {
  color: #333;
  margin-bottom: 1rem;
}

.section-desc {
  color: #666;
  margin-bottom: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  background: #f8f9fa;
  font-weight: 600;
}

.status-success {
  color: #4caf50;
}

.status-error {
  color: #f44336;
}

.status-running {
  color: #ff9800;
}

.sync-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.sync-card {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.sync-card h3 {
  margin-bottom: 0.5rem;
}

.sync-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.review-card {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.review-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.review-info {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-title {
  font-weight: 600;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-pop {
  font-size: 0.8rem;
  color: #666;
}

.dub-form {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-row label {
  min-width: 120px;
  font-weight: 500;
}

.form-input {
  padding: 0.6rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
}

.form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.search-results {
  margin: 1rem 0;
  max-height: 300px;
  overflow-y: auto;
}

.search-result {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.search-result img {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.result-info {
  flex: 1;
}

.result-title {
  font-weight: 600;
  display: block;
}

.result-meta {
  font-size: 0.85rem;
  color: #666;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-small.btn-select {
  background: #667eea;
  color: white;
}

.btn-small.btn-add-dub {
  background: #4caf50;
  color: white;
}

.btn-small.btn-delete-dub {
  background: #f44336;
  color: white;
}

.dub-edit-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e0e0e0;
}

.user-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Section Groups */
.section-group {
  margin-bottom: 2rem;
}

.section-title {
  color: #667eea;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid #667eea;
}

/* Load More */
.load-more-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

/* Empty States */
.empty-state,
.no-data,
.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.1rem;
}

.error {
  text-align: center;
  padding: 2rem;
  color: #f44336;
}

/* Checkbox Label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #333;
}

/* Season Selector */
.season-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.season-selector span {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .anime-detail-overlay {
    flex-direction: column;
    text-align: center;
  }

  .anime-poster img {
    width: 160px;
    height: 240px;
  }

  .anime-detail-body {
    grid-template-columns: 1fr;
  }

  .list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-item-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .filter-bar {
    flex-direction: column;
  }

  .filter-bar select,
  .filter-bar input,
  .genre-filter-btn {
    width: 100%;
  }

  .genre-filter-container {
    width: 100%;
  }

  .genre-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }

  .toggle-filter {
    width: 100%;
    justify-content: center;
  }
}

