/* ════════════════════════════════
   RESET & ROOT — SAGE GREEN IVORY
════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ivory:      #f5f0e8;
    --ivory-alt:  #ede6d8;
    --ivory-deep: #e2d8c8;
    --sage:       #4a6741;
    --sage-light: #6a8a60;
    --sage-pale:  #a8c49a;
    --sage-wash:  #d8e8d0;
    --gold:       #b8963e;
    --gold-light: #d4b060;
    --text:       #1e2a1a;
    --text-mid:   #4a5a40;
    --text-light: #7a8a70;
    --dark-bg:    #1a2218;
    --white:      #fdfaf5;
    --radius:     16px;
    --ff-display: 'Playfair Display', serif;
    --ff-body:    'Josefin Sans', sans-serif;
    --ff-script:  'Great Vibes', cursive;
    --shadow:     0 8px 32px rgba(26,50,20,0.10);
    --shadow-lg:  0 20px 60px rgba(26,50,20,0.16);
}
body.locked {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed;
    width: 100%;
}
html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    background: var(--ivory);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}
body.locked { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
button { font-family: var(--ff-body); cursor: pointer; border: none; }

.cover, .hero, .prayer, .identity,
.quote-sec, .event-sec, .countdown-sec,
.gallery-sec, .wish-sec, .rsvp-sec,
.gift-sec, .footer {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════
   SHARED SECTION HEADER
════════════════════════════════ */
.sec-head {
    display: flex; align-items: center; gap: 14px;
    padding: 0 24px; margin-bottom: 8px;
}
.sh-line {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage-pale));
}
.sec-head .sh-line:last-child {
    background: linear-gradient(to left, transparent, var(--sage-pale));
}
.sh-label {
    font-family: var(--ff-body);
    font-size: 10px; letter-spacing: 4px;
    text-transform: uppercase; color: var(--sage);
    white-space: nowrap; font-weight: 600;
}
.sec-title {
    font-family: var(--ff-display);
    font-size: 30px; font-weight: 400; font-style: italic;
    text-align: center; color: var(--text);
    margin-bottom: 28px; padding: 0 24px;
}

/* ════════════════════════════════
   COVER
════════════════════════════════ */
.cover {
    position: relative;
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column;
    align-items: center; overflow: hidden;
    z-index: 9999;
    background: linear-gradient(160deg, #eae4d5 0%, #d8d0be 30%, #cdc5b0 55%, #d5ccb8 75%, #e5dece 100%);
}

.motif {
    position: absolute; pointer-events: none; z-index: 1;
}
.motif-tl { top: -10px; left: -10px; width: 160px; height: 160px; }
.motif-br { bottom: -10px; right: -10px; width: 160px; height: 160px; transform: rotate(180deg); }

/* TOP */
.cover-top {
    padding-top: 52px; text-align: center;
    width: 100%; z-index: 2; position: relative;
}
.top-line-group {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 12px;
}
.tl-dash {
    display: block; width: 36px; height: 1px;
    background: rgba(50,70,40,0.4);
}
.tl-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--sage); opacity: 0.5;
}
.tl-text {
    font-family: var(--ff-body); font-size: 10px;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(30,42,26,0.65);
}
.cover-eyebrow {
    font-family: var(--ff-display); font-size: 14px;
    font-style: italic; color: rgba(30,42,26,0.7);
    letter-spacing: 1px;
}

/* DIAMOND FRAME */
.diamond-wrap {
    position: relative; z-index: 2;
    width: 190px; height: 190px;
    margin: 28px auto 28px;
    flex-shrink: 0;
}

