/* ==========================================================================
   ULTRA LUXURY BLENDED eCARD PAGE
   High Aesthetics, Metallic Gold Accents & Motion Design
   ========================================================================== */

:root {
  /* Color Tokens */
  --color-card-bg: linear-gradient(135deg, #2b0642 0%, #68119a 45%, #b5179e 80%, #ff2a70 100%);
  --color-text-main: #111111;
  --color-text-muted: #555555;
  --color-primary: #0072ff;
  --color-cyan: #00c6ff;

  /* Metallic Gold Palette */
  --gold-stop-1: #b8860b;
  --gold-stop-2: #f5e18c;
  --gold-stop-3: #d4af37;
  --gold-stop-4: #fdf1c7;
  --gold-stop-5: #996515;

  --gold-line-color: #c89f55;

  /* Typography */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --card-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.18), 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

/* Base & Marble Texture */
body.luxury-marble-bg {
  background-color: #f2f3f5;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    radial-gradient(at 0% 0%, rgba(225, 225, 230, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(215, 210, 200, 0.4) 0px, transparent 50%),
    repeating-linear-gradient(45deg, rgba(180, 180, 180, 0.03) 0px, rgba(180, 180, 180, 0.03) 2px, transparent 2px, transparent 10px);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
}

/* Floating Gold Bokeh Dust Particles */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0) 70%);
  animation: floatParticle 8s infinite linear;
}

.p1 { width: 12px; height: 12px; top: 15%; left: 20%; animation-duration: 9s; }
.p2 { width: 18px; height: 18px; top: 70%; left: 15%; animation-duration: 12s; animation-delay: 1s; }
.p3 { width: 10px; height: 10px; top: 25%; left: 80%; animation-duration: 10s; animation-delay: 2s; }
.p4 { width: 15px; height: 15px; top: 75%; left: 85%; animation-duration: 11s; animation-delay: 0.5s; }
.p5 { width: 8px;  height: 8px;  top: 45%; left: 10%; animation-duration: 7s;  animation-delay: 3s; }
.p6 { width: 14px; height: 14px; top: 60%; left: 90%; animation-duration: 13s; animation-delay: 1.5s; }

@keyframes floatParticle {
  0% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-40px) scale(1.2); opacity: 0.6; }
  100% { transform: translateY(-80px) scale(1); opacity: 0.2; }
}

/* Page Layout Wrapper */
.page-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card Container */
.card-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* Realistic Kraft Envelope & Wax Seal */
.envelope-wrapper {
  position: absolute;
  top: 6%;
  left: -70px;
  width: 100%;
  height: 94%;
  z-index: 1;
  transform: rotate(-10deg);
  pointer-events: none;
}

.envelope-body {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d8a048 0%, #c48c34 50%, #b07824 100%);
  border-radius: 6px;
  box-shadow: -18px 22px 40px rgba(0, 0, 0, 0.18), -2px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.envelope-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 3px, transparent 3px, transparent 10px);
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, #c79038 0%, #b37c26 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.15);
}

/* Wax Seal Stamp */
.wax-seal {
  position: absolute;
  top: 42%;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #c0392b, #8e1b10);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #72140b;
}

.seal-emblem {
  color: #f5e18c;
  font-size: 16px;
}

/* ==========================================================================
   MAIN INVITATION CARD
   ========================================================================== */

.invitation-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 64, 129, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124, 77, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 50% 15%, rgba(255, 215, 0, 0.22) 0%, transparent 40%),
    var(--color-card-bg);
  background-size: 140% 140%;
  animation: partyAmbientPulse 8s ease-in-out infinite alternate;
  color: #ffffff;
  padding: 85px 44px 75px;
  border-radius: 12px;
  box-shadow: 0 35px 75px -15px rgba(104, 17, 154, 0.38), 0 12px 30px -5px rgba(255, 42, 112, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 540px;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes partyAmbientPulse {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.invitation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 45px 85px -15px rgba(104, 17, 154, 0.5), 0 15px 35px -5px rgba(255, 42, 112, 0.35);
}

/* Shimmer Foil Border Reflection Effect */
.gold-foil-border {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(255, 235, 170, 0.25) 50%, transparent 60%, transparent 100%);
  background-size: 200% 100%;
  animation: foilShimmer 6s infinite ease-in-out;
}

