/* CSS Variables */
:root {
  --bg-primary: #0a0a0a;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #6366f1;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: 25px;
  --radius-full: 50px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Remove blue highlight on all interactive elements */
button, a, input, .wallpaper-card, .category-btn, .modal-btn, .card-action-btn {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Disable text selection on UI elements */
button, a, .category-btn, .modal-btn, .card-action-btn, .search-suggestion {
  user-select: none;
  -webkit-user-select: none;
}

/* Header with centered search */
.header {
  flex-shrink: 0;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, transparent 100%);
  position: relative;
  z-index: 100;
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.search-container input {
  width: 100%;
  padding: 0.875rem 1.25rem 0.875rem 3rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition);
}

.search-container input::placeholder {
  color: var(--text-secondary);
}

.search-container input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  color: var(--text-secondary);
  pointer-events: none;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-suggestion:last-child {
  border-bottom: none;
}

.search-suggestion:hover,
.search-suggestion.highlighted {
  background: rgba(255, 255, 255, 0.1);
}

.search-suggestion i {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.suggestion-label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.suggestion-category {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar {
  width: 4px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* GitHub Star Button */
.github-star {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.github-star svg {
  width: 100%;
  height: 100%;
}

.github-star:hover {
  color: #fff;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.github-star:active {
  transform: translateY(-50%) scale(0.95);
}

/* Main scrollable content */
.main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.5rem 100px;
  margin-right: 0;
}

/* Custom scrollbar */
.main-content::-webkit-scrollbar {
  width: 6px;
  position: fixed;
  right: 0;
}

.main-content::-webkit-scrollbar-track {
  background: transparent;
  width: 6px;
}

.main-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* 3 Column Grid */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  contain: layout style;
}

.wallpaper-grid.slide-left {
  opacity: 0;
  transform: translateX(-50px);
}

.wallpaper-grid.slide-right {
  opacity: 0;
  transform: translateX(50px);
}

/* Tablet: 3 columns still */
@media (max-width: 1024px) {
  .wallpaper-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

/* Mobile: 2 columns */
@media (max-width: 600px) {
  .wallpaper-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .header {
    padding: 1rem;
  }

  .search-container {
    max-width: 100%;
  }

  .main-content {
    padding: 0.75rem 1rem 90px;
  }
}

/* Wallpaper Card */
.wallpaper-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  animation: fadeSlideIn 0.4s ease forwards;
  opacity: 0;
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: 0 auto;
}

.wallpaper-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 1;
}

.wallpaper-card.loaded::before {
  display: none;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wallpaper-card:hover {
  transform: scale(1.03);
  z-index: 5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.wallpaper-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 0;
}

.wallpaper-card.loaded img {
  opacity: 1;
}

.wallpaper-card:hover img {
  transform: scale(1.08);
}

/* Category Badge */
.category-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Resolution Tooltip (desktop only) */
.resolution-tooltip {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--text-primary);
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

/* Hide resolution tooltip on touch devices */
@media (hover: hover) {
  .wallpaper-card:hover .resolution-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (hover: none) {
  .resolution-tooltip {
    display: none;
  }
}

/* Card Actions Overlay */
.card-actions {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wallpaper-card:hover .card-actions {
  opacity: 1;
}

.card-action-btn {
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.card-action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(0);
}

.card-action-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile - card action buttons icon only */
@media (max-width: 600px) {
  .card-action-btn {
    padding: 0.5rem;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
  }

  .card-action-btn span,
  .card-action-btn .btn-text {
    display: none;
  }

  .card-action-btn svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

/* Floating Glassmorphism Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 6px;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bottom-nav-content {
  display: flex;
  gap: 4px;
  max-width: 90vw;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.bottom-nav-content::-webkit-scrollbar {
  display: none;
}

.category-btn {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.category-btn i {
  font-size: 1.1rem;
}

/* Small desktop/tablet - icon only */
@media (max-width: 900px) {
  .bottom-nav {
    max-width: 95vw;
  }

  .bottom-nav-content {
    max-width: 95vw;
  }

  .category-btn .cat-label {
    display: none;
  }

  .category-btn {
    padding: 0.45rem;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }
}

.category-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.category-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 15px rgba(99, 102, 241, 0.4);
}

/* Mobile bottom nav - icon only */
@media (max-width: 600px) {
  .bottom-nav {
    bottom: 0.75rem;
    padding: 4px;
    max-width: 95vw;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .bottom-nav-content {
    gap: 3px;
    max-width: 95vw;
    padding: 2px;
  }

  .category-btn {
    padding: 0.35rem 0.5rem;
    min-width: 38px;
    min-height: 38px;
    justify-content: center;
    border-radius: 18px;
  }

  .category-btn .cat-label {
    display: none;
  }

  .category-btn i {
    font-size: 1.1rem;
  }
}

/* Loading */
.loading {
  display: none;
  justify-content: center;
  padding: 3rem;
}

.loading.active {
  display: flex;
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Load more trigger for infinite scroll */
.load-more-trigger {
  grid-column: 1 / -1;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.load-more-trigger::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* No Results */
.no-results-message {
  display: flex;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  grid-column: 1 / -1;
  animation: fadeIn 0.5s ease;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.no-results-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.no-results-icon svg {
  width: 100%;
  height: 100%;
}

.no-results-message h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.no-results-message p {
  font-size: 1rem;
  max-width: 400px;
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hide old no-results element - we use no-results-message now */
.no-results {
  display: none !important;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

/* Blurry dark backdrop */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
}

/* Tap zones for mobile tap navigation */
.modal-tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  z-index: 2003;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.modal-tap-left {
  left: 0;
}

.modal-tap-right {
  right: 0;
}

/* Hide tap zones on desktop */
@media (hover: hover) {
  .modal-tap-zone {
    display: none;
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 2005;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-close:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.3);
}

/* Modal navigation buttons */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 2005;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.modal-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
  background: var(--accent);
  border-color: var(--accent);
}

.modal-prev {
  left: 1rem;
}

.modal-next {
  right: 1rem;
}

.modal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal-nav-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

/* Zoomable image container */
.modal-image-container {
  position: relative;
  z-index: 2002;
  max-width: 90vw;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  transition: all 0.3s ease;
}

.modal-image-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.15s ease;
}

.modal-image-container.zoomed {
  cursor: zoom-out;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.modal-image-container.zoomed img {
  transform: scale(1.5);
  max-width: 100%;
  max-height: 100%;
}

/* Modal image container - for swipe gestures */
.modal-image-container {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.modal-image-container:active {
  cursor: grabbing;
}

.modal-image-container.zoomed {
  cursor: zoom-out;
  touch-action: none;
}

/* Swipe transition */
.modal-image-container.swiping {
  transition: none;
}

.modal-image-container.swiping img {
  transition: none;
}

/* Smooth fade transition for navigation */
.modal-image-container.fading img {
  transition: opacity 0.15s ease;
}

/* Modal info section at bottom center */
.modal-info {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-category {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-resolution {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Modal actions at bottom */
.modal-actions {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2002;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.modal-btn i {
  font-size: 1.2rem;
}

.modal-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.modal-btn:active {
  transform: translateY(0) scale(0.96);
}

/* Mobile modal */
@media (max-width: 600px) {
  .modal-close {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.3rem;
    top: 1rem;
    right: 1rem;
  }

  .modal-image-container {
    max-height: 60vh;
  }

  .modal-image-container img {
    max-height: 60vh;
  }

  .modal-info {
    bottom: 4.5rem;
    padding: 0.5rem 1rem;
  }

  .modal-category {
    font-size: 0.75rem;
  }

  .modal-resolution {
    font-size: 0.8rem;
  }

  .modal-btn {
    padding: 0.75rem;
    min-width: 50px;
    min-height: 50px;
    justify-content: center;
  }

  .modal-btn span {
    display: none;
  }

  .modal-btn i {
    font-size: 1.4rem;
  }

  .modal-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .modal-prev {
    left: 0.5rem;
  }

  .modal-next {
    right: 0.5rem;
  }
}

/* Animation delays */
.wallpaper-card:nth-child(1) { animation-delay: 0.02s; }
.wallpaper-card:nth-child(2) { animation-delay: 0.04s; }
.wallpaper-card:nth-child(3) { animation-delay: 0.06s; }
.wallpaper-card:nth-child(4) { animation-delay: 0.08s; }
.wallpaper-card:nth-child(5) { animation-delay: 0.10s; }
.wallpaper-card:nth-child(6) { animation-delay: 0.12s; }
.wallpaper-card:nth-child(7) { animation-delay: 0.14s; }
.wallpaper-card:nth-child(8) { animation-delay: 0.16s; }
.wallpaper-card:nth-child(9) { animation-delay: 0.18s; }
.wallpaper-card:nth-child(10) { animation-delay: 0.20s; }
.wallpaper-card:nth-child(11) { animation-delay: 0.22s; }
.wallpaper-card:nth-child(12) { animation-delay: 0.24s; }

/* Touch devices - always show buttons */
@media (hover: none) {
  .card-actions {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
  }
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

/* Mobile scroll-to-top */
@media (max-width: 600px) {
  .scroll-top-btn {
    bottom: 5rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mobile toast */
@media (max-width: 600px) {
  .toast-notification {
    top: 4rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}