.diamond-outer {
    position: absolute; inset: -18px;
    transform: rotate(45deg);
    border: 1px solid rgba(74,103,65,0.4);
    border-radius: 6px;
}
.diamond-mid {
    position: absolute; inset: 6px;
    border: 0.5px solid rgba(74,103,65,0.25);
    border-radius: 4px;
}
.diamond-inner {
    position: absolute; inset: 0;
    overflow: hidden; border-radius: 4px;
}
.diamond-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan foto memenuhi kotak sebelum dirotasi */
    transform: rotate(-45deg) scale(1.5); /* Scale ditingkatkan agar sudut tertutup */
    object-position: center;
}
/* Titik di sudut diamond */
.d-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ivory);
    border: 1.5px solid var(--sage);
    z-index: 3;
}
.d-top    { top: -22px;   left: calc(50% - 4px); transform: none; }
.d-right  { right: -22px; top: calc(50% - 4px);  transform: none; }
.d-bottom { bottom: -22px; left: calc(50% - 4px); transform: none; }
.d-left   { left: -22px;  top: calc(50% - 4px);  transform: none; }

/* COVER MID */
.cover-mid {
    text-align: center; width: 100%; z-index: 2;
    position: relative; padding: 0 28px;
}
.cover-title-sm {
    font-family: var(--ff-body); font-size: 11px;
    letter-spacing: 5px; text-transform: uppercase;
    color: rgba(74,103,65,0.8); margin-bottom: 8px; font-weight: 600;
}
.cover-script {
    font-family: var(--ff-script);
    font-size: clamp(44px, 11vw, 56px);
    color: #1e2a1a; line-height: 1.15;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(20,40,16,0.12);
}
.cover-rule-group {
    display: flex; align-items: center;
    justify-content: center; gap: 12px;
    margin: 12px 0 14px;
}
.cr-line {
    display: block; width: 42px; height: 1px;
    background: rgba(74,103,65,0.4);
}
.cover-parents {
    font-size: 12px; letter-spacing: 1px;
    color: rgba(30,42,26,0.6); margin-bottom: 4px;
}
.cover-parent-name {
    font-family: var(--ff-display); font-size: 16px;
    font-weight: 500; color: rgba(30,42,26,0.85);
    margin-bottom: 0;
}
.cover-divider {
    width: 1px; height: 32px;
    background: linear-gradient(to bottom, transparent, rgba(74,103,65,0.4), transparent);
    margin: 18px auto;
}
.cover-kepada-label {
    font-size: 11px; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(30,42,26,0.55);
    margin-bottom: 6px; font-weight: 400;
}
.cover-guest-name {
    font-family: var(--ff-script);
    font-size: clamp(32px, 8vw, 42px);
    color: #1e2a1a;
    text-shadow: 0 1px 6px rgba(20,40,16,0.1);
    margin-bottom: 0;
}

/* COVER BOT */
.cover-bot {
    padding: 24px 28px 40px;
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    width: 100%; z-index: 2; position: relative;
}
.open-btn {
    background: var(--sage);
    color: var(--white);
    font-size: 12px; letter-spacing: 3px;
    text-transform: uppercase; font-weight: 600;
    padding: 15px 36px; border-radius: 4px;
    display: flex; align-items: center;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(26,50,20,0.28);
}
.btn-inner { display: flex; align-items: center; gap: 8px; }
.open-btn:hover { background: var(--sage-light); transform: translateY(-2px); }
.cover-date-label {
    font-size: 11px; letter-spacing: 2px;
    color: rgba(30,42,26,0.55);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
    position: relative; height: 90vh;
    overflow: hidden; cursor: pointer;
    background: var(--dark-bg);
}
.hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 1.2s ease;
    animation: kb 20s alternate infinite;
}
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-tint {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        rgba(26,34,24,0.15) 0%,
        rgba(26,34,24,0.1) 40%,
        rgba(26,34,24,0.7) 100%);
    z-index: 1;
}
.hero-text {
    position: relative; z-index: 2;
    height: 100%; display: flex;
    flex-direction: column; align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 32px 100px; gap: 10px;
}
.hero-eyebrow {
    font-family: var(--ff-body); font-size: 11px;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--sage-pale); font-weight: 600;
}
.hero-name {
    font-family: var(--ff-display);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 400; color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-rule {
    width: 50px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage-pale), transparent);
}
.hero-date {
    font-family: var(--ff-body); font-size: 12px;
    letter-spacing: 3px; color: rgba(255,255,255,0.75);
}
.hero-bottom-fade {
    position: absolute; bottom: -1px;
    left: 0; width: 100%; height: 90px; z-index: 3;
    background: linear-gradient(to bottom, transparent, var(--ivory));
}

