:root {
    --bg-white: #ffffff;
    --gold-primary: #C5A059;
    --gold-soft: #F4EBD0;
    --text-dark: #2c2c2c;
    --text-gold: #996515;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-white);
    background-image: 
        linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.75)), 
        url("https://images.unsplash.com/photo-1618220179428-22790b461013?q=80&w=2000&auto=format&fit=crop"); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* COVER & CONTAINER */
.cover-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    background-image: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.7)), url("https://images.unsplash.com/photo-1618220179428-22790b461013?q=80&w=2000&auto=format&fit=crop");
    background-size: cover; background-position: center;
}
.cover-container.hide { transform: translateY(-100vh); opacity: 0; pointer-events: none; }

.cover-content, .main-card {
    text-align: center; width: 90%; max-width: 420px; margin: 0 auto; padding: 40px 20px;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gold-primary); outline: 4px solid #ffffff; outline-offset: -10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15); position: relative;
}
.cover-content::after, .main-card::after {
    content: ''; position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px;
    border: 1px solid var(--gold-soft); pointer-events: none;
}

/* ORNAMEN BUNGA JEPUN */
.bunga-main, .bunga-small {
    width: 140px; height: auto; margin-bottom: 15px; display: inline-block;
}

/* TYPOGRAPHY */
.upper-title { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 10px; font-weight: 700; }
.main-name { font-family: 'Great Vibes', cursive; font-size: 52px; color: var(--text-dark); margin: 5px 0; }
.cover-title, .section-title { font-family: 'Playfair Display', serif; font-size: 34px; margin: 10px 0; font-weight: 700; color: var(--gold-primary); text-transform: uppercase; }
.guest-box { background: var(--gold-soft); padding: 12px; margin: 20px 0; border-radius: 4px; }
.guest-box p { font-size: 10px; color: var(--text-gold); text-transform: uppercase; letter-spacing: 2px; margin: 0; }
.guest-box h2 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--text-dark); margin-top: 5px; }

/* BUTTON */
.btn-primary { background: var(--gold-primary); color: #fff; padding: 14px 35px; border: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; text-decoration: none; display: inline-block; transition: 0.3s; box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3); }
.btn-primary:hover { background: var(--text-dark); transform: translateY(-2px); }

/* MAIN CONTENT SCROLL */
.invitation-container { width: 100%; max-width: 550px; margin: 0 auto; padding: 40px 15px; display: none; opacity: 0; }
.invitation-container.visible { display: block; opacity: 1; transition: opacity 1s ease-in-out; }
.main-name-dark { font-family: 'Great Vibes', cursive; font-size: 42px; color: var(--text-dark); margin: 10px 0; }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--gold-primary), transparent); margin: 25px auto; width: 60%; }
.item strong { display: block; color: var(--gold-primary); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }

/* FORM & RSVP */
.form-style input, .form-style select, .form-style textarea { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #ddd; background: rgba(255, 255, 255, 0.95); color: var(--text-dark); }
.msg-item { background: rgba(255, 255, 255, 0.85); padding: 15px; margin-bottom: 15px; border: 1px solid #eee; border-left: 3px solid var(--gold-primary); backdrop-filter: blur(5px); }
.msg-item .status { font-size: 10px; background: var(--gold-primary); color: #fff; padding: 2px 8px; font-weight: bold; }

/* AUDIO CONTROL */
.music-btn { position: fixed; bottom: 20px; right: 20px; width: 35px; height: 35px; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--gold-primary); border-radius: 50%; z-index: 10000; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.music-btn svg { width: 16px; height: 16px; color: var(--gold-primary); }

/* WATERMARK FOOTER (CENTRAL) */
.watermark-footer { display: block; width: 100%; margin: 0 auto; text-align: center; padding: 30px 0 20px 0; font-size: 11px; color: #666; letter-spacing: 1px; text-transform: uppercase; }
.watermark-footer a { color: var(--gold-primary); text-decoration: none; font-weight: 700; transition: color 0.3s ease; }

/* RESPONSIVE HP */
@media (max-width: 600px) {
    .cover-content, .main-card { width: 90%; padding: 30px 15px; }
    .main-name { font-size: 40px; }
    .cover-title, .section-title { font-size: 26px; }
    .bunga-main, .bunga-small { width: 110px; }
    .music-btn { width: 32px; height: 32px; bottom: 15px; right: 15px; }
    .break-hp { display: block; margin-top: 5px; }
}