@keyframes foilShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Corner Vector Ornaments */
.ornament {
  position: absolute;
  width: 190px;
  height: 190px;
  pointer-events: none;
  z-index: 3;
}

.ornament.top-left { top: -10px; left: -10px; }
.ornament.top-right { top: -10px; right: -10px; }
.ornament.bottom-left { bottom: -10px; left: -10px; }
.ornament.bottom-right { bottom: -10px; right: -10px; }

.gold-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

/* ==========================================================================
   CENTERPIECE BLENDED LAYOUT
   ========================================================================== */

.blended-invite-container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 5;
}

/* Crest Icon */
.crest-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-crest-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(184, 134, 11, 0.3));
  animation: floatCrest 3s ease-in-out infinite alternate;
}

@keyframes floatCrest {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* Title */
.blended-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Gold Accent Divider */
.gold-accent-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 220px;
  margin-bottom: 24px;
}

.line-wing {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.diamond-dot {
  color: #ffffff;
  font-size: 11px;
}

.subtitle-wrapper {
  margin-bottom: 28px;
}

.blended-subtitle {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 380px;
}

.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
  vertical-align: middle;
}

/* Buttons Section */
.blended-buttons {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.blended-btn {
  position: relative;
  width: 100%;
  height: 50px;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  overflow: hidden;
}

.blended-btn .btn-icon {
  width: 18px;
  height: 18px;
}

/* Primary Button - White Accent */
.blended-btn.primary-btn {
  background: #ffffff;
  color: #8a12a5;
  border: none;
  box-shadow: 0 8px 25px rgba(138, 18, 165, 0.38);
  text-transform: uppercase;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(138, 18, 165, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.blended-btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(138, 18, 165, 0.55);
}

.blended-btn.primary-btn:hover .btn-shine {
  left: 140%;
}

.blended-btn.primary-btn:active {
  transform: translateY(0);
}

/* Secondary Button - White Outline */
.blended-btn.outline-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.blended-btn.outline-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Notification Toast Popup */
.toast-notification {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.4);
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  bottom: 30px;
}

/* Help Modal */
.help-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.help-modal-box {
  position: relative;
  background: #ffffff;
  padding: 34px 28px;
  border-radius: 20px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  text-align: left;
  border: 1px solid rgba(0, 114, 255, 0.2);
}

.modal-badge {
  display: inline-block;
  background: rgba(0, 114, 255, 0.1);
  color: #0072ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.help-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}

.help-close-btn:hover {
  color: #111;
}

.help-modal-box h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 18px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
}

/* Responsive Scaling */
@media (max-width: 680px) {
  body { padding: 20px 10px; }
  .envelope-wrapper { left: -35px; transform: rotate(-6deg); }
  .invitation-card { padding: 65px 20px 55px; min-height: auto; }
  .ornament { width: 130px; height: 130px; }
  .blended-title { font-size: 32px; }
}

/* ==========================================================================
   SYSTEM ACCESSIBILITY & RESTRICTION
   ========================================================================== */

/* Hiding Invitation Elements on Non-Windows systems by default */
.page-wrapper,
.particles-container,
.main-bg-party-objects {
  display: none !important;
}

body.is-windows .page-wrapper {
  display: flex !important;
}

body.is-windows .particles-container,
body.is-windows .main-bg-party-objects {
  display: block !important;
}

/* Windows Restrict Overlay Display */
.system-restrict-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #f2f3f5;
  background-image: 
    radial-gradient(at 0% 0%, rgba(225, 225, 230, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(215, 210, 200, 0.4) 0px, transparent 50%),
    repeating-linear-gradient(45deg, rgba(180, 180, 180, 0.03) 0px, rgba(180, 180, 180, 0.03) 2px, transparent 2px, transparent 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body.is-windows .system-restrict-overlay {
  display: none !important;
}

/* Restrict Card Frame */
.restrict-card {
  background: #ffffff;
  padding: 50px 36px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(212, 175, 55, 0.35);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.restrict-crest {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  animation: floatCrest 3s ease-in-out infinite alternate;
}

.restrict-card h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
}

.restrict-msg {
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
  margin: 20px 0 10px;
}

.restrict-sub {
  font-size: 12px;
  font-weight: 500;
  color: #888888;
  margin-bottom: 24px;
}

.copy-link-btn {
  width: 100%;
  max-width: 280px;
  height: 46px;
  border-radius: 23px;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 114, 255, 0.25);
  transition: all 0.25s ease;
}

.copy-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.35);
}


