@import url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/style.min.css');

:root {
  --background: #050505;
  --foreground: #ffffff;
  --accent: #d4af37;
  --accent-secondary: #fbbf24;
  --accent-glow: rgba(212, 175, 55, 0.3);
  --font-sans: 'Geist Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  cursor: url('../assets/cursor.png') 16 16, auto;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; cursor: url('../assets/cursor.png') 16 16, pointer; }

button {
  font-family: inherit;
  cursor: url('../assets/cursor.png') 16 16, pointer;
  border: none;
  background: none;
}

input,
textarea {
  cursor: url('../assets/cursor.png') 16 16, text;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ── Cosmic background ─────────────────────────────────── */

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 80px 120px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 110px 210px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 150px 30px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 250px 250px;
  opacity: 0.2;
}

/* Simplified background - no heavy animations */
.smoke-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  background: #050505;
}

/* Static blobs instead of animated */
.smoke-blob {
  position: absolute;
  width: 100vw;
  height: 100vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  mix-blend-mode: screen;
}

.smoke-blob-1 {
  background: radial-gradient(circle, var(--accent), transparent 65%);
  top: -30%;
  left: -20%;
}

.smoke-blob-2 {
  background: radial-gradient(circle, var(--accent-secondary), transparent 65%);
  bottom: -30%;
  right: -20%;
}

/* Hide animated elements */
.smoke-particle-active,
.smoke-noise-overlay {
  display: none !important;
}

/* ── Glass ─────────────────────────────────────────────── */

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-premium {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ── Preloader ─────────────────────────────────────────── */

.preloader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #030303;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s ease;
}

.preloader-container.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #fff;
  animation: preloader-brand-in 0.5s ease forwards;
}

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

.loader-bar {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  position: absolute;
  left: -100%;
  animation: progress-move 2s infinite ease-in-out;
}

@keyframes progress-move {
  0% { left: -100%; width: 30%; }
  50% { left: 0%; width: 60%; }
  100% { left: 100%; width: 30%; }
}

.icon-pulse { animation: icon-pulse 2s ease-in-out infinite; }

@keyframes icon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Optimized miracle preloader */
.preloader-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(3, 3, 3, 0.95) 100%);
  pointer-events: none;
  z-index: 10;
}
.preloader-inner {
  position: relative;
  z-index: 1;
}
.preloader-logo-wrap {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.preloader-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
  animation: preloader-glow-pulse 2s ease-in-out infinite;
  animation-delay: 0.3s;
}
@keyframes preloader-glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}
.miracle-flow-wrap {
  position: relative;
  padding: 2rem;
  overflow: visible;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Golden mist drifting around logo */
.miracle-mist {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  pointer-events: none;
  z-index: 1 !important; /* Keep behind logo */
}
.miracle-mist-1 {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.5) 0%, transparent 70%);
  top: 20%;
  left: 0%;
  animation: miracle-mist-rise 5s ease-in-out infinite;
  animation-delay: 0s;
}
.miracle-mist-2 {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.45) 0%, transparent 70%);
  bottom: 0%;
  right: -5%;
  animation: miracle-mist-rise 5s ease-in-out infinite;
  animation-delay: 1.5s;
}
.miracle-mist-3 {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
  top: 5%;
  right: 10%;
  animation: miracle-mist-rise 5.5s ease-in-out infinite;
  animation-delay: 0.8s;
}
@keyframes miracle-mist-rise {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.4);
  }
  35% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) scale(1.4);
  }
}
/* Light bloom from below - divine energy */
.miracle-light-core {
  position: absolute;
  top: 75%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at bottom, rgba(255, 223, 130, 0.9) 0%, rgba(212, 175, 55, 0.5) 35%, transparent 75%);
  filter: blur(40px);
  opacity: 0;
  animation: light-bloom-up 1.6s ease-out forwards;
  animation-delay: 0.3s;
  z-index: 1 !important; /* Keep behind logo */
}
@keyframes light-bloom-up {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(30px) scale(0.4);
  }
  55% {
    opacity: 0.75;
  }
  100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(-30px) scale(1.1);
  }
}
/* ── Enhanced Preloader ─────────────────────────────────────────────── */

.miracle-logo-wrapper {
  position: relative;
  z-index: 5;
  width: 240px;
  height: auto;
  opacity: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  /* Subtle zoom + brightness fade */
  animation: logo-full-reveal 3.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             logo-float 3s ease-in-out infinite 3.8s; /* Start floating after reveal */
}

.miracle-logo-wrapper .preloader-logo {
  width: 100%;
  height: auto;
  display: block;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}



@keyframes logo-full-reveal {
  0% {
    opacity: 0;
    transform: scale(1.18);
    filter: blur(25px) brightness(0);
  }
  26% {
    opacity: 0.3;
    filter: blur(12px) brightness(0.25);
  }
  52% {
    opacity: 0.7;
    filter: blur(3px) brightness(0.65);
    transform: scale(1.06);
  }
  82% {
    opacity: 1;
    filter: blur(0) brightness(1) drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1) drop-shadow(0 0 35px rgba(212, 175, 55, 0.9));
    transform: scale(1);
  }
}

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