/* ════════════════════════════════
   PRAYER
════════════════════════════════ */
.prayer {
    background: var(--ivory); padding: 72px 36px;
    text-align: center;
}
.prayer-icon { margin: 0 auto 22px; }
.prayer-om {
    font-family: var(--ff-display); font-size: 32px;
    font-weight: 400; letter-spacing: 3px;
    color: var(--text); margin-bottom: 18px;
}
.prayer-line {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage), transparent);
    margin: 0 auto 24px;
}
.prayer-text {
    font-family: var(--ff-display); font-size: 17px;
    font-style: italic; line-height: 2;
    color: var(--text-mid); max-width: 380px; margin: 0 auto;
}

/* ════════════════════════════════
   IDENTITY
════════════════════════════════ */
.identity {
    background: var(--ivory-alt); padding: 60px 0 70px;
}

.id-card {
    margin: 28px 20px 0;
    background: var(--white); border-radius: var(--radius);
    border: 1px solid rgba(74,103,65,0.2);
    box-shadow: var(--shadow); position: relative;
    padding: 36px 28px 40px; text-align: center;
    overflow: hidden;
}
/* Aksen hijau tipis di atas */
.id-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--sage-pale), var(--sage), var(--sage-pale));
}

.ic-corner {
    position: absolute; width: 16px; height: 16px;
    border-color: var(--sage-pale); border-style: solid; z-index: 1;
}
.ic-tl { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.ic-tr { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
.ic-bl { bottom: 8px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.ic-br { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }

.id-badge {
    display: inline-block;
    font-family: var(--ff-body); font-size: 10px;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--sage); border: 1px solid var(--sage-pale);
    border-radius: 2px; padding: 5px 18px; margin-bottom: 24px;
    background: rgba(74,103,65,0.04); font-weight: 600;
}

/* Hexagonal frame foto */
.hex-frame {
    width: 180px; height: 200px;
    margin: 0 auto 22px;
    position: relative;
}
.hex-clip {
    width: 100%; height: 100%;
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    overflow: hidden;
}
.hex-clip img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
}
.hex-border {
    position: absolute; inset: -2px;
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    background: transparent;
    outline: 2px solid rgba(74,103,65,0.25);
    pointer-events: none;
}

.id-name {
    font-family: var(--ff-display); font-size: 26px;
    font-weight: 400; font-style: italic;
    color: var(--sage); margin-bottom: 6px;
}
.id-rule {
    width: 40px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage), transparent);
    margin: 10px auto 16px;
}
.id-parents-label {
    font-size: 12px; letter-spacing: 1px; font-style: italic;
    color: var(--text-light); margin-bottom: 8px;
}
.id-parent { font-size: 15px; color: var(--text); margin: 4px 0; }
.id-amp {
    font-family: var(--ff-display); font-size: 22px;
    color: var(--sage); display: block; margin: 6px 0;
}

/* ════════════════════════════════
   QUOTE
════════════════════════════════ */
.quote-sec {
    background: var(--dark-bg); padding: 80px 28px;
    text-align: center; position: relative; overflow: hidden;
}
.quote-bg-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-family: var(--ff-display);
    font-size: clamp(80px, 22vw, 120px);
    font-weight: 700; color: rgba(255,255,255,0.025);
    pointer-events: none; white-space: nowrap;
}
.quote-inner {
    display: flex; align-items: flex-start; gap: 16px;
    position: relative; z-index: 2;
}
.quote-leaf { flex-shrink: 0; margin-top: 20px; }
.quote-leaf-l { transform: scaleX(-1); }
.quote-content { flex: 1; }
.q-mark {
    font-family: var(--ff-display); font-size: 60px;
    color: var(--sage-pale); line-height: 0.6;
    opacity: 0.5; margin-bottom: 24px;
}
.q-text {
    font-family: var(--ff-display); font-size: 17px;
    font-style: italic; line-height: 2;
    color: rgba(255,255,255,0.85); margin-bottom: 14px;
}
.q-src {
    font-family: var(--ff-body); font-size: 11px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--sage-pale); margin-bottom: 24px; font-weight: 600;
}
.q-divider {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage), transparent);
    margin: 0 auto 24px;
}
.q-trans {
    font-family: var(--ff-display); font-size: 15px;
    font-style: italic; line-height: 2;
    color: rgba(255,255,255,0.55);
}

