/* ============================================================================
   SHANATOMY — 3-SECTION ARCHITECTURAL STOREFRONT
   1. HOMEPAGE: Exact Room & Pillar (roomandpillar.com) + 3D Rotating Human Skull
   2. STORE: Exact Jesper Landberg (jesperlandberg.com) WebGL 3D S-Wave SHA-NA-TO-MY
   3. CONTACT: 24/7 Architectural Support & Direct Contact Hub
   ============================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --size: 375;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --rp-lime: #d4ff3f;
  --rp-bg: #0d0e12;
}

@media (min-width: 650px) {
  :root {
    --size: 1440;
  }
}

html {
  background-color: #090a0d;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(7px, 16px, calc(10 * 100vw / var(--size)));
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-synthesis: none;
  font-kerning: none;
  font-variant-ligatures: none;
  font-feature-settings: "kern" 0, "liga" 0, "clig" 0, "calt" 0;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}

html.grabbable,
html.grabbable body {
  cursor: default;
}

body[data-active-section="store"] {
  cursor: grab;
}

html.grabbing,
html.grabbing * {
  cursor: grabbing !important;
}

body {
  background-color: #090a0d;
  color: #ffffff;
  font-size: 1.4rem;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  position: fixed;
  inset: 0;
}

button, a, input {
  all: unset;
  box-sizing: border-box;
}

button, a {
  cursor: pointer;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* ============================================================================
   1. TYPOGRAPHY & HUD LABELS
   ============================================================================ */
.label {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

@media (min-width: 650px) {
  .label {
    font-size: 1.1rem;
  }
}

.is-dim {
  opacity: 0.35;
}

/* ============================================================================
   2. UNIFIED GLOBAL ATMOSPHERIC BACKDROP & 3-SECTION VIEWPORT ROUTER
   ============================================================================ */
.rp-global-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, #161922 0%, #0d0f15 54%, #07080b 100%);
}

.rp-ambient-aura {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(
      620px circle at var(--aura-x, 50%) var(--aura-y, 46%),
      rgba(212, 255, 63, 0.068) 0%,
      rgba(148, 195, 255, 0.042) 38%,
      rgba(0, 0, 0, 0) 74%
    ),
    radial-gradient(
      900px circle at 50% 44%,
      rgba(235, 220, 190, 0.045) 0%,
      rgba(0, 0, 0, 0) 68%
    );
  transition: opacity 0.6s ease;
}

.rp-ambient-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 3;
  opacity: 0.9;
}

.rp-section {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.48s var(--ease-spring);
  z-index: 5;
}

.rp-section.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

/* ============================================================================
   3. UNIFIED TOP ARCHITECTURAL HEADER BAR (Shared Across Home · Store · Contact)
   ============================================================================ */
.rp-home-section,
.rp-store-section,
.rp-contact-section {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rp-global-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 38;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding: 1.85rem 2.6rem 0;
  transition: opacity 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
}

body.detail-open .rp-global-top-bar,
body.disc-open .rp-global-top-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1.2rem);
}

.rp-brand-word {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 1.58rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  flex-shrink: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rp-brand-word:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.rp-brand-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--rp-lime);
  box-shadow: 0 0 12px rgba(212, 255, 63, 0.85);
}

.rp-hairline {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  overflow: hidden;
}

.rp-hairline-pulse {
  position: absolute;
  top: 0;
  left: -30%;
  width: 28%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 255, 63, 0.65) 45%,
    rgba(255, 255, 255, 0.9) 55%,
    transparent 100%
  );
  animation: rpHairlineScan 7.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.rp-hairline-pulse-delayed {
  animation-delay: 3.75s;
}

