body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1a2e 0%, #000000 55%, #050509 100%);
  color: #e0e7ff;
}

main.container {
  max-width: 960px;
}

.card {
  border-radius: 0.75rem;
  background: radial-gradient(circle at top left, #141432, #050515);
  border: 1px solid rgba(0, 255, 255, 0.12);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 255, 255, 0.18);
  overflow: hidden;
}

.card-hover {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
}

.card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(255, 0, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.card-hover:hover,
.card-hover:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.35), 0 0 60px rgba(255, 0, 255, 0.25);
}

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

.navbar-dark.bg-dark {
  background: rgba(6, 11, 25, 0.98) !important;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
  border-bottom: 1px solid rgba(0, 255, 255, 0.4);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00f0ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.7), 0 0 30px rgba(255, 0, 255, 0.5);
}

.hero-title {
  color: #f8f9ff;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.7), 0 0 30px rgba(255, 0, 255, 0.45);
}

.card-title,
.card-text {
  color: #e5e7ff;
}

.about-feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.about-feature-list li {
  color: #e5e7ff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.about-feature-icon {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00f0ff, #ff00ff);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.7);
}

.post-title-link {
  color: inherit;
  text-decoration: none;
}

.post-title-link:hover,
.post-title-link:focus {
  color: #c4d0ff;
  text-decoration: underline;
}

.text-muted {
  color: #a5b4fc !important;
}

.btn-download-glow {
  color: #ffffff;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  border: none;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(238, 9, 121, 0.85), 0 0 30px rgba(255, 106, 0, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: pulseGlow 1.6s ease-in-out infinite alternate;
}

.btn-download-glow:hover,
.btn-download-glow:focus {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 24px rgba(238, 9, 121, 1), 0 0 40px rgba(255, 106, 0, 0.9);
  filter: brightness(1.08);
}

.btn-episode {
  color: #ffffff;
  background: linear-gradient(135deg, #00f0ff, #5b21ff);
  border: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.25rem 0.9rem;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-episode:hover,
.btn-episode:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.9);
  filter: brightness(1.06);
}

.nav-link-text {
  color: #e5e7ff;
  text-decoration: none;
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.nav-link-text:hover,
.nav-link-text:focus {
  color: #c4d0ff;
  text-decoration: underline;
}

/* Keep navbar buttons readable on dark background */
.navbar .btn-outline-light,
.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
  color: #e5e7ff;
  border-color: rgba(229, 231, 255, 0.5);
  background-color: transparent;
}

.navbar .search-toggle-btn,
.navbar .search-toggle-btn:hover,
.navbar .search-toggle-btn:focus {
  color: #e5e7ff;
  border-color: transparent;
  background-color: transparent;
}

.nav-menu-toggle {
	border: none;
	background: transparent;
	padding: 0.25rem;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus,
.nav-menu-toggle:active {
  transform: none;
  box-shadow: none;
  background-color: transparent;
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.menu-icon-bar {
  width: 16px;
  height: 2px;
  background-color: #e5e7ff;
  border-radius: 999px;
}

.footer-watermark {
  color: #a5b4fc;
  opacity: 0.9;
}

.footer-watermark .footer-link {
  color: #c4d0ff;
  text-decoration: underline;
}

.footer-watermark .footer-link:hover,
.footer-watermark .footer-link:focus {
  color: #e5e7ff;
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 10px rgba(238, 9, 121, 0.7), 0 0 24px rgba(255, 106, 0, 0.55);
  }
  to {
    box-shadow: 0 0 18px rgba(238, 9, 121, 0.95), 0 0 32px rgba(255, 106, 0, 0.9);
  }
}

@media (max-width: 576px) {
  h1.display-5,
  h1.display-4 {
    font-size: 2rem;
  }

  .btn-lg {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
  }
  .nav-menu-toggle {
    margin-top: -8px;
  }
  
  /* Mobile 2-column card adjustments */
  .card-title {
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 0.75rem;
  }
  
  .post-type-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }
  
  .post-quality-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.45rem;
  }
  
  /* Episode cards mobile adjustments */
  .episode-card {
    padding: 0.75rem;
  }
  
  .episode-card strong {
    font-size: 0.85rem;
  }
  
  .quality-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
  
  /* Qualities page mobile */
  .hero-title {
    font-size: 1.5rem;
  }
  
  main.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Reduce image size on mobile */
  .post-image-container {
    padding-bottom: 120%;
  }
  
  .qualities-image-wrapper {
    max-height: 280px;
  }
  
  .qualities-image-wrapper img {
    max-height: 280px;
  }
}

