:root {
  /* 2-Color Luxury Gaming Palette: Deep Obsidian + Radiant Gold */
  --bg-main: #050609;
  --bg-elevated: #0b0d14;
  --bg-card: #0f121b;
  --bg-card-hover: #141824;
  --bg-inset: #07090e;

  --border: rgba(255, 255, 255, 0.075);
  --border-subtle: rgba(255, 255, 255, 0.045);
  --border-gold: rgba(242, 184, 75, 0.36);
  --border-gold-bright: rgba(253, 224, 115, 0.6);

  --text-main: #f4f6fb;
  --text-muted: #9299b0;
  --text-dim: #5d647a;

  --gold: #f2b84b;
  --gold-bright: #ffe49e;
  --gold-deep: #d49424;
  --gold-soft: rgba(242, 184, 75, 0.11);
  --gold-glow: rgba(242, 184, 75, 0.24);

  --radius-xs: 7px;
  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-gold: 0 20px 46px rgba(0, 0, 0, 0.65), 0 0 32px rgba(242, 184, 75, 0.1), inset 0 1px 0 rgba(255, 228, 158, 0.22);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 14.5px;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--text-muted);
}

/* ==========================================
   GPU-ACCELERATED ANIMATIONS (60FPS HP & LAPTOP)
   ========================================== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(16px, -18px, 0) scale(1.05); }
}

@keyframes shimmerSweep {
  0% { transform: translate3d(-120%, 0, 0) skewX(-18deg); }
  100% { transform: translate3d(260%, 0, 0) skewX(-18deg); }
}

@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.85; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes badgePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.34); }
  100% { transform: scale(1); }
}

@keyframes arrowNudge {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(3px, 0, 0); }
}

.animate-in {
  opacity: 0;
  will-change: transform, opacity;
  animation: fadeSlideUp 0.6s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.04s; }
.delay-2 { animation-delay: 0.10s; }
.delay-3 { animation-delay: 0.16s; }
.delay-4 { animation-delay: 0.22s; }
.delay-5 { animation-delay: 0.28s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  will-change: transform, opacity;
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal .item-card {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.985);
  transition:
    opacity 0.45s var(--ease-out-expo),
    transform 0.45s var(--ease-out-expo),
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.reveal.is-visible .item-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ==========================================
   AMBIENT BACKGROUND & PARTICLES
   ========================================== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 18%, black 26%, transparent 82%);
  pointer-events: none;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  will-change: transform;
  animation: floatOrb 14s ease-in-out infinite;
}

.bg-glow-1 {
  width: 740px;
  height: 740px;
  top: -310px;
  left: 50%;
  margin-left: -370px;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.15) 0%, rgba(242, 184, 75, 0.04) 42%, transparent 70%);
}

.bg-glow-2 {
  width: 540px;
  height: 540px;
  bottom: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.09) 0%, rgba(242, 184, 75, 0.02) 45%, transparent 70%);
  animation-delay: -7s;
}

.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 6, 9, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-crest {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #140f02;
  background: #0b0714;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 18px rgba(209, 43, 165, 0.35), 0 0 14px var(--gold-glow);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-crest svg {
  width: 19px;
  height: 19px;
}

.brand:hover .brand-crest {
  transform: rotate(-4deg) scale(1.07);
  box-shadow: 0 0 24px rgba(232, 46, 120, 0.55), 0 0 18px var(--gold-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.brand-text small {
  font-size: 0.6rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #140f02;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), border-color 0.2s ease, background-color 0.2s ease;
}

.nav-ip-pill:hover {
  border-color: var(--border-gold);
  background: var(--gold-soft);
  transform: translate3d(0, -1px, 0);
}

.icon-copy {
  width: 13px;
  height: 13px;
  color: var(--gold);
}

.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), background-color 0.2s ease, color 0.2s ease;
}

.cart-trigger svg {
  width: 15px;
  height: 15px;
}

.cart-trigger:hover {
  background: var(--gold);
  color: #140f02;
  transform: translate3d(0, -1px, 0);
}

.cart-badge {
  background: var(--gold);
  color: #140f02;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.cart-badge.pop {
  animation: badgePop 0.35s var(--ease-out-expo);
}

.cart-trigger:hover .cart-badge {
  background: #140f02;
  color: var(--gold-bright);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.status-dot.online {
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-glow);
}

.status-dot.offline {
  background: var(--text-dim);
}

.status-dot.pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: pulseRing 2s infinite;
}

/* Active tap feedback for all buttons */
button:active,
.btn-primary-lg:active,
.contact-card:active {
  transform: scale(0.97) !important;
}

