/* ==========================
   HERO SLIDER
   ========================== */
.hero-slider-container {
  position: relative;
  height: min(880px, 92svh);
  min-height: 680px;
  overflow: hidden;
  background-color: var(--obsidian);
  isolation: isolate;
}

.ink-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 26%, rgba(194, 15, 47, 0.26), transparent 24rem),
    radial-gradient(circle at 78% 18%, rgba(242, 184, 75, 0.16), transparent 24rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(12, 9, 10, 0.52), rgba(0, 0, 0, 0.86));
}

.hero-slider,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s ease;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.015);
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.hero-slide-showcase {
  background:
    linear-gradient(90deg, rgba(7, 5, 6, 0.9), rgba(7, 5, 6, 0.42), rgba(7, 5, 6, 0.86)),
    url("../assets/generated/hero-wolf-ink.png") center / cover no-repeat;
}

.slide-bg-2 {
  background:
    radial-gradient(circle at 70% 46%, rgba(255, 91, 53, 0.28), transparent 28rem),
    linear-gradient(135deg, #21090b 0%, #080606 62%, #23170c 100%);
}

.slide-bg-3 {
  background:
    radial-gradient(circle at 70% 50%, rgba(242, 184, 75, 0.2), transparent 24rem),
    radial-gradient(circle at 40% 18%, rgba(194, 15, 47, 0.3), transparent 24rem),
    linear-gradient(135deg, #100709 0%, #221011 48%, #080606 100%);
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 100%, transparent, rgba(0, 0, 0, 0.64));
  z-index: 2;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: var(--header-height);
  height: 100%;
}

.hero-content {
  max-width: 720px;
  text-align: left;
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.2vw, 5.7rem);
  font-weight: 900;
  margin: 1rem 0 1.1rem;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.84);
  text-wrap: balance;
  overflow-wrap: normal;
}

.hero-subtitle {
  max-width: 39rem;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  color: rgba(255, 255, 255, 0.83);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-art-panel {
  position: relative;
  aspect-ratio: 0.86;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: rotate(1.5deg);
}

.hero-art-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(242, 184, 75, 0.32);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

.hero-art-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-art-card {
  position: absolute;
  z-index: 3;
  min-width: 128px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(242, 184, 75, 0.34);
  border-radius: 8px;
  background: rgba(12, 8, 9, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-art-card span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-art-card strong {
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 1rem;
}

.hero-art-card-top {
  top: 10%;
  left: -2%;
}

.hero-art-card-bottom {
  right: -2%;
  bottom: 10%;
}

.hero-product-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
  perspective: 1000px;
}

.hero-product-stack img,
.hero-offer-orbit img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(242, 184, 75, 0.25);
  background: var(--paper);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.38);
  animation: floatProduct 5.5s ease-in-out infinite;
}

.hero-offer-orbit .hero-orbit-item {
  position: absolute;
  display: block;
  width: min(38%, 215px);
  border-radius: 8px;
  animation: floatProduct 5.5s ease-in-out infinite;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  z-index: 2;
}

.hero-offer-orbit .hero-orbit-item:hover {
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.08);
}

.hero-offer-orbit .hero-orbit-item img {
  position: static;
  max-width: 100%;
  display: block;
}

.hero-product-stack img:nth-child(2),
.hero-offer-orbit img:nth-child(3) {
  animation-delay: -1.5s;
}

.hero-product-stack img:nth-child(3),
.hero-offer-orbit img:nth-child(4) {
  animation-delay: -3s;
}

.hero-product-stack img:nth-child(odd) {
  transform: translateY(18px) rotate(-3deg);
}

.hero-product-stack img:nth-child(even) {
  transform: translateY(-16px) rotate(3deg);
}

.hero-offer-orbit {
  position: relative;
  min-height: 420px;
}

.orbit-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(242, 184, 75, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(194, 15, 47, 0.22), inset 0 0 45px rgba(242, 184, 75, 0.08);
  animation: slowSpin 18s linear infinite;
}

.hero-offer-orbit img {
  position: absolute;
  max-width: 215px;
}

.hero-offer-orbit img:nth-child(2) {
  left: 7%;
  top: 12%;
}

.hero-offer-orbit img:nth-child(3) {
  right: 4%;
  top: 24%;
}

.hero-offer-orbit img:nth-child(4) {
  left: 29%;
  bottom: 2%;
}

.hero-offer-orbit .hero-orbit-item:nth-child(2) {
  left: 7%;
  top: 12%;
}

.hero-offer-orbit .hero-orbit-item:nth-child(3) {
  right: 4%;
  top: 24%;
  animation-delay: -1.5s;
}

.hero-offer-orbit .hero-orbit-item:nth-child(4) {
  left: 29%;
  bottom: 2%;
  animation-delay: -3s;
}

.hero-offer-orbit .hero-orbit-item:nth-child(5) {
  right: 18%;
  bottom: 5%;
  animation-delay: -4.2s;
}

.hero-offer-orbit .hero-orbit-item:nth-child(6) {
  left: 38%;
  top: 3%;
  animation-delay: -2.4s;
}

@keyframes floatProduct {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes slowSpin {
  to { rotate: 360deg; }
}

/* Controles Hero Slider */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1.4rem;
  z-index: 10;
  pointer-events: none;
}

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 8, 9, 0.58);
  color: var(--white);
  border: 1px solid rgba(242, 184, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  pointer-events: auto;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.hero-nav-btn:hover {
  background: var(--kitsune-red);
  border-color: var(--sun-gold);
  transform: scale(1.08);
}

.hero-dots {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 10;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  width: 54px;
  background: linear-gradient(90deg, var(--kitsune-red), var(--sun-gold));
  box-shadow: var(--shadow-glow);
}

/* ==========================
   CATEGORIES GRID
   ========================== */
.worlds-section {
  position: relative;
  overflow: hidden;
}

.worlds-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(194, 15, 47, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent);
}

