/* =============================================================================
   KAFF BRAND SHOPPE — GRAND OPENING DIGITAL INVITATION
   style.css | Mobile-First Refined Static Invitation Stylesheet
   ============================================================================= */

/* ── Typography (Google Fonts) ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --deep-purple:      #231245;
  --rich-purple:      #2d1b5e;
  --card-bg:          #1f103d;
  --panel-bg:         rgba(45, 27, 94, 0.55);
  --outer-bg:         #0f071d;

  --gold:             #c9a84c;
  --gold-light:       #e8c96a;
  --gold-pale:        #f5e4a8;
  --gold-border:      rgba(201, 168, 76, 0.35);
  --gold-border-sub:  rgba(201, 168, 76, 0.20);
  --gold-gradient:    linear-gradient(135deg, #c9a84c 0%, #f5e4a8 50%, #c9a84c 100%);

  --cream:            #fbf7ee;
  --cream-soft:       rgba(251, 247, 238, 0.85);
  --cream-muted:      rgba(251, 247, 238, 0.65);
  --white:            #ffffff;

  --wa-green:         #25d366;
  --wa-green-hover:   #20bd5a;

  --font-display:     'Cinzel', Georgia, serif;
  --font-serif:       'Cormorant Garamond', Georgia, serif;
  --font-sans:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm:        6px;
  --radius-md:        10px;
  --radius-lg:        16px;
  --radius-full:      50px;

  --shadow-card:      0 16px 48px rgba(10, 4, 22, 0.45);
  --shadow-panel:     0 4px 16px rgba(10, 4, 22, 0.25);
  --shadow-gold:      0 2px 12px rgba(201, 168, 76, 0.25);
}

/* ── Base Reset & Defaults ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--outer-bg);
  color: var(--cream);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ── App Wrapper: Centered Mobile Card Layout on Desktop ── */
.invitation-app-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(circle at 50% 20%, #200f3d 0%, #0c0517 75%);
  padding: 0;
}

@media (min-width: 576px) {
  .invitation-app-wrapper {
    padding: 24px 12px;
  }
}

/* Central Mobile Card Container (Max 480px, centered) */
.invitation-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1f0f38 0%, #170b2b 45%, #140924 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.65), 0 0 1px rgba(201, 168, 76, 0.4);
}

@media (min-width: 576px) {
  .invitation-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-border);
  }
}

/* Subtle Gold Top Accent Bar */
.invitation-card::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

/* ── Shared Section & Card Tags ── */
.section-title-tag,
.card-title-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title-tag span,
.card-title-tag span {
  font-family: var(--font-sans);
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border-sub);
  padding: 3px 14px;
  border-radius: var(--radius-full);
}

/* ══════════════════════════════════════════════════════════════════
   1. PREMIUM INVITATION ARTWORK HERO (Portrait Artwork Header)
   ══════════════════════════════════════════════════════════════════ */
.invitation-hero-header {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: #f6efd5;
  border-bottom: 2px solid var(--gold);
}

.invitation-hero-artwork-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.invitation-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 848 / 1264;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.3s ease;
}

/* Subtle gold bottom accent glow */
.invitation-hero-artwork-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 2;
}

/* ══════════════════════════════════════════════════════════════════
   2. INVITATION MESSAGE PANEL (Directly below hero artwork)
   ══════════════════════════════════════════════════════════════════ */
.invitation-intro-section {
  padding: 12px 16px 4px;
}

