/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.4s, color 0.4s;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

/* 20 NUMBERED THEMES (TEMA 1 - TEMA 20) WITH DISTINCT BACKGROUND PATTERNS & UNIQUE COLOR PALETTES */
.theme-1 { --bg-color: #fcf8f5; --primary-color: #b07d62; --accent-color: #e0b49c; --text-color: #4a3b32; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23b07d62%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%2712%27/%3E%20%3Cpath%20d%3D%27M%2030%206%20C%2030%2018%2018%2030%206%2030%20C%2018%2030%2030%2042%2030%2054%20C%2030%2042%2042%2030%2054%2030%20C%2042%2030%2030%2018%2030%206%20Z%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-2 { --bg-color: #121212; --primary-color: #d4af37; --accent-color: #f3e5ab; --text-color: #e0e0e0; --card-bg: rgba(30, 30, 30, 0.90); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23d4af37%27%20stroke-width%3D%270.8%27%20opacity%3D%270.18%27%3E%20%3Cpath%20d%3D%27M%2025%200%20L%2050%2025%20L%2025%2050%20L%200%2025%20Z%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-3 { --bg-color: #f0f7f4; --primary-color: #2a9d8f; --accent-color: #e76f51; --text-color: #264653; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%232a9d8f%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Crect%20x%3D%2715%27%20y%3D%2715%27%20width%3D%2730%27%20height%3D%2730%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-4 { --bg-color: #f7f3f9; --primary-color: #8e7dbe; --accent-color: #d8b4e2; --text-color: #3d314a; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%238e7dbe%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2710%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-5 { --bg-color: #fdf6f0; --primary-color: #c86d51; --accent-color: #e8a598; --text-color: #4a2e2b; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c86d51%27%20stroke-width%3D%270.9%27%20opacity%3D%270.15%27%3E%20%3Cpath%20d%3D%27M%2010%2050%20L%2010%2030%20A%2020%2020%200%200%201%2050%2030%20L%2050%2050%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-6 { --bg-color: #0d1b2a; --primary-color: #415a77; --accent-color: #e0e1dd; --text-color: #e0e1dd; --card-bg: rgba(27, 38, 59, 0.90); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23e0e1dd%27%20stroke-width%3D%270.8%27%20opacity%3D%270.15%27%3E%20%3Cpath%20d%3D%27M%200%200%20Q%2025%2025%2050%200%20Q%2025%2025%2050%2050%20Q%2025%2025%200%2050%20Q%2025%2025%200%200%20Z%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-7 { --bg-color: #f8f9fa; --primary-color: #212529; --accent-color: #6c757d; --text-color: #212529; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2740%27%20height%3D%2740%27%20viewBox%3D%270%200%2040%2040%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23212529%27%20stroke-width%3D%270.7%27%20opacity%3D%270.12%27%3E%20%3Cpath%20d%3D%27M%200%200%20L%2040%2040%20M%2040%200%20L%200%2040%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-8 { --bg-color: #eef9f6; --primary-color: #008080; --accent-color: #ff7f50; --text-color: #1a3636; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2730%27%20viewBox%3D%270%200%2060%2030%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23008080%27%20stroke-width%3D%270.9%27%20opacity%3D%270.15%27%3E%20%3Cpath%20d%3D%27M%200%2015%20Q%2015%200%2030%2015%20Q%2045%2030%2060%2015%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-9 { --bg-color: #f5efe6; --primary-color: #78583e; --accent-color: #a88865; --text-color: #3c2a21; --card-bg: rgba(255, 251, 247, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%2378583e%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2714%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-10 { --bg-color: #1a0003; --primary-color: #800020; --accent-color: #d4af37; --text-color: #f5e6d3; --card-bg: rgba(43, 5, 9, 0.90); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2740%27%20height%3D%2740%27%20viewBox%3D%270%200%2040%2040%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23d4af37%27%20stroke-width%3D%270.8%27%20opacity%3D%270.18%27%3E%20%3Cpath%20d%3D%27M%2020%200%20L%2040%2020%20L%2020%2040%20L%200%2020%20Z%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-11 { --bg-color: #f0f4f8; --primary-color: #5b7c99; --accent-color: #9bb7d4; --text-color: #2c3e50; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%235b7c99%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2715%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-12 { --bg-color: #f4f6f0; --primary-color: #556b2f; --accent-color: #a2b964; --text-color: #2b331f; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23556b2f%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Cpath%20d%3D%27M30%200%20C20%2020%2020%2040%2030%2060%20C40%2040%2040%2020%2030%200Z%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-13 { --bg-color: #fff5f0; --primary-color: #e07a5f; --accent-color: #f4a261; --text-color: #3d231d; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23e07a5f%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Cpolygon%20points%3D%2725%2C5%2045%2C25%2025%2C45%205%2C25%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-14 { --bg-color: #0a0e17; --primary-color: #e6c687; --accent-color: #f7e5b5; --text-color: #e2e8f0; --card-bg: rgba(18, 24, 38, 0.90); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23e6c687%27%20stroke-width%3D%270.8%27%20opacity%3D%270.18%27%3E%20%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%273%27%20fill%3D%27%23e6c687%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-15 { --bg-color: #fff0f5; --primary-color: #d87093; --accent-color: #ffb6c1; --text-color: #4a2c3d; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23d87093%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%278%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-16 { --bg-color: #faf6f0; --primary-color: #c5a059; --accent-color: #e6d5b8; --text-color: #3a3225; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c5a059%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Crect%20x%3D%2710%27%20y%3D%2710%27%20width%3D%2740%27%20height%3D%2740%27%20transform%3D%27rotate%2845%2030%2030%29%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-17 { --bg-color: #1a1a1a; --primary-color: #e2e2e2; --accent-color: #909090; --text-color: #ffffff; --card-bg: rgba(38, 38, 38, 0.90); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2740%27%20height%3D%2740%27%20viewBox%3D%270%200%2040%2040%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23909090%27%20stroke-width%3D%270.7%27%20opacity%3D%270.15%27%3E%20%3Cline%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%2740%27%20y2%3D%2740%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-18 { --bg-color: #f2f9f6; --primary-color: #48bb78; --accent-color: #9ae6b4; --text-color: #1a365d; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%2348bb78%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2710%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-19 { --bg-color: #2b0a12; --primary-color: #9b111e; --accent-color: #d4af37; --text-color: #fce4ec; --card-bg: rgba(51, 12, 22, 0.90); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2750%27%20height%3D%2750%27%20viewBox%3D%270%200%2050%2050%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23d4af37%27%20stroke-width%3D%270.8%27%20opacity%3D%270.18%27%3E%20%3Cpolygon%20points%3D%2725%2C5%2045%2C25%2025%2C45%205%2C25%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }
.theme-20 { --bg-color: #fcf7ef; --primary-color: #b8860b; --accent-color: #e6c280; --text-color: #3e2723; --card-bg: rgba(255, 255, 255, 0.92); --bg-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%3E%20%3Cg%20fill%3D%27none%27%20stroke%3D%27%23b8860b%27%20stroke-width%3D%270.8%27%20opacity%3D%270.16%27%3E%20%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%2712%27/%3E%20%3C/g%3E%20%3C/svg%3E"); }

body {
    background-color: var(--bg-color);
    background-image: var(--bg-pattern);
    color: var(--text-color);
}
/* Style Nama Pengantin */
.bride-groom-sacramento {
    font-family: 'Sacramento', cursive;
    font-size: 3.2rem;
    font-weight: normal;
    color: var(--primary-color, #2c3e50);
    line-height: 1.2;
    margin: 10px 0;
}

.ampersand-custom {
    font-size: 2.2rem;
    display: block;
    margin: 4px 0;
}
/* FULL SCREEN FEATURED PHOTO BACKGROUND LAYER */
.full-screen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

.full-screen-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

/* COVER SCREEN OVERLAY WITH TRANSPARENT CARD */
.cover-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    overflow: hidden;
}

.cover-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.cover-bg-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.cover-content {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 480px;
    width: 100%;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-2 .cover-content, .theme-6 .cover-content, .theme-10 .cover-content, .theme-14 .cover-content, .theme-17 .cover-content, .theme-19 .cover-content {
    background: rgba(18, 18, 18, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.cover-content h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 7vw, 3.2rem);
    color: var(--primary-color);
    margin: 12px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.basmalah, .basmalah-main {
    font-family: 'Amiri', serif;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    color: var(--primary-color);
    margin-bottom: 12px;
    direction: rtl;
    line-height: 1.6;
}

/* VECTOR CORNER ORNAMENTS & ANIMATION */
.card-with-corner {
    position: relative;
}

.vector-corner {
    position: absolute;
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.85;
    z-index: 2;
}

/* GLOW & BREATHING PULSE CSS ANIMATION FOR CORNER ORNAMENTS */
@keyframes cornerGlowPulse {
    0%, 100% {
        opacity: 0.65;
        filter: drop-shadow(0 0 1px var(--primary-color));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--primary-color)) drop-shadow(0 0 10px var(--accent-color));
    }
}

.corner-top-left {
    top: 8px;
    left: 8px;
    animation: cornerGlowPulse 3s ease-in-out infinite;
}

.corner-top-right {
    top: 8px;
    right: 8px;
    transform: scaleX(-1);
    animation: cornerGlowPulse 3s ease-in-out infinite 0.75s;
}

.corner-bottom-left {
    bottom: 8px;
    left: 8px;
    transform: scaleY(-1);
    animation: cornerGlowPulse 3s ease-in-out infinite 1.5s;
}

.corner-bottom-right {
    bottom: 8px;
    right: 8px;
    transform: scale(-1);
    animation: cornerGlowPulse 3s ease-in-out infinite 2.25s;
}

/* APPLY UNIQUE VECTOR CORNER FOR EACH OF THE 20 THEMES */
.theme-1 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2010%20L10%2010%20L10%2095%20L5%2095Z%27%20fill%3D%27%23b07d62%27/%3E%3Cpath%20d%3D%27M15%2015%20C35%2015%2055%2025%2065%2045%20C45%2045%2025%2035%2015%2015Z%27%20fill%3D%27%23e0b49c%27%20opacity%3D%270.6%27/%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%278%27%20fill%3D%27%23b07d62%27/%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%274%27%20fill%3D%27%23e0b49c%27/%3E%3Cpath%20d%3D%27M45%2015%20C55%2015%2075%2025%2085%2035%20C75%2030%2055%2020%2045%2015Z%27%20fill%3D%27%23b07d62%27/%3E%3Cpath%20d%3D%27M15%2045%20C15%2055%2025%2075%2035%2085%20C30%2075%2020%2055%2015%2045Z%27%20fill%3D%27%23b07d62%27/%3E%3C/svg%3E"); }
.theme-2 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20C75%2015%2055%2025%2040%2040%20C25%2055%2015%2075%205%2095Z%27%20fill%3D%27%23d4af37%27%20opacity%3D%270.25%27/%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L90%2012%20L12%2012%20L12%2090%20L5%2095Z%27%20fill%3D%27%23d4af37%27/%3E%3Cpath%20d%3D%27M20%2020%20Q55%2020%2055%2055%20Q20%2055%2020%2020Z%27%20fill%3D%27none%27%20stroke%3D%27%23d4af37%27%20stroke-width%3D%273%27/%3E%3Ccircle%20cx%3D%2735%27%20cy%3D%2735%27%20r%3D%279%27%20fill%3D%27%23f3e5ab%27/%3E%3Ccircle%20cx%3D%2735%27%20cy%3D%2735%27%20r%3D%274%27%20fill%3D%27%23d4af37%27/%3E%3Cpath%20d%3D%27M65%2010%20Q85%2010%2092%2018%20Q75%2020%2065%2010Z%27%20fill%3D%27%23f3e5ab%27/%3E%3Cpath%20d%3D%27M10%2065%20Q10%2085%2018%2092%20Q20%2075%2010%2065Z%27%20fill%3D%27%23f3e5ab%27/%3E%3C/svg%3E"); }
.theme-3 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2010%20L10%2010%20L10%2095%20L5%2095Z%27%20fill%3D%27%232a9d8f%27/%3E%3Crect%20x%3D%2718%27%20y%3D%2718%27%20width%3D%2732%27%20height%3D%2732%27%20fill%3D%27none%27%20stroke%3D%27%232a9d8f%27%20stroke-width%3D%273%27/%3E%3Crect%20x%3D%2718%27%20y%3D%2718%27%20width%3D%2732%27%20height%3D%2732%27%20fill%3D%27none%27%20stroke%3D%27%232a9d8f%27%20stroke-width%3D%273%27%20transform%3D%27rotate%2845%2034%2034%29%27/%3E%3Ccircle%20cx%3D%2734%27%20cy%3D%2734%27%20r%3D%277%27%20fill%3D%27%23e76f51%27/%3E%3Cpath%20d%3D%27M55%2010%20L88%2010%20L88%2015%20L55%2015Z%27%20fill%3D%27%232a9d8f%27/%3E%3Cpath%20d%3D%27M10%2055%20L10%2088%20L15%2088%20L15%2055Z%27%20fill%3D%27%232a9d8f%27/%3E%3C/svg%3E"); }
.theme-4 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20C45%205%2085%2015%2095%2030%20C75%2020%2040%2015%205%205Z%27%20fill%3D%27%238e7dbe%27/%3E%3Cpath%20d%3D%27M5%205%20C5%2045%2015%2085%2030%2095%20C20%2075%2015%2040%205%205Z%27%20fill%3D%27%238e7dbe%27/%3E%3Ccircle%20cx%3D%2732%27%20cy%3D%2732%27%20r%3D%2712%27%20fill%3D%27%23d8b4e2%27/%3E%3Ccircle%20cx%3D%2732%27%20cy%3D%2732%27%20r%3D%276%27%20fill%3D%27%238e7dbe%27/%3E%3Ccircle%20cx%3D%2758%27%20cy%3D%2720%27%20r%3D%276%27%20fill%3D%27%23d8b4e2%27/%3E%3Ccircle%20cx%3D%2720%27%20cy%3D%2758%27%20r%3D%276%27%20fill%3D%27%23d8b4e2%27/%3E%3C/svg%3E"); }
.theme-5 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L90%205%20C90%2030%2070%2050%2045%2050%20C20%2050%205%2030%205%205Z%27%20fill%3D%27%23c86d51%27/%3E%3Cpath%20d%3D%27M15%2015%20L75%2015%20C75%2030%2060%2040%2045%2040%20C30%2040%2015%2030%2015%2015Z%27%20fill%3D%27%23e8a598%27/%3E%3Cpath%20d%3D%27M5%205%20L5%2090%20L12%2090%20L12%2012%20L90%2012%20L90%205Z%27%20fill%3D%27%23c86d51%27/%3E%3C/svg%3E"); }
.theme-6 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2012%20L12%2012%20L12%2095%20L5%2095Z%27%20fill%3D%27%23e0e1dd%27/%3E%3Cpath%20d%3D%27M20%2020%20Q60%2020%2060%2060%20Q20%2060%2020%2020Z%27%20fill%3D%27none%27%20stroke%3D%27%23e0e1dd%27%20stroke-width%3D%274%27/%3E%3Ccircle%20cx%3D%2735%27%20cy%3D%2735%27%20r%3D%278%27%20fill%3D%27%23415a77%27/%3E%3Ccircle%20cx%3D%2735%27%20cy%3D%2735%27%20r%3D%274%27%20fill%3D%27%23e0e1dd%27/%3E%3C/svg%3E"); }
.theme-7 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2010%20L10%2010%20L10%2095%20L5%2095Z%27%20fill%3D%27%23212529%27/%3E%3Cpath%20d%3D%27M18%2018%20L80%2018%20L80%2022%20L22%2022%20L22%2080%20L18%2080Z%27%20fill%3D%27%23212529%27/%3E%3Cpath%20d%3D%27M30%2030%20L65%2030%20L65%2034%20L34%2034%20L34%2065%20L30%2065Z%27%20fill%3D%27%23212529%27/%3E%3Cpolygon%20points%3D%2745%2C45%2055%2C45%2050%2C55%27%20fill%3D%27%23212529%27/%3E%3C/svg%3E"); }
.theme-8 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20Q30%205%2045%2020%20Q60%2035%2095%2035%20L95%205Z%27%20fill%3D%27%23008080%27/%3E%3Cpath%20d%3D%27M5%205%20Q5%2030%2020%2045%20Q35%2060%2035%2095%20L5%2095Z%27%20fill%3D%27%23008080%27/%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%2710%27%20fill%3D%27%23ff7f50%27/%3E%3C/svg%3E"); }
.theme-9 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L90%2012%20L12%2012%20L12%2090%20L5%2095Z%27%20fill%3D%27%2378583e%27/%3E%3Cpath%20d%3D%27M15%2015%20Q70%2015%2045%2045%20Q15%2070%2015%2015Z%27%20fill%3D%27%23a88865%27/%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%277%27%20fill%3D%27%2378583e%27/%3E%3C/svg%3E"); }
.theme-10 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2012%20L12%2012%20L12%2095%20L5%2095Z%27%20fill%3D%27%23d4af37%27/%3E%3Cpolygon%20points%3D%2715%2C15%2065%2C15%2040%2C65%27%20fill%3D%27%23d4af37%27/%3E%3Cpolygon%20points%3D%2720%2C20%2055%2C20%2037%2C55%27%20fill%3D%27%23800020%27/%3E%3Ccircle%20cx%3D%2737%27%20cy%3D%2732%27%20r%3D%275%27%20fill%3D%27%23d4af37%27/%3E%3C/svg%3E"); }
.theme-11 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20C40%205%2060%2020%2075%2035%20C60%2035%2035%2060%205%205Z%27%20fill%3D%27%235b7c99%27%20opacity%3D%270.4%27/%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L90%2010%20L10%2010%20L10%2090%20L5%2095Z%27%20fill%3D%27%235b7c99%27/%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%2710%27%20fill%3D%27%239bb7d4%27/%3E%3C/svg%3E"); }
.theme-12 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%208%20L8%208%20L8%2095%20L5%2095Z%27%20fill%3D%27%23556b2f%27/%3E%3Cpath%20d%3D%27M20%208%20C30%2025%2045%2040%2060%2050%20C40%2045%2025%2030%208%2020Z%27%20fill%3D%27%23a2b964%27/%3E%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%275%27%20fill%3D%27%23556b2f%27/%3E%3C/svg%3E"); }
.theme-13 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L90%205%20C70%2020%2050%2040%2040%2070%20C30%2050%2020%2030%205%205Z%27%20fill%3D%27%23e07a5f%27%20opacity%3D%270.35%27/%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2010%20L10%2010%20L10%2095%20L5%2095Z%27%20fill%3D%27%23e07a5f%27/%3E%3Ccircle%20cx%3D%2728%27%20cy%3D%2728%27%20r%3D%278%27%20fill%3D%27%23f4a261%27/%3E%3C/svg%3E"); }
.theme-14 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2010%20L10%2010%20L10%2095%20L5%2095Z%27%20fill%3D%27%23e6c687%27/%3E%3Cpolygon%20points%3D%2730%2C15%2035%2C25%2045%2C30%2035%2C35%2030%2C45%2025%2C35%2015%2C30%2025%2C25%27%20fill%3D%27%23f7e5b5%27/%3E%3C/svg%3E"); }
.theme-15 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20C50%205%2080%2020%2090%2040%20C70%2030%2040%2020%205%205Z%27%20fill%3D%27%23d87093%27/%3E%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%279%27%20fill%3D%27%23ffb6c1%27/%3E%3Ccircle%20cx%3D%2745%27%20cy%3D%2720%27%20r%3D%275%27%20fill%3D%27%23ffb6c1%27/%3E%3C/svg%3E"); }
.theme-16 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2012%20L12%2012%20L12%2095%20L5%2095Z%27%20fill%3D%27%23c5a059%27/%3E%3Cpolygon%20points%3D%2730%2C15%2045%2C30%2030%2C45%2015%2C30%27%20fill%3D%27%23e6d5b8%27/%3E%3C/svg%3E"); }
.theme-17 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%208%20L8%208%20L8%2095%20L5%2095Z%27%20fill%3D%27%23e2e2e2%27/%3E%3Cpath%20d%3D%27M15%2015%20L70%2015%20L70%2018%20L18%2018%20L18%2070%20L15%2070Z%27%20fill%3D%27%23909090%27/%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%2730%27%20r%3D%274%27%20fill%3D%27%23e2e2e2%27/%3E%3C/svg%3E"); }
.theme-18 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20C40%205%2070%2015%2085%2035%20C65%2025%2035%2020%205%205Z%27%20fill%3D%27%2348bb78%27/%3E%3Ccircle%20cx%3D%2728%27%20cy%3D%2728%27%20r%3D%278%27%20fill%3D%27%239ae6b4%27/%3E%3C/svg%3E"); }
.theme-19 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2012%20L12%2012%20L12%2095%20L5%2095Z%27%20fill%3D%27%23d4af37%27/%3E%3Cpath%20d%3D%27M20%2020%20C35%2010%2050%2020%2055%2035%20C40%2035%2035%2050%2020%2020Z%27%20fill%3D%27%239b111e%27/%3E%3C/svg%3E"); }
.theme-20 .vector-corner { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20d%3D%27M5%205%20L95%205%20L95%2010%20L10%2010%20L10%2095%20L5%2095Z%27%20fill%3D%27%23b8860b%27/%3E%3Cpath%20d%3D%27M15%2015%20Q60%2015%2050%2050%20Q15%2060%2015%2015Z%27%20fill%3D%27%23e6c280%27/%3E%3C/svg%3E"); }

/* ORNAMENT DIVIDER */
.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0;
    color: var(--primary-color);
}

.ornament-divider i, .event-card h3 i, h3 i {
    display: inline-block;
}

.ornament-divider::before, .ornament-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed var(--primary-color);
    opacity: 0.4;
    margin: 0 15px;
}

/* MUSIC BUTTON */
.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* MAIN LAYOUT CONTAINER & CARDS */
.main-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.hidden {
    display: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

section {
    background: var(--card-bg);
    padding: 35px 20px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* COUNTDOWN GRID */
.timer-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.timer-grid div {
    background: rgba(0,0,0,0.03);
    padding: 15px;
    border-radius: 10px;
    min-width: 65px;
    border: 1px solid rgba(0,0,0,0.08);
}

.timer-grid span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

/* GALLERY GRID & IMAGE HOVER */
.gallery-grid {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.gallery-grid.count-4 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.count-5 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.count-6 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.count-7 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.count-8 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.count-9 { grid-template-columns: repeat(3, 1fr); }

.gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.event-card, .card-bank {
    background: rgba(0,0,0,0.02);
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* FORMS & BUTTONS */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-top: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    background: var(--card-bg);
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 5px;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--accent-color);
}

.btn-sm {
    padding: 6px 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* WISHES & PUBLIC FEED */
.wishes-box {
    margin-top: 30px;
    text-align: left;
}

.wishes-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.wish-item {
    background: rgba(0,0,0,0.02);
    padding: 14px;
    border-radius: 10px;
    margin-top: 12px;
    border-left: 4px solid var(--primary-color);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wish-name {
    font-weight: bold;
    color: var(--primary-color);
}

.badge-status {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
}

.badge-status.Hadir { background: #2ecc71; }
.badge-status.Tidak.Hadir { background: #e74c3c; }
.badge-status.Ragu-ragu { background: #f1c40f; color: #333; }

.footer {
    background: var(--card-bg);
    padding: 35px 20px;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer p {
    text-align: center;
    margin: 5px 0;
    width: 100%;
}

.footer .visitor-counter {
    margin-top: 15px;
    text-align: center;
    width: 100%;
    opacity: 0.8;
}

.btn-open {
    position: relative;
    z-index: 100;
    touch-action: manipulation;
    cursor: pointer;
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 15px 0 0 0;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, opacity 0.2s, background-color 0.2s;
}

.btn-open:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    opacity: 0.95;
}

.theme-2 .btn-open, .theme-2 .btn, .theme-14 .btn-open, .theme-14 .btn, .theme-17 .btn-open, .theme-17 .btn {
    color: #121212;
}

/* RESPONSIVE CSS MEDIA QUERIES (100% RESPONSIVE FOR ALL MOBILE & TABLET DEVICES) */
@media screen and (max-width: 768px) {
    .main-container {
        padding: 12px;
        max-width: 100%;
    }
    section {
        padding: 25px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .cover-content {
        padding: 25px 15px;
        border-radius: 16px;
    }
    .gallery-grid.count-6, .gallery-grid.count-7, .gallery-grid.count-8, .gallery-grid.count-9 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid img {
        height: 140px;
    }
    .timer-grid {
        gap: 8px;
    }
    .timer-grid div {
        padding: 10px;
        min-width: 55px;
    }
    .timer-grid span {
        font-size: 1.25rem;
    }
    .vector-corner {
        width: 42px;
        height: 42px;
    }
}

@media screen and (max-width: 480px) {
    .main-container {
        padding: 8px;
    }
    section {
        padding: 20px 12px;
        margin-bottom: 16px;
    }
    .gallery-grid img {
        height: 120px;
    }
    .timer-grid div {
        padding: 8px 4px;
        min-width: 45px;
    }
    .timer-grid span {
        font-size: 1.1rem;
    }
    .btn {
        padding: 10px 18px;
        font-size: 0.88rem;
        width: 100%;
    }
    .btn-open {
    position: relative;
    z-index: 100;
    touch-action: manipulation;
    cursor: pointer;
        padding: 10px 22px;
        font-size: 0.95rem;
        width: 100%;
    }
    .vector-corner {
        width: 35px;
        height: 35px;
    }
}

/* CALENDAR BUTTON & COUNTDOWN STYLES */
.calendar-btn-wrap {
    margin-top: 22px;
}

.btn-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.btn-calendar:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
