* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --accent: #d4af37;
  --bg: #050a10;
  --surface: #0f172a;
  --on-surface: #f8fafc;
  --on-surface-variant: #94a3b8;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);

--fluid-margin: clamp(1.5rem, 6vw, 10rem);
  --fluid-gap: clamp(1rem, 4vw, 4rem);
  --section-spacing: clamp(5rem, 12vw, 12rem);

--text-fluid-h1: clamp(2.5rem, 8vw, 8rem);
  --text-fluid-h2: clamp(2rem, 6vw, 6rem);
  --text-fluid-p: clamp(1rem, 1.2vw, 1.25rem);
}

html {
  font-size: 16px; 
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable; 
}

@media (max-width: 640px) {
  html { font-size: 14px; } 
}

* {
  -webkit-tap-highlight-color: transparent; 
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

@media (max-width: 1024px) {
  :root {
    --fluid-margin: 2.5rem;
    --section-spacing: 6rem;
  }
}

@media (max-width: 640px) {
  :root {
    --fluid-margin: 1.5rem;
    --section-spacing: 4rem;
  }
}

.min-h-screen {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100dvh;
}

.btn-modern, a, button {
  touch-action: manipulation; 
}

[class*="reveal-"] {
  opacity: 0;
  transition: all 1.2s var(--ease-premium);
  will-change: transform, opacity;
}

.reveal-up { transform: translateY(40px); }
.reveal-down { transform: translateY(-40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }

[class*="reveal-"].active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-premium);
}

.btn-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.btn-modern:hover::after {
  left: 100%;
}

.mask-reveal {
  overflow: hidden;
  display: block;
}

.mask-reveal span {
  display: block;
  transform: translateY(110%) rotate(3deg);
  opacity: 0;
  filter: blur(5px);
  transition: transform 1.5s var(--ease-premium), 
              opacity 1.5s var(--ease-premium),
              filter 1.2s var(--ease-premium);
}

.active .mask-reveal span {
  transform: translateY(0) rotate(0);
  opacity: 1;
  filter: blur(0);
}

.bento-glass::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg, transparent, rgba(167, 125, 45, 0.2), transparent);
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.7s var(--ease-premium);
}

.bento-glass:hover::before {
  opacity: 1;
  animation: borderPulse 3s infinite;
}

@keyframes borderPulse {
  0%, 100% { filter: brightness(1) blur(0px); }
  50% { filter: brightness(1.5) blur(2px); }
}

.magnetic-target {
  transition: transform 0.3s var(--ease-premium);
}

#custom-cursor-outline.active {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(167, 125, 45, 0.4);
  background: rgba(167, 125, 45, 0.05);
  backdrop-blur: 2px;
}

body::after {
  content: "";
  position: fixed;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.04;
  pointer-events: none;
  z-index: 100002;
  animation: noise 8s steps(10) infinite;
}

@keyframes noise {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 10%); }
  80% { transform: translate(-15%, 0); }
  90% { transform: translate(10%, 5%); }
  100% { transform: translate(5%, 0); }
}

.nav-link, .footer-link {
  position: relative;
  display: inline-block;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.6s var(--ease-premium);
}

.nav-link:hover::before {
  width: 100%;
}

.counter-animate {
  font-variant-numeric: tabular-nums; 
}

.product-card img {
  filter: brightness(0.9) contrast(1.1);
  transition: filter 1s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.product-card:hover img {
  filter: brightness(1.1) contrast(1.05);
}

img {
  max-width: 100%;
  height: auto;
  font-style: italic; 
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 100001;
  width: 0%;
  transition: width 0.1s ease;
}

.px-margin-mobile,
.px-margin-desktop,
.container-px {
  padding-left: var(--fluid-margin);
  padding-right: var(--fluid-margin);
}
@media (pointer: fine) {
  body,
  a,
  button,
  .product-card,
  input,
  textarea,
  .filter-btn,
  .nav-link,
  .nav-portal-btn {
    cursor: none !important;
  }
  #custom-cursor,
  #custom-cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    border-radius: 50%;
    will-change: transform;
    mix-blend-mode: difference;
  }
  #custom-cursor {
    width: 10px;
    height: 10px;
    background: #fff;
    transition: transform 0.1s;
  }
  #custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition:
      transform 0.3s var(--ease-premium),
      width 0.3s,
      height 0.3s;
  }
  .cursor-hover #custom-cursor {
    transform: scale(5);
  }
  .cursor-hover #custom-cursor-outline {
    opacity: 0;
  }
}
@keyframes blur-in {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
.animate-blur-in {
  animation: blur-in 1.5s var(--ease-premium) forwards;
}
.char-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--ease-premium);
}
.char-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
}

html {
  scroll-behavior: smooth;
}

.parallax-wrap {
  overflow: hidden;
  clip-path: inset(0 0 0 0 round 40px);
}

.parallax-img {
  transition: transform 1.5s var(--ease-out-expo);
  will-change: transform;
}

section:hover .parallax-img {
  transform: scale(1.05) translateY(-5%);
}

.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.6s var(--ease-out-expo);
}

.btn-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(167, 125, 45, 0.2);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
}

::selection {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 768px) {
  .hero-line {
    font-size: 11vw;
  }

body {
    -webkit-overflow-scrolling: touch;
  }

  .btn-modern {
    width: 100%;
    justify-content: center;
  }
}

