/* ============================================
        CRITICAL — Cover Preloader
        ============================================ */
html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(
        135deg,
        #2c1810 0%,
        #4a2c2a 30%,
        #3d2025 60%,
        #1a1015 100%
    );
    color: #fff;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

#cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: linear-gradient(
        135deg,
        #2c1810 0%,
        #4a2c2a 30%,
        #3d2025 60%,
        #1a1015 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

#cover.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

#cover-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-image: url("/img/template/standard/serenity-luxe/cover/cover.jpg");
    background-size: cover;
    background-position: center;
}

#cover-bg.loaded {
    opacity: 1;
}

#cover-shimmer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        #2c1810,
        #4a2c2a 25%,
        #5a3835 50%,
        #4a2c2a 75%,
        #2c1810
    );
    background-size: 400% 400%;
    animation: shimmerPlaceholder 2s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

#cover-shimmer.hidden {
    opacity: 0;
    pointer-events: none;
}

#cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
}

/* ── Particle Field (Cover) ── */
.particle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.pf-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.55);
    animation: pfFloat linear infinite;
}

/* ── Petal ── */
.petal {
    position: fixed;
    top: -30px;
    pointer-events: none;
    z-index: 9999;
    animation: petalFall linear forwards;
    user-select: none;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.reveal-up {
    transform: translateY(36px);
}
.reveal.reveal-left {
    transform: translateX(-36px);
}
.reveal.reveal-right {
    transform: translateX(36px);
}
.reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Cover Content ── */
.cover-content {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
    color: #fff;
}

.cover-subtitle {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeUp 0.6s ease 0.3s forwards;
}

.cover-names {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: #fff;
    text-shadow:
        2px 2px 10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 192, 203, 0.6);
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.5s forwards;
}

#guestNameDisplay {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 0 1rem;
    line-height: 1.4;
    margin: 0.5rem 0 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.7s forwards;
}

.btn-open {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 100;
    min-height: 44px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.9s forwards;
}
.btn-open:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ── Icon font loading ── */
.bi,
.fas,
.far,
.fab {
    visibility: hidden;
}
.fonts-loaded .bi,
.fonts-loaded .fas,
.fonts-loaded .far,
.fonts-loaded .fab {
    visibility: visible;
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 100000;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
}

.photo-modal-overlay {
    display: none;
}
.photo-modal-overlay.active {
    display: flex;
}

.music-toggle {
    display: none;
}
.music-toggle.active {
    display: flex;
}
.bottom-nav {
    display: none;
}

/* ============================================
        KEYFRAMES — Hanya yang dipakai
        ============================================ */
@keyframes shimmerPlaceholder {
    0% {
        background-position: 100% 100%;
    }
    50% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pfFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) scale(0.6);
        opacity: 0;
    }
}

@keyframes petalFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heartBeat {
    0%,
    100% {
        transform: scale(1);
    }
    10%,
    30% {
        transform: scale(0.9);
    }
    20%,
    40% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes shineFast {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes falling {
    0% {
        transform: translateY(-60px) rotate(0deg) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 60px)) rotate(720deg)
            translateX(80px);
        opacity: 0;
    }
}

@keyframes gf-fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
        BASE STYLES
        ============================================ */
:root {
    --dark: #1a1a1a;
    --white: #ffffff;
    --pink-primary: #762b4c;
    --pink-light: #ffc0cb;
    --navy: #0a1527;
    --font-primary: "Montserrat", "Inter", "Segoe UI", sans-serif;
    --font-signature: "Amsterdam Signature", cursive;
    --section-title-size: clamp(1.6rem, 5vw, 2.2rem);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html {
    scroll-behavior: smooth;
    background-color: #f3f4f6;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--white);
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.02);
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}
@media (max-width: 375px) {
    html {
        font-size: 12px;
    }
}

/* ============================================
        MAIN CONTENT
        ============================================ */
#main-content {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow-x: hidden;
    width: 100%;
}
#main-content.active {
    display: block;
    animation: fadeIn 0.8s ease forwards;
}

