/* Header Component Styles - Unified Design System */

/* Header Container */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header aşağı kaydırınca gizle, yukarı kaydırınca göster */
.header-hide {
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  min-height: 4rem;
  gap: 1rem;
}

/* Header Left Section */
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  min-width: 0;
}

/* Logo Styles - Enhanced for Both Text and Image Logos */
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.1;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  max-height: 2.5rem;
}

.logo:hover {
  color: var(--primary);
  opacity: 0.9;
  transform: scale(1.02);
}

/* Logo Image Specific Styles */
.logo img {
  height: auto;
  width: auto;
  max-width: 180px;
  max-height: 2.5rem;
  object-fit: contain;
  display: block;
  transition: all 0.2s ease;
}

.logo:hover img {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Logo Text Fallback */
.logo:not(:has(img)) {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Main Navigation */
.main-nav {
  display: none;
  position: relative;
}

.main-nav.show {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100vw;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 4px 6px var(--shadow);
  z-index: 40;
  margin-left: calc(-100vw / 2 + 50%);
  animation: slideDown 0.2s ease-out;
}

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

.main-nav.show ul {
  display: flex;
  flex-direction: column;
  align-items: center; /* Sadece yatayda ortalar */
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0;
  margin: 0;
}

.main-nav a:hover {
  color: var(--primary);
  background-color: var(--muted);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.main-nav a i {
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}

/* Search Container - Mobile First Approach */
.search-container {
  position: relative;
  display: block;
  flex: 1;
  max-width: 300px;
  min-width: 120px;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  z-index: 2;
  font-size: 0.875rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--input);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}

.search-input:focus + .search-icon {
  color: var(--primary);
}

.search-input::placeholder {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #000 !important;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-height: 70vh;
  overflow: hidden;
  z-index: 1000;
  display: none;
  backdrop-filter: blur(20px);
  animation: searchDropdownFadeIn 0.2s ease-out;
}

.dark-theme .search-results {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  border-color: var(--border);
  background-color: var(--background) !important;
}

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

/* Search Results Container */
.search-results-container {
  max-height: inherit;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--muted-foreground) transparent;
}

.search-results-container::-webkit-scrollbar {
  width: 6px;
}

.search-results-container::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-container::-webkit-scrollbar-thumb {
  background-color: var(--muted-foreground);
  border-radius: 3px;
  opacity: 0.5;
}

.search-results-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--foreground);
  opacity: 0.7;
}

/* Search Result Items */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--foreground);
  min-height: 5rem;
  position: relative;
  overflow: hidden;
}

.search-result-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--primary), transparent);
  transition: width 0.3s ease;
  opacity: 0.1;
}

.search-result-item:hover::before {
  width: 100%;
}

.search-result-item:hover {
  background-color: var(--muted);
  transform: translateX(4px);
  border-left: 3px solid var(--primary);
  padding-left: calc(1rem - 3px);
}

.search-result-item:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  background-color: var(--muted);
}

