/* ═══════════════════════════════════════════════════════════════
   Party Queue DJ — Shared Notification Overlays
   Used by: index.html (guest), host.html, party.html
   ═══════════════════════════════════════════════════════════════ */

/* ── Confetti canvas (shared by all overlays) ──────────────── */
.ov-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Shared hint text ──────────────────────────────────────── */
.ov-hint {
  margin-top: 20px;
  font-family: var(--f-head, 'Inter', sans-serif);
  font-size: 0.56rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(237,232,220,0.18);
}

/* ── Celebration overlay ───────────────────────────────────── */
.ov-celebration {
  position: fixed;
  inset: 0;
  background: rgba(12,10,8,0.93);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.ov-celebration.visible {
  opacity: 1;
  pointer-events: auto;
}

.ov-celebration-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 32px;
  max-width: 95vw;
}

.ov-celebration-msg {
  font-family: var(--f-editorial, 'Playfair Display', serif);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(3rem, 12vw, 10rem);
  line-height: 0.82;
  letter-spacing: -.055em;
  color: var(--cream, #F9F7F2);
  word-break: break-word;
}

.ov-celebration-from {
  margin-top: 24px;
  font-family: var(--f-head, 'Inter', sans-serif);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(237,232,220,0.45);
}

/* ── Wish overlay ──────────────────────────────────────────── */
.ov-wish {
  position: fixed;
  inset: 0;
  background: rgba(12,10,8,0.95);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  overflow: hidden;
}
.ov-wish::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 65% 55% at 30% 40%, rgba(255,200,80,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 70% 60%, rgba(255,140,50,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 55% 30%, rgba(255,220,120,0.08) 0%, transparent 65%);
  animation: ovWishAmbient 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ovWishAmbient {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(3%, 4%) scale(1.06); }
}
.ov-wish.visible { opacity: 1; pointer-events: auto; }

.ov-wish-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 32px;
  max-width: 95vw;
  max-height: 85vh;
  overflow: hidden;
}

.ov-wish-eyebrow {
  font-family: var(--f-utility, 'Inter', sans-serif);
  font-size: 0.56rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(237,232,220,0.35);
  margin-bottom: 20px;
}

.ov-wish-msg {
  font-family: var(--f-head, 'Inter', sans-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 9vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--cream, #EDE8DC);
  letter-spacing: -1px;
  word-break: break-word;
  white-space: pre-wrap;
}

.ov-wish-from {
  margin-top: 24px;
  font-family: var(--f-head, 'Inter', sans-serif);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(237,232,220,0.45);
}

/* ── Photo overlay ─────────────────────────────────────────── */
.ov-photo {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  padding: 24px 20px;
  box-sizing: border-box;
  gap: 14px;
  overflow: hidden;
}
.ov-photo.visible { opacity: 1; pointer-events: auto; }

.ov-photo-from {
  position: relative;
  z-index: 1;
  font-family: var(--f-utility, 'Inter', sans-serif);
  font-size: 0.56rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(237,232,220,0.40);
  text-align: center;
}

.ov-photo-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.ov-photo-caption {
  position: relative;
  z-index: 1;
  font-family: var(--f-editorial, 'Playfair Display', serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(237,232,220,0.72);
  text-align: center;
  max-width: 80vw;
}

.ov-photo .ov-hint {
  position: relative;
  z-index: 1;
}

/* ── Activity Moments ────────────────────────────────────────────────────────── */

/* Announcement banner — slides down from top, non-blocking */
.ov-announcement {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #0C0A08;
  color: #EDE8DC;
  padding: 18px 48px 18px 24px;
  z-index: 9400;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 2px solid #D4AF37;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}
.ov-announcement.visible { transform: translateY(0); }
.ov-announcement-msg { padding-right: 8px; }
.ov-announcement-dismiss {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: rgba(237,232,220,0.45);
  font-size: 1rem; line-height: 1;
  padding: 4px;
}
.ov-announcement-dismiss:hover { color: #EDE8DC; }

/* Hype overlay — full-screen moment, reuses confetti pattern */
.ov-hype {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.96);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}
.ov-hype.visible { opacity: 1; pointer-events: auto; }
.ov-hype .ov-confetti { position: absolute; inset: 0; width: 100%; height: 100%; }
.ov-hype-content { position: relative; z-index: 1; text-align: center; }
.ov-hype-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(4rem, 22vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #EDE8DC;
  transition: transform 0.06s ease-out;
  user-select: none;
}

/* Moment banner — persistent strip at bottom */
.ov-moment-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #4D6A43;
  color: #EDE8DC;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 44px 11px 20px;
  z-index: 290;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ov-moment-banner.visible {
  transform: translateY(0);
  animation: momentPulse 2.2s ease-in-out infinite;
}
@keyframes momentPulse {
  0%, 100% { background: #4D6A43; }
  50%       { background: #587a4e; }
}
.ov-moment-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ov-moment-dismiss {
  position: absolute;
  right: 12px;
  background: none; border: none; cursor: pointer;
  color: rgba(237,232,220,0.5);
  font-size: 0.9rem;
  padding: 4px;
}
.ov-moment-dismiss:hover { color: #EDE8DC; }

/* Action bar button pulse when a moment is active */
.ab-btn.moment-active {
  animation: abBtnPulse 1.4s ease-in-out infinite;
}
@keyframes abBtnPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