.py-32 {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.gap-10,
.gap-12 {
  gap: var(--fluid-gap);
}

.gap-20 {
  gap: calc(var(--fluid-gap) * 1.5);
}

.mb-24 {
  margin-bottom: var(--section-spacing);
}

img {
  max-width: 100%;
  height: auto;
  font-style: italic; 
  shape-margin: 1rem;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#mobile-menu {
  background: rgba(5, 10, 16, 0.8) !important;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.loading-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.hero-line,
.loader-panel,
.btn-modern,
.parallax-img,
#custom-cursor,
#custom-cursor-outline {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 480px) {
  #cart-sidebar {
    width: 100% !important;
    border-radius: 40px 40px 0 0;
    height: 90vh !important;
    bottom: 0;
    top: auto !important;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-premium);
  }

  #cart-sidebar.open {
    transform: translateY(0) !important;
  }
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#loader-logo-container img {
  max-width: 90vw;
  height: auto;
  object-fit: contain;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}
.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(167, 125, 45, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(167, 125, 45, 0.2));
  }
}
.pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}
.hover-lift {
  transition:
    transform 0.6s var(--ease-premium),
    box-shadow 0.6s var(--ease-premium);
}
.hover-lift:hover {
  transform: translateY(-10px) scale(1.02);
}
.image-parallax-container {
  overflow: hidden;
  position: relative;
}
.image-parallax-container img {
  transition: transform 1.5s var(--ease-premium);
}
.image-parallax-container:hover img {
  transform: scale(1.15);
}
.tilt-card {
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.tilt-content {
  transform: translateZ(50px);
}
.bento-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.5s var(--ease-premium),
    border 0.5s var(--ease-premium);
}
.bento-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(167, 125, 45, 0.3);
}
.text-fluid-h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.85;
}
.text-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  color: transparent;
}
.text-stroke:hover {
  -webkit-text-stroke: 1px var(--accent);
}
.btn-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
  font-weight: 900;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  transition: all 0.5s var(--ease-premium);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(167, 125, 45, 0.2);
}
.btn-modern:hover {
  transform: translateY(-5px);
  background: white;
  color: var(--accent);
  border-color: white;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}
.btn-modern span {
  transition: color 0.5s var(--ease-premium);
}
.btn-modern:hover span {
  color: var(--accent);
}
.search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 40px;
}
.search-container {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.search-container:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.search-container.active {
  width: 100%;
  max-width: 600px;
  height: 80px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--accent);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(167, 125, 45, 0.2);
  padding: 0 40px;
  cursor: default;
}
.search-icon {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.5s var(--ease-premium);
  flex-shrink: 0;
}
.search-container.active .search-icon {
  color: var(--accent);
  transform: scale(1.1);
  cursor: pointer;
}
.search-input {
  width: 0;
  opacity: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: white !important;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: all 0.6s var(--ease-premium);
  padding: 0;
}
.search-input:focus {
  background: transparent !important;
  box-shadow: none !important;
}

.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus {
  -webkit-text-fill-color: white !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
.search-container.active .search-input {
  width: 100%;
  opacity: 1;
  padding-left: 20px;
}
.search-input::placeholder {
  color: rgb(215, 202, 202);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.3em;
}
.search-clear {
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease-premium);
  color: rgba(226, 202, 202, 0.2);
  cursor: pointer;
}
.search-container.active .search-clear {
  opacity: 1;
  pointer-events: auto;
}
.search-clear:hover {
  color: white;
  transform: rotate(90deg);
}
.product-card {
  position: relative;
  transition: all 0.5s var(--ease-premium);
}
.product-card .image-wrapper {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-premium);
}
.product-card:hover img {
  transform: scale(1.1);
}
.grid-bg {
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.2s var(--ease-out-expo),
    transform 1.2s var(--ease-out-expo);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 1.2s var(--ease-out-expo),
    transform 1.2s var(--ease-out-expo);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 1.2s var(--ease-out-expo),
    transform 1.2s var(--ease-out-expo);
}
.reveal-down {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 1.2s var(--ease-out-expo),
    transform 1.2s var(--ease-out-expo);
}

[class*="reveal-"].active {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
  filter: blur(0) !important;
}
.category-square-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-square {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  transition: all 0.5s var(--ease-premium);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.filter-square .material-symbols-outlined {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.5s var(--ease-premium);
}
.filter-square .cat-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.1);
  margin-top: 10px;
  transition: all 0.5s var(--ease-premium);
}
.filter-square:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}
.filter-square.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(167, 125, 45, 0.3);
}
.filter-square.active .material-symbols-outlined,
.filter-square.active .cat-label {
  color: white;
}
.nav-link {
  position: relative;
  transition: all 0.3s var(--ease-premium);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease-premium);
}
.nav-link.active {
  color: white !important;
}
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover {
  color: white !important;
}
.coming-soon {
  position: relative;
  cursor: help !important;
}
.coming-soon::before {
  content: "SOON";
  position: absolute;
  bottom: 120%;
  left: 0;
  background: var(--accent);
  color: white;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(10px) scale(0.9);
  transition: all 0.5s var(--ease-premium);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(167, 125, 45, 0.3);
  z-index: 20;
}
.coming-soon::after {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 15px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--accent);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-premium);
  pointer-events: none;
}
.coming-soon:hover::before {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.coming-soon:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.coming-soon-center::before {
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.9);
}
.coming-soon-center:hover::before {
  transform: translateX(-50%) translateY(0) scale(1);
}
.coming-soon-center::after {
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}
.coming-soon-center:hover::after {
  transform: translateX(-50%) translateY(0);
}

@keyframes reveal-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.animate-reveal-up {
  animation: reveal-up 1s var(--ease-premium) forwards;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin-slow {
  animation: spin-slow 12s linear infinite;
}

.orange-glow {
  filter: drop-shadow(0 0 15px rgba(167, 125, 45, 0.3));
}

.vertical-text {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.text-glow-sm {
  text-shadow: 0 0 10px rgba(167, 125, 45, 0.5);
}