/* Soft vignette for cinematic feel */
.preloader-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(3, 3, 3, 0.95) 100%);
  pointer-events: none;
  z-index: 10;
}

/* Miracle particles - 8 floating sparkles */
.miracle-particles {
  position: absolute;
  inset: -30px;
  z-index: 3;
  pointer-events: none;
}
.miracle-particles .m-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 223, 130, 0.9) 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
  border-radius: 9999px;
  opacity: 0;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
  animation: sparkle-rise 2s ease-in-out infinite;
}
.miracle-particles .m-particle:nth-child(1) { top: -15px; left: 20px; animation-delay: 0.3s; }
.miracle-particles .m-particle:nth-child(2) { top: 10px; right: -5px; animation-delay: 0.6s; }
.miracle-particles .m-particle:nth-child(3) { bottom: 10px; right: 20px; animation-delay: 0.9s; }
.miracle-particles .m-particle:nth-child(4) { bottom: -15px; left: 10px; animation-delay: 1.2s; }
.miracle-particles .m-particle:nth-child(5) { top: -5px; left: -10px; animation-delay: 0.15s; }
.miracle-particles .m-particle:nth-child(6) { top: -25px; right: 15px; animation-delay: 0.45s; }
.miracle-particles .m-particle:nth-child(7) { bottom: -5px; left: 30px; animation-delay: 1.05s; }
.miracle-particles .m-particle:nth-child(8) { bottom: -25px; right: -10px; animation-delay: 1.35s; }
@keyframes sparkle-rise {
  0% { 
    opacity: 0; 
    transform: translateY(25px) scale(0.35); 
  }
  25% { 
    opacity: 1; 
    transform: translateY(5px) scale(1); 
  }
  75% {
    opacity: 0.6;
  }
  100% { 
    opacity: 0; 
    transform: translateY(-40px) scale(0.45); 
  }
}

/* Product detail styles */
.product-detail-page { padding-top: 6rem; padding-bottom: 4rem; }
.card {
  background: rgba(13, 13, 13, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
.media-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.main-media {
  aspect-ratio: 4/3;
  background: rgba(0,0,0,0.3);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-media img, .main-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}
.thumbnail {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.3);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  overflow: hidden;
}
.thumbnail.active { border-color: var(--accent); }
.thumbnail img, .thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.price-display {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.real-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.5);
}
.offer-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.rating {
  display: flex;
  gap: 0.25rem;
  font-size: 1.25rem;
}
.rating .star { color: #333; }
.rating .star.filled { color: var(--accent); }
.review-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.review-item {
  padding: 1.25rem;
  background: rgba(0,0,0,0.2);
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.review-author { font-weight: 600; }
.review-date {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}
.review-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.review-media-item {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.3);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.review-media-item img, .review-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  color: #fff;
  font-family: inherit;
}
.input::placeholder { color: rgba(255,255,255,0.4); }
textarea.input {
  resize: vertical;
  min-height: 100px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}
.media-item {
  position: relative;
  aspect-ratio: 1;
  background: rgba(0,0,0,0.3);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.media-item img, .media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 0.75rem;
}

/* Category page styles */
.category-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}
.category-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #fff;
}
.category-subtitle {
  margin: 0.5rem 0 0;
  color: rgba(255,255,255,0.6);
}
.products-section { padding: 2rem 0 5rem; }

/* ── Navbar ────────────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: navbar-slide-in 0.6s ease forwards;
}

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

.navbar-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #fff;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-img-lg {
  height: clamp(150px, 35vw, 300px);
  width: auto;
  object-fit: contain;
}

.preloader-container .logo-img-lg {
  height: clamp(120px, 28vw, 200px);
}

.logo .icon-accent { color: var(--accent); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  padding: 0;
  display: inline-flex;
  position: relative;
}

.icon-btn:hover { color: #fff; }

.cart-badge {
  position: absolute;
  right: -0.45rem;
  top: -0.45rem;
  display: flex;
  height: 1rem;
  width: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--accent);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.menu-btn { display: inline-flex; }

@media (min-width: 768px) {
  .menu-btn { display: none; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  z-index: 60;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0;
}

.mobile-menu-close {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Hero ──────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  min-height: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3rem 1rem 4rem;
  text-align: left;
}

@media (min-width: 768px) {
  .hero { min-height: 85vh; padding: 4rem 1rem 5rem; }
}

.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  animation: hero-in 0.8s ease forwards;
}

@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row;
    gap: 4rem;
  }
}

.hero-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-logo-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20 !important; /* Keep above hero glow */
}

.hero-logo-glow {
  position: absolute;
  width: 550px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0.35) 40%, transparent 75%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1 !important; /* Stay behind logo */
  animation: hero-logo-glow-pulse 5s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes hero-logo-glow-pulse {
  0%, 100% { 
    opacity: 0.25; 
    transform: scale(1); 
  }
  25% { 
    opacity: 0.7; 
    transform: scale(1.08); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.15); 
  }
  75% { 
    opacity: 0.7; 
    transform: scale(1.08); 
  }
}