/* ==========================================================================
   CLOUDFLARE TURNSTILE CAPTCHA GATE
   ========================================================================== */

.captcha-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #f2f3f5;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    radial-gradient(at 0% 0%, rgba(225, 225, 230, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(215, 210, 200, 0.4) 0px, transparent 50%),
    repeating-linear-gradient(45deg, rgba(180, 180, 180, 0.03) 0px, rgba(180, 180, 180, 0.03) 2px, transparent 2px, transparent 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.captcha-gate-overlay.verified {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.captcha-gate-card {
  background: #ffffff;
  padding: 48px 40px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(212, 175, 55, 0.35);
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.captcha-gate-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, transparent 40%, rgba(255, 235, 170, 0.15) 50%, transparent 60%, transparent 100%);
  background-size: 200% 100%;
  animation: foilShimmer 6s infinite ease-in-out;
}

.captcha-gate-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  animation: floatCrest 3s ease-in-out infinite alternate;
}

.captcha-gate-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 14px;
}

.captcha-gate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 180px;
  margin: 0 auto 20px;
}

.captcha-gate-msg {
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 28px;
}

.captcha-gate-widget {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 65px;
}

.captcha-gate-error {
  font-size: 13px;
  color: #cc1144;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255, 34, 85, 0.06);
  border: 1px solid rgba(255, 34, 85, 0.25);
  border-radius: 8px;
}

.captcha-gate-powered {
  font-size: 11px;
  color: #999999;
  margin: 0;
}

.captcha-gate-powered strong {
  color: #666666;
  font-weight: 600;
}

@media (max-width: 680px) {
  .captcha-gate-card {
    padding: 36px 24px;
  }
  .captcha-gate-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   PARTY BALLOONS, CAKE EMBLEM & CONFETTI ANIMATIONS
   ========================================================================== */

/* Party Cake Badge */
.party-cake-badge {
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 15px rgba(255, 64, 129, 0.45));
  animation: floatCake 3s ease-in-out infinite alternate;
}

.party-cake-svg {
  width: 100%;
  height: 100%;
}

.flame-sparkle {
  animation: flameFlicker 0.8s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-3deg); opacity: 0.9; }
  100% { transform: scale(1.15) rotate(4deg); opacity: 1; filter: drop-shadow(0 0 6px #ffd700); }
}

@keyframes floatCake {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}

/* ==========================================================================
   PARTY BALLOONS, CAKE EMBLEM & CONFETTI ANIMATIONS (CONTAINED IN CARD)
   ========================================================================== */

/* Card Party Background Overlay */
.card-party-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* In-Card Balloon Groups */
.in-card-balloons {
  position: absolute;
  top: 10px;
  display: flex;
  gap: 6px;
  opacity: 0.88;
}

.in-card-balloons.left-balloons {
  left: 12px;
}

.in-card-balloons.right-balloons {
  right: 12px;
}

.in-card-balloons .balloon {
  position: relative;
  width: 38px;
  height: 48px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  box-shadow: inset -3px -4px 8px rgba(0, 0, 0, 0.25), 0 6px 15px rgba(0, 0, 0, 0.2);
  animation: cardBalloonSway 4.5s ease-in-out infinite alternate;
}

.balloon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid rgba(0, 0, 0, 0.3);
}

.balloon-shine {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 9px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transform: rotate(-30deg);
}