/* ============================================
        HERO SECTION
        ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding-left: 0;
    width: 100%;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("/img/template/standard/serenity-luxe/hero/asset.jpg") center
            center / cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 5%;
    text-align: left;
    margin-top: -15vh;
    width: 90%;
    max-width: 100%;
}

.hero-subtitle {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 400;
    letter-spacing: 0;
    margin-bottom: 0;
    opacity: 0.9;
}
.hero-names {
    font-family: var(--font-signature);
    font-size: clamp(2.2rem, 3.5vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}
.hero-date {
    margin-top: 1rem;
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    letter-spacing: 2px;
    opacity: 0;
}
.hero-content.show .hero-date {
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    background: linear-gradient(45deg, #fff, #ffc0cb, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content.show h2 {
    animation:
        scaleIn 1s ease 0.4s forwards,
        shimmer 3s linear infinite;
}

.shine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 182, 193, 0.18) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    z-index: 1;
    animation: shineFast 8s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 5vh;
        padding: 1.5rem 1rem;
    }
    .shine-overlay {
        display: none;
    }
}

/* ============================================
        QUOTE SECTION
        ============================================ */
.quote-section {
    background: #eee;
    text-align: center;
    padding: 3rem 1rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.quote-text {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    font-style: italic;
    color: #1b1b1b;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* ============================================
        COUPLE SECTION
        ============================================ */
.couple-section {
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem;
    width: 100%;
}

.couple-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 110%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/img/template/standard/serenity-luxe/gallery/asset-12.jpg") center
            center / cover no-repeat;
    z-index: 0;
}

.couple-section p {
    color: #fff;
    position: relative;
    z-index: 2;
}
.couple-card {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.couple-photo-wrap {
    position: relative;
    display: inline-block;
    cursor: zoom-in;
    margin: 0 auto 1.5rem;
}
.couple-photo {
    width: clamp(140px, 25vw, 180px);
    height: clamp(200px, 35vw, 250px);
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #fff;
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.2);
    display: block;
}
.couple-photo-wrap:hover .couple-photo {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 20px 40px rgba(255, 182, 193, 0.3);
}

.zoom-hint {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    pointer-events: none;
    color: #333;
}
.couple-photo-wrap:hover .zoom-hint {
    opacity: 1;
    transform: scale(1);
}

.couple-name {
    font-family: var(--font-signature);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 200;
    letter-spacing: 1px;
    margin-bottom: 1.4rem;
    color: #fff;
}

/* ============================================
        PHOTO MODAL
        ============================================ */
.photo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}
.photo-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.photo-modal-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: scale(0.88) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    max-width: 90vw;
}
.photo-modal-overlay.active .photo-modal-inner {
    transform: scale(1) translateY(0);
}

.photo-modal-img {
    width: min(70vw, 320px);
    height: min(100vw, 450px);
    object-fit: cover;
    border-radius: 999px;
    border: 4px solid rgba(255, 182, 193, 0.7);
    box-shadow:
        0 0 0 6px rgba(255, 182, 193, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.7);
}
.photo-modal-name {
    font-family: var(--font-signature);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(255, 182, 193, 0.5);
}

.photo-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition:
        background 0.2s,
        transform 0.25s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.photo-modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

/* ============================================
        COUNTDOWN
        ============================================ */
.countdown-section {
    color: var(--dark);
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    width: 100%;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.countdown-item {
    background: rgba(85, 85, 85, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 182, 193, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.countdown-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(24, 24, 24, 0.15);
}

.countdown-number {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    display: block;
    animation: pulse 2s ease-in-out infinite;
    color: var(--dark);
}
.countdown-label {
    font-size: clamp(0.7rem, 2.2vw, 0.8rem);
    letter-spacing: 2px;
    color: #666;
}

/* ============================================
        EVENT SECTION
        ============================================ */
.event-section {
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.event-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/img/template/standard/serenity-luxe/gallery/asset-17.jpg") center
            center / cover no-repeat;
    z-index: 0;
}

.event-card {
    background: linear-gradient(rgba(36, 35, 35, 0.1), rgba(20, 20, 20, 0.1));
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 182, 193, 0.2);
}

.event-icon {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--pink-primary);
    margin-bottom: 1rem;
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}
.event-card:hover .event-icon {
    animation: float 1s ease-in-out infinite;
}

