/* ==========================================================================
   PAPDANGLE — Premium 3D Floating Digital Charm Experience
   Brand: PAPDANGLE (Virhino)
   Style Sheet: Vanilla CSS3 with 3D Transforms, Glassmorphism & Neon Glow
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Color Palette & Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Core Colors */
  --bg-primary: #060611;
  --bg-secondary: #0D0B1A;
  --bg-dark-violet: #17102A;
  --purple: #8B2CFF;
  --electric-violet: #C52CFF;
  --neon-blue: #19C8FF;
  --bright-blue: #436CFF;
  --pink: #FF4FD8;
  --white: #F7F5FF;
  --muted: #9B96AC;
  --gold: #FFB83D;
  --gold-light: #FFE68C;

  /* Card and Panel Backgrounds */
  --card-bg: rgba(23, 16, 42, 0.65);
  --card-border: rgba(139, 44, 255, 0.22);
  --card-border-hover: rgba(25, 200, 255, 0.5);
  --card-glow: rgba(139, 44, 255, 0.15);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #8B2CFF 0%, #C52CFF 50%, #19C8FF 100%);
  --grad-electric: linear-gradient(135deg, #C52CFF 0%, #FF4FD8 50%, #19C8FF 100%);
  --grad-blue: linear-gradient(135deg, #19C8FF 0%, #436CFF 100%);
  --grad-gold: linear-gradient(135deg, #FFE68C 0%, #FFB83D 60%, #B8860B 100%);
  --grad-silver: linear-gradient(135deg, #FFFFFF 0%, #C8D3E6 50%, #7B8BA6 100%);
  --grad-surface: linear-gradient(180deg, rgba(23, 16, 42, 0.8) 0%, rgba(13, 11, 26, 0.95) 100%);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Depth & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-neon-purple: 0 0 30px rgba(139, 44, 255, 0.35);
  --shadow-neon-blue: 0 0 30px rgba(25, 200, 255, 0.35);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   3. Ambient Cosmic Background & Floating Orbs
   -------------------------------------------------------------------------- */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.28;
  animation: pulseGlow 14s infinite alternate ease-in-out;
}

.orb-purple {
  top: 5%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
}

.orb-blue {
  top: 45%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
  animation-delay: -5s;
}

.orb-pink {
  bottom: 10%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.22; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.35; }
  100% { transform: scale(0.92) translate(-20px, 30px); opacity: 0.25; }
}

.ambient-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(139, 44, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 44, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Sound Indicator Bubble */
.sound-indicator-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: rgba(23, 16, 42, 0.85);
  border: 1px solid rgba(25, 200, 255, 0.4);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(25, 200, 255, 0.25);
  transition: all 0.3s var(--ease-bounce);
}

.sound-indicator-bubble:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(25, 200, 255, 0.4);
}

.sound-indicator-bubble.muted {
  border-color: rgba(155, 150, 172, 0.4);
  color: var(--muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Fortune Toast */
.fortune-toast {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 1000;
  max-width: 380px;
  background: rgba(23, 16, 42, 0.95);
  border: 1px solid var(--electric-violet);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(197, 44, 255, 0.45);
  backdrop-filter: blur(20px);
  transform: translateX(450px);
  opacity: 0;
  transition: transform 0.5s var(--ease-bounce), opacity 0.4s ease;
  pointer-events: none;
}

.fortune-toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.fortune-toast-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(255, 184, 61, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 184, 61, 0.3);
}

.fortune-toast-msg {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 6px;
}

.fortune-toast-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.fortune-toast-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.fortune-toast-close:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   4. Typography & Common Utility Styles
   -------------------------------------------------------------------------- */
.gradient-text {
  background: var(--grad-electric);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-glow {
  filter: drop-shadow(0 0 25px rgba(197, 44, 255, 0.45));
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 60px;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(139, 44, 255, 0.45), 0 0 20px rgba(25, 200, 255, 0.3);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(197, 44, 255, 0.6), 0 0 30px rgba(25, 200, 255, 0.5);
}

.btn-primary-gradient:hover::before {
  left: 100%;
}

.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(23, 16, 42, 0.6);
  border: 1px solid rgba(139, 44, 255, 0.4);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-smooth);
}

.btn-glass-secondary:hover {
  background: rgba(139, 44, 255, 0.2);
  border-color: var(--neon-blue);
  box-shadow: 0 8px 25px rgba(25, 200, 255, 0.25);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation (Glassmorphic)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.35s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6, 6, 17, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 44, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Left */
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(139, 44, 255, 0.5);
  transition: transform 0.3s var(--ease-bounce);
}

.brand-link:hover .brand-logo-img {
  transform: rotate(-8deg) scale(1.1);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #FFFFFF 0%, #19C8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.brand-parent-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--purple);
}

/* Nav Links */
.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-electric);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-link:hover::after {
  width: 100%;
}

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

