/* ==========================================================================
   BITTY BOX — HAUTE DIGITAL LUXURY CAROUSEL
   Style Reference & Luxury Design System
   ========================================================================== */

:root {
  /* Core Luxury Monochromes & Dark Metals */
  --bg-pitch-black: #000000;
  --bg-obsidian: #050505;
  --bg-card-noir: rgba(8, 8, 10, 0.88);
  --bg-card-hover: rgba(14, 14, 18, 0.95);
  
  /* Luxury Metallics */
  --gold-pure: #d4af37;
  --gold-bright: #f5e1a4;
  --gold-deep: #996515;
  --gold-glow: rgba(212, 175, 55, 0.35);

  --platinum-pure: #e2e8f0;
  --platinum-bright: #ffffff;
  --platinum-deep: #475569;
  --platinum-glow: rgba(226, 232, 240, 0.3);

  --emerald-pure: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  --violet-pure: #c084fc;
  --violet-glow: rgba(192, 132, 252, 0.3);

  /* Hairline Borders */
  --hairline-light: rgba(255, 255, 255, 0.08);
  --hairline-gold: rgba(212, 175, 55, 0.3);
  --hairline-platinum: rgba(226, 232, 240, 0.25);
  --hairline-subtle: rgba(255, 255, 255, 0.04);

  /* Typography */
  --font-serif: "Cormorant Garamond", serif;
  --font-classical: "Cinzel", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-pitch-black);
  color: #f1f5f9;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* User Style Reference: .wrapper */
.wrapper {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: black;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* User Style Reference: .texture */
.texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0),
    radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

/* Ambient Radial Lighting */
.ambient-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
  transition: background 1.2s var(--ease-luxury);
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.hairline-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.luxury-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--hairline-light);
  background: rgba(3, 3, 4, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-crest {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.crest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(18, 18, 22, 0.8);
  border: 1px solid var(--hairline-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.crest-text {
  display: flex;
  flex-direction: column;
}

.crest-title {
  font-family: var(--font-classical);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.crest-subtitle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.header-edition-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--hairline-light);
}

.edition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-pure);
  box-shadow: 0 0 8px var(--gold-pure);
  animation: pulseGold 2.5s infinite;
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.edition-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--hairline-light);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.25s ease;
}

.icon-button:hover {
  color: #ffffff;
  border-color: var(--hairline-gold);
  background: rgba(28, 28, 36, 0.8);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.commission-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(18, 18, 22, 0.9));
  border: 1px solid var(--hairline-gold);
  color: #ffffff;
  font-family: var(--font-classical);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.commission-button:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(28, 28, 36, 1));
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   CAROUSEL MAIN STAGE
   ========================================================================== */
.carousel-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  z-index: 10;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 12, 16, 0.75);
  border: 1px solid var(--hairline-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(12px);
}

.nav-prev { left: 0.75rem; }
.nav-next { right: 0.75rem; }

.nav-arrow:hover {
  border-color: var(--gold-bright);
  background: rgba(24, 24, 32, 0.9);
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-50%) scale(1.08);
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
  perspective: 1200px;
}

/* Luxury Card Frame */
.luxury-card {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  max-width: 1160px;
  min-height: 500px;
  background: var(--bg-card-noir);
  border: 1px solid var(--hairline-light);
  border-radius: 16px;
  padding: 2.75rem 3.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px) scale(0.96) rotateY(-4deg);
  transition: opacity 0.6s var(--ease-luxury), transform 0.6s var(--ease-luxury), visibility 0.6s;
  pointer-events: none;
  overflow: hidden;
}

.luxury-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1) rotateY(0deg);
  pointer-events: auto;
  z-index: 2;
}

.luxury-card.prev-slide {
  transform: translateX(-60px) scale(0.96) rotateY(4deg);
  z-index: 1;
}

/* Card Corner Ornaments */
.card-ornament {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}
.card-ornament.top-left {
  top: 8px; left: 8px;
  border-top: 1px solid var(--gold-pure);
  border-left: 1px solid var(--gold-pure);
}
.card-ornament.top-right {
  top: 8px; right: 8px;
  border-top: 1px solid var(--gold-pure);
  border-right: 1px solid var(--gold-pure);
}
.card-ornament.bottom-left {
  bottom: 8px; left: 8px;
  border-bottom: 1px solid var(--gold-pure);
  border-left: 1px solid var(--gold-pure);
}
.card-ornament.bottom-right {
  bottom: 8px; right: 8px;
  border-bottom: 1px solid var(--gold-pure);
  border-right: 1px solid var(--gold-pure);
}