/* ============================================
        CONTAINER & SECTION TITLE
        ============================================ */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
}

section {
    padding: 3rem 1rem;
    min-height: auto;
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
}

.section-title {
    font-size: var(--section-title-size);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}
.section-subtitle-rsvp {
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #fff;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Section Title Variants */
.section-title-quote,
.section-title-story,
.section-title-couple,
.section-title-countdown,
.section-title-events,
.section-title-maps,
.section-title-gallery,
.section-title-rsvp,
.section-title-gift,
.section-title-mengundang,
.section-title-wishes {
    font-size: var(--section-title-size);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
    text-align: center;
}

.section-title-quote {
    color: #1b1b1b;
}
.section-title-story {
    color: #222;
}
.section-title-couple {
    color: #fff;
}
.section-title-countdown {
    color: var(--dark);
}
.section-title-events {
    color: #fff;
}
.section-title-maps {
    color: #1b1b1b;
}
.section-title-gallery {
    color: #fff;
}
.section-title-rsvp {
    color: #fff;
}
.section-title-gift {
    color: #222;
}
.section-title-wishes {
    color: #222;
}

.section-title-quote::after,
.section-title-story::after,
.section-title-couple::after,
.section-title-countdown::after,
.section-title-events::after,
.section-title-maps::after,
.section-title-gallery::after,
.section-title-rsvp::after,
.section-title-gift::after,
.section-title-wishes::after {
    content: "";
    display: block;
    margin: 0.5rem auto 0;
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
}

/* ============================================
        LOVE STORY
        ============================================ */
.love-story-section {
    padding: 5rem 0;
    background: #fff;
    width: 100%;
}

.love-story-timeline {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 1rem 0 1.5rem;
}
.love-story-timeline::before {
    content: "";
    position: absolute;
    left: calc(1.5rem + 21px);
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: #222;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(232, 117, 154, 0.35);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    flex: 1;
    border-left: 3px solid #222;
    margin-top: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(232, 117, 154, 0.18);
}

.timeline-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.timeline-title {
    font-size: 1rem;
    color: #333;
    margin: 0 0 0.4rem;
}
.timeline-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 480px) {
    .love-story-timeline {
        padding: 0 0.75rem 0 1rem;
    }
    .love-story-timeline::before {
        left: calc(1rem + 20px);
    }
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ============================================
        VIDEO
        ============================================ */
.video-section {
    padding: 3rem 1rem;
    background: #fff;
    text-align: center;
    width: 100%;
}
.video-title {
    color: #222;
    margin-bottom: 25px;
    font-size: var(--section-title-size);
    font-weight: 700;
}
.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.video-wrapper {
    width: 85%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 115, 85, 0.15);
    background: #eaddcf;
    position: relative;
    border: 4px solid #fff;
}
.video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #222;
    font-size: 0.9rem;
    padding: 0 15px;
}

/* ============================================
        MAPS
        ============================================ */
.maps-section {
    padding: 3rem 1rem;
    background: #eee;
    width: 100%;
}
.section-subtitle-maps {
    text-align: center;
    color: #1d1d1d;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
}
.maps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.map-card {
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(255, 182, 193, 0.2);
    transition: transform 0.3s ease;
}
.map-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 182, 193, 0.15);
}

.map-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1d1d1d;
    font-size: 1.5rem;
}
.map-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
}

.map-details {
    margin-bottom: 1rem;
}
.map-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1b1b1b;
    margin-bottom: 0.8rem;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}
.map-details i {
    color: #1b1b1b;
    font-size: 1rem;
}

.map-container {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.1);
}

.map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    min-height: 44px;
}
.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.3);
}

/* ============================================
        GALLERY
        ============================================ */