/* ════════════════════════════════
   EVENT
════════════════════════════════ */
.event-sec {
    background: var(--ivory); padding: 70px 20px;
}

.event-visual {
    position: relative; height: 280px;
    border-radius: var(--radius); overflow: hidden;
    margin-bottom: 0; box-shadow: var(--shadow);
}
.event-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.event-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(26,34,24,0.1), rgba(26,34,24,0.65));
}
.event-img-label {
    position: absolute; bottom: 22px; left: 0; right: 0;
    text-align: center;
    font-family: var(--ff-display); font-size: 32px;
    font-style: italic; font-weight: 400;
    color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.event-details {
    background: var(--white); border-radius: 0 0 var(--radius) var(--radius);
    padding: 28px 24px 28px; box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.ev-row {
    display: flex; align-items: flex-start;
    gap: 14px; padding: 12px 0;
    border-bottom: 1px solid var(--ivory-alt);
}
.ev-row:last-of-type { border-bottom: none; margin-bottom: 16px; }

.ev-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 8px; background: var(--sage-wash);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage);
}
.ev-info { display: flex; flex-direction: column; gap: 2px; }
.ev-label {
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-light); font-weight: 600;
}
.ev-val { font-size: 15px; color: var(--text); }

.map-btn {
    width: 100%; background: var(--sage);
    color: var(--white); font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    font-weight: 600; padding: 14px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.3s; box-shadow: 0 4px 16px rgba(26,50,20,0.2);
}
.map-btn:hover { background: var(--sage-light); transform: translateY(-1px); }

.event-closing { text-align: center; padding: 0 8px; }
.ec-rule {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage), transparent);
    margin: 0 auto 20px;
}
.ec-text {
    font-family: var(--ff-display); font-size: 16px;
    font-style: italic; line-height: 2; color: var(--text-mid); margin-bottom: 20px;
}
.ec-family { font-size: 13px; letter-spacing: 1px; color: var(--text-light); margin-bottom: 6px; }
.ec-name {
    font-family: var(--ff-display); font-size: 20px;
    font-weight: 500; color: var(--sage);
}

/* ════════════════════════════════
   COUNTDOWN
════════════════════════════════ */
.countdown-sec {
    background: var(--ivory-alt); padding: 64px 24px;
    text-align: center;
}
.cd-eyebrow {
    font-family: var(--ff-body); font-size: 10px;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--sage); font-weight: 600; margin-bottom: 8px;
}
.cd-title {
    font-family: var(--ff-display); font-size: 26px;
    font-style: italic; color: var(--text); margin-bottom: 28px;
}
.cd-photo {
    width: 260px; margin: 0 auto 32px; position: relative;
}
.cd-photo img {
    width: 100%; border-radius: 12px;
    box-shadow: var(--shadow);
    transition: opacity 0.8s ease;
}
.cd-photo-border {
    position: absolute; inset: -4px;
    border-radius: 14px;
    border: 1px solid rgba(74,103,65,0.25);
    pointer-events: none;
}
.cd-boxes {
    display: flex; align-items: center;
    justify-content: center; gap: 6px;
}
.cd-item {
    background: var(--white); border-radius: 10px;
    padding: 18px 14px; min-width: 68px;
    box-shadow: 0 4px 14px rgba(26,50,20,0.08);
    border: 1px solid rgba(74,103,65,0.12);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.cd-num {
    font-family: var(--ff-display); font-size: 32px;
    font-weight: 700; color: var(--sage); line-height: 1;
}
.cd-lbl {
    font-family: var(--ff-body); font-size: 9px;
    letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); font-weight: 600;
}
.cd-sep {
    font-family: var(--ff-display); font-size: 28px;
    color: var(--sage-pale); line-height: 1; margin-bottom: 16px;
}

