/* ═══════════════════════════════════════════════════════════════
   ARTUNIQUE VOCAL ARENA — STYLESHEET (MOBILE-FIRST)
   Luxury Personalised Gifting • Interactive 3D Gift Box
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base Variables ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* ── ArtUnique Theme Palette ───────────────────────────────── */
  --clr-bg-1:         #120008;
  --clr-bg-2:         #230012;
  --clr-bg-3:         #38001C;
  
  --clr-magenta:      #D5005B;
  --clr-magenta-deep: #A80046;
  --clr-magenta-dark: #7A0035;
  --clr-magenta-900:  #4D0022;
  --clr-magenta-glow: rgba(213, 0, 91, 0.45);
  
  --clr-pink-soft:    #FFF7FA;
  --clr-pink-100:     #FCE4EF;
  --clr-pink-200:     #F8BBD0;
  
  --clr-gold:         #F5A623;
  --clr-gold-light:   #FBBF24;
  --clr-gold-glow:    rgba(245, 166, 35, 0.5);
  
  --clr-emerald:      #10B981;
  --clr-text-light:   #FFFFFF;
  --clr-text-dim:     #FCE4EF;
  --clr-text-dark:    #1F2937;
  
  --clr-glass-bg:     rgba(255, 255, 255, 0.08);
  --clr-glass-border: rgba(252, 228, 239, 0.22);
  
  /* ── Typography ────────────────────────────────────────────── */
  --ff-heading:       'Playfair Display', Georgia, serif;
  --ff-body:          'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--ff-body);
  color: var(--clr-text-light);
  background-color: var(--clr-bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Ambient Background Layers ────────────────────────────────── */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(213, 0, 91, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 85% 85%, rgba(245, 166, 35, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(168, 0, 70, 0.22) 0%, transparent 50%),
    linear-gradient(180deg, var(--clr-bg-1) 0%, var(--clr-bg-2) 50%, var(--clr-bg-3) 100%);
  pointer-events: none;
}

#particle-canvas,
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
#confetti-canvas { z-index: 99; }

.ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(213, 0, 91, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Top Header Navigation (BIG LOGO) ─────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px;
  background: rgba(18, 0, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(252, 228, 239, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover {
  transform: scale(1.02);
}

/* BIG PROMINENT HEADER LOGO */
.brand-logo-img {
  height: 100px;
  
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.logo-fallback-text {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-pink-soft);
  letter-spacing: -0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(213, 0, 91, 0.25);
  border: 1px solid rgba(213, 0, 91, 0.5);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--clr-pink-100);
  letter-spacing: 0.6px;
  box-shadow: 0 0 15px rgba(213, 0, 91, 0.2);
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--clr-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-emerald);
  animation: pulseDot 1.5s infinite;
}

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

.btn-back-store {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--clr-pink-100);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-back-store:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Main Stage & Screen System (SPACIOUS LUXURY LAYOUT) ──────── */
.main-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 96px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.screen {
  display: none;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(12px);
}

.screen.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* ── 1. Intro Screen ──────────────────────────────────── */
.intro-card {
  width: 100%;
  padding: 40px 32px;
  background: var(--clr-glass-bg);
  border: 1px solid var(--clr-glass-border);
  border-radius: 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(213, 0, 91, 0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: linear-gradient(135deg, rgba(213, 0, 91, 0.35), rgba(245, 166, 35, 0.25));
  border: 1px solid rgba(251, 191, 36, 0.6);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--clr-gold-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.intro-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.intro-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-pink-100);
  max-width: 460px;
}

.highlight-target {
  color: var(--clr-gold-light);
  font-weight: 800;
  background: rgba(245, 166, 35, 0.18);
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

/* Intro Preview Box */
.intro-box-preview {
  margin: 12px 0;
  position: relative;
}

.preview-box-icon {
  width: 96px;
  height: 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatPreview 3s ease-in-out infinite;
}

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

.p-lid {
  width: 100px;
  height: 24px;
  background: linear-gradient(135deg, #FF2E7E, #D5005B);
  border: 1.5px solid #FBBF24;
  border-radius: 6px 6px 0 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.p-bow {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
}

.p-body {
  width: 92px;
  height: 68px;
  background: linear-gradient(180deg, #D5005B, #7A0035);
  border: 1.5px solid #FBBF24;
  border-top: none;
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.p-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FDE68A, #F5A623);
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.preview-sparkle {
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 1.3rem;
  animation: spinSparkle 2s infinite ease-in-out;
}

@keyframes spinSparkle {
  0% { transform: rotate(0deg) scale(0.8); }
  50% { transform: rotate(180deg) scale(1.25); }
  100% { transform: rotate(360deg) scale(0.8); }
}

.intro-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

/* ── Primary Glowing Buttons ──────────────────────────────────── */
.btn-glow {
  width: 100%;
  max-width: 360px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 26px;
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--clr-magenta) 0%, #FF2E7E 50%, var(--clr-magenta-deep) 100%);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 28px var(--clr-magenta-glow), 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--clr-magenta-glow);
}

.btn-glow:active {
  transform: scale(0.97);
}

.btn-icon { font-size: 1.3rem; }

.btn-text-link {
  background: none;
  border: none;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--clr-pink-200);
  cursor: pointer;
  padding: 8px 14px;
  transition: color 0.2s ease;
}

.btn-text-link:hover { color: #FFFFFF; }
.btn-text-link strong { color: var(--clr-gold); text-decoration: underline; }

/* ── 2. Permission Screen ─────────────────────────────────────── */
.perm-card {
  width: 100%;
  padding: 40px 28px;
  background: var(--clr-glass-bg);
  border: 1px solid var(--clr-glass-border);
  border-radius: 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.perm-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(213,0,91,0.3), rgba(245,166,35,0.3));
  border: 2px solid var(--clr-pink-200);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulsePerm 2s infinite ease-in-out;
}

.perm-mic-emoji { font-size: 2.4rem; }

@keyframes pulsePerm {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(213,0,91,0); }
  50% { transform: scale(1.08); box-shadow: 0 0 30px var(--clr-magenta-glow); }
}

.perm-title {
  font-family: var(--ff-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
}

.perm-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--clr-pink-100);
  max-width: 340px;
}

/* ── 3. Experience Screen (Main Arena) ────────────────────────── */
.experience-screen {
  padding-top: 4px;
}

.arena-card {
  width: 100%;
  padding: 30px 24px;
  background: var(--clr-glass-bg);
  border: 1px solid var(--clr-glass-border);
  border-radius: 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(213, 0, 91, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-text {
  font-size: clamp(1rem, 3.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(90deg, #FFFFFF, var(--clr-gold), var(--clr-pink-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerCta 3s linear infinite;
}

@keyframes shimmerCta {
  0% { filter: drop-shadow(0 0 2px rgba(213,0,91,0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(245,166,35,0.75)); }
  100% { filter: drop-shadow(0 0 2px rgba(213,0,91,0.4)); }
}

/* ═══════════════════════════════════════════════════════════════
   3D GIFT BOX WITH VISIBLE 3D COVER / LID
   ═══════════════════════════════════════════════════════════════ */
.gift-wrapper {
  position: relative;
  width: 250px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin: 8px 0 16px;
}

.gift-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--clr-magenta-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.38;
}

.sound-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sound-rings .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border: 2px solid var(--clr-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringPop 1.1s ease-out forwards;
}

@keyframes ringPop {
  0% { width: 30px; height: 30px; opacity: 0.9; }
  100% { width: 340px; height: 340px; opacity: 0; }
}

.gift-box {
  position: relative;
  width: 160px;
  height: 160px;
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(22deg);
  animation: giftHover 3.5s ease-in-out infinite;
  transition: transform 0.2s ease;
}

@keyframes giftHover {
  0%, 100% { transform: rotateX(-16deg) rotateY(22deg) translateY(0); }
  50% { transform: rotateX(-16deg) rotateY(22deg) translateY(-8px); }
}

/* ── The 3D Cover / Lid (PROMINENT & VISIBLE) ─────────────────── */
.gift-lid {
  position: absolute;
  top: 0;
  left: -8px;
  width: 176px;
  height: 36px;
  transform-style: preserve-3d;
  transform-origin: bottom center;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  z-index: 25;
}

.lid-face {
  position: absolute;
  backface-visibility: visible;
  border: 1.5px solid rgba(251, 191, 36, 0.9);
}

/* Top cover horizontal surface */
.lid-top-face {
  width: 176px;
  height: 176px;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #FF2E7E 0%, #D5005B 50%, #A80046 100%);
  transform-origin: center center;
  transform: rotateX(90deg) translateZ(18px);
  border-radius: 6px;
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.lid-shine-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, transparent 60%);
  pointer-events: none;
}

/* Lid Overhang Edges (Lip rim around top) */
.lid-front {
  width: 176px;
  height: 36px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #FF2E7E, #D5005B);
  transform: translateZ(88px);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.lid-back {
  width: 176px;
  height: 36px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #A80046, #7A0035);
  transform: rotateY(180deg) translateZ(88px);
}

.lid-left {
  width: 176px;
  height: 36px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #A80046, #7A0035);
  transform: rotateY(-90deg) translateZ(88px);
}

.lid-right {
  width: 176px;
  height: 36px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #FF2E7E, #D5005B);
  transform: rotateY(90deg) translateZ(88px);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ── 3D Gold Ribbon Bow on Cover ──────────────────────────────── */
.bow {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: 66px;
  height: 36px;
  z-index: 35;
  pointer-events: none;
}

.bow-center-knot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #FFFBEB 0%, #FBBF24 50%, #D97706 100%);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.8), 0 3px 6px rgba(0,0,0,0.4);
  z-index: 10;
}

.bow-ribbon-loop {
  position: absolute;
  top: 2px;
  width: 32px;
  height: 22px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FBBF24 40%, #D97706 100%);
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 50% 50% 10% 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.bow-loop-left {
  left: 0;
  transform: rotate(-32deg);
}

.bow-loop-right {
  right: 0;
  transform: rotate(32deg) scaleX(-1);
}

.bow-tail {
  position: absolute;
  top: 22px;
  width: 10px;
  height: 22px;
  background: linear-gradient(180deg, #FBBF24, #D97706);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.bow-tail-left { left: 18px; transform: rotate(18deg); }
.bow-tail-right { right: 18px; transform: rotate(-18deg); }

/* Ribbon Cross Bands on Top Lid */
.ribbon-cross-h {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 24px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #D97706, #FDE68A 50%, #D97706);
  border-top: 1.5px solid #FFFFFF;
  border-bottom: 1.5px solid #FFFFFF;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
}

.ribbon-cross-v {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #D97706, #FDE68A 50%, #D97706);
  border-left: 1.5px solid #FFFFFF;
  border-right: 1.5px solid #FFFFFF;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
}

/* ── 3D Base Body ─────────────────────────────────────────────── */
.gift-base {
  position: absolute;
  top: 26px;
  left: 0;
  width: 160px;
  height: 134px;
  transform-style: preserve-3d;
}

.base-face {
  position: absolute;
  backface-visibility: visible;
  border: 1px solid rgba(251, 191, 36, 0.55);
}

.base-front {
  width: 160px;
  height: 134px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #D5005B 0%, #A80046 60%, #7A0035 100%);
  transform: translateZ(80px);
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}

.base-back {
  width: 160px;
  height: 134px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #7A0035, #4D0022);
  transform: rotateY(180deg) translateZ(80px);
}

.base-left {
  width: 160px;
  height: 134px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #A80046, #4D0022);
  transform: rotateY(-90deg) translateZ(80px);
}

.base-right {
  width: 160px;
  height: 134px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #D5005B, #7A0035);
  transform: rotateY(90deg) translateZ(80px);
}

.base-bottom {
  width: 160px;
  height: 160px;
  top: 0;
  left: 0;
  background: #4D0022;
  transform: rotateX(-90deg) translateZ(67px);
}

.ribbon-body-v {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 22px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FDE68A, #F5A623 60%, #B45309);
  border-left: 1.5px solid rgba(255,255,255,0.4);
  border-right: 1.5px solid rgba(255,255,255,0.4);
}

.ribbon-body-h {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  height: 18px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #B45309, #FDE68A 50%, #B45309);
  border-top: 1.5px solid rgba(255,255,255,0.4);
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
}

.box-lock-tag {
  position: relative;
  z-index: 5;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--clr-gold-light);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.5);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.gift-shadow {
  position: absolute;
  width: 150px;
  height: 38px;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.65) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.interior-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #FFF7ED 0%, var(--clr-gold) 40%, transparent 75%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* ── Rumble & Pop Open Physics Animation ──────────────────────── */
@keyframes boxRumbleLow {
  0%, 100% { transform: rotateX(-16deg) rotateY(22deg) translate(0, 0); }
  25% { transform: rotateX(-16deg) rotateY(22deg) translate(-2px, 1px); }
  75% { transform: rotateX(-16deg) rotateY(22deg) translate(2px, -1px); }
}

@keyframes boxRumbleHigh {
  0%, 100% { transform: rotateX(-16deg) rotateY(22deg) translate(0, 0) scale(1.03); }
  20% { transform: rotateX(-16deg) rotateY(22deg) translate(-5px, 2px) rotate(-2deg); }
  40% { transform: rotateX(-16deg) rotateY(22deg) translate(5px, -3px) rotate(2deg); }
  60% { transform: rotateX(-16deg) rotateY(22deg) translate(-4px, -2px) rotate(-1deg); }
  80% { transform: rotateX(-16deg) rotateY(22deg) translate(4px, 3px) rotate(1deg); }
}

.gift-box.rumble-low {
  animation: boxRumbleLow 0.12s infinite ease-in-out !important;
}

.gift-box.rumble-high {
  animation: boxRumbleHigh 0.07s infinite ease-in-out !important;
}

/* When won: The Lid Detaches & Launches upwards */
.gift-box.lid-open .gift-lid {
  transform: translateY(-110px) rotateX(25deg) rotateY(-30deg) rotateZ(-15deg) scale(1.08) !important;
  opacity: 0.95;
  box-shadow: 0 0 35px var(--clr-gold-glow);
}

.gift-box.lid-open .interior-glow {
  opacity: 1;
}

.gift-box.lid-open .box-lock-tag {
  color: var(--clr-emerald);
  border-color: var(--clr-emerald);
}

/* ── Audio Dashboard (Gauge + Frequency Waveform) ─────────────── */
.audio-dashboard {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 6px 0;
  padding: 12px 18px;
  background: var(--clr-glass-bg);
  border: 1px solid var(--clr-glass-border);
  border-radius: 22px;
  backdrop-filter: blur(14px);
}

.circular-meter-container {
  position: relative;
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}

.circular-meter-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.meter-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 8;
}

.meter-fill {
  fill: none;
  stroke: var(--clr-magenta);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.08s linear, stroke 0.2s ease;
}

.meter-center-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.meter-db-value {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.meter-db-unit {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--clr-pink-200);
  margin-top: 2px;
}

/* Equalizer Bars */
.voice-meter {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meter-bars {
  display: flex;
  align-items: center;
  gap: 3.5px;
  height: 46px;
}

.meter-bar {
  width: 5.5px;
  height: 4px;
  min-height: 4px;
  background: linear-gradient(180deg, var(--clr-magenta), var(--clr-pink-200));
  border-radius: 999px;
  transition: height 0.06s ease, background 0.2s ease;
}

/* ── Progress Section ─────────────────────────────────────────── */
.progress-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-pink-100);
}

.progress-hold-text {
  color: var(--clr-gold-light);
  font-weight: 800;
}

.progress-track {
  width: 100%;
  height: 11px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--clr-magenta), var(--clr-gold-light));
  border-radius: 999px;
  transition: width 0.08s linear;
  box-shadow: 0 0 14px var(--clr-gold-glow);
}

.progress-msg {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--clr-pink-200);
  text-align: center;
  min-height: 1.2em;
}

/* ── Mobile Action Controls ───────────────────────────────────── */
.game-action-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.btn-mic-state {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--clr-magenta) 0%, var(--clr-magenta-deep) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mic-state:hover {
  transform: translateY(-1px);
}

.btn-tap-power {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--clr-gold-light);
  background: rgba(245, 166, 35, 0.16);
  border: 1.5px dashed var(--clr-gold);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-tap-power:active {
  background: rgba(245, 166, 35, 0.38);
  transform: scale(0.98);
}

.btn-tap-power.hidden {
  display: none !important;
}

/* ── 4. Winner Reveal Screen ──────────────────────────────────── */
.offer-screen {
  padding-top: 8px;
}

.offer-card {
  width: 100%;
  padding: 38px 28px;
  background: var(--clr-glass-bg);
  border: 1.5px solid rgba(245, 166, 35, 0.55);
  border-radius: 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.5), 0 0 45px rgba(245, 166, 35, 0.22);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.offer-badge {
  display: inline-block;
  padding: 7px 16px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.8px;
}

.offer-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.1rem, 6vw, 2.7rem);
  font-weight: 800;
  color: var(--clr-gold-light);
  text-shadow: 0 0 22px var(--clr-gold-glow);
}

.offer-desc {
  font-size: 0.95rem;
  color: var(--clr-pink-100);
}

.coupon-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px dashed var(--clr-gold);
  border-radius: 20px;
  margin: 6px 0;
}

.offer-code {
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 3.5px;
  color: #FFFFFF;
}

.btn-copy {
  padding: 9px 18px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  background: var(--clr-magenta);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy:hover {
  background: var(--clr-magenta-deep);
}

.offer-expiry {
  font-size: 0.78rem;
  color: var(--clr-pink-200);
  line-height: 1.45;
  max-width: 360px;
}

.offer-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

/* ── WhatsApp Floating Pulse ──────────────────────────────────── */
.whatsapp-pulse {
  animation: pulseWa 2s infinite;
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ── Media Queries ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }
  .brand-logo-img {
    height: 60px;
    max-height: 66px;
  }
  .main-stage {
    padding-top: 32px;
    padding-bottom: 64px;
    margin-bottom: 24px;
  }
  .intro-card, .perm-card, .arena-card, .offer-card {
    padding: 24px 18px;
    border-radius: 26px;
  }
  .gift-wrapper {
    width: 210px;
    height: 185px;
  }
  .gift-box {
    transform: scale(0.92) rotateX(-16deg) rotateY(22deg);
  }
}