.header-demo-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-blue);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(25, 200, 255, 0.25);
  background: rgba(25, 200, 255, 0.05);
}

.header-demo-link:hover {
  background: rgba(25, 200, 255, 0.15);
  border-color: var(--neon-blue);
}

.nav-cta-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle-btn .bar {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle-btn.open .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.open .bar-2 {
  opacity: 0;
}

.mobile-toggle-btn.open .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  background: rgba(13, 11, 26, 0.96);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(139, 44, 255, 0.3);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   6. Hero Section (Parallax, 3D Hanging Charm)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 60px;
  perspective: 1200px;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 44, 255, 0.12);
  border: 1px solid rgba(139, 44, 255, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 0 20px rgba(139, 44, 255, 0.15);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-subheading {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.65;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-counter-badge {
  font-size: 0.75rem;
  background: rgba(25, 200, 255, 0.2);
  color: var(--neon-blue);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.hero-secondary-text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-feature-tags {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 16, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--white);
}

/* Hero Right: 3D Hanging Charm Presentation */
.hero-charm-showcase {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.hero-stage-backing {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.backing-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 44, 255, 0.15);
}

.backing-circle-outer {
  width: 440px;
  height: 440px;
  border-color: rgba(25, 200, 255, 0.12);
  animation: rotateSlow 30s linear infinite;
}

.backing-circle-inner {
  width: 320px;
  height: 320px;
  border-color: rgba(197, 44, 255, 0.18);
  border-style: dashed;
  animation: rotateSlowReverse 25s linear infinite;
}

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

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

.backing-radial-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139, 44, 255, 0.25) 0%, rgba(25, 200, 255, 0.08) 50%, transparent 75%);
  filter: blur(40px);
}

/* Hanging Rig */
.hanging-charm-rig {
  position: relative;
  width: 400px;
  height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
}

.charm-top-anchor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.anchor-mount {
  width: 34px;
  height: 10px;
  background: linear-gradient(180deg, #A4B3D6 0%, #436CFF 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(67, 108, 255, 0.6);
}

.anchor-ring {
  width: 16px;
  height: 16px;
  border: 3px solid #FFD700;
  border-radius: 50%;
  margin-top: -3px;
  box-shadow: 0 0 8px rgba(255, 184, 61, 0.6);
}

/* Real 3D Rendered Hanging Rope Assemblies (from ./rope/) */
.hero-pendulum-assembly,
.hero-rope-assembly {
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: 50% 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
  will-change: transform;
}

.hero-3d-rope-img {
  width: 72px;
  height: 260px;
  object-fit: fill;
  object-position: top center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
  display: block;
  pointer-events: none;
  transition: filter 0.3s ease;
}

.stage-pendulum-assembly,
.stage-rope-assembly {
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: 50% 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 20;
  will-change: transform;
}

.stage-3d-rope-img {
  width: 76px;
  height: 260px;
  object-fit: fill;
  object-position: top center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.9));
  display: block;
  pointer-events: none;
  transition: filter 0.3s ease;
}

.mini-rope-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 165px;
  pointer-events: none;
}

.mini-3d-rope-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.modal-mini-rope-wrap {
  width: 54px;
  height: 95px;
  margin-bottom: -15px;
  z-index: 5;
}

.modal-3d-rope-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.mock-rope-img {
  width: 32px;
  height: 130px;
  object-fit: contain;
  object-position: top center;
  margin-bottom: -15px;
  display: block;
}

