/* Ambient Falling Petals Canvas */
#petalCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 40;
}

/* Glassmorphism Navigation */
.glass-pill {
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Wax Seal Stamp */
.wax-seal-btn {
    background: radial-gradient(circle at 35% 35%, #D75A4A, #8F251A);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.45), inset 0 -3px 6px rgba(0,0,0,0.5), 0 8px 20px rgba(143, 37, 26, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wax-seal-btn:hover {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 12px 25px rgba(143, 37, 26, 0.45);
}

/* Gold Shimmer Text */
.gold-shimmer {
    background: linear-gradient(90deg, #9C782F 0%, #D4AF37 50%, #9C782F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Noise subtle texture */
.bg-textured {
    background-color: #FAF7F2;
    background-image: radial-gradient(#D4AF37 0.75px, transparent 0.75px);
    background-size: 28px 28px;
}

/* Soundwave equalizer animation */
.soundwave-bar {
    width: 2.5px;
    background-color: #738671;
    border-radius: 2px;
    animation: bounceWave 1.2s ease-in-out infinite alternate;
}
.soundwave-bar:nth-child(2) { animation-delay: 0.2s; height: 14px; }
.soundwave-bar:nth-child(3) { animation-delay: 0.4s; height: 8px; }
.soundwave-bar:nth-child(4) { animation-delay: 0.6s; height: 16px; }
@keyframes bounceWave {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}
.paused .soundwave-bar {
    animation: none !important;
    height: 4px !important;
}

/* Lightbox & Transitions */
#lightboxModal, #rsvpSuccessModal {
    transition: opacity 0.3s ease;
}

/* Custom scrollbar for guestbook wishes */
#wishesContainer::-webkit-scrollbar {
    width: 4px;
}
#wishesContainer::-webkit-scrollbar-track {
    background: rgba(235, 221, 201, 0.2);
    border-radius: 4px;
}
#wishesContainer::-webkit-scrollbar-thumb {
    background: rgba(115, 134, 113, 0.4);
    border-radius: 4px;
}
#wishesContainer::-webkit-scrollbar-thumb:hover {
    background: rgba(115, 134, 113, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}