/* ════════════════════════════════
   GALLERY
════════════════════════════════ */
.gallery-sec { background: var(--white); padding: 70px 20px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 8px;
}
.g-item {
    border-radius: 10px; overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26,50,20,0.09);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 1;
}
.g-item.tall { grid-row: span 2; aspect-ratio: auto; }
.g-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.g-item:hover { transform: scale(1.02); box-shadow: 0 10px 26px rgba(26,50,20,0.17); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.g-item:hover img { transform: scale(1.06); }

/* ════════════════════════════════
   LIGHTBOX
════════════════════════════════ */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(10,18,8,0.94); z-index: 99999;
    align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lb-wrap { max-width: 90vw; max-height: 85vh; }
.lb-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; transition: opacity 0.2s; }
.lb-close {
    position: fixed; top: 16px; right: 20px;
    background: rgba(255,255,255,0.1); color: #fff;
    width: 42px; height: 42px; border-radius: 50%;
    font-size: 16px; display: flex; align-items: center;
    justify-content: center; transition: background 0.2s; z-index: 100001;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-prev, .lb-next {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); color: #fff;
    width: 46px; height: 46px; border-radius: 50%;
    font-size: 28px; display: flex; align-items: center;
    justify-content: center; transition: background 0.2s; z-index: 100001;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
.lb-count {
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.5); font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}

/* ════════════════════════════════
   WISHES
════════════════════════════════ */
.wish-sec { background: var(--ivory); padding: 70px 20px; }

.wish-count-row {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--ff-body); font-size: 11px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--sage); font-weight: 600;
    margin-bottom: 20px;
}

.wish-form-card {
    background: var(--white); border-radius: var(--radius);
    padding: 24px 20px; box-shadow: var(--shadow);
    border: 1px solid rgba(74,103,65,0.1); margin-bottom: 24px;
}

.form-field {
    width: 100%; font-family: var(--ff-body);
    font-size: 14px; font-weight: 300;
    padding: 13px 16px;
    border: 1px solid var(--ivory-deep);
    border-radius: 4px; background: var(--ivory);
    color: var(--text); display: block; margin-bottom: 12px;
    transition: border-color 0.2s; outline: none; appearance: none;
}
.form-field:focus { border-color: var(--sage); background: var(--white); }
.form-area { min-height: 100px; resize: vertical; }

.action-btn {
    width: 100%; background: var(--sage);
    color: var(--white); font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    font-weight: 600; padding: 14px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.3s; box-shadow: 0 4px 16px rgba(26,50,20,0.2);
}
.action-btn:hover { background: var(--sage-light); transform: translateY(-1px); }
.action-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.wishes-list {
    display: flex; flex-direction: column; gap: 0;
    max-height: 380px; overflow-y: auto;
}
.wish-item {
    padding: 16px 0; border-bottom: 1px solid var(--ivory-alt);
}
.wish-item:last-child { border-bottom: none; }
.wish-author {
    font-family: var(--ff-display); font-size: 16px;
    font-weight: 500; color: var(--sage); margin-bottom: 4px;
}
.wish-time { font-size: 11px; color: var(--text-light); margin-bottom: 6px; }
.wish-text { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ════════════════════════════════
   RSVP
════════════════════════════════ */
.rsvp-sec { background: var(--ivory-alt); padding: 70px 20px; }

.rsvp-card {
    background: var(--white); border-radius: var(--radius);
    padding: 28px 22px; box-shadow: var(--shadow);
    border: 1px solid rgba(74,103,65,0.1);
}
.fg { margin-bottom: 20px; }
.fg-label {
    display: block; font-family: var(--ff-body);
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--text-light); font-weight: 600; margin-bottom: 10px;
}

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-opt {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--ivory-deep);
    border-radius: 4px; cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 14px; color: var(--text-mid); font-weight: 300;
}
.radio-opt:hover { border-color: var(--sage); background: rgba(74,103,65,0.03); }
.radio-opt input { accent-color: var(--sage); }
.radio-custom { display: none; }

