.showcase-section[hidden] {
  display: none !important;
}

.showcase-section {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 5vw, 82px) 0;
  color: #f6ead3;
  background: #080706;
  border-top: 1px solid rgba(255, 214, 137, 0.14);
}

.showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 34%, rgba(255, 194, 93, 0.045) 72%, transparent);
}

.showcase-equipment {
  padding: clamp(38px, 4vw, 58px) 0;
  background: linear-gradient(180deg, #090807 0%, #12100d 48%, #080706 100%);
}

.showcase-equipment .showcase-shell {
  width: min(980px, calc(100% - 32px));
}

.showcase-equipment .showcase-title {
  margin-bottom: clamp(22px, 2.4vw, 34px);
}

.showcase-equipment .showcase-track {
  grid-template-columns: repeat(var(--showcase-columns, 3), minmax(0, 250px));
  justify-content: center;
}

.showcase-monster {
  background: linear-gradient(180deg, #080706 0%, #0d0b09 50%, #050403 100%);
}

.showcase-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.showcase-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto clamp(30px, 3vw, 46px);
}

.showcase-title i {
  width: min(180px, 15vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 103, 0.68));
}

.showcase-title i:last-child {
  background: linear-gradient(90deg, rgba(255, 204, 103, 0.68), transparent);
}

.showcase-title h2 {
  position: relative;
  margin: 0;
  padding: 8px 34px;
  color: #fff4da;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 193, 83, 0.24);
}

.showcase-title h2::before,
.showcase-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-strong);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 7px rgba(255, 204, 103, 0.3);
}

.showcase-title h2::before {
  left: 8px;
}

.showcase-title h2::after {
  right: 8px;
}

.showcase-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
}

.showcase-viewport {
  min-width: 0;
  overflow: hidden;
}

.showcase-track {
  display: grid;
  grid-template-columns: repeat(var(--showcase-columns, 3), minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.showcase-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 126, 0.38);
  border-radius: 4px;
  background: #050403;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), inset 0 0 0 2px rgba(255, 255, 255, 0.035);
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050403;
}

.showcase-equipment .showcase-card {
  aspect-ratio: 3 / 4;
}

.showcase-monster .showcase-card {
  aspect-ratio: 16 / 9;
  padding: 8px;
}

.showcase-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffe0a0;
  border: 1px solid rgba(255, 214, 139, 0.42);
  border-radius: 50%;
  background: rgba(8, 7, 6, 0.74);
  font: 400 37px/1 Arial, sans-serif;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.showcase-arrow:hover {
  color: #fff7e7;
  border-color: var(--gold-strong);
  background: rgba(118, 69, 22, 0.54);
  transform: scale(1.06);
}

.showcase-arrow:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

.showcase-arrow[hidden] {
  visibility: hidden;
  pointer-events: none;
}

.showcase-dots {
  min-height: 12px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.showcase-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  transition: width 0.18s ease, background 0.18s ease;
}

.showcase-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold-strong);
}

.showcase-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .showcase-section {
    padding: 48px 0;
  }

  .showcase-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .showcase-arrow {
    width: 38px;
    height: 38px;
    font-size: 31px;
  }

  .showcase-title {
    gap: 10px;
    margin-bottom: 28px;
  }

  .showcase-title h2 {
    padding-right: 27px;
    padding-left: 27px;
  }

  .showcase-title h2::before {
    left: 5px;
  }

  .showcase-title h2::after {
    right: 5px;
  }
}

@media (max-width: 560px) {
  .showcase-shell {
    width: calc(100% - 20px);
  }

  .showcase-section {
    padding: 38px 0;
  }

  .showcase-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .showcase-arrow {
    width: 30px;
    height: 36px;
    border-radius: 4px;
    font-size: 27px;
  }

  .showcase-title i {
    width: 34px;
  }

  .showcase-title h2 {
    font-size: 26px;
  }

  .showcase-card,
  .showcase-monster .showcase-card {
    padding: 5px;
  }
}