@keyframes rpHairlineScan {
  0% { left: -30%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

.rp-amp {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 17, 23, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.rp-top-endcap {
  width: 0.56rem;
  height: 0.56rem;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Rounded-Square Dot-Matrix Bento Background Patches (Shared Across All 3 Sections) */
.rp-dot-bento-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  transform: translate3d(var(--bento-px, 0px), var(--bento-py, 0px), 0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-dot-patch {
  position: absolute;
  border-radius: 3.2rem;
  background-image: radial-gradient(rgba(255, 255, 255, 0.135) 1.1px, transparent 1.1px);
  background-size: 6.5px 6.5px;
  opacity: 0.72;
}

.rp-patch-1 {
  width: 24rem;
  height: 22rem;
  left: 20%;
  top: 14%;
  opacity: 0.45;
}

.rp-patch-2 {
  width: 25rem;
  height: 22rem;
  left: 36%;
  top: 10%;
  opacity: 0.85;
}

.rp-patch-3 {
  width: 26rem;
  height: 23rem;
  left: 60%;
  top: 12%;
  opacity: 0.52;
}

.rp-patch-4 {
  width: 21rem;
  height: 23rem;
  left: 19%;
  top: 39%;
  opacity: 0.65;
}

.rp-patch-5 {
  width: 24rem;
  height: 21rem;
  left: 61%;
  top: 40%;
  opacity: 0.55;
}

.rp-patch-6 {
  width: 27rem;
  height: 20rem;
  left: 31%;
  bottom: 10%;
  opacity: 0.68;
}

/* Centerpiece Wrapper: SHANATOMY Title Directly Above Large 3D Real Scanned Skull */
.rp-home-center {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  padding: 5.0rem 3rem 5.8rem;
  gap: 0.2rem;
}

/* Giant SHANATOMY Headline Crowned Above the 3D Skull */
.rp-hero-type-wrap {
  position: relative;
  width: 100%;
  max-width: 112rem;
  z-index: 14;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.4rem;
}

.rp-giant-headline {
  font-family: var(--font-sans);
  font-size: clamp(3.8rem, 6.8vw, 8.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.82);
}

@media (max-width: 760px) {
  .rp-giant-headline {
    white-space: normal;
    font-size: clamp(3.2rem, 10vw, 5.4rem);
  }
}

/* Large 3D Scanned Anatomical Human Skull Stage Positioned Below SHANATOMY */
.rp-skull-stage {
  position: relative;
  width: clamp(38rem, 64svh, 66rem);
  height: clamp(38rem, 64svh, 66rem);
  margin-top: -1.4rem;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  pointer-events: auto;
}

.rp-skull-stage:active {
  cursor: grabbing;
}

#homeSkullCanvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 38px 76px rgba(0, 0, 0, 0.9));
}

/* ============================================================================
   4. BOTTOM FLOATING NAVIGATION DOCK (Sleek Low-Profile Architectural Capsule)
   ============================================================================ */
.rp-bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.36rem 0.42rem 0.36rem 0.9rem;
  border-radius: 9999px;
  background: rgba(16, 18, 24, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(0, 0, 0, 0.45);
  transition: opacity 0.45s var(--ease-spring), transform 0.45s var(--ease-spring), border-color 0.3s ease;
}

.rp-bottom-dock:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

body.detail-open .rp-bottom-dock,
body.disc-open .rp-bottom-dock {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 2rem);
}

.rp-dock-logo {
  width: 2.3rem;
  height: 2.3rem;
  padding-right: 0.45rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.3s var(--ease-out-expo), color 0.3s ease;
}

.rp-dock-logo svg {
  width: 1.55rem;
  height: 1.55rem;
}

.rp-dock-logo:hover {
  color: var(--rp-lime);
  transform: scale(1.05);
}

.rp-dock-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.2rem;
  border-radius: 9999px;
}

.rp-dock-link {
  padding: 0.46rem 1.05rem;
  border-radius: 9999px;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.25s ease, background 0.25s ease;
}

.rp-dock-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.rp-dock-link.is-active {
  color: var(--rp-lime);
  background: rgba(212, 255, 63, 0.12);
}

.rp-dock-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.7rem;
  padding: 0 1.2rem;
  border-radius: 9999px;
  background: var(--rp-lime);
  color: #090a0d;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.28s var(--ease-out-expo), filter 0.28s ease;
}

.rp-dock-cta:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.06);
}

/* ============================================================================
   5. SECTION 3: CONTACT & SUPPORT HUB (#sectionContact)
   (Left: Concise App Overview Card · Right: Compact Contact Footers)
   ============================================================================ */