.card-texture {
  opacity: 0.2;
}

/* Card Interior Grid */
.card-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Editorial Pane */
.editorial-pane {
  display: flex;
  flex-direction: column;
}

.kicker-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.kicker-tag {
  font-family: var(--font-classical);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-pure);
  text-transform: uppercase;
}

.kicker-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.slide-headline {
  font-family: var(--font-serif);
  font-size: 2.65rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-body {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.68;
  font-weight: 300;
  color: rgba(241, 245, 249, 0.78);
  margin-bottom: 1.75rem;
}

.luxury-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: rgba(14, 14, 18, 0.5);
  border: 1px solid var(--hairline-subtle);
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.spec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-pure);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--gold-pure);
}

.spec-title {
  display: block;
  font-family: var(--font-classical);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.spec-desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.luxury-primary-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(18, 18, 24, 0.95));
  border: 1px solid var(--hairline-gold);
  color: #ffffff;
  font-family: var(--font-classical);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.luxury-primary-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(28, 28, 36, 1));
  border-color: var(--gold-bright);
  box-shadow: 0 0 25px var(--gold-glow);
  transform: translateY(-2px);
}

.luxury-secondary-btn {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.3rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--hairline-light);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-classical);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.luxury-secondary-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

/* Right Showcase Pane */
.showcase-pane {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-glass-card {
  width: 100%;
  max-width: 420px;
  background: rgba(12, 12, 16, 0.7);
  border: 1px solid var(--hairline-light);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hairline-subtle);
}

.glass-title {
  font-family: var(--font-classical);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

.badge-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.badge-pill.gold {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--hairline-gold);
  color: var(--gold-bright);
}

.badge-pill.platinum {
  background: rgba(226, 232, 240, 0.15);
  border: 1px solid var(--hairline-platinum);
  color: var(--platinum-bright);
}

.badge-pill.emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.badge-pill.violet {
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: #e9d5ff;
}

/* 3D Isometric Luxury Cube Widget */
.isometric-cube-container {
  position: relative;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-orbital-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.25);
  animation: spinSlow 18s linear infinite;
}