.balloon-string {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 1.5px;
  height: 55px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 100%);
  transform: translateX(-50%);
}

/* Balloon Color Gradients */
.b-gold {
  background: radial-gradient(circle at 35% 35%, #fff1b8 0%, #ffd700 50%, #b8860b 100%);
  animation-duration: 4.5s;
  animation-delay: 0s;
}

.b-pink {
  background: radial-gradient(circle at 35% 35%, #ff80ab 0%, #ff4081 50%, #c51162 100%);
  margin-top: 20px;
  animation-duration: 3.8s;
  animation-delay: 0.5s;
}

.b-purple {
  background: radial-gradient(circle at 35% 35%, #ea80fc 0%, #aa00ff 50%, #4a148c 100%);
  margin-top: 8px;
  animation-duration: 4.2s;
  animation-delay: 1s;
}

.b-cyan {
  background: radial-gradient(circle at 35% 35%, #80d8ff 0%, #00e5ff 50%, #00838f 100%);
  animation-duration: 4.1s;
  animation-delay: 0.2s;
}

.b-gold2 {
  background: radial-gradient(circle at 35% 35%, #ffe082 0%, #ffb300 50%, #ff6f00 100%);
  margin-top: 18px;
  animation-duration: 4.6s;
  animation-delay: 0.7s;
}

.b-magenta {
  background: radial-gradient(circle at 35% 35%, #ff80ab 0%, #f50057 50%, #880e4f 100%);
  margin-top: -8px;
  animation-duration: 3.6s;
  animation-delay: 1.2s;
}

@keyframes cardBalloonSway {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-8px) rotate(3deg); }
}

/* Card Confetti Dots & Sparkles inside Card Div */
.card-confetti-dot {
  position: absolute;
  width: 9px;
  height: 12px;
  border-radius: 2px;
  opacity: 0.65;
}

.cc1 { top: 12%; left: 16%; background: #ffd700; transform: rotate(25deg); }
.cc2 { top: 22%; right: 18%; background: #ff4081; transform: rotate(-40deg); width: 8px; height: 8px; border-radius: 50%; }
.cc3 { top: 75%; left: 14%; background: #00e5ff; transform: rotate(15deg); }
.cc4 { top: 82%; right: 15%; background: #aa00ff; transform: rotate(-20deg); }
.cc5 { top: 48%; left: 8%; background: #ffab00; transform: rotate(50deg); }
.cc6 { top: 56%; right: 8%; background: #76ff03; transform: rotate(-15deg); }

.card-confetti-sparkle {
  position: absolute;
  font-size: 15px;
  color: #ffd700;
  opacity: 0.75;
  animation: cardSparklePulse 3s infinite ease-in-out alternate;
}

.cs1 { top: 10%; right: 28%; }
.cs2 { top: 78%; left: 24%; color: #ff80ab; }
.cs3 { top: 20%; left: 26%; }
.cs4 { top: 84%; right: 26%; color: #80d8ff; }

@keyframes cardSparklePulse {
  0% { transform: scale(0.85); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.9; filter: drop-shadow(0 0 6px #ffd700); }
}

/* Party Cake Badge */
.party-cake-badge {
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 15px rgba(255, 64, 129, 0.45));
  animation: floatCake 3s ease-in-out infinite alternate;
}

.party-cake-svg {
  width: 100%;
  height: 100%;
}

.flame-sparkle {
  animation: flameFlicker 0.8s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-3deg); opacity: 0.9; }
  100% { transform: scale(1.15) rotate(4deg); opacity: 1; filter: drop-shadow(0 0 6px #ffd700); }
}

@keyframes floatCake {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}

@media (max-width: 680px) {
  .in-card-balloons { opacity: 0.6; scale: 0.8; }
}

/* ==========================================================================
   ULTRA UNIQUE PARTY FEATURES: VIP BADGE, HOLO SHEEN, EQUALIZER & BUBBLES
   ========================================================================== */

/* Holographic Prism Sheen Layer */
.holo-shimmer-layer {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 0, 128, 0.18) 45%,
    rgba(0, 229, 255, 0.22) 50%,
    rgba(255, 215, 0, 0.25) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 250%;
  background-position: 0% 0%;
  mix-blend-mode: color-dodge;
  transition: background-position 0.15s ease-out;
}

/* VIP Celebration Ribbon Badge */
.vip-ribbon-badge {
  position: absolute;
  top: 22px;
  right: -32px;
  z-index: 6;
  background: linear-gradient(135deg, #ffd700 0%, #ff80ab 50%, #c51162 100%);
  color: #111111;
  padding: 5px 36px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: rotate(38deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  text-transform: uppercase;
}

.vip-ribbon-badge span {
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* Effervescent Champagne Bubbles */
.champagne-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 215, 0, 0.3));
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  animation: bubbleRise 6s infinite linear;
  pointer-events: none;
}

.cb1 { width: 8px; height: 8px; left: 22%; bottom: -10px; animation-duration: 5s; animation-delay: 0s; }
.cb2 { width: 12px; height: 12px; left: 45%; bottom: -10px; animation-duration: 7s; animation-delay: 1.5s; }
.cb3 { width: 6px; height: 6px; left: 68%; bottom: -10px; animation-duration: 4.5s; animation-delay: 3s; }
.cb4 { width: 10px; height: 10px; left: 82%; bottom: -10px; animation-duration: 6.5s; animation-delay: 0.8s; }
.cb5 { width: 7px; height: 7px; left: 35%; bottom: -10px; animation-duration: 5.5s; animation-delay: 2.2s; }

@keyframes bubbleRise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-500px) scale(1.3); opacity: 0; }
}

/* Neon Party Rhythm Equalizer Beats */
.party-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 18px;
  margin: 6px 0 16px;
}

.eq-bar {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff80ab, #ffd700);
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.6);
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq1 { height: 40%; animation-delay: 0s; }
.eq2 { height: 85%; animation-delay: 0.25s; }
.eq3 { height: 100%; animation-delay: 0.5s; }
.eq4 { height: 70%; animation-delay: 0.15s; }
.eq5 { height: 45%; animation-delay: 0.4s; }

@keyframes eqBounce {
  0% { height: 25%; opacity: 0.6; }
  100% { height: 100%; opacity: 1; filter: drop-shadow(0 0 6px #00e5ff); }
}

/* Interactive Confetti Burst Pieces */
.cannon-confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 100;
  animation: cannonPop 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes cannonPop {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.3);
    opacity: 0;
  }
}

/* ==========================================================================
   PARTY CARD BACKDROP ARTWORK: SPOTLIGHT BEAMS, GARLAND & CHAMPAGNE SILHOUETTE
   ========================================================================== */

/* 1. Volumetric Party Spotlight Beams */
.spotlight-beams-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.spotlight-beam {
  transform-origin: 250px 0;
  animation: beamPulse 6s ease-in-out infinite alternate;
}

.b-left1 { animation-delay: 0s; }
.b-left2 { animation-delay: 1.2s; }
.b-right1 { animation-delay: 0.6s; }
.b-right2 { animation-delay: 1.8s; }
.b-center { animation-delay: 2.4s; }

@keyframes beamPulse {
  0% { opacity: 0.3; transform: scaleX(0.9); }
  100% { opacity: 0.9; transform: scaleX(1.15); filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5)); }
}

/* 2. Festive Gold & Magenta Hanging Flag Garland */
.garland-banner-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.garland-banner-svg polygon {
  animation: flagSway 4s ease-in-out infinite alternate;
  transform-origin: center top;
}

@keyframes flagSway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

/* 3. Clinking Champagne Flutes Toast Silhouette */
.champagne-toast-backdrop {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

.champagne-svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   MAIN PAGE BACKGROUND FLOATING PARTY OBJECTS
   ========================================================================== */

.main-bg-party-objects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Floating Balloons on Left & Right Sides */
.balloon-group-left {
  position: absolute;
  top: 15%;
  left: 3%;
  display: flex;
  gap: 8px;
  opacity: 0.9;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.18));
}

.balloon-group-right {
  position: absolute;
  top: 18%;
  right: 3%;
  display: flex;
  gap: 8px;
  opacity: 0.9;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.18));
}

.bg-balloon {
  position: relative;
  width: 48px;
  height: 60px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  animation: floatBgObj 5s ease-in-out infinite alternate;
}

.bg-balloon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid rgba(0, 0, 0, 0.3);
}

.b-shine {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 10px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-30deg);
}

.b-string {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 1.5px;
  height: 75px;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 100%);
  transform: translateX(-50%);
}