.gallery-section {
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem;
    width: 100%;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/img/template/standard/serenity-luxe/gallery/asset-17.png") center
            center / cover no-repeat;
    z-index: 0;
}

.gallerySwiper {
    width: 100%;
    height: clamp(40vh, 60vw, 60vh);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}
.gallerySwiper .swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}
.gallerySwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}
.gallerySwiper .swiper-slide:hover img {
    transform: scale(1.1);
    filter: brightness(0.85);
}

.preview-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}
.gallerySwiper .swiper-slide:hover .preview-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.preview-icon svg {
    width: 48px;
    height: 48px;
    fill: white;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
    margin-bottom: 5px;
}
.preview-icon span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: #fff;
}
.gallerySwiper .swiper-pagination-bullet-active {
    background: #fff;
}

@media (max-width: 768px) {
    .gallerySwiper {
        height: 50vh;
    }
}
@media (max-width: 480px) {
    .gallerySwiper {
        height: 40vh;
    }
}

/* ============================================
        RSVP
        ============================================ */
.rsvp-section {
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("/img/template/standard/serenity-luxe/hero/asset.jpg") center
            center / cover no-repeat;
    position: relative;
    z-index: 0;
    width: 100%;
}

.rsvp-form {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    min-height: 44px;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.form-control option {
    color: #222;
    background: #fff;
}
.form-control:focus {
    outline: none;
    border-color: var(--pink-light);
    box-shadow: 0 0 0 0.25rem rgba(255, 192, 203, 0.3);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    padding: 0.8rem;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}
.btn-submit:hover {
    background: #111;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
        GIFT
        ============================================ */
.gift-section {
    background: #f4f4f2;
    color: #2c2c2c;
    text-align: center;
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 2rem);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gift-section::before {
    content: "";
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(60, 60, 60, 0.07) 1px,
        transparent 1px
    );
    background-size: 22px 22px;
    z-index: 0;
    pointer-events: none;
}

.gf-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}
.gf-label {
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(60, 60, 60, 0.5);
    margin-bottom: 0.4rem;
}
.gf-title {
    font-size: var(--section-title-size);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.gf-subtitle {
    font-size: clamp(0.78rem, 3.2vw, 0.84rem);
    line-height: 1.7;
    color: rgba(50, 50, 50, 0.6);
    margin: 0 auto 2rem;
    max-width: 320px;
}

.gift-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 3vw, 2rem);
    width: 100%;
}
@media (min-width: 600px) {
    .gift-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gift-card {
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    animation: gf-fadeUp 0.7s ease forwards;
    opacity: 0;
    width: 100%;
}
.gift-card:nth-child(1) {
    animation-delay: 0.1s;
}
.gift-card:nth-child(2) {
    animation-delay: 0.25s;
}

.bank-card-wrap {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.bank-card {
    background: linear-gradient(135deg, #e2e2e2, #f7f7f5 55%, #d8d8d5);
    border-radius: 14px;
    padding: clamp(0.9rem, 4vw, 1.3rem) clamp(0.9rem, 4vw, 1.4rem);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 0.5px solid rgba(180, 180, 180, 0.35);
}

.bank-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}
.bank-card::after {
    content: "";
    position: absolute;
    bottom: -35px;
    left: -25px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    pointer-events: none;
}

.bank-card-top {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}
.bank-card-logo img {
    height: clamp(22px, 6vw, 30px);
    width: auto;
    object-fit: contain;
}
.bank-card-logo-fallback {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem);
    font-weight: 700;
    color: #1a5276;
}

.bank-card-chip {
    width: clamp(28px, 8vw, 36px);
    height: clamp(20px, 5.5vw, 27px);
    background: linear-gradient(135deg, #c9982a, #f0c84a 45%, #b8861e);
    border-radius: 5px;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}
.bank-card-chip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.18);
    transform: translateY(-50%);
}
.bank-card-chip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.18);
    transform: translateX(-50%);
}