/* ==========================================
   LAYAR 1: HOME / COMMAND CENTER
   ========================================== */
.hero-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 36px 0 64px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.server-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.74rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.season-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
}

.hero-heading-group {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(1.02);
  }
}

.hero-logo-showcase {
  position: relative;
  width: clamp(148px, 24vw, 210px);
  height: clamp(148px, 24vw, 210px);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  will-change: transform;
  animation: floatLogo 5.2s ease-in-out infinite;
}

.hero-logo-halo {
  position: absolute;
  inset: -16px;
  border-radius: 30px;
  background: radial-gradient(
    circle,
    rgba(225, 29, 116, 0.42) 0%,
    rgba(147, 51, 234, 0.32) 45%,
    rgba(242, 184, 75, 0.16) 70%,
    transparent 82%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1.5px solid rgba(242, 184, 75, 0.55);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.78),
    0 0 36px rgba(192, 38, 211, 0.38),
    0 0 20px rgba(242, 184, 75, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

.hero-logo-showcase:hover .hero-logo-img {
  transform: scale(1.04);
  border-color: var(--gold-bright);
}

.shop-logo-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-bright), #c026d3, #e11d48);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 26px rgba(192, 38, 211, 0.35);
}

.shop-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 4px;
}

.hero-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 20%, var(--gold-bright) 68%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 540px;
  margin: 0 auto;
}

/* Server Connection Terminal */
.server-console {
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, #131723 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  text-align: left;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(242, 184, 75, 0.35);
}

.console-dots span:first-child {
  background: var(--gold);
}

.console-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.console-tag {
  font-size: 0.65rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  padding: 2px 8px;
  border-radius: 6px;
}

.console-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  padding: 18px;
}

.console-box {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  transition: border-color 0.2s ease;
}

.console-box:hover {
  border-color: var(--border-gold);
}

.console-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.field-label {
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.field-hint {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.console-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-value {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out-expo), background-color 0.2s ease, color 0.2s ease;
}

.btn-copy svg {
  width: 13px;
  height: 13px;
}

.btn-copy:hover {
  background: var(--gold);
  color: #140f02;
}

.console-footer {
  padding: 0 18px 18px;
}

.btn-copy-full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(242, 184, 75, 0.06);
  border: 1px dashed var(--border-gold);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-copy-full svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.btn-copy-full strong {
  color: var(--gold-bright);
}

.btn-copy-full:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

/* Section Divider */
.section-divider {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-divider span {
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* Bento Contacts Grid */
.contacts-grid {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  text-decoration: none;
  color: var(--text-main);
  background: linear-gradient(165deg, #131722 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.26s var(--ease-out-expo), border-color 0.22s ease, background-color 0.22s ease;
}

.contact-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
  transition: transform 0.25s var(--ease-out-expo), background-color 0.22s ease, color 0.22s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.08);
  background: var(--gold);
  color: #140f02;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-badge {
  font-size: 0.64rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(242, 184, 75, 0.08);
  border: 1px solid rgba(242, 184, 75, 0.22);
  padding: 3px 8px;
  border-radius: 999px;
}

.contact-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.contact-arrow {
  transition: transform 0.2s ease;
}

.contact-card:hover .contact-arrow {
  transform: translate3d(4px, 0, 0);
}

.owner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.owner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--gold);
  color: #140f02;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.owner-btn.secondary {
  background: var(--bg-inset);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.owner-btn.secondary:hover {
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

/* Store CTA Banner on Home */
.store-cta-banner {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: linear-gradient(135deg, rgba(242, 184, 75, 0.14) 0%, var(--bg-card) 65%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-gold);
  margin-top: 4px;
}

.store-cta-eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 2px;
}

.store-cta-text strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  margin-bottom: 3px;
}

.store-cta-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-primary-lg {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #140f02;
  font-weight: 800;
  font-size: 0.84rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.1em;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 26px var(--gold-glow);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.btn-primary-lg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  will-change: transform;
  animation: shimmerSweep 3.4s infinite;
}

.btn-primary-lg svg {
  width: 16px;
  height: 16px;
  animation: arrowNudge 1.8s ease-in-out infinite;
}

.btn-primary-lg:hover {
  transform: translate3d(0, -2px, 0) scale(1.02);
  box-shadow: 0 14px 34px rgba(242, 184, 75, 0.38);
}

