/* ==========================================================================
   Wisuda Perbanas Institute 2026 - Invitation Page Styles
   Palette: Cerulean (#2b85bb), Midnight Sapphire, Champagne Gold
   ========================================================================== */

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at 50% 0%, #163e61 0%, #0d273e 50%, #071524 100%);
    background-color: #071524;
    background-attachment: fixed;
    color: #f1f5f9;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ── Content Visibility Optimization for Smooth Scrolling ── */
#rundown-section,
#gallery-section,
#rules-section,
#wishes-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 650px;
}

select option {
    background-color: #0d273e;
    color: #ffffff;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #fef08a 0%, #f3ce65 50%, #e5b83b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-border {
    border: 1px solid rgba(243, 206, 101, 0.35);
}

.gold-border-focus:focus {
    border-color: rgba(243, 206, 101, 0.8);
    box-shadow: 0 0 12px rgba(43, 133, 187, 0.35);
}

.glass-card {
    background: rgba(13, 39, 62, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 133, 187, 0.22);
    transform: translateZ(0);
}

.glass-card-gold {
    background: rgba(13, 39, 62, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 206, 101, 0.35);
    box-shadow: 0 8px 32px 0 rgba(7, 21, 36, 0.6);
    transform: translateZ(0);
}

/* Cover Page Smooth Fade & Slide Animation */
#cover-page {
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
    will-change: opacity, transform;
}

.cover-exit {
    opacity: 0 !important;
    transform: scale(1.03) translateY(-10px) !important;
    pointer-events: none !important;
    visibility: hidden;
}

#main-content {
    animation: fadeInMain 0.35s ease-out;
}

@keyframes fadeInMain {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Button Animation */
@keyframes pulse-gold {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(243, 206, 101, 0.4);
    }
    50% {
        box-shadow: 0 0 16px 6px rgba(43, 133, 187, 0.25);
    }
}

.pulse-btn {
    animation: pulse-gold 3s infinite;
}