/* Party Popper / Horns Icon */
.party-popper {
  position: absolute;
  bottom: 20%;
  left: 4%;
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 8px 16px rgba(255, 64, 129, 0.35));
  animation: floatBgObj 4.2s ease-in-out infinite alternate;
}

.party-popper-svg {
  width: 100%;
  height: 100%;
}

/* Cocktail Glass */
.party-cocktail {
  position: absolute;
  bottom: 22%;
  right: 4%;
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 8px 16px rgba(0, 229, 255, 0.35));
  animation: floatBgObj 4.8s ease-in-out infinite alternate;
}

.cocktail-svg {
  width: 100%;
  height: 100%;
}

/* Music Notes & Gifts */
.music-note {
  position: absolute;
  font-size: 26px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
  animation: floatBgObj 3.5s ease-in-out infinite alternate;
}

.note-1 { top: 48%; left: 5%; color: #ff80ab; animation-delay: 0.5s; }
.note-2 { top: 52%; right: 5%; color: #ffd700; animation-delay: 1.2s; }

.party-gift {
  position: absolute;
  font-size: 32px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
  animation: floatBgObj 4.5s ease-in-out infinite alternate;
}

.gift-left { top: 72%; left: 8%; animation-delay: 1s; }
.gift-right { top: 74%; right: 8%; animation-delay: 1.8s; }

/* Streamer Ribbons */
.bg-streamer {
  position: absolute;
  width: 12px;
  height: 70px;
  border-radius: 6px;
  opacity: 0.45;
  filter: blur(0.5px);
  animation: streamerFloat 6s ease-in-out infinite alternate;
}

.st-1 { top: 10%; left: 18%; background: linear-gradient(180deg, #ffd700, #ff4081); transform: rotate(25deg); }
.st-2 { top: 12%; right: 18%; background: linear-gradient(180deg, #00e5ff, #aa00ff); transform: rotate(-30deg); animation-delay: 1.5s; }
.st-3 { bottom: 15%; left: 16%; background: linear-gradient(180deg, #ffab00, #ff1744); transform: rotate(-15deg); animation-delay: 0.8s; }
.st-4 { bottom: 18%; right: 16%; background: linear-gradient(180deg, #76ff03, #00b0ff); transform: rotate(35deg); animation-delay: 2.2s; }

@keyframes streamerFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(15deg); }
}

@keyframes floatBgObj {
  0% { transform: translateY(0) rotate(-3deg) scale(1); }
  100% { transform: translateY(-18px) rotate(4deg) scale(1.05); }
}

/* Background Stars */
.bg-star {
  position: absolute;
  font-size: 20px;
  color: #ffd700;
  opacity: 0.65;
  animation: bgStarTwinkle 3s ease-in-out infinite alternate;
}

.star-1 { top: 8%; left: 10%; }
.star-2 { top: 85%; left: 12%; color: #ff80ab; animation-delay: 1s; }
.star-3 { top: 12%; right: 12%; animation-delay: 1.5s; }
.star-4 { top: 82%; right: 10%; color: #80d8ff; animation-delay: 0.5s; }

@keyframes bgStarTwinkle {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 0.9; transform: scale(1.3); filter: drop-shadow(0 0 10px #ffd700); }
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .balloon-group-left,
  .balloon-group-right { opacity: 0.5; scale: 0.75; }
  .party-popper,
  .party-cocktail,
  .party-gift { scale: 0.75; }
}

@media (max-width: 768px) {
  .main-bg-party-objects { display: none !important; }
}