@media (max-width: 991.98px) {
  .brand-main-shift {
    transform: translateX(20px);
  }
}

.post-image-link img {
  transition: transform 0.2s ease;
}

.post-image-link:hover img,
.post-image-link:focus img {
  transform: scale(1.02);
}

.search-wrapper {
  position: relative;
  max-width: 260px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.search-wrapper .form-control {
  border-radius: 999px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.search-wrapper .form-control[data-search-input] {
  flex: 1 1 auto;
  transition: max-width 0.15s ease, opacity 0.15s ease, padding 0.15s ease, border-width 0.15s ease;
}

.search-wrapper.collapsed .form-control[data-search-input] {
  max-width: 0;
  opacity: 0;
  padding-left: 0;
  padding-right: 0;
  border-width: 0;
}

.search-suggestions {
  position: absolute;
  right: 0;
  left: auto;
  width: calc(100% - 2.1rem);
  top: 100%;
  margin-top: 0.25rem;
  z-index: 30;
  max-height: 190px;
  overflow-y: auto;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(0, 255, 255, 0.25);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
}

.search-suggestion-item {
  border: none;
  color: #e5e7ff;
  font-size: 0.85rem;
  padding: 0.2rem 0.75rem;
  line-height: 1.2;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus {
  background-color: rgba(30, 64, 175, 0.85);
  color: #f9fafb;
}

.navbar .btn-outline-light {
  border-color: transparent;
  background-color: transparent;
}

.search-toggle-btn {
  border-color: transparent;
  background-color: transparent;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

@media (max-width: 768px) {
  #mainOffcanvas.offcanvas-start {
    width: 55vw;
  }
}

.mobile-main-offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.offcanvas-main-links {
  width: 100%;
}

.offcanvas-login-link {
  margin-top: auto;
}

body.theme-light {
  background: #f4f5fb;
  color: #111827;
}

body.theme-light .hero-title {
  color: #111827;
  text-shadow: none;
}

body.theme-light .card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body.theme-light .navbar-dark.bg-dark {
  background: #ffffff !important;
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.15);
  border-bottom: 1px solid #e5e7eb;
}

body.theme-light .card-title,
body.theme-light .card-text {
  color: #111827;
}

body.theme-light .nav-link-text {
  color: #111827;
}

body.theme-light .nav-link-text:hover,
body.theme-light .nav-link-text:focus {
  color: #4b5563;
}

body.theme-light .offcanvas.text-bg-dark .nav-link-text {
  color: #e5e7ff;
}

body.theme-light .offcanvas.text-bg-dark .nav-link-text:hover,
body.theme-light .offcanvas.text-bg-dark .nav-link-text:focus {
  color: #c4d0ff;
}

body.theme-light .text-muted {
  color: #6b7280 !important;
}

body.theme-light .text-light {
  color: #111827 !important;
}

body.theme-light .search-suggestions {
  background: #f3f4f6;
  border-color: #d1d5db;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
}

body.theme-light .about-feature-list li {
  color: #111827;
}

body.theme-light .search-suggestion-item {
  color: #111827;
}

body.theme-light .search-suggestion-item:hover,
body.theme-light .search-suggestion-item:focus {
  background-color: #f3f4f6;
}

body.theme-light .footer-watermark {
  color: #4b5563;
}

body.theme-light .menu-icon-bar {
  background-color: #111827;
}

body.theme-light .btn-outline-light {
  color: #111827;
  border-color: #9ca3af;
}

body.theme-light .btn-outline-light:hover,
body.theme-light .btn-outline-light:focus {
  background-color: #111827;
  color: #f9fafb;
}

body.theme-light .episode-card {
  background: linear-gradient(135deg, rgba(243, 244, 246, 0.9), rgba(229, 231, 235, 0.95));
  border-color: rgba(59, 130, 246, 0.3);
  color: #111827;
}

body.theme-light .episode-card strong {
  color: #111827;
}

body.theme-light .episode-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, rgba(243, 244, 246, 1), rgba(229, 231, 235, 1));
}