.invitation-intro-panel {
  background: linear-gradient(135deg, #fcf8ee 0%, #f5ebd2 50%, #faedd0 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  position: relative;
}

.invitation-intro-title {
  font-family: var(--font-display);
  font-size: 0.9375rem; /* 15px */
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #231245; /* Deep purple high contrast against cream */
  margin-bottom: 6px;
  line-height: 1.25;
  text-transform: uppercase;
}

.invitation-intro-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem; /* 17px */
  font-weight: 600;
  color: #2e1857; /* Dark royal purple */
  line-height: 1.45;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   6. EVENT DATE, DAY, AND TIME (Compact & Distinctive)
   ══════════════════════════════════════════════════════════════════ */
.schedule-section {
  padding: 12px 16px;
}

.schedule-card {
  background: linear-gradient(145deg, rgba(45, 27, 94, 0.85) 0%, rgba(26, 15, 54, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: var(--shadow-panel);
}

/* Distinctive Day & Date Header */
.day-highlight-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.day-badge {
  background: var(--gold-gradient);
  color: #231245;
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

.date-highlight-text {
  font-family: var(--font-display);
  font-size: 1.0625rem; /* 17px (under 18px constraint) */
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.time-details-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 0;
}

.time-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.time-divider {
  width: 1px;
  height: 32px;
  background: rgba(201, 168, 76, 0.2);
  flex-shrink: 0;
}

.time-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

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

.time-label {
  font-size: 0.625rem; /* 10px */
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-pale);
  opacity: 0.75;
  line-height: 1;
  margin-bottom: 3px;
}

.time-value {
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px (under 18px constraint) */
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.calendar-action-box {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  text-align: center;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--gold-light);
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.btn-calendar:hover, .btn-calendar:focus-visible {
  background: rgba(201, 168, 76, 0.22);
  color: var(--cream);
  border-color: var(--gold-light);
}

/* ══════════════════════════════════════════════════════════════════
   7. VENUE DETAILS (Prominent & Clickable to Google Maps)
   ══════════════════════════════════════════════════════════════════ */
.venue-section {
  padding: 10px 16px;
}

.venue-card-link {
  display: block;
  text-decoration: none;
}

.venue-card {
  background: linear-gradient(145deg, rgba(45, 27, 94, 0.9) 0%, rgba(30, 16, 60, 0.95) 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15), var(--shadow-panel);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.venue-card-link:hover .venue-card,
.venue-card-link:focus-visible .venue-card {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.28);
}

.venue-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.venue-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #231245;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.venue-title-wrap {
  display: flex;
  flex-direction: column;
}

.venue-kicker {
  font-size: 0.625rem; /* 10px */
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-pale);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}

.venue-headline {
  font-family: var(--font-display);
  font-size: 1.0625rem; /* 17px (under 18px constraint) */
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}

.venue-address-text {
  font-family: var(--font-sans);
  font-size: 0.8125rem; /* 13px */
  color: var(--cream-soft);
  line-height: 1.45;
  margin-bottom: 10px;
  padding-left: 2px;
}

.venue-click-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  padding-top: 6px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

/* ══════════════════════════════════════════════════════════════════
   8. INVITATION IMAGE / ARTWORK PREVIEW
   ══════════════════════════════════════════════════════════════════ */
.invitation-image-section {
  padding: 12px 16px;
}

.invitation-frame-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-panel);
  cursor: pointer;
  background: #140924;
}

.invitation-artwork-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.invitation-frame-wrap:hover .invitation-artwork-img {
  transform: scale(1.015);
}

.invitation-tap-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(18, 8, 38, 0.85);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem; /* 11px */
  font-weight: 600;
  color: var(--gold-pale);
  backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════════════════════════════
   9. CONTACT & LOCATION ACTIONS: Call, WhatsApp, Location
   (Displayed on ONE horizontal row including on mobile)
   ══════════════════════════════════════════════════════════════════ */
.quick-actions-section {
  padding: 12px 16px;
}

.actions-horizontal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 evenly distributed columns on 1 row */
  gap: 10px;
  width: 100%;
}

.action-btn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(45, 27, 94, 0.7);
  border: 1px solid var(--gold-border-sub);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  min-height: 72px;
}

.action-btn-item:hover, .action-btn-item:focus-visible {
  transform: translateY(-2px);
  background: rgba(45, 27, 94, 0.95);
  border-color: var(--gold);
}

.action-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Call circle */
.call-action .action-icon-circle {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
}
.call-action:hover .action-icon-circle {
  background: var(--gold-gradient);
  color: #231245;
}

/* WhatsApp circle */
.wa-action .action-icon-circle {
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-green);
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.wa-action:hover .action-icon-circle {
  background: var(--wa-green);
  color: #ffffff;
}

/* Location circle */
.maps-action .action-icon-circle {
  background: rgba(66, 133, 244, 0.15);
  color: #64b5f6;
  border: 1px solid rgba(66, 133, 244, 0.35);
}
.maps-action:hover .action-icon-circle {
  background: #4285f4;
  color: #ffffff;
}

.action-btn-text {
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════════════
   6. COUNTDOWN TO CELEBRATION (Days, Hours, Minutes — High Contrast)
   ══════════════════════════════════════════════════════════════════ */
.countdown-section {
  padding: 12px 16px;
}

.countdown-container-card {
  background: linear-gradient(145deg, rgba(35, 18, 70, 0.85) 0%, rgba(18, 8, 38, 0.95) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-panel);
}

.countdown-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.countdown-sparkle {
  font-size: 0.8125rem;
  color: var(--gold-light);
}

.countdown-tagline {
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-pale);
  text-transform: uppercase;
}

.countdown-digits-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.timer-box {
  background: rgba(18, 9, 38, 0.90);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  min-width: 68px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.timer-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem; /* ~28px significantly larger and readable */
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.timer-label {
  display: block;
  font-size: 0.625rem; /* 10px */
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cream-soft);
  text-transform: uppercase;
  margin-top: 3px;
}