/* 3D Rope Selector Button Thumbnails */
.rope-thumb-mini {
  width: 20px;
  height: 40px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.radio-rope-thumb {
  width: 26px;
  height: 52px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.pill-rope-icon {
  width: 14px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
  display: inline-block;
}

/* Direct APK Download Badges */
.apk-chip {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.45);
  color: #00FF88;
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 2px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.apk-chip-glow {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 255, 136, 0.18);
  color: #00FF88;
  border: 1px solid rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.cta-apk-pill {
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
}


/* Hanging Charm Bob */
.charm-bob-assembly {
  position: relative;
  margin-top: -18px; /* Tucks directly into bottom golden beads of rope */
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 12;
  cursor: grab;
  user-select: none;
  touch-action: none;
  pointer-events: auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.charm-bob-assembly:active {
  cursor: grabbing;
}

.pendant-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -6px;
  z-index: 15;
}

.ring-loop {
  width: 18px;
  height: 18px;
  border: 3.5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 184, 61, 0.7);
}

.ring-clasp {
  width: 10px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: -3px;
}

/* 3D Medallion Body */
.pendant-medallion-3d {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(30, 20, 55, 0.95), rgba(10, 8, 20, 0.95));
  border: 2px solid rgba(139, 44, 255, 0.5);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(139, 44, 255, 0.35),
    inset 0 0 20px rgba(25, 200, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pendant-medallion-3d:hover {
  border-color: var(--neon-blue);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(25, 200, 255, 0.5),
    inset 0 0 25px rgba(197, 44, 255, 0.3);
}

.medallion-inner-badge {
  width: 105px;
  height: 105px;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle, #1a1236 0%, #080614 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-active-charm-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s var(--ease-bounce);
  pointer-events: none;
}

.medallion-specular-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 3;
}

.charm-float-hint {
  position: absolute;
  bottom: -36px;
  white-space: nowrap;
  background: rgba(23, 16, 42, 0.85);
  border: 1px solid rgba(25, 200, 255, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.hint-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.charm-drop-shadow {
  position: absolute;
  bottom: -60px;
  width: 100px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
  filter: blur(6px);
  z-index: 1;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

/* Hero Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(23, 16, 42, 0.75);
  border: 1px solid rgba(139, 44, 255, 0.3);
  backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatBob 5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  z-index: 20;
}

.badge-physics {
  top: 15%;
  right: -10px;
}

.badge-fortune {
  bottom: 18%;
  left: -20px;
}

.badge-icon-wrap {
  width: 36px;
  height: 36px;
  background: rgba(139, 44, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.badge-desc {
  font-size: 0.72rem;
  color: var(--muted);
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Scroll indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
  transition: color 0.2s;
}

.scroll-down-indicator:hover {
  color: var(--neon-blue);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 2px;
  animation: mouseWheel 1.6s infinite;
}

@keyframes mouseWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   7. 3D Floating Charm ("PAPDANGLE STAGE")
   -------------------------------------------------------------------------- */
.stage-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.stage-glass-viewport {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 30%, rgba(30, 20, 58, 0.7) 0%, rgba(13, 11, 26, 0.95) 100%);
  border: 1px solid rgba(139, 44, 255, 0.35);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(139, 44, 255, 0.2),
    inset 0 0 30px rgba(25, 200, 255, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  margin-bottom: 30px;
}

.stage-canvas-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(139, 44, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 44, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stage-light-spot {
  position: absolute;
  top: 10%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.spot-left {
  left: 10%;
  background: var(--purple);
}

.spot-right {
  right: 10%;
  background: var(--neon-blue);
}

.stage-ceiling-rail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, transparent, rgba(139, 44, 255, 0.6), transparent);
}

.stage-sparkle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Stage Physics Rig */
.stage-charm-rig {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stage-anchor-mount {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}

.mount-plate {
  width: 60px;
  height: 12px;
  background: linear-gradient(180deg, #6B7C96 0%, #17102A 100%);
  border-radius: 0 0 6px 6px;
  border: 1px solid rgba(25, 200, 255, 0.4);
}

.mount-eyelet {
  width: 20px;
  height: 20px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  margin-top: -4px;
}

.stage-rope-svg {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

.stage-charm-bob {
  position: relative;
  margin-top: -18px; /* Seamless connection: hooks directly into bottom rope beads */
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
  cursor: grab;
  pointer-events: auto;
  user-select: none;
  touch-action: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.stage-charm-bob:active {
  cursor: grabbing;
}

.stage-charm-disc {
  position: relative;
  width: 115px;
  height: 115px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(25, 18, 48, 0.98), rgba(9, 7, 18, 0.98));
  border: 2px solid rgba(139, 44, 255, 0.5);
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(139, 44, 255, 0.4),
    inset 0 0 20px rgba(25, 200, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.stage-charm-disc:hover {
  border-color: var(--neon-blue);
  box-shadow: 
    0 22px 50px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(25, 200, 255, 0.5),
    inset 0 0 25px rgba(197, 44, 255, 0.35);
}

.charm-ambient-halo {
  position: absolute;
  inset: -10px;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(139, 44, 255, 0.3) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.charm-disc-bezel {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: radial-gradient(circle, #1a1236 0%, #080614 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.stage-active-charm-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.charm-glass-glare {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.stage-floor-shadow {
  position: absolute;
  bottom: -90px;
  width: 120px;
  height: 25px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

/* Stage HUD */
.stage-hud-overlay {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  pointer-events: none;
}

.stage-hud-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 11, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00FF88;
  box-shadow: 0 0 8px #00FF88;
  animation: pulseDot 1.5s infinite;
}

.stage-hud-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.stage-mini-btn {
  background: rgba(23, 16, 42, 0.85);
  border: 1px solid rgba(139, 44, 255, 0.3);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.stage-mini-btn:hover {
  background: rgba(139, 44, 255, 0.3);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
}

/* Interactive Rope Selector in Stage */
.stage-rope-picker-bar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(13, 11, 26, 0.85);
  border: 1px solid rgba(139, 44, 255, 0.3);
  padding: 10px 20px;
  border-radius: 999px;
  backdrop-filter: blur(16px);
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  flex-wrap: wrap;
  justify-content: center;
}

.picker-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.rope-buttons-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rope-select-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 16, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  transform-style: preserve-3d;
}

.rope-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.rope-swatch-neon {
  background: linear-gradient(135deg, #19C8FF, #436CFF);
  box-shadow: 0 0 8px #19C8FF;
}

.rope-swatch-gold {
  background: var(--grad-gold);
  box-shadow: 0 0 8px #FFB83D;
}

.rope-swatch-purple {
  background: linear-gradient(135deg, #C52CFF, #8B2CFF);
  box-shadow: 0 0 8px #C52CFF;
}

.rope-swatch-silver {
  background: var(--grad-silver);
  box-shadow: 0 0 8px #FFFFFF;
}

.rope-select-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.rope-select-btn.active-rope {
  color: var(--white);
  border-color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.15);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(25, 200, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
}

/* Stage Controls Deck (Below Stage) */
.stage-controls-deck {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.control-deck-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 22px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.deck-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.deck-icon {
  font-size: 1.2rem;
}

/* Quick Charms Shelf */
.quick-charms-scroller {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
}

.quick-charm-pill {
  flex: 0 0 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(13, 11, 26, 0.9);
  border: 2px solid rgba(139, 44, 255, 0.25);
  padding: 4px;
  cursor: pointer;
  transition: all 0.25s var(--ease-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-charm-pill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-charm-pill:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(25, 200, 255, 0.4);
}

.quick-charm-pill.active {
  border-color: var(--electric-violet);
  box-shadow: 0 0 18px rgba(197, 44, 255, 0.6);
  transform: translateY(-3px) scale(1.06);
}

/* Sliders */
.sliders-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.slider-val {
  color: var(--neon-blue);
}

.neon-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.neon-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-blue);
  cursor: pointer;
  box-shadow: 0 0 10px var(--neon-blue);
  transition: transform 0.15s;
}

.neon-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Toggles */
.deck-toggles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deck-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.toggle-text {
  color: var(--white);
}

.cyber-switch {
  display: none;
}

.switch-slider {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  position: relative;
  transition: background 0.3s ease;
}

.switch-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.3s var(--ease-bounce);
}

.cyber-switch:checked + .switch-slider {
  background: var(--grad-electric);
  box-shadow: 0 0 12px rgba(197, 44, 255, 0.5);
}

.cyber-switch:checked + .switch-slider::before {
  transform: translateX(20px);
}

/* --------------------------------------------------------------------------
   8. Features Section (7 Premium 3D Cards)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.features-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1200px;
}

.card-3d-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-smooth);
}

.card-3d-inner {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 36px 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.35s ease;
}

.card-3d-wrapper:hover .card-3d-inner {
  border-color: var(--card-border-hover);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.7),
    0 0 35px var(--card-glow);
  transform: translateY(-8px) translateZ(20px);
}

.card-glow-bg {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 44, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.card-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--purple);
  margin-bottom: 18px;
}

.card-icon-pill {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(139, 44, 255, 0.15);
  border: 1px solid rgba(139, 44, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(139, 44, 255, 0.2);
}

.icon-emoji {
  font-size: 1.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
  color: var(--white);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: auto;
}

.card-3d-highlight {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Card 7 Wide Span */
.card-span-wide {
  grid-column: span 3;
}

.card-inner-wide {
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 40px;
}

.card-wide-content {
  flex: 1;
}

.card-badges-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.micro-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(25, 200, 255, 0.1);
  border: 1px solid rgba(25, 200, 255, 0.25);
  color: var(--neon-blue);
  padding: 4px 12px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   9. Charms Gallery Section
   -------------------------------------------------------------------------- */
.charms-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.category-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  background: rgba(23, 16, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-tab-btn:hover {
  color: var(--white);
  border-color: rgba(139, 44, 255, 0.4);
}

.cat-tab-btn.active-tab {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(139, 44, 255, 0.45);
}

/* 3D Floating Charms Grid */
.charms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  perspective: 1200px;
}

.charm-card-3d {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: all 0.35s var(--ease-smooth);
}

.charm-card-3d:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(25, 200, 255, 0.35);
}

.charm-card-top-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  z-index: 5;
}

.charm-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(25, 200, 255, 0.2);
}

.charm-fav-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease-bounce);
  color: var(--muted);
}

.charm-fav-btn:hover {
  transform: scale(1.3);
}

.charm-fav-btn.is-fav {
  color: var(--pink);
}

/* Charm Visual in Card */
.charm-visual-rig {
  position: relative;
  width: 170px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px 0 16px;
}

.card-connector-ring {
  width: 14px;
  height: 14px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  margin-bottom: -5px;
  z-index: 4;
}

.card-charm-pendant {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(30, 20, 58, 0.95) 0%, rgba(9, 7, 18, 0.95) 100%);
  border: 1.5px solid rgba(139, 44, 255, 0.35);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.7),
    inset 0 0 15px rgba(25, 200, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-smooth);
}

.charm-card-3d:hover .card-charm-pendant {
  transform: rotate(-3deg) scale(1.06);
}

.card-charm-img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
}

.charm-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  color: var(--white);
}

.charm-card-actions {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-card-equip {
  flex: 1;
  background: rgba(139, 44, 255, 0.2);
  border: 1px solid rgba(139, 44, 255, 0.4);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-equip:hover {
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 44, 255, 0.4);
}

.btn-card-inspect {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-inspect:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   10. Custom Charm Section ("Turn Your Memories Into Charms")
   -------------------------------------------------------------------------- */
.custom-charm-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.custom-studio-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 36px;
  padding: 44px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

/* Dropzone */
.dropzone-box {
  border: 2px dashed rgba(139, 44, 255, 0.4);
  border-radius: 24px;
  background: rgba(13, 11, 26, 0.6);
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dropzone-box:hover, .dropzone-box.drag-over {
  border-color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.08);
  box-shadow: 0 0 25px rgba(25, 200, 255, 0.2);
}

.dropzone-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.dropzone-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.dropzone-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.dropzone-browse-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.dropzone-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Options */
.studio-options-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-field-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.neon-text-input {
  background: rgba(13, 11, 26, 0.8);
  border: 1px solid rgba(139, 44, 255, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
}

.neon-text-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(25, 200, 255, 0.3);
}

.rope-swatch-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-rope-pill {
  flex: 1;
  background: rgba(13, 11, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  padding: 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-rope-pill:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.custom-rope-pill.active-pill {
  border-color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.15);
  color: var(--white);
  box-shadow: 0 0 15px rgba(25, 200, 255, 0.3);
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.scale-readout {
  color: var(--neon-blue);
  font-weight: 700;
}

.studio-actions-row {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

/* Mini Preview Box */
.live-preview-box {
  background: radial-gradient(circle at 50% 30%, rgba(23, 16, 42, 0.95) 0%, rgba(6, 6, 17, 0.98) 100%);
  border: 1px solid rgba(139, 44, 255, 0.35);
  border-radius: 28px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.preview-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(25, 200, 255, 0.2);
  margin-bottom: 20px;
}

.mini-hang-rig {
  position: relative;
  width: 200px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-anchor-pin {
  width: 24px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--gold);
}

.mini-pendulum-assembly {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0px;
  animation: miniIdleSway 4s ease-in-out infinite;
}

.mini-3d-rope-img {
  width: 44px;
  height: 120px;
  object-fit: fill;
  object-position: top center;
  display: block;
}

.mini-charm-bob {
  position: relative;
  margin-top: -12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes miniIdleSway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3.5deg); }
  75% { transform: rotate(-3.5deg); }
}

.mini-connector-ring {
  width: 14px;
  height: 14px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  margin-bottom: -4px;
}

.mini-charm-frame {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: radial-gradient(circle, #1e1437 0%, #090714 100%);
  border: 2px solid rgba(139, 44, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(139, 44, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mini-preview-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.2s;
}

.preview-meta {
  text-align: center;
  margin-top: 18px;
}

.preview-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.preview-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. App Screenshots ("Inside Papdangle" 3D Smartphones)
   -------------------------------------------------------------------------- */
.inside-app-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.smartphone-gallery-3d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  perspective: 1400px;
  margin-top: 40px;
}

.phone-frame-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-smooth);
}

.tilt-left {
  transform: rotateY(14deg) translateY(20px);
}

.tilt-center {
  transform: translateY(0);
}

.tilt-right {
  transform: rotateY(-14deg) translateY(20px);
}

.phone-frame-3d:hover {
  transform: rotateY(0deg) translateY(-14px) scale(1.03);
}

.phone-body {
  position: relative;
  width: 290px;
  height: 590px;
  background: #110E1D;
  border-radius: 46px;
  border: 4px solid #2B2144;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(139, 44, 255, 0.25);
  overflow: hidden;
  padding: 12px;
  transform-style: preserve-3d;
}

.phone-speaker-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: #060611;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mock-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  z-index: 40;
}

.mock-status-icons {
  display: flex;
  gap: 6px;
}

.phone-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 60;
  border-radius: 46px;
}

.phone-caption {
  text-align: center;
  margin-top: 24px;
}

.phone-caption h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--neon-blue);
  margin-bottom: 4px;
}

.phone-caption p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 250px;
}

