/* Custom Animations */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-shimmer {
  animation: shimmer 3s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  background-size: 200% 100%;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #f7ca45 25%, #d4af37 50%, #f9e79f 75%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light Theme - Clean & Elegant */
body {
  background-color: #fafafa;
  color: #1a1a1a;
}

/* Elegant Card Shadow */
.card-shadow {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card-shadow:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* Glass Effect for Nav */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Product Card */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.product-card:hover img {
  transform: scale(1.05);
}

/* Category Card */
.category-card {
  transition: all 0.4s ease;
}

.category-card:hover {
  transform: scale(1.03);
}

.category-card:hover .category-overlay {
  opacity: 1;
}

/* Button Styles */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f7ca45 50%, #d4af37 100%);
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 1.5px solid #d4af37;
  color: #d4af37;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: #d4af37;
  color: white;
}

/* Hero Background */
.hero-bg {
  background: linear-gradient(180deg, #ffffff 0%, #fefefe 50%, #f8f8f8 100%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 3px;
}

/* Page Transitions */
.page {
  display: none;
  opacity: 0;
}
.page.active {
  display: block;
  animation: fadeInUp 0.4s ease-out forwards;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}
.toast.show {
  transform: translateX(0);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Login Input */
.login-input {
  border: 1.5px solid #e5e5e5;
  transition: all 0.3s ease;
}

.login-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  outline: none;
}

/* Divider */
.elegant-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Badge */
.badge-new {
  background: linear-gradient(135deg, #d4af37, #f7ca45);
  color: #1a1a1a;
}

/* Products Tab */
.products-tab {
  color: #6b7280;
  background: transparent;
}

.products-tab:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.products-tab.active {
  color: white;
  background: linear-gradient(135deg, #d4af37, #f7ca45);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* List View */
.list-view .product-card {
  display: flex;
  flex-direction: row;
}

.list-view .product-card .product-image {
  width: 200px;
  flex-shrink: 0;
}

.list-view .product-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}
