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

:root {
  --primary: #6c5ce7;
  --primary-dark: #5b4cdb;
  --secondary: #00cec9;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-hover: #252542;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --accent: #fd79a8;
  --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a855f7 100%);
  --gradient-2: linear-gradient(135deg, #00cec9 0%, #0984e3 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 60px rgba(108, 92, 231, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      radial-gradient(circle at 20% 80%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(0, 206, 201, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-container {
  flex: 1;
  max-width: 500px;
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  padding-right: 50px;
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(108, 92, 231, 0.5);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 80%;
}

.main-content {
  display: flex;
  flex: 1;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem;
  gap: 2rem;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.sidebar-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

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

.category-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.category-btn.active {
  background: var(--secondary);
  color: var(--bg-dark);
  border-color: transparent;
  font-weight: 500;
}

.content-area {
  flex: 1;
  min-width: 0;
}

.view {
  display: none;
  animation: fadeIn 0.5s ease;
}

.view.active {
  display: block;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

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

.view-toggle {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.3rem;
  border-radius: 8px;
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  color: var(--text-primary);
}

.view-btn.active {
  background: var(--primary);
  color: white;
}

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

.manga-grid.list-view {
  grid-template-columns: 1fr;
}

.manga-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.manga-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.manga-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.manga-card:hover::before {
  opacity: 0.1;
}

.manga-card-image {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.manga-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 3rem 1rem 1rem;
  z-index: 2;
}

.manga-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manga-card-chapter {
  font-size: 0.8rem;
  color: var(--secondary);
}

.manga-card-views {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.manga-grid.list-view .manga-card {
  display: flex;
  flex-direction: row;
}

.manga-grid.list-view .manga-card-image {
  width: 120px;
  aspect-ratio: 2/3;
  flex-shrink: 0;
}

.manga-grid.list-view .manga-card-overlay {
  position: relative;
  background: transparent;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.page-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--primary);
}

.page-btn.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--bg-hover);
  transform: translateX(-5px);
}

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

.manga-detail-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.manga-detail-cover img {
  width: 100%;
  display: block;
}

.manga-detail-info {
  padding: 1rem 0;
}

.manga-detail-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.manga-detail-author {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.manga-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item.status-ongoing {
  background: rgba(0, 206, 201, 0.2);
  color: var(--secondary);
}

.meta-item.status-completed {
  background: rgba(253, 121, 168, 0.2);
  color: var(--accent);
}

.manga-detail-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.genre-tag {
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.genre-tag:hover {
  background: var(--primary);
  color: white;
}

.manga-detail-description {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.chapters-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chapters-header {
  padding: 1.2rem 1.5rem;
  background: var(--bg-hover);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chapters-title {
  font-size: 1.1rem;
  font-weight: 600;
}

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

.chapters-list {
  max-height: 500px;
  overflow-y: auto;
}

.chapters-list::-webkit-scrollbar {
  width: 8px;
}

.chapters-list::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

.chapters-list::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.chapter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chapter-item:hover {
  background: var(--bg-hover);
  padding-left: 2rem;
}

.chapter-name {
  font-weight: 500;
}

.chapter-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.reader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  position: sticky;
  top: 80px;
  z-index: 50;
}

.reader-header .back-btn {
  margin-bottom: 0;
}

.chapter-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.reader-controls {
  display: flex;
  gap: 0.5rem;
}

.reader-btn {
  background: var(--gradient-1);
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.reader-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}

.reader-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chapter-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.chapter-images img {
  max-width: 100%;
  width: 100%;
  display: block;
}

.reader-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  flex-wrap: wrap;
}

.scroll-top-btn {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.scroll-top-btn:hover {
  background: var(--primary);
  color: white;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-overlay.active {
  display: flex;
}

.loader {
  text-align: center;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--bg-card);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

.loader p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.error-message {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.error-message h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .main-content {
      flex-direction: column;
  }

  .sidebar {
      width: 100%;
      position: static;
      max-height: none;
      display: flex;
      gap: 1rem;
      overflow-x: auto;
  }

  .sidebar-section {
      flex-shrink: 0;
      min-width: 200px;
  }

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

  .manga-detail-cover {
      max-width: 300px;
      margin: 0 auto;
      position: static;
  }
}

@media (max-width: 768px) {
  .header-content {
      flex-wrap: wrap;
      gap: 1rem;
  }

  .search-container {
      order: 3;
      max-width: 100%;
      width: 100%;
  }

  .nav-links {
      gap: 0.5rem;
  }

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

  .reader-header {
      flex-direction: column;
      text-align: center;
  }

  .chapter-title {
      order: -1;
      width: 100%;
  }
}

.manga-detail-alt-title {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.manga-detail-description h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.manga-detail-description p {
  line-height: 1.8;
}

.relations-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.relations-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.relations-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.relation-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.relation-type {
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.relation-entries {
  flex: 1;
}

.relation-link {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.relation-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.external-links {
  margin-top: 1.5rem;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mal-link {
  background: #2e51a2;
  color: white;
}

.mal-link:hover {
  background: #3d66c4;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(46, 81, 162, 0.4);
}

@media (max-width: 480px) {
  .header {
      padding: 1rem;
  }

  .main-content {
      padding: 1rem;
  }

  .logo-text {
      font-size: 1.2rem;
  }

  .manga-detail-title {
      font-size: 1.5rem;
  }

  .sidebar {
      flex-direction: column;
  }

  .sidebar-section {
      min-width: 100%;
  }

  .relation-item {
      flex-direction: column;
      gap: 0.5rem;
  }
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.action-btn {
  background-color: #1a1a2e;
  background: var(--bg-card, #1a1a2e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0b0;
  color: var(--text-secondary, #a0a0b0);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.action-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.action-btn:hover {
  background-color: #252542;
  background: var(--bg-hover, #252542);
  color: #ffffff;
  color: var(--text-primary, #ffffff);
  border-color: #6c5ce7;
  border-color: var(--primary, #6c5ce7);
  transform: scale(1.1);
}

.action-btn:focus {
  outline: 2px solid var(--primary, #6c5ce7);
  outline-offset: 2px;
}

.favorite-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(253, 121, 168, 0.5);
}

.favorite-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.favorite-btn:hover, .favorite-btn.active {
  background: var(--accent);
  color: white;
}

.favorite-btn .fav-icon {
  font-size: 1.2rem;
}

.clear-history-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.clear-history-btn:hover {
  background: var(--accent);
  color: white;
}

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

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  z-index: 1001;
  transition: transform 0.3s ease;
  border: 1px solid var(--primary);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

body.light-theme {
  --bg-dark: #f5f5f9;
  --bg-card: #ffffff;
  --bg-hover: #f0f0f5;
  --text-primary: #1a1a2e;
  --text-secondary: #666680;
}

body.light-theme::before {
  background: 
      radial-gradient(circle at 20% 80%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(0, 206, 201, 0.05) 0%, transparent 50%);
}

body.light-theme .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .search-input {
  background: var(--bg-card);
  border: 2px solid #e0e0e5;
}

body.light-theme .loading-overlay {
  background: rgba(245, 245, 249, 0.95);
}

@media (max-width: 768px) {
  .header-actions {
      order: 2;
  }
  
  .nav-links {
      order: 4;
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
  }
  
  .scroll-to-top {
      bottom: 20px;
      right: 20px;
      width: 44px;
      height: 44px;
  }
}