.rp-contact-container {
  position: relative;
  z-index: 12;
  flex: 1 1 auto;
  width: 100%;
  max-width: 114rem;
  margin: 0 auto;
  padding: 4.8rem 3.2rem 6.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rp-contact-split-layout {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 960px) {
  .rp-contact-split-layout {
    grid-template-columns: 1fr;
  }
}

/* Large Left Card: Concise App Overview & How It Works */
.rp-tos-card {
  position: relative;
  padding: 2.1rem 2.5rem;
  border-radius: 2rem;
  background: rgba(16, 18, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
}

.rp-tos-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rp-tos-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rp-tos-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--rp-lime);
  text-transform: uppercase;
}

.rp-tos-title {
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
}

.rp-tos-lead {
  font-size: 1.22rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.86);
}

.rp-tos-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.rp-tos-clauses {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.rp-tos-clause {
  padding: 0.9rem 1.25rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.rp-tos-clause.rp-tos-clause-highlight {
  background: rgba(212, 255, 63, 0.055);
  border-color: rgba(212, 255, 63, 0.24);
}

.rp-tos-clause-num {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rp-lime);
  text-transform: uppercase;
}

.rp-tos-clause p {
  font-size: 1.14rem;
  line-height: 1.44;
  color: rgba(255, 255, 255, 0.74);
}

.rp-tos-clause strong {
  color: #ffffff;
  font-weight: 600;
}

.rp-tos-clause code {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.08rem 0.4rem;
  border-radius: 0.35rem;
}

/* Right Column: Centered Medium-Large "Contact" Heading + Discord & Zalo Icon Footer + Credit */
.rp-contact-right-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.6rem 2.4rem;
  gap: 2.2rem;
}

.rp-contact-hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.rp-contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-lime);
  opacity: 0.88;
}

.rp-contact-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(3.6rem, 4.8vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #ffffff;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
}

.rp-contact-minimal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.65rem;
  width: 100%;
  max-width: 36rem;
}

.rp-contact-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}

.rp-social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.35rem 0.55rem 0.6rem;
  border-radius: 9999px;
  background: rgba(18, 20, 27, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  color: #ffffff;
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.rp-social-icon-link:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(212, 255, 63, 0.55);
  background: rgba(26, 30, 40, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72), 0 0 24px rgba(212, 255, 63, 0.16);
}

.rp-social-icon-circle {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.3s ease, color 0.3s ease;
}

.rp-social-icon-link:hover .rp-social-icon-circle {
  background: var(--rp-lime);
  color: #090a0d;
}

.rp-social-icon-circle svg {
  width: 1.48rem;
  height: 1.48rem;
}

.rp-social-icon-label {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.rp-contact-credit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding-top: 0.3rem;
}

.rp-contact-credit-line {
  flex: 1 1 auto;
  max-width: 4.8rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.rp-contact-credit {
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.rp-contact-credit strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.rp-contact-badge {
  padding: 0.22rem 0.75rem;
  border-radius: 9999px;
  background: rgba(212, 255, 63, 0.12);
  color: var(--rp-lime);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ============================================================================
   6. SECTION 2: STORE — ARCHITECTURAL STUDIO HORIZON & 3D S-WAVE STRIP
      (With Slow, Graceful Champagne-Gold Turn-On Bloom When Entering Store)
   ============================================================================ */
.rp-store-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.rp-store-stage-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 72% 46% at 50% 45%,
      rgba(245, 208, 138, 0.072) 0%,
      rgba(94, 234, 212, 0.045) 42%,
      rgba(212, 255, 63, 0.024) 68%,
      rgba(0, 0, 0, 0) 100%
    );
  opacity: 0;
  transform: scale(0.88);
  filter: blur(12px);
  transition:
    opacity 2.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 2.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.rp-section.is-active .rp-store-stage-glow {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
  transition-delay: 0.12s;
}

.rp-store-orbital-rings {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(84vw, 108rem);
  height: min(84vw, 108rem);
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 110px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition:
    opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rp-section.is-active .rp-store-orbital-rings {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.18s;
}

.rp-store-orbital-rings::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

.rp-store-orbital-rings::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 20%,
    rgba(212, 255, 63, 0.14) 50%,
    rgba(255, 255, 255, 0.07) 80%,
    transparent 100%
  );
}

.rp-store-horizon-beam {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 73.5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 208, 138, 0.18) 22%,
    rgba(245, 208, 138, 0.48) 50%,
    rgba(245, 208, 138, 0.18) 78%,
    transparent 100%
  );
  box-shadow: 0 0 28px rgba(245, 208, 138, 0.28);
  z-index: 2;
  opacity: 0;
  transform: scaleX(0.14);
  filter: blur(6px);
  transition:
    opacity 1.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.rp-section.is-active .rp-store-horizon-beam {
  opacity: 1;
  transform: scaleX(1);
  filter: blur(0px);
  transition-delay: 0.16s;
}