.categories-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.category-card {
  flex: 0 0 calc(50% - 0.5rem);
}

.category-card {
  min-height: 160px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #151011;
  border: 1px solid rgba(36, 32, 35, 0.18);
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(35, 26, 20, 0.12);
}

.category-card:hover {
  border-color: rgba(194, 15, 47, 0.6);
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 15, 47, 0.24), transparent 70%),
    #120d0e;
  transform: translateY(-7px);
  box-shadow: 0 20px 42px rgba(35, 26, 20, 0.22);
}

.category-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(194, 15, 47, 0.1);
  border: 1px solid rgba(194, 15, 47, 0.22);
  font-size: 1.9rem;
  color: var(--kitsune-red);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.category-card:hover .category-icon {
  transform: scale(1.08) rotate(-4deg);
  color: var(--sun-gold);
}

.category-card-blue .category-icon {
  color: var(--indigo);
  border-color: rgba(56, 89, 199, 0.28);
  background: rgba(56, 89, 199, 0.12);
}

.category-card-green .category-icon {
  color: var(--jade);
  border-color: rgba(46, 139, 87, 0.3);
  background: rgba(46, 139, 87, 0.12);
}

.category-card-red .category-icon {
  color: var(--ember);
  border-color: rgba(255, 91, 53, 0.34);
  background: rgba(194, 15, 47, 0.14);
}

.category-name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

/* ==========================
   PRODUCTS
   ========================== */
.featured-section,
.arrivals-section {
  position: relative;
}

.featured-section::before,
.arrivals-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 18%, rgba(194, 15, 47, 0.12), transparent 26rem);
}

.popular-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

.slider-wrapper {
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track > * {
  scroll-snap-align: start;
  flex: 0 0 calc(100% - 1rem);
}

.slider-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--kitsune-red), var(--ember));
  color: var(--white);
  border: 1px solid rgba(242, 184, 75, 0.38);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: -10px; }
.next-btn { right: -10px; }

/* ==========================
   PROMO
   ========================== */
.promo-banner {
  background:
    linear-gradient(90deg, rgba(8, 6, 6, 0.9), rgba(45, 8, 11, 0.72)),
    url("../assets/generated/hero-wolf-ink.png") center / cover no-repeat;
  border-top: 1px solid rgba(242, 184, 75, 0.38);
  border-bottom: 1px solid rgba(242, 184, 75, 0.28);
  position: relative;
  overflow: hidden;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 100% 50%, transparent 20%, rgba(255, 255, 255, 0.07) 21%, rgba(255, 255, 255, 0.07) 34%, transparent 35%, transparent),
    radial-gradient(circle at 0% 50%, transparent 20%, rgba(255, 255, 255, 0.07) 21%, rgba(255, 255, 255, 0.07) 34%, transparent 35%, transparent);
  background-size: 76px 76px;
  opacity: 0.35;
  pointer-events: none;
}

.promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  color: var(--white);
  text-transform: uppercase;
}

.promo-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 44rem;
}

/* ==========================
   TRUST BAR
   ========================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  border: 1px solid rgba(36, 32, 35, 0.12);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 34px rgba(35, 26, 20, 0.08);
}

.trust-item {
  min-height: 168px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.trust-icon {
  font-size: 1.75rem;
  color: var(--kitsune-red);
}

.trust-title {
  font-weight: 700;
  color: var(--void);
  font-size: 1rem;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--smoke);
}

@media (min-width: 576px) {
  .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slider-track > * { flex: 0 0 calc(50% - 1rem); }
}

@media (min-width: 768px) {
  .category-card {
    flex: 0 0 calc(25% - 0.75rem);
  }

  .promo-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .trust-bar { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 992px) {
  .popular-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slider-track > * { flex: 0 0 calc(25% - 1.2rem); }
  .prev-btn { left: -18px; }
  .next-btn { right: -18px; }
}

@media (max-width: 900px) {
  .hero-slider-container {
    min-height: 760px;
    height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 1.4rem;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 5.5rem;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    text-align: center;
  }

  .hero-kicker,
  .promo-kicker {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 0.7rem;
  }

  .hero-art-panel {
    position: relative;
    z-index: 1;
    width: min(360px, 86vw);
    margin: 0 auto;
    aspect-ratio: 1.35;
  }

  .hero-art-card {
    display: none;
  }

  .hero-product-stack {
    position: relative;
    z-index: 1;
    width: min(380px, 88vw);
    margin: 0 auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
  }

  .hero-offer-orbit {
    position: relative;
    z-index: 1;
    min-height: 220px;
    width: min(390px, 88vw);
    margin: 0 auto;
  }

  .hero-offer-orbit img {
    max-width: 130px;
  }

  .hero-offer-orbit .hero-orbit-item {
    width: min(31%, 124px);
  }
}

@media (max-width: 575px) {
  .hero-slider-container {
    min-height: 780px;
  }

  .hero-title {
    font-size: clamp(2rem, 11.5vw, 3rem);
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-art-panel {
    width: min(300px, 78vw);
    margin-top: 0.4rem;
  }

  .hero-offer-orbit {
    min-height: 245px;
    width: min(340px, 86vw);
    margin-top: 0.4rem;
  }

  .hero-nav {
    top: auto;
    bottom: 5.1rem;
    transform: none;
    padding: 0 1rem;
  }

  .hero-nav-btn {
    width: 42px;
    height: 42px;
  }

  .hero-dots {
    bottom: 1rem;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .category-card {
    flex: 0 0 100%;
    min-height: 132px;
  }

  .slider-btn {
    display: none;
  }
}