.cube-orbital-ring-dashed {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: spinSlowReverse 24s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.luxury-3d-cube {
  position: relative;
  width: 64px;
  height: 64px;
  transform-style: preserve-3d;
  transform: rotateX(25deg) rotateY(38deg);
  animation: floatCube 6s ease-in-out infinite;
}

@keyframes floatCube {
  0%, 100% { transform: rotateX(22deg) rotateY(35deg) translateY(0); }
  50% { transform: rotateX(28deg) rotateY(45deg) translateY(-8px); }
}

.cube-face {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  background: rgba(18, 18, 24, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.cube-face.front  { transform: translateZ(32px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(32px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(32px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(32px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(32px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(32px); }

/* In-URL Payload Bar */
.capsule-payload-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(6, 6, 8, 0.9);
  border: 1px solid var(--hairline-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.payload-origin {
  color: var(--gold-bright);
  font-weight: 600;
}

.payload-hash {
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.payload-ratio {
  color: #34d399;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.compression-meter {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.meter-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.meter-bar-fill.gold {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 8px var(--gold-pure);
}

.text-gold { color: var(--gold-bright); }
.text-platinum { color: var(--platinum-bright); }
.text-emerald { color: #34d399; }
.text-violet { color: #c084fc; }

/* Keypad Widget (Slide 2) */
.luxury-keypad-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.keypad-status-screen {
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(6, 6, 8, 0.9);
  border: 1px solid var(--hairline-platinum);
  text-align: center;
}

.screen-label {
  font-family: var(--font-classical);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--hairline-platinum);
  background: transparent;
  transition: all 0.2s ease;
}

.pin-dot.active {
  background: var(--platinum-bright);
  box-shadow: 0 0 8px var(--platinum-bright);
}

.entropy-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.keypad-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.key-btn {
  padding: 0.6rem;
  border-radius: 6px;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid var(--hairline-light);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.key-btn:hover {
  background: rgba(28, 28, 36, 0.95);
  border-color: var(--platinum-bright);
  box-shadow: 0 0 10px var(--platinum-glow);
}

.key-btn.key-action {
  color: #f87171;
  font-size: 0.7rem;
}

.key-btn.key-unlock {
  color: #34d399;
  font-size: 0.7rem;
}

.cipher-verification-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 0.5rem;
  border-top: 1px solid var(--hairline-subtle);
}

/* Horological Clock Face Widget (Slide 3) */
.luxury-chrono-face {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--hairline-gold);
  background: radial-gradient(circle, rgba(20, 18, 14, 0.8) 0%, rgba(6, 6, 8, 0.95) 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chrono-dial-rim {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.3);
}

.chrono-ticks {
  position: absolute;
  inset: 0;
  font-family: var(--font-classical);
  font-size: 0.6rem;
  color: var(--gold-bright);
}

.tick { position: absolute; }
.tick-12 { top: 10px; left: 50%; transform: translateX(-50%); }
.tick-3  { right: 12px; top: 50%; transform: translateY(-50%); }
.tick-6  { bottom: 10px; left: 50%; transform: translateX(-50%); }
.tick-9  { left: 12px; top: 50%; transform: translateY(-50%); }

.chrono-center-jewel {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 6px var(--gold-bright);
  z-index: 5;
}

.chrono-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: 50% 100%;
  border-radius: 9999px;
}

.hour-hand {
  width: 3px;
  height: 35px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
}

.minute-hand {
  width: 2px;
  height: 48px;
  background: var(--gold-bright);
  transform: translateX(-50%) rotate(135deg);
}

.second-hand {
  width: 1px;
  height: 54px;
  background: #f87171;
  transform: translateX(-50%) rotate(240deg);
  transition: transform 0.2s cubic-bezier(0.4, 2.08, 0.55, 0.44);
}

.chrono-digital-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: 8px;
  background: rgba(6, 6, 8, 0.9);
  border: 1px solid var(--hairline-gold);
}

.chrono-time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chrono-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.chrono-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
}

.chrono-colon {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold-bright);
  animation: pulseGold 1s infinite;
}

/* Scarcity Allocation Gems Widget (Slide 4) */
.edition-quota-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(6, 6, 8, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.edition-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-classical);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.edition-tier { color: #a7f3d0; }
.edition-remaining { font-family: var(--font-mono); color: rgba(255, 255, 255, 0.5); }

.edition-gems-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.edition-gem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.2rem;
  border-radius: 6px;
  border: 1px solid var(--hairline-light);
  background: rgba(18, 18, 24, 0.6);
  transition: all 0.3s ease;
}

.edition-gem.consumed {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.edition-gem.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.18);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  animation: pulseGold 2s infinite;
}

.edition-gem.locked {
  opacity: 0.4;
}

.gem-num {
  font-family: var(--font-classical);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.gem-state {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
}

.edition-footer-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Voice Concierge Widget (Slide 5) */
.luxury-voice-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.neural-sphere {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sphere-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35) 0%, transparent 70%);
  animation: pulseViolet 3s infinite;
}

@keyframes pulseViolet {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.9; }
}

.sphere-core {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(192, 132, 252, 0.6);
  background: rgba(18, 12, 28, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
}

.audio-waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
}

.wave-bar {
  width: 3px;
  height: var(--height);
  background: linear-gradient(180deg, #c084fc, #581c87);
  border-radius: 9999px;
  animation: waveMotion 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; }
.wave-bar:nth-child(6) { animation-delay: 0.75s; }
.wave-bar:nth-child(7) { animation-delay: 0.9s; }
.wave-bar:nth-child(8) { animation-delay: 1.05s; }

@keyframes waveMotion {
  0% { transform: scaleY(0.4); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.voice-transcript-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  background: rgba(6, 6, 8, 0.9);
  border: 1px solid rgba(192, 132, 252, 0.3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #e9d5ff;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 6px #c084fc;
}

/* ==========================================================================
   FOOTER HUD & ROMAN NUMERAL PILLS
   ========================================================================== */
.luxury-footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2.5rem;
  border-top: 1px solid var(--hairline-light);
  background: rgba(3, 3, 4, 0.75);
  backdrop-filter: blur(16px);
}

.footer-step-counter {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.step-current {
  color: var(--gold-bright);
  font-weight: 700;
}

.step-slash {
  color: rgba(255, 255, 255, 0.3);
}

.step-total {
  color: rgba(255, 255, 255, 0.5);
}

.progress-bar-container {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-pure), #ffffff);
  box-shadow: 0 0 8px var(--gold-pure);
  transition: width 0.1s linear;
}

.roman-pills-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.roman-pill {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid var(--hairline-light);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-classical);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roman-pill:hover {
  color: #ffffff;
  border-color: var(--hairline-gold);
  background: rgba(24, 24, 32, 0.9);
}

.roman-pill.active {
  color: #000000;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-pure));
  border-color: #ffffff;
  box-shadow: 0 0 16px var(--gold-glow);
  transform: scale(1.1);
}

.pill-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  background: rgba(8, 8, 12, 0.95);
  border: 1px solid var(--hairline-gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold-bright);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
}

.roman-pill:hover .pill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer-keyboard-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-keyboard-hint kbd {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hairline-light);
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   USER STYLE REFERENCE: BESPOKE COMMISSION MODAL / FORM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
}

.form-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
}

/* USER STYLE REFERENCE: .form */
.form {
  position: relative;
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.modal-close-btn:hover {
  opacity: 1;
}

/* USER STYLE REFERENCE: .title */
.form .title {
  font-family: var(--font-classical);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-subtitle {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 0.25rem;
}

.lock-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.radio-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.4rem;
  border-radius: 6px;
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid var(--hairline-light);
  font-family: var(--font-classical);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-pill input {
  display: none;
}

.radio-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

/* USER STYLE REFERENCE: .input-container */
.input-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #020202;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.input-container:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* USER STYLE REFERENCE: .input */
.input-container .input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #ffffff;
}

.input-container .input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.textarea-container {
  padding: 0.75rem 1rem;
  background: #020202;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.textarea-container:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffffff;
  resize: vertical;
}

.textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* USER STYLE REFERENCE: .login-button */
.login-button {
  margin-top: 0.5rem;
}

.login-button .input {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-deep) 100%);
  border: 1px solid #ffffff;
  color: #000000;
  font-family: var(--font-classical);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.login-button .input:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  transform: translateY(-1px);
}

/* Success Toast */
.success-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 150;
  padding: 0.85rem 1.5rem;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--hairline-gold);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: all 0.4s var(--ease-luxury);
  pointer-events: none;
}