.search-result-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.search-result-item:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.search-result-item img {
  width: 48px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.dark-theme .search-result-item img {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dark-theme .search-result-item:hover img {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.search-result-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-result-title {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.95rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.search-result-item:hover .search-result-title {
  color: var(--primary);
}

.search-result-meta {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Search Highlight */
.search-highlight {
  color: var(--primary);
  font-weight: 600;
  background: none;
  padding: 0;
  margin: 0;
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

/* Search States */
.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  gap: 0.75rem;
}

.search-loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.search-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #ef4444;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.search-error::before {
  content: "⚠️";
  font-size: 1rem;
}

.no-results-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  gap: 0.75rem;
}

.no-results-message::before {
  content: "🔍";
  font-size: 2rem;
  opacity: 0.5;
}

.no-results-title {
  font-weight: 600;
  color: var(--foreground);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.no-results-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.theme-toggle:hover {
  background-color: var(--muted);
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

/* Varsayılan olarak güneş simgesi göster (karanlık tema için) */
.light-icon {
  display: block;
}

.dark-icon {
  display: none;
}

/* Aydınlık temada ay simgesi göster */
.light-theme .light-icon {
  display: none;
}

.light-theme .dark-icon {
  display: block;
}

/* Auth Buttons */
.auth-buttons {
  display: none;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
  border-radius: var(--radius);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  background-color: var(--muted);
  transform: scale(1.05);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

/* MOBILE LOGO SCALING - ULTRA PRECISE TARGETING */

/* Ultra Small Phones (280px and below) */
@media (max-width: 280px) {
  .header-content {
    height: 2.8rem !important;
    min-height: 2.8rem !important;
    padding: 0 0.25rem !important;
    gap: 0.25rem;
  }

  .logo {
    font-size: 0.65rem !important;
    max-height: 1.8rem !important;
    max-width: 70px !important;
  }

  .logo img {
    max-width: 70px !important;
    max-height: 1.8rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-left {
    gap: 0.25rem !important;
    min-width: auto;
    flex-shrink: 1;
  }
}

/* Very Small Phones (320px and below) */
@media (max-width: 320px) {
  .header-content {
    height: 3rem !important;
    min-height: 3rem !important;
    padding: 0 0.4rem !important;
    gap: 0.3rem;
  }

  .logo {
    font-size: 0.7rem !important;
    max-height: 2rem !important;
    max-width: 80px !important;
  }

  .logo img {
    max-width: 80px !important;
    max-height: 2rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-left {
    gap: 0.3rem !important;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 1.8rem !important;
    height: 1.8rem !important;
    font-size: 0.9rem !important;
    min-width: 1.8rem !important;
    min-height: 1.8rem !important;
  }
}

/* Small Phones (iPhone SE, 375px) */
@media (min-width: 321px) and (max-width: 375px) {
  .header-content {
    height: 3.2rem !important;
    min-height: 3.2rem !important;
    padding: 0 0.5rem !important;
    gap: 0.4rem;
  }

  .logo {
    font-size: 0.75rem !important;
    max-height: 2.2rem !important;
    max-width: 90px !important;
  }

  .logo img {
    max-width: 90px !important;
    max-height: 2.2rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-left {
    gap: 0.4rem !important;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1rem !important;
    min-width: 2rem !important;
    min-height: 2rem !important;
  }
}

/* Standard Mobile (iPhone 6/7/8, 414px) */
@media (min-width: 376px) and (max-width: 414px) {
  .header-content {
    height: 3.4rem !important;
    min-height: 3.4rem !important;
    padding: 0 0.6rem !important;
    gap: 0.5rem;
  }

  .logo {
    font-size: 0.8rem !important;
    max-height: 2.4rem !important;
    max-width: 100px !important;
  }

  .logo img {
    max-width: 100px !important;
    max-height: 2.4rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-left {
    gap: 0.5rem !important;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 2.2rem !important;
    height: 2.2rem !important;
    font-size: 1.1rem !important;
    min-width: 2.2rem !important;
    min-height: 2.2rem !important;
  }
}

/* Large Mobile Phones (479px and below) */
@media (min-width: 415px) and (max-width: 479px) {
  .header-content {
    height: 3.5rem !important;
    min-height: 3.5rem !important;
    padding: 0 0.75rem !important;
    gap: 0.5rem;
  }

  .logo {
    font-size: 0.85rem !important;
    max-height: 2.5rem !important;
    max-width: 110px !important;
  }

  .logo img {
    max-width: 110px !important;
    max-height: 2.5rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-left {
    gap: 0.5rem !important;
  }

  .header-right {
    gap: 0.4rem;
  }

  .search-container {
    min-width: 70px;
    max-width: 130px;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 2.4rem !important;
    height: 2.4rem !important;
    font-size: 1.2rem !important;
    min-width: 2.4rem !important;
    min-height: 2.4rem !important;
  }
}

/* Large Phones/Small Tablets (480-639px) */
@media (min-width: 480px) and (max-width: 639px) {
  .header-content {
    height: 3.6rem !important;
    min-height: 3.6rem !important;
  }

  .logo {
    font-size: 0.9rem !important;
    max-height: 2.6rem !important;
    max-width: 120px !important;
  }

  .logo img {
    max-width: 120px !important;
    max-height: 2.6rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-right {
    gap: 0.6rem;
  }

  .search-container {
    min-width: 120px;
    max-width: 180px;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 2.6rem !important;
    height: 2.6rem !important;
    font-size: 1.3rem !important;
    min-width: 2.6rem !important;
    min-height: 2.6rem !important;
  }
}

/* Small Tablets (640-767px) */
@media (min-width: 640px) and (max-width: 767px) {
  .header-content {
    height: 3.8rem !important;
    min-height: 3.8rem !important;
  }

  .logo {
    font-size: 1rem !important;
    max-height: 2.8rem !important;
    max-width: 140px !important;
  }

  .logo img {
    max-width: 140px !important;
    max-height: 2.8rem !important;
    width: auto !important;
    height: auto !important;
  }

  .header-left {
    gap: 1.2rem;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 2.8rem !important;
    height: 2.8rem !important;
    font-size: 1.4rem !important;
    min-width: 2.8rem !important;
    min-height: 2.8rem !important;
  }
}

/* Tablets and Desktop - Progressive Scaling */
@media (min-width: 768px) {
  .header-content {
    height: 4rem;
    min-height: 4rem;
    gap: 1rem;
  }

  .logo {
    font-size: 1.25rem !important;
    max-height: 2.5rem !important;
    max-width: 160px !important;
  }

  .logo img {
    max-width: 160px !important;
    max-height: 2.5rem !important;
    width: auto !important;
    height: auto !important;
  }

  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  .main-nav ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
  }

  .main-nav a {
    padding: 0.5rem 0;
  }

  .main-nav a:hover {
    background: none;
    padding: 0.5rem 0;
  }

  .mobile-menu-btn {
    display: none;
  }

  .auth-buttons {
    display: flex;
  }

  .header-right {
    gap: 1rem;
    margin-left: 2rem;
  }

  .search-container {
    min-width: 200px;
    max-width: 320px;
    flex: 1;
    margin-right: 1.5rem;
  }

  .theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }

  .header-left {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .logo {
    font-size: 1.5rem !important;
    max-width: 190px !important;
    max-height: 2.8rem !important;
  }

  .logo img {
    max-width: 190px !important;
    max-height: 2.8rem !important;
  }

  .header-right {
    margin-left: 3rem;
  }

  .search-container {
    min-width: 240px;
    max-width: 380px;
    margin-right: 2rem;
  }

  .header-left {
    gap: 3rem;
  }
}

@media (min-width: 1200px) {
  .logo {
    font-size: 1.7rem !important;
    max-width: 220px !important;
    max-height: 3.2rem !important;
  }

  .logo img {
    max-width: 220px !important;
    max-height: 3.2rem !important;
  }

  .header-right {
    margin-left: 4rem;
  }

  .search-container {
    min-width: 280px;
    max-width: 420px;
    margin-right: 2.5rem;
  }

  .header-left {
    gap: 4rem;
  }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .logo {
    font-size: 1.9rem !important;
    max-width: 260px !important;
    max-height: 3.8rem !important;
  }

  .logo img {
    max-width: 260px !important;
    max-height: 3.8rem !important;
  }
}

/* Force Image Scaling on All Mobile Devices */
@media (max-width: 767px) {
  .logo img {
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
  }

  .logo {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Mobil dropdown menü ile header arasındaki boşluğu kapatma */
  /* Header'ın alt border'ını mobilde kaldır */
  /* Dropdown menü için üst border ekle */

  /* Mobil butonlar için minimal görünüm */
  .theme-toggle,
  .mobile-menu-btn {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    background: none !important;
  }

  .theme-toggle:hover,
  .mobile-menu-btn:hover {
    transform: scale(1.05) !important;
    background-color: var(--muted) !important;
  }

  .theme-toggle:active,
  .mobile-menu-btn:active {
    transform: scale(0.95) !important;
    background-color: var(--muted) !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .logo,
  .logo img,
  .search-results,
  .search-result-item,
  .search-result-item img,
  .search-highlight,
  .theme-toggle,
  .mobile-menu-btn,
  .main-nav.show {
    animation: none !important;
    transition: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .search-results {
    border-width: 2px;
  }

  .search-result-item {
    border-bottom-width: 2px;
  }

  .search-highlight {
    outline: 2px solid currentColor;
  }

  .header {
    border-bottom-width: 2px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .search-result-item {
    min-height: 3.5rem;
    padding: 1rem 0.75rem;
  }

  .search-result-item:active {
    background-color: var(--muted);
  }

  .theme-toggle:active,
  .mobile-menu-btn:active {
    background-color: var(--muted);
  }

  .logo:active {
    transform: scale(0.98);
  }
}

/* Print Styles */
@media print {
  .header {
    position: static;
    box-shadow: none;
    border-bottom: 1px solid #000;
  }

  .search-container,
  .theme-toggle,
  .mobile-menu-btn,
  .auth-buttons {
    display: none;
  }

  .logo img {
    max-height: 1.5rem !important;
    max-width: 120px !important;
  }
}

@media (max-width: 768px) {
  .search-results {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 55px !important; /* Header yüksekliğine göre ayarlayın */
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    z-index: 2000 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .search-results-container {
    max-height: 60vh;
    border-radius: 0 !important;
  }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 2rem 0 1rem;
  margin-top: 3rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.footer-link:hover {
  color: var(--primary);
  background-color: var(--muted);
  border-color: var(--border);
  transform: translateY(-2px);
}

.footer-link i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.footer-link:hover i {
  transform: scale(1.1);
}

.discord-link {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white;
  border: none;
}

.discord-link:hover {
  background: linear-gradient(135deg, #4752c4, #5b6eae);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.email-link {
  color: var(--muted-foreground);
}

.email-link:hover {
  color: var(--primary);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0.5rem 0;
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.6;
  max-width: 600px;
}

.footer-copyright a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-copyright a:hover {
  color: var(--primary-foreground);
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .footer {
    padding: 1.5rem 0 1rem;
    margin-top: 2rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-links {
    gap: 1rem;
    flex-direction: column;
    width: 100%;
  }

  .footer-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .footer-copyright {
    font-size: 0.7rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    gap: 0.75rem;
  }

  .footer-link {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  .footer-copyright {
    font-size: 0.65rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .footer {
    border-top-width: 2px;
  }

  .footer-link {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .footer-link,
  .footer-link i {
    transition: none;
  }

  .footer-link:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .footer {
    border-top: 1px solid #000;
    background: white;
    color: black;
  }

  .footer-link {
    color: black;
  }

  .discord-link {
    background: none;
    color: black;
    border: 1px solid black;
  }
}
.series-status {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.series-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background-color: #c30bdc;
}

.series-status.ongoing {
  background-color: #6366f1;
}

.series-status.completed {
  background-color: #10b981;
}

.series-status.hiatus {
  background-color: #f50b0b;
}
.series-status.dropped {
  background-color: #f50b0b;
}

@media (max-width: 767px) {
  .main-nav.show a {
    border-bottom: 1px solid var(--border);
  }
}