.rp-store-satin-floor {
  position: absolute;
  left: 0;
  right: 0;
  top: 73.5%;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 76% 95% at 50% 0%,
      rgba(245, 208, 138, 0.095) 0%,
      rgba(94, 234, 212, 0.042) 38%,
      rgba(9, 11, 16, 0.78) 84%
    ),
    linear-gradient(
      180deg,
      rgba(245, 208, 138, 0.045) 0%,
      rgba(10, 12, 18, 0.62) 38%,
      rgba(7, 8, 11, 0.92) 100%
    );
  z-index: 1;
  opacity: 0;
  transform: translateY(20px) scaleY(0.84);
  transform-origin: top center;
  filter: blur(16px);
  transition:
    opacity 2.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.25s cubic-bezier(0.16, 1, 0.3, 1),
    filter 2.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rp-section.is-active .rp-store-satin-floor {
  opacity: 1;
  transform: translateY(0px) scaleY(1);
  filter: blur(0px);
  transition-delay: 0.25s;
  animation: rpChampagneBreathe 6.5s ease-in-out 2.5s infinite alternate;
}

@keyframes rpChampagneBreathe {
  0% { opacity: 0.82; }
  100% { opacity: 1; }
}

.gl-floor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

#glFloorCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.jl-preloader {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s var(--ease-out-expo), visibility 0.65s;
}

.jl-preloader.done {
  opacity: 0;
  visibility: hidden;
}

.jl-preloader-bars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jl-bar {
  width: 6rem;
  height: 0.4rem;
  background: rgba(255, 255, 255, 0.92);
  transform-origin: left center;
  animation: jlBarLoad 0.55s var(--ease-out-expo) forwards;
}

.jl-bar:nth-child(2) { animation-delay: 0.07s; }
.jl-bar:nth-child(3) { animation-delay: 0.14s; }

@keyframes jlBarLoad {
  from { transform: scaleX(0); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

/* Bottom Minimal Frame HUD inside Store Section (Top Bar is Unified Globally) */
.jl-hud {
  position: absolute;
  inset: auto 2rem 1.7rem;
  z-index: 30;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 650px) {
  .jl-hud {
    inset: auto 2.6rem 1.85rem;
  }
}

.jl-hud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jl-hud-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.jl-hud-link {
  pointer-events: auto;
  color: #ffffff;
  transition: opacity 0.35s var(--ease-out-expo);
  padding: 0.3rem 0;
}

.jl-hud-link:hover {
  opacity: 0.6;
}

.jl-hud-sep {
  opacity: 0.35;
}

.jl-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  transition: filter 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
}

body.disc-open .jl-stage,
body.disc-open .rp-home-section,
body.disc-open .rp-contact-section {
  filter: blur(18px) brightness(0.32);
  transform: scale(0.95);
  pointer-events: none;
}

body.detail-open .jl-stage,
body.detail-open .jl-hud {
  opacity: 0;
  pointer-events: none;
}

.jl-strip-section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.flashcard-marquee-viewport {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  overflow: visible;
}

.flashcard-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  will-change: transform;
  padding: 0 2rem;
}

.pricing-flashcard {
  position: relative;
  height: 43.5svh;
  max-height: 55rem;
  min-height: 27rem;
  aspect-ratio: 16 / 10.4;
  flex: 0 0 auto;
  border-radius: 2rem;
  cursor: pointer;
}