/* ════════════════════════════════
   GIFT
════════════════════════════════ */
.gift-sec { background: var(--ivory); padding: 70px 20px; }

.gift-desc {
    font-family: var(--ff-display); font-size: 16px; font-style: italic;
    text-align: center; color: var(--text-mid); line-height: 1.9;
    padding: 0 8px; margin-bottom: 24px;
}
.gift-card {
    background: var(--white); border-radius: var(--radius);
    padding: 20px 22px; box-shadow: var(--shadow);
    border: 1px solid rgba(74,103,65,0.12);
    display: flex; align-items: center; gap: 16px;
}
.gift-bank-badge {
    width: 52px; height: 52px; border-radius: 10px;
    background: var(--sage); color: var(--white);
    font-family: var(--ff-body); font-size: 13px;
    font-weight: 600; letter-spacing: 1px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bca-badge { background: #003d79; }

.gift-info { flex: 1; min-width: 0; }
.gift-info-label {
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-light); font-weight: 600; margin-bottom: 4px;
}
.gift-info-num {
    font-family: var(--ff-body); font-size: 16px;
    font-weight: 400; color: var(--sage); letter-spacing: 1px;
    margin-bottom: 2px;
}
.gift-info-owner { font-size: 13px; color: var(--text-mid); font-weight: 300; }

.copy-btn {
    background: transparent; color: var(--sage);
    border: 1px solid var(--sage-pale);
    font-family: var(--ff-body); font-size: 11px;
    letter-spacing: 1px; font-weight: 600;
    padding: 8px 14px; border-radius: 4px;
    display: flex; align-items: center; gap: 6px;
    transition: all 0.3s; flex-shrink: 0;
    text-transform: uppercase;
}
.copy-btn:hover { background: var(--sage); color: var(--white); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
    background: var(--dark-bg); padding: 64px 28px 52px;
    text-align: center;
}
.footer-motif { margin: 0 auto 28px; }
.footer-thanks {
    font-family: var(--ff-display); font-size: 17px; font-style: italic;
    line-height: 1.9; color: rgba(255,255,255,0.75); margin-bottom: 28px;
}
.footer-rule {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--sage), transparent);
    margin: 0 auto 22px;
}
.footer-fam-label {
    font-family: var(--ff-body); font-size: 10px; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; font-weight: 600;
}
.footer-fam-name {
    font-family: var(--ff-display); font-size: 22px;
    font-weight: 400; color: var(--sage-pale); margin-bottom: 24px;
}
.footer-om {
    font-family: var(--ff-display); font-size: 18px;
    font-style: italic; color: rgba(168,196,154,0.55);
    margin-bottom: 24px;
}
.footer-credit {
    font-size: 12px; color: rgba(255,255,255,0.3); line-height: 2;
}
.footer-credit strong { color: var(--sage-pale); }

/* ════════════════════════════════
   MUSIC BUTTON
════════════════════════════════ */
.music-btn {
    position: fixed; bottom: 28px; right: 28px;
    width: 50px; height: 50px;
    background: var(--sage); color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(26,50,20,0.35);
    z-index: 1000; transition: all 0.3s;
}
.music-btn:hover { transform: scale(1.1); }
.music-btn.playing { animation: pulse 2s infinite; }
@keyframes pulse {
    0%,100% { box-shadow: 0 6px 20px rgba(26,50,20,0.35); }
    50% { box-shadow: 0 10px 30px rgba(26,50,20,0.55); }
}

@media (min-width: 769px) {
    .music-btn { right: calc((100vw - 480px)/2 + 28px); }
}

@media (max-width: 380px) {
    .cd-item { min-width: 56px; padding: 14px 8px; }
    .cd-num { font-size: 26px; }
    .diamond-wrap { width: 160px; height: 160px; }
}