:root {
  --bg: #050505;
  --panel: #0f0f0f;
  --gold: #d6c6a5;
  --gold-strong: #c89b6d;
  --text-dim: #b8b8b8;
  --border: rgba(214, 198, 165, 0.35);
  --panel-glass: rgba(255, 255, 255, 0.04);
  --panel-glass-strong: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 28px 56px rgba(0, 0, 0, 0.5);
}

body {
  background:
    radial-gradient(circle at 11% 14%, rgba(200, 155, 109, 0.16) 0%, rgba(10, 10, 10, 0.18) 30%, rgba(0, 0, 0, 0) 58%),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0) 34%),
    linear-gradient(180deg, #080808 0%, #040404 44%, #020202 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 90%);
  opacity: 0.24;
  z-index: -1;
}

.text-outline {
  -webkit-text-stroke: 1.6px var(--gold);
  color: transparent;
}

.border-gold {
  border: 1px solid rgba(214, 198, 165, 0.22);
  border-radius: 16px;
}

.btn-gold {
  background: linear-gradient(135deg, #dfc39f 0%, #c89b6d 100%);
  color: #090909;
  border-radius: 999px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  box-shadow: 0 10px 20px rgba(200, 155, 109, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 30px rgba(200, 155, 109, 0.36);
}

.btn-outline-gold {
  border: 1px solid var(--gold-strong);
  color: var(--gold-strong);
  border-radius: 999px;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn-outline-gold:hover {
  background: var(--gold-strong);
  color: #090909;
  transform: translateY(-2px);
}

.nav-transparent {
  background: transparent;
  backdrop-filter: none;
}

.nav-glass {
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 198, 165, 0.16);
}

.nav-link-active {
  color: var(--gold);
}

[data-nav-link] {
  position: relative;
  transition: color 0.24s ease;
}

[data-nav-link]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 198, 165, 0.05) 0%, rgba(214, 198, 165, 0.9) 50%, rgba(214, 198, 165, 0.05) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

[data-nav-link]:hover::after,
[data-nav-link].nav-link-active::after {
  transform: scaleX(1);
}

.page-panel {
  border: 1px solid rgba(214, 198, 165, 0.14);
  background: linear-gradient(160deg, var(--panel-glass-strong) 0%, rgba(0, 0, 0, 0.24) 100%);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.card-panel {
  border: 1px solid rgba(214, 198, 165, 0.12);
  background: linear-gradient(160deg, var(--panel-glass) 0%, rgba(10, 10, 10, 0.62) 100%);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.card-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 198, 165, 0.3);
  box-shadow: var(--shadow-lift);
}

.product-card-media {
  overflow: hidden;
  border-radius: 14px;
}

.product-card-media > * {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.card-panel:hover .product-card-media > * {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.06);
}

.fade-in {
  animation: fadeIn 0.75s ease forwards;
}

.stagger > * {
  animation: fadeIn 0.75s ease forwards;
}

.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.24s; }

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-transition-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(214, 198, 165, 0.08) 0%, rgba(0, 0, 0, 0.88) 58%, rgba(0, 0, 0, 0.98) 100%);
  opacity: 0;
  transition: opacity 0.42s ease;
}

body.page-leaving .site-transition-layer {
  opacity: 1;
}

body.js-ready main {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

body.js-ready.page-entered main {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