body.webgl-strip-active .pricing-flashcard {
  opacity: 0 !important;
}

.flashcard-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
}

.flashcard-face {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  overflow: hidden;
  background: #141418;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.flashcard-back {
  display: none;
}

/* ============================================================================
   7. ULTRA-MINIMALIST CARD DETAIL SHEET
   (Gentle Zoom-In + Silky Dual-Layer Outgoing/Incoming Carousel Transition)
   ============================================================================ */
.jl-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.62s;
  user-select: none;
}

.jl-detail-backdrop.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Left & Right Peek Cards on the outer black margins */
.jl-detail-peek {
  --peek-shift-x: 0px;
  --peek-dyn-opacity: 0.28;
  position: fixed;
  top: 10rem;
  bottom: 10rem;
  width: 5rem;
  border-radius: 2rem;
  background: #ffffff;
  opacity: 0;
  cursor: pointer;
  z-index: 46;
  transform: scale(0.9);
  transition: opacity 0.48s var(--ease-spring), transform 0.48s var(--ease-spring);
}

.jl-detail-backdrop.open .jl-detail-peek {
  opacity: var(--peek-dyn-opacity);
  transform: scale(1) translate3d(var(--peek-shift-x), 0, 0);
}

.jl-detail-peek.is-scrubbing {
  transition: none !important;
}

.jl-detail-peek:hover {
  opacity: 0.62 !important;
}

.jl-detail-peek-left {
  left: -3.6rem;
}
.jl-detail-peek-left:hover {
  transform: translate3d(0.7rem, 0, 0) !important;
}

.jl-detail-peek-right {
  right: -3.6rem;
}
.jl-detail-peek-right:hover {
  transform: translate3d(-0.7rem, 0, 0) !important;
}

/* Main White Sheet with Gentle Zoom-In Morph & Smooth Carousel Physics */
.jl-detail-sheet {
  --zoom-from-x: 0px;
  --zoom-from-y: 28px;
  --drag-offset-x: 0px;
  --drag-scale: 1;
  position: fixed;
  top: 2.2rem;
  bottom: 2.2rem;
  left: 3.5rem;
  right: 3.5rem;
  background: #ffffff;
  color: #000000;
  border-radius: 2.2rem;
  overflow: hidden;
  padding: 3.5rem;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.88);
  opacity: 0;
  transform: translate3d(var(--zoom-from-x), var(--zoom-from-y), 0) scale(0.74);
  transition:
    transform 0.64s var(--ease-spring),
    opacity 0.48s var(--ease-spring);
  cursor: grab;
  will-change: transform, opacity;
}

.jl-detail-backdrop.open .jl-detail-sheet {
  opacity: 1;
  transform: translate3d(var(--drag-offset-x), 0, 0) scale(var(--drag-scale));
}

.jl-detail-sheet.is-dragging-detail {
  cursor: grabbing;
  transition: none !important;
}

@media (min-width: 900px) {
  .jl-detail-sheet {
    left: 5rem;
    right: 5rem;
    padding: 4.5rem 6.5rem;
  }
}

/* Dual-Layer Stage inside #detailWhiteSheet for Silky Outgoing + Incoming Slide */
.jl-detail-live-stage,
.jl-detail-transition-ghost {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  will-change: transform, opacity;
}

@media (min-width: 900px) {
  .jl-detail-live-stage,
  .jl-detail-transition-ghost {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
}

.jl-detail-transition-ghost {
  position: absolute;
  inset: 3.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 4;
}

@media (min-width: 900px) {
  .jl-detail-transition-ghost {
    inset: 4.5rem 6.5rem;
  }
}

.jl-detail-transition-ghost.is-animating {
  visibility: visible;
}

.jl-detail-transition-ghost canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Top-Right Round Black Close Button (✕) */
.jl-detail-close-btn {
  position: absolute;
  top: 2.8rem;
  right: 2.8rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: background 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.jl-detail-close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out-expo);
}

.jl-detail-close-btn:hover {
  background: transparent;
  color: #000000;
  transform: scale(1.05);
}

.jl-detail-close-btn:hover svg {
  transform: rotate(90deg);
}