/* Screen 1: Overlay Mode */
.screen-overlay-mode {
  background: radial-gradient(circle at 50% 40%, #1e133c 0%, #070512 100%);
}

.mock-home-wallpaper {
  position: relative;
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 50px;
}

.mock-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.icon-chat { background: #25D366; }
.icon-music { background: #FF2D55; }
.icon-camera { background: #5856D6; }
.icon-browser { background: #007AFF; }

.mock-floating-overlay-charm {
  position: absolute;
  top: 15px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: mockSwing 3.5s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes mockSwing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
}

.mock-rope-line {
  width: 2px;
  height: 120px;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

.mock-charm-disc {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #110c22;
  border: 1.5px solid var(--neon-blue);
  box-shadow: 0 0 15px rgba(25, 200, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.mock-charm-disc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mock-overlay-pill {
  background: rgba(13, 11, 26, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #00FF88;
}

.pill-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00FF88;
  box-shadow: 0 0 6px #00FF88;
}

/* Screen 2: Vault Mode */
.screen-vault-mode {
  padding: 16px;
}

.mock-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mock-app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.mock-brand-mini {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.mock-badge-pro {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(255, 184, 61, 0.2);
  color: var(--gold);
  border: 1px solid rgba(255, 184, 61, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
}

.mock-vault-stage {
  background: radial-gradient(circle, rgba(30, 20, 58, 0.8) 0%, rgba(9, 7, 18, 0.95) 100%);
  border: 1px solid rgba(139, 44, 255, 0.3);
  border-radius: 24px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.mock-vault-charm {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(13, 11, 26, 0.8);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 20px rgba(255, 184, 61, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px;
}

.mock-vault-charm img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mock-vault-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.mock-vault-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.v-tag {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 999px;
}

.mock-equip-btn {
  background: var(--grad-gold);
  border: none;
  color: #060611;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.mock-vault-shelf {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.mock-shelf-item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.mock-shelf-item.active {
  border-color: var(--electric-violet);
  box-shadow: 0 0 10px rgba(197, 44, 255, 0.5);
}

.mock-shelf-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Screen 3: Settings Mode */
.screen-settings-mode {
  padding: 16px;
}

.mock-settings-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.mock-pref-group {
  background: rgba(23, 16, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 14px;
}

.mock-pref-heading {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 8px;
}

.mock-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--white);
  padding: 6px 0;
}

.mock-toggle {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.mock-toggle.on {
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

.mock-toggle.on::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFF;
}

.mock-slider-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  margin-top: 6px;
}

.mock-slider-fill {
  height: 100%;
  background: var(--grad-electric);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   12. Settings Section (Realistic Mobile UI Card)
   -------------------------------------------------------------------------- */
.settings-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.settings-card-wrapper {
  max-width: 820px;
  margin: 0 auto;
  perspective: 1200px;
}

.settings-ui-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 36px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 44, 255, 0.2);
  backdrop-filter: blur(25px);
  overflow: hidden;
}

.settings-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(13, 11, 26, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.settings-card-headline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
}

.sync-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00FF88;
  letter-spacing: 1px;
}

.settings-sections-list {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.settings-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--neon-blue);
  margin-bottom: 16px;
}

.setting-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-item-row:last-child {
  border-bottom: none;
}

.item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.item-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Custom switch */
.switch-container {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  cursor: pointer;
}

.switch-container input {
  display: none;
}

.switch-ui {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: all 0.3s var(--ease-bounce);
}

.switch-ui::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.3s var(--ease-bounce);
}

.switch-container input:checked + .switch-ui {
  background: var(--grad-electric);
  box-shadow: 0 0 15px rgba(197, 44, 255, 0.6);
}

.switch-container input:checked + .switch-ui::before {
  transform: translateX(22px);
}

/* Rope radio grid */
.rope-radio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.rope-radio-label {
  cursor: pointer;
}

.radio-card-body {
  background: rgba(13, 11, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.card-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.swatch-neon { background: #19C8FF; box-shadow: 0 0 10px #19C8FF; }
.swatch-gold { background: var(--grad-gold); box-shadow: 0 0 10px #FFB83D; }
.swatch-purple { background: #C52CFF; box-shadow: 0 0 10px #C52CFF; }
.swatch-silver { background: #E0E5FF; box-shadow: 0 0 10px #FFF; }

.card-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.rope-radio-label:hover .radio-card-body {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.rope-radio-label.active-rope-card .radio-card-body {
  border-color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.15);
  box-shadow: 0 0 20px rgba(25, 200, 255, 0.35);
  transform: translateY(-3px);
}

.rope-radio-label.active-rope-card .card-name {
  color: var(--white);
}

/* Dimension sliders */
.dimension-sliders-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slider-header-inline {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.val-pill {
  font-size: 0.8rem;
  color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   13. How It Works Section
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.steps-flow-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}

.steps-connector-bar {
  position: absolute;
  top: 70px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--neon-blue), var(--pink));
  opacity: 0.35;
  z-index: 0;
}

.step-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 40px 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
  transition: all 0.35s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-blue);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(25, 200, 255, 0.25);
}

.step-number-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-dark-violet), var(--bg-secondary));
  border: 2px solid var(--purple);
  box-shadow: 0 0 20px rgba(139, 44, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
}

.step-icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.step-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   14. Founder Section (Vignesh G)
   -------------------------------------------------------------------------- */
.founder-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.founder-card-3d {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 36px;
  padding: 56px;
  backdrop-filter: blur(25px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.founder-photo-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.founder-photo-rig {
  position: relative;
  width: 320px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 44, 255, 0.25);
  pointer-events: none;
}

.ring-1 {
  width: 360px;
  height: 360px;
  border-color: rgba(25, 200, 255, 0.2);
  animation: rotateSlow 24s linear infinite;
}

.ring-2 {
  width: 390px;
  height: 390px;
  border-style: dashed;
  border-color: rgba(197, 44, 255, 0.15);
  animation: rotateSlowReverse 30s linear infinite;
}

.founder-orbit-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 44, 255, 0.4) 0%, rgba(25, 200, 255, 0.1) 60%, transparent 80%);
  filter: blur(30px);
}

.founder-img-wrapper {
  position: relative;
  width: 280px;
  height: 340px;
  border-radius: 36px;
  overflow: hidden;
  border: 3px solid rgba(139, 44, 255, 0.5);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(139, 44, 255, 0.4);
  z-index: 2;
  transition: all 0.4s var(--ease-smooth);
}

.founder-img-wrapper:hover {
  transform: scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(25, 200, 255, 0.5);
}

.founder-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.founder-badge-pill {
  position: absolute;
  bottom: 10px;
  background: rgba(13, 11, 26, 0.95);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 184, 61, 0.4);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}

.founder-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.founder-lead {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.6;
}

.founder-quote {
  position: relative;
  background: rgba(13, 11, 26, 0.6);
  border-left: 3px solid var(--electric-violet);
  border-radius: 0 18px 18px 0;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.quote-mark {
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 3rem;
  color: rgba(197, 44, 255, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.founder-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.founder-attribution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--white);
}

.founder-role {
  font-size: 0.85rem;
  color: var(--muted);
}

.founder-company-tag {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.founder-parent-domains {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}

.founder-socials-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.founder-social-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.founder-social-btn:hover {
  background: rgba(139, 44, 255, 0.2);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Privacy & Permissions (Trust Section)
   -------------------------------------------------------------------------- */
.privacy-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 32px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.trust-card:hover {
  border-color: var(--neon-blue);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(25, 200, 255, 0.2);
}

.trust-card-wide {
  grid-column: span 2;
}

.trust-icon-box {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.trust-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.trust-card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   16. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.faq-accordion-stack {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(139, 44, 255, 0.45);
}

.faq-item.active {
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(25, 200, 255, 0.2);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--white);
}

.faq-q-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.faq-icon-arrow {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--neon-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(45deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}

.faq-answer-panel p {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   17. Final CTA (Cinematic Aurora Section)
   -------------------------------------------------------------------------- */
.final-cta-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  z-index: 2;
}

.cta-aurora-bg {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 44, 255, 0.3) 0%, rgba(25, 200, 255, 0.15) 30%, rgba(197, 44, 255, 0.1) 60%, transparent 80%);
  filter: blur(80px);
  animation: auroraShift 12s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes auroraShift {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(4deg); }
  100% { transform: scale(0.95) rotate(-4deg); }
}

.cta-floating-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-orbit-aura {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--electric-violet) 0%, transparent 70%);
  filter: blur(20px);
  animation: pulseGlow 4s infinite alternate;
}

.cta-floating-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 44, 255, 0.5);
  animation: floatBob 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-subheading {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 38px;
  line-height: 1.6;
}

.cta-btn-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.cta-action-btn {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.cta-custom-btn {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.cta-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  flex-wrap: wrap;
}

.cta-guarantees span {
  color: var(--neon-blue);
}

/* --------------------------------------------------------------------------
   18. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(139, 44, 255, 0.2);
  padding: 80px 0 30px;
  z-index: 2;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 18px 0 10px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-nav-list a:hover {
  color: var(--neon-blue);
  transform: translateX(4px);
}

.company-subtext {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.company-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.company-ext-link {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 600;
}

.company-ext-link:hover {
  color: var(--neon-blue);
}

.virhino-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 44, 255, 0.12);
  border: 1px solid rgba(139, 44, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-blue);
}

.v-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
}

.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   19. 3D Charm Inspect Modal
   -------------------------------------------------------------------------- */
.charm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 17, 0.88);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.charm-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.charm-modal-card {
  position: relative;
  max-width: 760px;
  width: 100%;
  background: rgba(23, 16, 42, 0.95);
  border: 1px solid var(--electric-violet);
  border-radius: 36px;
  padding: 44px;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(197, 44, 255, 0.35);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-bounce);
}

.charm-modal-overlay.open .charm-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--white);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.modal-3d-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 800px;
}

.modal-pendulum-preview {
  position: relative;
  width: 200px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-mini-rope {
  width: 3px;
  height: 60px;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

.modal-disc-rotator {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  background: radial-gradient(circle, #21163e 0%, #0a0817 100%);
  border: 2px solid var(--electric-violet);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 44, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
}

.modal-stage-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 14px;
}

.modal-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--neon-blue);
  background: rgba(25, 200, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.modal-charm-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.modal-charm-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.modal-fortune-preview-box {
  background: rgba(13, 11, 26, 0.8);
  border: 1px solid rgba(255, 184, 61, 0.3);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.fortune-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.fortune-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--white);
}

.modal-actions-row {
  display: flex;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   20. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subheading {
    margin: 0 auto 34px;
  }

  .hero-btn-group {
    justify-content: center;
  }

  .hero-feature-tags {
    justify-content: center;
  }

  .hero-charm-showcase {
    height: 480px;
  }

  .features-3d-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-span-wide {
    grid-column: span 2;
  }

  .stage-controls-deck {
    grid-template-columns: 1fr;
  }

  .smartphone-gallery-3d {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone-frame-3d {
    transform: none !important;
  }

  .founder-card-3d {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }

  .founder-quote {
    text-align: left;
  }

  .founder-socials-row {
    justify-content: center;
  }

  .custom-studio-card {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .header-demo-link {
    display: none;
  }

  .features-3d-grid {
    grid-template-columns: 1fr;
  }

  .card-span-wide {
    grid-column: span 1;
  }

  .card-inner-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps-flow-container {
    grid-template-columns: 1fr;
  }

  .steps-connector-bar {
    display: none;
  }

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

  .trust-card-wide {
    grid-column: span 1;
  }

  .rope-radio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .modal-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.3rem;
  }

  .btn-primary-gradient, .btn-glass-secondary {
    width: 100%;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .stage-rope-picker-bar {
    width: 92%;
    border-radius: 20px;
  }

  .rope-buttons-cluster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .rope-select-btn {
    justify-content: center;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