.success-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-classical);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .luxury-card {
    padding: 2.25rem 2.5rem;
  }
  .card-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .slide-headline {
    font-size: 2.15rem;
  }
}

@media (max-width: 860px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
  }
  .wrapper {
    height: auto;
    min-height: 100dvh;
  }
  .luxury-header {
    padding: 0.85rem 1.25rem;
  }
  .header-edition-badge {
    display: none;
  }
  .carousel-stage {
    padding: 0.75rem 2.85rem;
    width: 100%;
    max-width: 100%;
  }
  .nav-arrow {
    display: flex;
    width: 38px;
    height: 38px;
    background: rgba(12, 12, 16, 0.85);
    border: 1px solid var(--hairline-gold);
    z-index: 40;
  }
  .nav-arrow svg {
    width: 20px;
    height: 20px;
  }
  .nav-prev { left: 0.35rem; }
  .nav-next { right: 0.35rem; }
  .carousel-viewport {
    min-height: auto;
    width: 100%;
  }
  .luxury-card {
    padding: 1.5rem 1.25rem;
    min-height: auto;
    max-width: 100%;
    transform: translateX(40px) scale(0.98);
  }
  .luxury-card.active {
    transform: translateX(0) scale(1);
  }
  .luxury-card.prev-slide {
    transform: translateX(-40px) scale(0.98);
  }
  .card-content-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .slide-headline {
    font-size: 1.85rem;
  }
  .showcase-glass-card {
    max-width: 100%;
  }
  .luxury-footer {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
  }
  .footer-keyboard-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .luxury-header {
    padding: 0.75rem 0.85rem;
  }
  .crest-title {
    font-size: 0.8rem;
  }
  .crest-subtitle {
    font-size: 0.55rem;
  }
  .carousel-stage {
    padding: 0.5rem 2.25rem;
  }
  .nav-arrow {
    width: 32px;
    height: 32px;
  }
  .nav-arrow svg {
    width: 16px;
    height: 16px;
  }
  .nav-prev { left: 0.15rem; }
  .nav-next { right: 0.15rem; }
  .luxury-card {
    padding: 1.25rem 0.85rem;
    border-radius: 12px;
  }
  .slide-headline {
    font-size: 1.45rem;
  }
  .slide-body {
    font-size: 0.82rem;
    line-height: 1.55;
  }
  .slide-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .luxury-primary-btn, .luxury-secondary-btn {
    width: 100%;
    justify-content: center;
  }
  .progress-bar-container {
    width: 90px;
  }
  .roman-pill {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
}