.btn-primary-lg.full-width {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* ==========================================
   LAYAR 2: TOKO / PRICELIST (toko.html)
   ========================================== */
.shop-section {
  padding: 32px 0 110px;
  min-height: calc(100vh - 64px);
}

.shop-hero-card {
  background: linear-gradient(180deg, #131723 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 20px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
}

.shop-hero-content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 20px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 4px;
}

.section-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.search-box input {
  width: 100%;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 14px 10px 38px;
  border-radius: 999px;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.14);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.filter-pill {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover {
  color: var(--text-main);
  border-color: var(--border-gold);
  transform: translate3d(0, -1px, 0);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #140f02;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--gold-glow);
}

/* Category Blocks */
.shop-categories {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.category-block {
  scroll-margin-top: 84px;
}

.category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(242, 184, 75, 0.09) 0%, rgba(15, 18, 27, 0.6) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-emblem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  flex-shrink: 0;
}

.category-emblem svg {
  width: 18px;
  height: 18px;
}

.category-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
}

.category-title {
  font-family: "Cinzel", serif;
  font-size: 1.16rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.category-subtitle {
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.category-banner {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: #140f02;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 5px 12px;
  border-radius: 999px;
}

.category-info-box {
  background: rgba(242, 184, 75, 0.05);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-info-box strong {
  color: var(--gold-bright);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
}

.category-info-box ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--text-main);
}

/* Items Grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.items-grid.rank-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.item-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(170deg, #131723 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.item-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.item-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(165deg, rgba(242, 184, 75, 0.11) 0%, var(--bg-card) 55%);
  box-shadow: var(--shadow-gold);
}

.featured-ribbon {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}

/* RPG / ItemsAdder Visual Item Showcase Slot */
@keyframes floatItem {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

.item-visual-box {
  position: relative;
  height: 112px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 55%, rgba(242, 184, 75, 0.16) 0%, rgba(7, 9, 14, 0.94) 72%),
    var(--bg-inset);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: zoom-in;
  transition: border-color 0.22s ease, transform 0.22s var(--ease-out-expo);
}

.item-visual-box:hover {
  border-color: var(--border-gold-bright);
}

.item-view-pill {
  position: absolute;
  top: 7px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  background: rgba(5, 6, 9, 0.82);
  border: 1px solid var(--border-gold);
  padding: 2px 7px;
  border-radius: 999px;
  opacity: 0.85;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.item-visual-box:hover .item-view-pill {
  opacity: 1;
  background: var(--gold);
  color: #140f02;
}

.item-view-pill svg {
  width: 11px;
  height: 11px;
}

.item-card:hover .item-visual-box,
.item-card.featured .item-visual-box {
  border-color: var(--border-gold);
  background:
    radial-gradient(circle at 50% 55%, rgba(242, 184, 75, 0.25) 0%, rgba(7, 9, 14, 0.94) 74%),
    var(--bg-inset);
}

.item-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.item-visual-art {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  will-change: transform;
  animation: floatItem 3.6s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(242, 184, 75, 0.22));
  pointer-events: none;
}

.item-visual-art.rank-art {
  width: 170px;
  height: 64px;
}

.ia-sprite-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.item-visual-art svg {
  width: 64px;
  height: 64px;
}

.item-type-tag {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(5, 6, 9, 0.78);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}

.item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.item-name {
  font-size: 0.94rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  color: var(--text-main);
  line-height: 1.25;
}

.price-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  padding: 4px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

/* 3-Column RPG Stat Meter for Paket Custom */
.stat-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 11px;
}

.stat-box {
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px 7px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.stat-val {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 1px;
}

.extra-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 9px;
}

.item-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 13px;
}

.item-note.highlight {
  color: var(--gold-bright);
  font-weight: 700;
}

/* Rank Card Specifics */
.rank-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  margin-bottom: 10px;
}

.rank-sethome {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
}

.kit-badge {
  font-size: 0.7rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.commands-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 13px;
}

.cmd-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  color: var(--text-muted);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: 5px;
}

/* Dual Action Buttons on Card */
.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: auto;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 11px;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-order:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #140f02;
}