/* Remove floating animation for performance */
.floating-logo {
  animation: float 4s ease-in-out infinite;
  will-change: transform;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  animation: hero-in 0.8s ease forwards;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(to right, #fbbf24, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 2rem;
  max-width: 42rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-primary-white {
  border-radius: 9999px;
  background: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s;
}

.btn-primary-white:hover { transform: scale(1.05); }

.btn-glass {
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s, background 0.2s ease;
}

.btn-glass:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.hero-glow-main {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1 !important; /* Keep behind logo */
}

.hero-glow-secondary {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 300px;
  height: 300px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 1 !important; /* Keep behind logo */
}

/* Hero category cards (inside hero 1) */
.hero-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 56rem;
  margin: 2.5rem auto 0;
  text-align: left;
}

@media (min-width: 640px) {
  .hero-categories { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .hero-categories { grid-template-columns: repeat(4, 1fr); }
}

.hero-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  padding: 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s;
}

.hero-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
}

.hero-category-card .card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.hero-category-card .card-bg.gifts { background: rgba(212, 175, 55, 0.25); }
.hero-category-card .card-bg.toys { background: rgba(251, 191, 36, 0.25); }
.hero-category-card .card-bg.clothing { background: rgba(234, 88, 12, 0.25); }
.hero-category-card .card-bg.accessories { background: rgba(253, 224, 71, 0.2); }

.hero-category-card .card-content {
  position: relative;
  z-index: 1;
}

.hero-category-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.hero-category-card p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-category-card .card-arrow {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

/* Hero 2 — trending */
.hero-trending {
  position: relative;
  padding: 4rem 0 5rem;
}

.hero-trending-inner {
  position: relative;
  z-index: 1;
}

.hero-trending .section-header {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-trending .section-header h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.hero-trending-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translateX(-50%);
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* Hero 3 — Classic (Signature) */
.hero-classic {
  position: relative;
  padding: 4rem 0 5rem;
}

.hero-classic-inner {
  position: relative;
  z-index: 1;
}

.hero-classic .section-header {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-classic .section-header h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.hero-classic-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translateX(-50%);
  background: rgba(234, 88, 12, 0.12);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* ── Product grid ──────────────────────────────────────── */

.section-products {
  padding: 5rem 0;
}

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

.section-header h2 {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
}

.section-header p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.link-accent {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
}

.link-accent:hover { text-decoration: underline; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: product-float 4s ease-in-out infinite;
}

/* Stagger delays for every card, repeating every 6 cards */
.product-card:nth-child(6n+1) { animation-delay: 0s; }
.product-card:nth-child(6n+2) { animation-delay: 0.5s; }
.product-card:nth-child(6n+3) { animation-delay: 1s; }
.product-card:nth-child(6n+4) { animation-delay: 1.5s; }
.product-card:nth-child(6n+5) { animation-delay: 2s; }
.product-card:nth-child(6n+6) { animation-delay: 2.5s; }

.product-card:hover { 
  animation-play-state: paused;
  transform: translateY(-8px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.product-image-wrap {
  position: relative;
  margin-bottom: 1rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.product-image-placeholder {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  transition: color 0.2s;
  display: inline-flex;
}

.wishlist-btn:hover,
.wishlist-btn.is-active { color: #ef4444; }

.product-category {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0;
}

.product-name {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.product-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.product-price-real {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-add:hover {
  background: #fff;
  color: #000;
}

/* ── Category promos ───────────────────────────────────── */

.section-categories {
  padding: 5rem 0;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

.category-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 1.5rem;
}

.category-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(255, 255, 255, 0.1);
}

.category-card-bg.gifts { background: rgba(212, 175, 55, 0.2); }
.category-card-bg.apparel { background: rgba(251, 191, 36, 0.2); }

.category-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 10;
}

.category-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 20;
}

.category-card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.category-card-content p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.btn-explore {
  width: fit-content;
  border-radius: 9999px;
  background: #fff;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  color: #000;
  transition: transform 0.2s ease;
}

.category-card:hover .btn-explore { transform: scale(1.05); }

/* ── Newsletter ──────────────────────────────────────── */

.section-newsletter {
  padding: 5rem 0;
  text-align: center;
}

.newsletter-card {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 1.5rem;
}

.newsletter-card h2 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}

.newsletter-card > p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-subscribe {
  border-radius: 9999px;
  background: var(--accent);
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-subscribe:hover { background: rgba(212, 175, 55, 0.8); }

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--accent);
}

/* ── Footer ──────────────────────────────────────────── */

.footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d4af37;
  margin: 0;
}

.footer-brand p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-brand .logo { margin-bottom: 1rem; }

.social-link-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d4af37;
}

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

.footer li { margin-bottom: 0.5rem; }

.footer a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer a:hover { color: #fff; }

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.5);
}

.social-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.powered-section {
  margin-top: 1rem;
}

.powered-section h5 {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.powered-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: center;
}

.powered-logo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.powered-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.powered-logo-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Stub / inner pages ──────────────────────────────── */

.page-hero-small {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-hero-small h1 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.page-hero-small p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.page-content {
  padding: 2rem 0 5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.page-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ── Cart toast ──────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.powered-by-highlight {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.hidden { display: none !important; }