body.theme-light .quality-pill {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(99, 102, 241, 0.85));
  border-color: rgba(59, 130, 246, 0.9);
  color: #ffffff !important;
}

body.theme-light .quality-pill:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(99, 102, 241, 1));
  border-color: rgba(59, 130, 246, 1);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

.new-episode-badge {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  animation: newBadgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
}

@keyframes newBadgePulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
  }
  50% {
    box-shadow: 0 0 18px rgba(220, 38, 38, 0.9);
  }
}

/* Home Page Card Enhancements */
.post-image-container {
  position: relative;
  width: 100%;
  padding-bottom: 130%;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.post-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-hover:hover .post-image-container img {
  transform: scale(1.1);
}

.post-type-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.9), rgba(91, 33, 255, 0.9));
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
  backdrop-filter: blur(8px);
}

.post-quality-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.5);
  border-radius: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #00f0ff;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.card-body-content {
  position: relative;
  z-index: 2;
}

/* Qualities Page Enhancements */
.qualities-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
  max-height: 400px;
}

.qualities-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(5, 5, 21, 0.95), transparent);
  pointer-events: none;
}

.qualities-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.episode-card {
  background: linear-gradient(135deg, rgba(20, 20, 50, 0.6), rgba(10, 10, 30, 0.8));
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 0.65rem;
  padding: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: #e5e7ff;
}

.episode-card strong {
  color: #ffffff;
}

.episode-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: linear-gradient(135deg, rgba(30, 30, 60, 0.7), rgba(15, 15, 35, 0.9));
  transform: translateX(4px);
}

/* Seasons Display Styles */
.seasons-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.season-accordion {
  background: linear-gradient(135deg, rgba(20, 20, 50, 0.5), rgba(10, 10, 30, 0.7));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
}

.season-header-display {
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.8), rgba(26, 26, 46, 0.9));
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.3s ease;
}

.season-header-display:hover {
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.9), rgba(30, 30, 58, 1));
}

.season-header-left-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.season-arrow {
  color: #00d4ff;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
}

.season-arrow.collapsed {
  transform: rotate(-90deg);
}

.season-header-display {
  user-select: none;
}

.season-title-display {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
}

.episode-count-badge {
  display: none;
}

.season-episodes {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.season-episodes.collapsed {
  display: none;
}

/* Light theme seasons */
body.theme-light .season-accordion {
  background: linear-gradient(135deg, rgba(243, 244, 246, 0.8), rgba(229, 231, 235, 0.9));
  border-color: rgba(59, 130, 246, 0.3);
}

body.theme-light .season-header-display {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(243, 244, 246, 0.95));
  border-bottom-color: rgba(59, 130, 246, 0.2);
}

body.theme-light .season-header-display:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(243, 244, 246, 1));
}

body.theme-light .season-title-display {
  color: #1e293b;
}

body.theme-light .season-arrow {
  color: #3b82f6;
}

body.theme-light .season-episodes {
  background: rgba(249, 250, 251, 0.5);
}

body.theme-light .qualities-section-title {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

/* Video Player Styles */
.video-player-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.9));
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-player {
  width: 100%;
  max-height: 400px;
  border-radius: 8px;
  background: #000;
}

.video-player:focus {
  outline: none;
}

/* Custom video controls styling */
.video-player::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