.btn-order.in-cart {
  background: var(--gold-soft);
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.btn-order.in-cart:hover {
  background: var(--gold);
  color: #140f02;
}

.btn-quick-buy {
  background: var(--bg-inset);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  padding: 8px 11px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-quick-buy:hover {
  background: var(--gold);
  color: #140f02;
}

/* ==========================================
   FLOATING BOTTOM CART BAR
   ========================================== */
.floating-cart-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 80;
  width: calc(100% - 32px);
  max-width: 560px;
  background: rgba(11, 13, 20, 0.95);
  border: 1px solid var(--border-gold-bright);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75), 0 0 24px rgba(242, 184, 75, 0.2);
  animation: fadeSlideUp 0.3s var(--ease-out-expo) forwards;
}

.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.floating-cart-count {
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.floating-cart-sep {
  color: var(--text-dim);
}

.floating-cart-total strong {
  color: var(--text-main);
}

.floating-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #140f02;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.floating-cart-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================
   SLIDE-OVER CART DRAWER
   ========================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 105;
  width: 100%;
  max-width: 410px;
  background: #0b0d14;
  border-left: 1px solid var(--border-gold);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.34s var(--ease-out-expo);
}

.cart-drawer.open {
  transform: translate3d(0, 0, 0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.drawer-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.drawer-title {
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
}

.drawer-close {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.drawer-close:hover {
  color: var(--text-main);
  border-color: var(--border-gold);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  animation: fadeSlideUp 0.25s var(--ease-out-expo) forwards;
}

.cart-item-info {
  min-width: 0;
  flex: 1;
}

.cart-item-cat {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.cart-item-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.73rem;
  color: var(--text-muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-inset);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.qty-btn:hover {
  border-color: var(--border-gold);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.qty-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  min-width: 18px;
  text-align: center;
}

.drawer-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.cart-total {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
}

.form-label input,
.form-label textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-main);
  padding: 9px 11px;
  font-family: inherit;
  font-size: 0.8rem;
  outline: none;
}

.form-label input:focus,
.form-label textarea:focus {
  border-color: var(--gold);
}

.drawer-actions {
  display: flex;
  gap: 8px;
}

.btn-ghost {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--border-gold);
}

/* ==========================================
   INTERACTIVE ITEM VIEW / INSPECT MODAL
   ========================================== */
.view-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(3, 4, 7, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 16px;
}

.view-modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: linear-gradient(165deg, #121622 0%, #0b0d14 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(242, 184, 75, 0.14);
  animation: fadeSlideUp 0.28s var(--ease-out-expo) forwards;
}

.view-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.view-modal-close:hover {
  color: var(--text-main);
  border-color: var(--border-gold);
}

.view-modal-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.view-stage-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.view-stage {
  position: relative;
  height: 290px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 52%, rgba(242, 184, 75, 0.24) 0%, rgba(7, 9, 14, 0.96) 72%),
    var(--bg-inset);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 900px;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.view-stage:active {
  cursor: grabbing;
}

.view-pedestal-ring {
  position: absolute;
  bottom: 26px;
  width: 150px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px dashed rgba(242, 184, 75, 0.5);
  background: radial-gradient(ellipse at center, rgba(242, 184, 75, 0.22), transparent 70%);
  transform: rotateX(68deg);
  pointer-events: none;
}

.view-3d-object {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.view-3d-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  backface-visibility: visible;
  pointer-events: none;
}

.view-3d-layer.edge-slice {
  filter: brightness(0.62) sepia(0.28) saturate(1.4);
}

.view-3d-layer.front-slice {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.72));
}

.view-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(5, 6, 9, 0.78);
  border: 1px solid var(--border-subtle);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

.view-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.zoom-group,
.nav-item-group {
  display: flex;
  gap: 5px;
}

.view-ctrl-btn {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.view-ctrl-btn:hover {
  color: var(--text-main);
  border-color: var(--border-gold);
}

.view-ctrl-btn.active {
  background: var(--gold);
  color: #140f02;
  border-color: var(--gold);
}

.view-details-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

.view-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.view-modal-title {
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.view-modal-body {
  font-size: 0.82rem;
}

.view-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 680px) {
  .view-modal-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .view-stage {
    height: 220px;
  }

  .view-3d-object {
    width: 170px;
    height: 170px;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 18px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
}

.empty-state p {
  margin-bottom: 12px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg-main);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 120;
  background: #131722;
  color: var(--text-main);
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  animation: fadeSlideUp 0.25s var(--ease-out-expo) forwards;
}

/* Responsive */
@media (max-width: 860px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .store-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-cta-banner .btn-primary-lg {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-ip-pill {
    display: none;
  }

  .hero-section {
    padding: 24px 0 46px;
  }

  .filter-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