.bank-card-number {
    display: block;
    width: 100%;
    font-family: "Courier New", monospace;
    font-size: clamp(0.8rem, 4.2vw, 0.95rem);
    letter-spacing: 0.14em;
    color: #2a2a2a;
    font-weight: 600;
    user-select: none;
    position: relative;
    z-index: 1;
}

.bank-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}
.bank-card-name {
    font-size: clamp(0.6rem, 2.8vw, 0.72rem);
    color: #3a3a3a;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bank-copy-btn {
    background: rgba(30, 30, 30, 0.72);
    color: #fff;
    border: none;
    padding: 0.38rem 0.75rem;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: clamp(0.65rem, 2.6vw, 0.72rem);
    font-weight: 500;
    white-space: nowrap;
    min-height: 36px;
    min-width: 44px;
    flex-shrink: 0;
    transition:
        background 0.2s,
        transform 0.15s;
}
.bank-copy-btn:hover {
    background: rgba(10, 10, 10, 0.88);
}
.bank-copy-btn:active {
    transform: scale(0.96);
}
.bank-copy-btn.cop .bank-copy-btn.copied {
    background: rgba(30, 100, 30, 0.82);
}

/* ============================================
        WISHES
        ============================================ */
.wishes-section {
    padding: 3rem 1rem;
    background: #fff;
    width: 100%;
}

.wish-card {
    background: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.08);
    animation: fadeInUp 0.5s ease;
}

.wish-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.wish-name {
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #333;
}
.wish-time {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #999;
}

.wish-status {
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 600;
}
.wish-status.hadir {
    background-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}
.wish-status.tidak-hadir {
    background-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}
.wish-status.masih-ragu {
    background-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.wish-message {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}
.wishes-loading {
    text-align: center;
    padding: 2rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: rgba(36, 36, 36, 0.8);
}
.wishes-empty {
    text-align: center;
    padding: 2rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: rgba(36, 36, 36, 0.8);
}

/* ============================================
        PAGINATION
        ============================================ */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 1rem 0;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
}
.pagination-btn:hover:not(:disabled) {
    background: var(--pink-primary);
    color: #fff;
    border-color: var(--pink-primary);
}
.pagination-btn.active {
    background: var(--pink-primary);
    color: #fff;
    border-color: var(--pink-primary);
    font-weight: 700;
}
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination-ellipsis {
    padding: 0 0.2rem;
    color: #999;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

/* ============================================
        TURUT MENGUNDANG
        ============================================ */
.turut-mengundang-section {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}
.section-title-mengundang {
    font-size: var(--section-title-size);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}
.silver-rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #c9a96e, transparent);
    margin: 12px auto 28px;
}
.turut-list {
    line-height: 2.6;
    color: #4a3f35;
    font-size: 0.95rem;
}
.turut-list p {
    margin: 0;
}

/* ============================================
        CLOSING
        ============================================ */
.closing-section {
    padding: 4rem 1rem 5rem;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e 50%, #0f3460);
    min-height: 80vh;
    width: 100%;
}

.closing-section::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -8%;
    width: 120%;
    height: 120%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("/img/template/standard/serenity-luxe/gallery/asset-17.jpg") center
            center / cover no-repeat;
    z-index: 0;
}

/* Falling elements */
.falling-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.fall-item {
    position: absolute;
    top: -60px;
    animation: falling linear infinite;
    opacity: 0;
}
.fall-item.flower::before {
    content: "🌸";
    font-size: 1.5rem;
    display: block;
}
.fall-item.leaf::before {
    content: "🍃";
    font-size: 1.5rem;
    display: block;
}
.fall-item.heart::before {
    content: "💕";
    font-size: 1.2rem;
    display: block;
}

.fall-item:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}
.fall-item:nth-child(2) {
    left: 25%;
    animation-duration: 15s;
    animation-delay: 1.5s;
}
.fall-item:nth-child(3) {
    left: 40%;
    animation-duration: 18s;
    animation-delay: 3s;
}
.fall-item:nth-child(4) {
    left: 55%;
    animation-duration: 14s;
    animation-delay: 0.8s;
}
.fall-item:nth-child(5) {
    left: 70%;
    animation-duration: 16s;
    animation-delay: 2.2s;
}
.fall-item:nth-child(6) {
    left: 15%;
    animation-duration: 20s;
    animation-delay: 4s;
}