/* Left Column: Ultra-Minimalist Syllable Pill, Title, Price Hero & Buy Action */
.jl-detail-copy {
  flex: 1 1 0%;
  min-width: 24rem;
  max-width: 44rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.jl-detail-syllable-pill {
  display: inline-flex;
  align-items: center;
  height: 2.4rem;
  padding: 0 1.15rem;
  border-radius: 9999px;
  background: #f2f2f4;
  color: #52525b;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.jl-detail-title {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 3.8vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #000000;
}

.jl-detail-price-hero {
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: clamp(3.6rem, 4.8vw, 6.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  color: #09090b;
}

.jl-detail-desc {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #71717a;
}

.jl-detail-pills-row {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.jl-detail-open-btn {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.jl-detail-open-btn svg {
  width: 1.4rem;
  height: 1.4rem;
  pointer-events: none;
}

.jl-detail-open-btn:hover {
  background: transparent;
  color: #000000;
  transform: scale(1.06);
}

.jl-detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.jl-detail-tag-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.4rem;
  padding: 0 1.65rem;
  border-radius: 9999px;
  background: #f1f1f3;
  color: #18181b;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition: color 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

.jl-detail-tag-pill.is-cta {
  background: #09090b;
  color: #ffffff;
  padding: 0 2.1rem;
  font-weight: 600;
  cursor: pointer;
}

.jl-detail-tag-pill:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.jl-detail-footer-meta {
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jl-detail-progress {
  width: 2.4rem;
  height: 2.4rem;
}

.jl-detail-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.jl-detail-progress .ring-track {
  fill: none;
  stroke: rgba(0, 0, 0, 0.14);
  stroke-width: 2;
}

.jl-detail-progress .ring-fill {
  fill: none;
  stroke: #000000;
  stroke-width: 2;
  stroke-dasharray: 69.115;
  stroke-dashoffset: 51.8;
  transition: stroke-dashoffset 0.4s var(--ease-out-expo);
}

.jl-detail-drag-hint {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
}

/* Right Column: Single Crisp Card Artwork Showcase */
.jl-detail-stack-viewport {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 900px) {
  .jl-detail-stack-viewport {
    width: 60%;
    max-width: 72rem;
    flex: 0 0 58%;
  }
}

.jl-detail-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.jl-detail-showcase-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  border-radius: 1.8rem;
  background: #0d0f13;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  transform: scale(0.96);
  transition: transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}

.jl-detail-backdrop.open .jl-detail-showcase-card {
  transform: scale(1);
}

#detailHeroCanvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.jl-detail-hero-topbar {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.jl-detail-hero-buy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.8rem;
  padding: 0 0.5rem 0 1.3rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #000000;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-out-expo);
}

.jl-detail-hero-buy-pill:hover {
  transform: scale(1.04);
}

.pill-amber-dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ============================================================================
   8. FULL INDEX OVERLAY ("/full") & CENTER IRIS DISC MODALS
   (With Fixed .jl-disc-header & Pixel-Exact #btnCloseCheckoutModal Hitbox)
   ============================================================================ */
.jl-full-index {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.jl-full-index.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.jl-full-scroll {
  width: 100%;
  max-width: 78rem;
  max-height: 76svh;
  overflow-y: auto;
  scrollbar-width: none;
}

.jl-full-scroll::-webkit-scrollbar {
  display: none;
}

.jl-full-table {
  width: 100%;
  border-collapse: collapse;
}

.jl-full-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.jl-full-table tr:hover {
  opacity: 0.65;
}

.jl-full-table td {
  padding: 1.2rem 0.6rem;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

/* Center Iris Disc Portals (Profile, HWID Reset, VietQR Checkout) */
.jl-disc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.jl-disc-backdrop.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.jl-disc-modal {
  position: relative;
  width: 100%;
  max-width: 46rem;
  background: #0c0d12;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2.4rem;
  padding: 2.6rem 3rem 3rem;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.95);
  transform: scale(0.9);
  transition: transform 0.55s var(--ease-out-expo);
}

.jl-disc-backdrop.open .jl-disc-modal {
  transform: scale(1);
}

.jl-checkout-disc {
  max-width: 58rem;
}

/* Fixed Flex Header Bar inside Modal: aligns Eyebrow Title & Close Button on same row */
.jl-disc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jl-round-btn {
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 3.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}

.jl-round-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  pointer-events: none;
}

.jl-round-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.06);
}

.jl-round-btn-light {
  background: #ffffff;
  color: #000000;
}

.jl-disc-close {
  position: relative;
  top: auto;
  right: auto;
  margin: 0;
}

.jl-disc-eyebrow {
  opacity: 0.65;
  margin: 0;
}

.jl-disc-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.jl-disc-copy {
  font-size: 1.35rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.2rem;
}

.jl-disc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.jl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.2rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}

.jl-pill:hover {
  background: #ffffff;
  color: #000000;
}

.jl-pill-light {
  background: #ffffff;
  color: #000000;
  width: 100%;
}

.jl-pill-muted {
  opacity: 0.5;
  pointer-events: none;
}

.jl-pill-input-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.jl-pill-input {
  flex: 1;
  height: 3.6rem;
  padding: 0 1.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.15rem;
}

.jl-pill-input:focus {
  border-color: #ffffff;
}

.hwid-status-box {
  display: none;
  margin-top: 1.2rem;
  padding: 1.1rem 1.4rem;
  border-radius: 1.2rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.hwid-status-box.success {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.hwid-status-box.error {
  display: block;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

.jl-checkout-grid {
  display: grid;
  grid-template-columns: 16.5rem 1fr;
  gap: 2.2rem;
  align-items: start;
  margin-top: 0.4rem;
}

@media (max-width: 650px) {
  .jl-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.jl-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.qr-frame {
  position: relative;
  width: 15.5rem;
  height: 15.5rem;
  padding: 0.35rem;
  border-radius: 1.6rem;
  background: #ffffff;
  overflow: hidden;
}

.vietqr-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-scan-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000000, transparent);
  animation: qrScan 2.5s ease-in-out infinite;
}

@keyframes qrScan {
  0%, 100% { top: 8%; opacity: 0.2; }
  50% { top: 92%; opacity: 0.75; }
}

.jl-qr-caption {
  opacity: 0.45;
  text-align: center;
}

.jl-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.jl-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jl-summary-total strong {
  font-family: var(--font-mono);
  font-size: 1.8rem;
}

.jl-webhook-actions {
  margin-top: 1rem;
}

.minted-key-reveal {
  display: none;
  margin-top: 1.2rem;
  padding: 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.minted-key-reveal.visible {
  display: block;
}

.minted-key-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.minted-key-code-row code {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: #ffffff;
}

.vietqr-live-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center center;
  border-radius: 1rem;
  background: #ffffff;
}

.jl-payment-status-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

.jl-payment-status-banner .status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #f5d08a;
  box-shadow: 0 0 10px rgba(245, 208, 138, 0.8);
  flex-shrink: 0;
}

.jl-payment-status-banner.is-paid {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.jl-payment-status-banner.is-paid .status-dot {
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.9);
}

.jl-payment-status-banner.is-error {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

.jl-payment-status-banner.is-error .status-dot {
  background: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.9);
}

/* Remaining Key Stock Badges on Cards & Inside Detail Sheet */
.jl-detail-top-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.jl-detail-top-badges .jl-detail-syllable-pill {
  margin-bottom: 0;
}

.jl-detail-stock-pill {
  display: inline-flex;
  align-items: center;
  height: 2.4rem;
  gap: 0.55rem;
  padding: 0 1.1rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.jl-detail-stock-pill .stock-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.65);
}

.jl-detail-stock-pill.is-empty,
.jl-detail-stock-pill.is-out {
  background: rgba(244, 63, 94, 0.1);
  color: #be123c;
  border-color: rgba(244, 63, 94, 0.28);
}

.jl-detail-stock-pill.is-empty .stock-dot,
.jl-detail-stock-pill.is-out .stock-dot {
  background: #f43f5e;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.6);
}

.flashcard-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.flashcard-stock-badge.is-empty,
.flashcard-stock-badge.is-out {
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  border-color: rgba(251, 113, 133, 0.35);
}
