input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Premium Animations */
@keyframes fade-in {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(12px); }
}

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

@keyframes slide-in-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes scale-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes text-shimmer {
  to { background-position: 200% center; }
}

/* Advanced Premium Effects */
.text-shimmer {
  background: linear-gradient(
    90deg,
    #fff 0%,
    hsla(var(--primary) / 0.8) 50%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 4s linear infinite;
  will-change: background-position;
}

.premium-glow {
  position: relative;
  will-change: transform;
}

.premium-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  filter: blur(10px);
  opacity: 0.3;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.3s ease;
  will-change: opacity, filter;
}

.premium-glow:hover::before {
  opacity: 0.5;
}

/* Refined Glassmorphism - Optimized */
.glass-panel {
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 256, 0.08);
  box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.4);
  transform: translateZ(0); /* Force GPU */
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.glass-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px) translateZ(0);
}

/* Standard Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsla(var(--primary) / 0.5);
}

/* CentralCart Content Modernization */
.centralcart-content {
  color: hsla(0, 0%, 100%, 0.6);
  line-height: 1.8;
  font-size: 0.95rem;
}

.centralcart-content h1,
.centralcart-content h2,
.centralcart-content h3 {
  color: white;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.centralcart-content h1 { font-size: 1.25rem; }
.centralcart-content h2 { font-size: 1.1rem; }
.centralcart-content h3 { font-size: 1rem; }

.centralcart-content p {
  margin-bottom: 1.5rem;
}

.centralcart-content strong {
  color: white;
  font-weight: 700;
}

.centralcart-content ul,
.centralcart-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  /* space-y-4; This is likely a TailwindCSS class and not valid CSS */
}

.centralcart-content li {
  margin-bottom: 0.5rem;
  position: relative;
}

.centralcart-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05) 50%, transparent);
  margin: 3rem 0;
}

/* Refined Buttons - Elite System */
.btn-primary {
  @apply bg-primary text-white inline-flex items-center justify-center font-black uppercase tracking-[0.2em] rounded-2xl transition-all duration-500 relative overflow-hidden;
  box-shadow: 
    0 0 0 1px hsla(0, 0%, 100%, 0.1) inset,
    0 10px 40px -10px hsla(var(--primary) / 0.5),
    0 0 80px -20px hsla(var(--primary) / 0.3);
}

.btn-primary:hover {
  @apply scale-[1.03] -translate-y-1 brightness-110 shadow-primary/60;
  box-shadow: 
    0 0 0 1px hsla(0, 0%, 100%, 0.2) inset,
    0 20px 60px -15px hsla(var(--primary) / 0.6),
    0 0 100px -20px hsla(var(--primary) / 0.4);
}

.btn-primary:active {
  @apply scale-95 translate-y-0 transition-all duration-100;
}

.btn-secondary {
  @apply inline-flex items-center justify-center font-black uppercase tracking-[0.2em] rounded-2xl transition-all duration-500 relative overflow-hidden;
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  @apply scale-[1.03] -translate-y-1 bg-white/10 text-white;
  border-color: hsla(var(--primary) / 0.5);
  box-shadow: 
    0 0 0 1px hsla(var(--primary) / 0.3) inset,
    0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.btn-secondary:active {
  @apply scale-95 translate-y-0;
}

/* Better Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsla(var(--primary) / 0.5);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: hsla(var(--primary) / 0.8);
}

/* Grid Background Evolution */
.grid-background {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
}

.hero-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, hsla(var(--primary) / 0.15), transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

/* Shimmer Effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer-anim 2s infinite;
}

@keyframes shimmer-anim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, hsla(var(--foreground) / 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-primary-gradient {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reveal Animations */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cart & Dialog */
#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

#cart-drawer[data-state="open"] > div {
  animation: slide-in-right 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dialog[data-state="open"] {
  animation: fade-in 0.3s forwards;
}

.dialog[data-state="open"] > div {
  animation: scale-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