@media (max-width: 768px) {
  .video-player {
    max-height: 250px;
  }
  
  .video-player-section {
    padding: 1rem;
  }
}

.quality-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(91, 33, 255, 0.25));
  border: 1px solid rgba(0, 240, 255, 0.5);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.quality-pill:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(91, 33, 255, 0.4));
  border-color: rgba(0, 240, 255, 0.8);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.5);
}

/* Fade-in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Qualities Page Professional Layout */
.qualities-main-wrapper {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 2rem 0;
}

.qualities-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 21, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.qualities-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  color: #e5e7ff;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: #00f0ff;
}

.breadcrumb-separator {
  color: #6b7280;
}

.breadcrumb-current {
  color: #a5b4fc;
}

.qualities-content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.qualities-poster-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.qualities-poster-container {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.qualities-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.qualities-content-main {
  background: linear-gradient(135deg, rgba(20, 20, 50, 0.7), rgba(10, 10, 30, 0.85));
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.qualities-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  margin-bottom: 0.5rem;
}

.qualities-description-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid #ff9800;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.qualities-metadata-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 0.65rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.metadata-row {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metadata-row:last-child {
  border-bottom: none;
}

.metadata-label {
  font-weight: 600;
  color: #a5b4fc;
  min-width: 120px;
  flex-shrink: 0;
}

.metadata-value {
  color: #ffffff;
}

.qualities-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 240, 255, 0.3);
}

/* Responsive Qualities Page */
@media (max-width: 991.98px) {
  .qualities-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .qualities-poster-sidebar {
    position: relative;
    top: 0;
  }
  
  .qualities-poster-container {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .qualities-content-main {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .qualities-main-wrapper {
    padding: 1rem 0;
  }
  
  .qualities-page-title {
    font-size: 1.2rem;
  }
  
  .qualities-content-main {
    padding: 1rem;
  }
  
  .qualities-metadata-box {
    padding: 1rem;
  }
  
  .metadata-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .metadata-label {
    min-width: auto;
  }
}

/* Home Page Professional Design */
.home-main-container {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.latest-releases-section {
  margin-bottom: 3rem;
}

.latest-releases-header {
  margin-bottom: 2rem;
}

.latest-releases-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.movie-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.movie-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 20, 50, 0.4), rgba(10, 10, 30, 0.6));
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.3), 0 0 50px rgba(255, 0, 255, 0.2);
  border-color: rgba(0, 240, 255, 0.3);
}

.movie-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 140%;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.movie-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .movie-card-image img {
  transform: scale(1.1);
}

.movie-card-type-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.movie-card-views-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.7rem;
  z-index: 2;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.featured-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  padding: 0.3rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 3;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.trending-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
  padding: 0.3rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 3;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.featured-card {
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.featured-card:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4), 0 0 50px rgba(255, 165, 0, 0.3);
}

.trending-card {
  border: 2px solid rgba(255, 107, 107, 0.3);
}

.trending-card:hover {
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4), 0 0 50px rgba(238, 90, 111, 0.3);
}

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

.movie-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  padding: 1.5rem 0.75rem 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.movie-card-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.movie-card-format {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 0.25rem;
  font-size: 0.7rem;
  color: #00f0ff;
  font-weight: 500;
}

.movie-card-content {
  padding: 0.875rem;
}

.movie-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;
}

.movie-card-meta {
  font-size: 0.8rem;
  color: #a5b4fc;
  margin-right: 0.5rem;
}