.timer-sep {
  font-family: var(--font-display);
  font-size: 1.35rem; /* 21px */
  font-weight: 700;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
}

.countdown-expired-wrap {
  padding: 8px 4px;
}

.expired-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem; /* 15px */
  color: var(--gold-light);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════
   7. INVITED BY SECTION (Hosts: GD Srinivas & GSN Murthy)
   Redesigned for robust mobile layout (no button clipping)
   ══════════════════════════════════════════════════════════════════ */
.invited-by-section {
  padding: 12px 16px 16px;
}

.hosts-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.host-item-card {
  background: rgba(45, 27, 94, 0.65);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.host-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.host-avatar-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: var(--gold-gradient);
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  overflow: hidden;
}

.host-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.host-content-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.host-full-name {
  font-family: var(--font-display);
  font-size: 0.9375rem; /* 15px */
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 6px;
}

.host-action-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.host-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  min-height: 32px;
  transition: all 0.2s ease;
}

.host-call-pill {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}
.host-call-pill:hover {
  background: var(--gold-gradient);
  color: #231245;
}

.host-wa-pill {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: var(--wa-green);
}
.host-wa-pill:hover {
  background: var(--wa-green);
  color: #ffffff;
}

/* Mirrored Host Card for GSN Murthy */
.host-card-mirrored {
  flex-direction: row;
}

.host-card-mirrored .host-content-block {
  text-align: right;
  align-items: flex-end;
}

.host-card-mirrored .host-full-name {
  text-align: right;
}

.host-card-mirrored .host-action-links {
  justify-content: flex-end;
}

/* ══════════════════════════════════════════════════════════════════
   8. FOOTER ATTRIBUTION (Only "Created by Sama Technologies")
   Left-aligned with right-side clearance for floating music control
   ══════════════════════════════════════════════════════════════════ */
.invitation-footer {
  padding: 20px 130px 22px 18px; /* 130px right clearance so floating music control never obscures */
  text-align: left;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  background: rgba(15, 7, 29, 0.85);
}

.footer-attribution-text {
  font-family: var(--font-sans);
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cream-muted);
  margin: 0;
  white-space: nowrap;
}

.footer-attribution-text a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-attribution-text a:hover,
.footer-attribution-text a:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════
   FLOATING CELEBRATION MUSIC CONTROL (Bottom-Right, Compact Pill)
   ══════════════════════════════════════════════════════════════════ */
.floating-music-wrap {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1000;
}

@media (min-width: 576px) {
  .floating-music-wrap {
    right: max(20px, calc(50% - 240px + 16px));
    bottom: 24px;
  }
}

.btn-floating-music {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(135deg, rgba(35, 18, 70, 0.95) 0%, rgba(20, 10, 42, 0.95) 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 10px rgba(201, 168, 76, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(8px);
}

.btn-floating-music:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(55, 28, 105, 0.95) 0%, rgba(30, 15, 60, 0.95) 100%);
  border-color: var(--gold-light);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 16px rgba(201, 168, 76, 0.45);
  color: var(--cream);
}

.btn-floating-music:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.btn-floating-music.is-playing {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, rgba(45, 22, 90, 0.95) 0%, rgba(25, 12, 52, 0.95) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 18px rgba(201, 168, 76, 0.5);
  color: var(--gold-pale);
}

.music-floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.btn-floating-music.is-playing .music-floating-icon {
  color: var(--gold-light);
}

.music-floating-label {
  line-height: 1;
  white-space: nowrap;
}

.music-floating-waves {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  flex-shrink: 0;
}

.btn-floating-music.is-playing .music-floating-waves {
  display: inline-flex;
}

.f-bar {
  width: 2px;
  background: var(--gold-light);
  border-radius: 1px;
}

.f-bar-1 {
  height: 5px;
  animation: fWave 0.8s ease-in-out infinite alternate;
}

.f-bar-2 {
  height: 10px;
  animation: fWave 0.8s ease-in-out 0.2s infinite alternate;
}

.f-bar-3 {
  height: 7px;
  animation: fWave 0.8s ease-in-out 0.4s infinite alternate;
}

@keyframes fWave {
  0% {
    height: 3px;
    opacity: 0.5;
  }
  100% {
    height: 10px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f-bar {
    animation: none !important;
    height: 6px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   LIGHTBOX MODAL & TOAST
   ══════════════════════════════════════════════════════════════════ */
.invitation-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 20, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.invitation-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-custom {
  position: relative;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: -38px;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.modal-image-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
}

.modal-full-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-inner {
  background: var(--rich-purple);
  border: 1px solid var(--gold);
  color: var(--cream);
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* ── Custom Scrollbar for central card ── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--outer-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--rich-purple);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