.closing-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}
.closing-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 1rem;
    animation: heartBeat 2s ease-in-out infinite;
    display: inline-block;
}
.closing-title {
    font-size: var(--section-title-size);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.closing-message {
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.closing-divider {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.8;
}
.closing-names h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.closing-date {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.closing-socials {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.social-link:hover {
    background: #fff;
    color: #762b4c;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.closing-credit {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    opacity: 0.7;
    margin: 0;
}

/* ============================================
        BOTTOM NAV
        ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
}

body:not(.no-scroll) .bottom-nav {
    opacity: 1;
    visibility: visible;
}

.nav-item {
    text-decoration: none;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    transition: 0.3s;
}
.nav-item i {
    font-size: 1.1rem;
    opacity: 0.5;
}
.nav-item span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.5;
}
.nav-item:hover i,
.nav-item:hover span {
    opacity: 1;
    color: #000;
}

/* ============================================
        MUSIC TOGGLE
        ============================================ */
.music-toggle {
    position: fixed;
    bottom: 90px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
    animation: pulse 2s ease-in-out infinite;
}
.music-toggle.active {
    display: flex;
    animation:
        slideInRight 0.6s ease,
        pulse 2s ease-in-out 1s infinite;
}
.music-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.4);
}
.music-toggle:active {
    transform: scale(0.95);
}

/* ============================================
        LINK PUTIH
        ============================================ */
.link-putih {
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all 0.3s ease;
}
.link-putih:hover {
    color: #fff;
    text-decoration: none;
    transform: scale(1.1);
}
.link-putih:visited {
    color: #fff;
    text-decoration: none;
}

/* ============================================
        RESPONSIVE
        ============================================ */
@media (max-width: 768px) {
    .maps-grid {
        grid-template-columns: 1fr;
    }
    .gift-section {
        padding: 2.5rem 0.8rem;
    }
    .gift-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .closing-section {
        padding: 3rem 1rem 4rem;
        min-height: 70vh;
    }
    .closing-section::after {
        background-size: cover;
    }
    .particle-field {
        display: none;
    }
}

@media (max-width: 480px) {
    .cover-names {
        font-size: clamp(2.9rem, 4vw, 3.4rem);
    }
    .countdown-number {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }
    .closing-section {
        padding: 2.5rem 0.8rem 3.5rem;
        min-height: 60vh;
    }
    .fall-item:nth-child(n + 5) {
        display: none;
    }
    .fall-item.flower::before,
    .fall-item.leaf::before {
        font-size: 1rem;
    }
    .fall-item.heart::before {
        font-size: 0.9rem;
    }
    .turut-list {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        line-height: 2.4;
    }
}

@media (max-width: 360px) {
    .closing-section {
        padding: 2rem 0.8rem 3rem;
        min-height: 50vh;
    }
    .fall-item:nth-child(n + 4) {
        display: none;
    }
}

/* Touch-friendly */
@media (hover: none) and (pointer: coarse) {
    .btn-open,
    .btn-submit,
    .map-btn,
    .bank-copy-btn,
    .music-toggle,
    .social-link {
        min-height: 48px;
        min-width: 48px;
    }
    .event-card:hover,
    .countdown-item:hover,
    .map-card:hover,
    .gift-card:hover {
        transform: none;
    }
}

/* Fallback grid */
@supports not (display: grid) {
    .countdown-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .countdown-item {
        flex: 1 0 45%;
        margin: 0.5rem;
    }
}

/* ============================================
        REDUCED MOTION
        ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .fall-item {
        animation: none;
        opacity: 0.4;
        top: 20%;
    }
    .closing-icon {
        animation: none;
    }
}

/* ============================================
        UTILITIES
        ============================================ */
.particle:not(.pf-dot) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
#guestNameDisplay {
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    min-height: 1.4em;
}
.guest-name {
    display: none !important;
}