/* Responsive Grid */
@media (max-width: 576px) {
  .movie-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .latest-releases-title {
    font-size: 1.25rem;
  }
  
  .movie-card-title {
    font-size: 0.8rem;
    min-height: 2.4em;
  }
  
  .movie-card-meta {
    font-size: 0.7rem;
  }
  
  .movie-card-type-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }
  
  .movie-card-views-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .movie-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .movie-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1025px) {
  .movie-card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Filter & Sort Bar */
.filter-sort-bar {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
}

.filter-sort-bar .form-select-sm {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: #e5e7ff;
  font-size: 0.85rem;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f0ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.filter-sort-bar .form-select-sm:focus {
  background-color: rgba(30, 41, 59, 0.9);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25);
  color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f0ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.filter-sort-bar .form-select-sm option {
  background: #1e293b;
  color: #e5e7ff;
}

/* Platform Badges */
.platform-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-netflix {
  background: linear-gradient(135deg, #E50914, #B20710);
  color: #fff;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.6);
}

.platform-prime-video,
.platform-amazon-prime {
  background: linear-gradient(135deg, #00A8E1, #0080B3);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 168, 225, 0.6);
}

.platform-disney\+ {
  background: linear-gradient(135deg, #113CCF, #0E2E9E);
  color: #fff;
  box-shadow: 0 0 10px rgba(17, 60, 207, 0.6);
}

.platform-hulu {
  background: linear-gradient(135deg, #1CE783, #16B865);
  color: #000;
  box-shadow: 0 0 10px rgba(28, 231, 131, 0.6);
}

.platform-hbo {
  background: linear-gradient(135deg, #7D3C98, #5B2C6F);
  color: #fff;
  box-shadow: 0 0 10px rgba(125, 60, 152, 0.6);
}

/* Default platform badge */
.platform-badge:not([class*="platform-netflix"]):not([class*="platform-prime"]):not([class*="platform-disney"]):not([class*="platform-hulu"]):not([class*="platform-hbo"]) {
  background: linear-gradient(135deg, #4B5563, #374151);
  color: #fff;
  box-shadow: 0 0 10px rgba(75, 85, 99, 0.6);
}

/* Share Button */
.share-btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.movie-card:hover .share-btn {
  opacity: 1;
  transform: scale(1);
}

.share-btn:hover {
  background: rgba(0, 240, 255, 0.8);
  transform: scale(1.1);
}

/* Share Modal */
.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.share-modal {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.share-modal h5 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.share-btn-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn-item:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.share-btn-item.telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
}

.share-btn-item.telegram:hover {
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.5);
}

.share-btn-item.whatsapp {
  background: linear-gradient(135deg, #25D366, #1EBF53);
}

.share-btn-item.whatsapp:hover {
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

.share-btn-item.twitter {
  background: linear-gradient(135deg, #1DA1F2, #1A8CD8);
}

.share-btn-item.twitter:hover {
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.5);
}

.share-btn-item.facebook {
  background: linear-gradient(135deg, #1877F2, #1664D8);
}

.share-btn-item.facebook:hover {
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.5);
}

/* Skeleton Loader */
.skeleton-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0f172a 25%, #1e293b 50%, #0f172a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Light Theme Adjustments */
body.theme-light .filter-sort-bar {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .filter-sort-bar .form-select-sm {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
  background-image: none;
}

body.theme-light .filter-sort-bar .form-select-sm:focus {
  background-color: #ffffff;
  border-color: rgba(0, 120, 255, 0.5);
  color: #000000;
  background-image: none;
}

body.theme-light .filter-sort-bar .form-select-sm option {
  background: #ffffff;
  color: #1e293b;
}

body.theme-light .share-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
}

body.theme-light .share-btn:hover {
  background: rgba(0, 120, 255, 0.9);
  color: #ffffff;
}

body.theme-light .share-modal {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.98));
  border-color: rgba(0, 0, 0, 0.2);
}

body.theme-light .share-modal h5 {
  color: #1e293b;
}

body.theme-light .skeleton-image {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
}

body.theme-light .latest-releases-title {
  color: #1e293b !important;
}

body.theme-light .latest-releases-title svg {
  fill: #1e293b !important;
}

/* Header Sort Select */
.header-sort-select {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #e5e7ff;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  min-width: 140px;
}

.header-sort-select:focus {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25);
  color: #ffffff;
}

.header-sort-select option {
  background: #1e293b;
  color: #e5e7ff;
}

body.theme-light .header-sort-select {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .header-sort-select:focus {
  background: #ffffff;
  border-color: rgba(0, 120, 255, 0.5);
  color: #000000;
}

body.theme-light .header-sort-select option {
  background: #ffffff;
  color: #1e293b;
}

/* Floating Footer Navigation */
.floating-footer {
  position: fixed;
  bottom: 20px;
  width: max-content;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  gap: 24px;
  padding: 12px 20px;
  z-index: 99999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.floating-footer a {
  text-decoration: none;
  color: inherit;
}

.footer-btn {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  position: relative;
  transition: transform 0.2s ease;
  user-select: none;
}

.footer-btn i {
  font-size: 18px;
  margin-bottom: 4px;
}

.footer-btn:hover {
  transform: scale(1.15);
}

.footer-btn:active {
  transform: scale(1.05);
}

.footer-telegram-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
}

/* Hide floating footer when offcanvas menu is open */
.offcanvas.show ~ .floating-footer,
body:has(.offcanvas.show) .floating-footer {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Light theme floating footer */
body.theme-light .floating-footer {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body.theme-light .footer-btn {
  color: #1e293b;
}

/* Responsive - hide on very small screens */
@media (max-width: 360px) {
  .floating-footer {
    gap: 16px;
    padding: 10px 16px;
    bottom: 10px;
  }
  
  .footer-btn {
    font-size: 11px;
  }
  
  .footer-btn i {
    font-size: 16px;
  }
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  display: flex;
  opacity: 1;
}

.search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.close-search-btn {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100002;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.search-overlay-form {
  position: relative;
  z-index: 100001;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-overlay-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-overlay-icon {
  position: absolute;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  width: 24px;
  height: 24px;
}

.search-overlay-input {
  width: 100%;
  padding: 0.875rem 0.875rem 0.875rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-overlay-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.search-overlay-submit {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.8), rgba(91, 33, 255, 0.8));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-overlay-submit:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 1), rgba(91, 33, 255, 1));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.4);
}

.search-overlay-submit:active {
  transform: translateY(0);
}

/* Search overlay suggestions */
.search-overlay-suggestions {
  position: relative;
  max-height: 400px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: -1rem;
}

.search-overlay-suggestions:empty {
  display: none;
}

.search-overlay-suggestion-item {
  padding: 1rem;
  color: white;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.search-overlay-suggestion-item:last-child {
  border-bottom: none;
}

.search-overlay-suggestion-item:hover {
  background: rgba(0, 240, 255, 0.2);
}

.search-overlay-suggestion-item .suggestion-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.search-overlay-suggestion-item .suggestion-meta {
  font-size: 0.85rem;
  opacity: 0.7;
}

.search-overlay-no-results {
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* Light theme search overlay */
body.theme-light .search-backdrop {
  background: rgba(255, 255, 255, 0.95);
}

body.theme-light .close-search-btn {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .close-search-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

body.theme-light .search-overlay-icon {
  color: rgba(0, 0, 0, 0.5);
}

body.theme-light .search-overlay-input {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .search-overlay-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

body.theme-light .search-overlay-input:focus {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 120, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 120, 255, 0.1);
}

body.theme-light .search-overlay-suggestions {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

body.theme-light .search-overlay-suggestion-item {
  color: #1e293b;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .search-overlay-suggestion-item:hover {
  background: rgba(0, 120, 255, 0.1);
}

body.theme-light .search-overlay-no-results {
  color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .filter-sort-bar .form-select-sm {
    font-size: 0.9rem;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    background-size: 18px 14px;
    background-position: right 0.5rem center;
  }
  
  .filter-sort-bar {
    padding: 0.75rem;
  }
}

@media (max-width: 640px) {
  .search-overlay-input {
    font-size: 1rem;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  }
  
  .search-overlay-icon {
    left: 1.25rem;
    width: 20px;
    height: 20px;
  }
  
  .search-overlay-submit {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  .close-search-btn {
    right: 1rem;
    top: 1rem;
  }
}
