/* ==========================================
   RESET & BASE
========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:root {
    --gold:        #c9a96e;
    --gold-dk:     #8b6d3a;
    --gold-lt:     #dfc08e;
    --gold-pale:   #f5ead6;
    --cream:       #fdfaf5;
    --cream2:      #f7f2e8;
    --white:       #ffffff;
    --text:        #2e2416;
    --text-mid:    #5e4e38;
    --text-lt:     #9a8a72;
    --dark:        #1a1208;
    --dark2:       #120d04;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.65;
}

a { text-decoration: none; color: inherit; }

/* ==========================================
   SHARED UTILITIES
========================================== */

.s-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.s-orn {
    display: block;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 10px;
    margin-bottom: 18px;
}
.s-orn.light { color: rgba(255,255,255,0.45); }

.s-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(38px, 6vw, 58px);
    color: var(--text);
    font-weight: 400;
    line-height: 1.15;
}
.s-title.light { color: var(--white); }

.s-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-dk);
    margin-top: 10px;
}

/* Flourish divider */
.flourish-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 30px auto;
    max-width: 280px;
}
.fd-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-lt), transparent);
}
.fd-line.light {
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
}
.fd-sym {
    font-size: 22px;
    color: var(--gold);
    line-height: 1;
}
.fd-sym.light { color: rgba(255,255,255,0.5); }

/* ==========================================
   HERO — INVITATION CARD
========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

/* Watercolour-style gradient blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.blob-tl {
    top: -120px;
    left: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(ellipse at center,
        rgba(201,169,110,0.09) 0%,
        rgba(201,169,110,0.04) 45%,
        transparent 70%);
}
.blob-br {
    bottom: -120px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(ellipse at center,
        rgba(201,169,110,0.07) 0%,
        rgba(201,169,110,0.03) 45%,
        transparent 70%);
}

/* ── Card image wrapper ── */
.inv-card-img-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 560px;
}

.inv-card-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow:
        0 32px 90px rgba(201,169,110,0.14),
        0 6px 24px rgba(0,0,0,0.08);
}

/* ── Monogram ── */
.monogram { margin-bottom: 26px; }

.monogram-ring {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 1.5px solid rgba(201,169,110,0.55);
    padding: 10px;
}

.monogram-tree-svg {
    width: 68px;
    height: 38px;
    margin-bottom: 2px;
}

.monogram-letters {
    font-family: 'Great Vibes', cursive;
    font-size: 22px;
    color: var(--gold-dk);
    line-height: 1;
}
.mono-amp {
    font-size: 16px;
    color: var(--gold);
    margin: 0 2px;
}

.monogram-date-mini {
    font-family: 'Montserrat', sans-serif;
    font-size: 7.5px;
    font-weight: 300;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-top: 5px;
}

/* ── Save The Date ── */
.save-the-date-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(42px, 9vw, 64px);
    color: var(--text-mid);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 14px;
}

/* ── Thin divider ── */
.thin-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px 0;
}
.td-line {
    width: 54px;
    height: 1px;
    background: var(--gold-lt);
    opacity: 0.7;
}
.td-gem {
    font-size: 9px;
    color: var(--gold);
    letter-spacing: 4px;
}

/* ── Honour text ── */
.honour-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 300;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--text-lt);
    margin-bottom: 10px;
}

/* ── Couple names ── */
.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(36px, 8vw, 56px);
    color: var(--gold-dk);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* ── Date block ── */
.date-block { margin: 18px 0; }

.date-weekday {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-dk);
}

.date-numeral {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(66px, 12vw, 88px);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin: 2px 0;
}

.date-bar {
    width: 52px;
    height: 1px;
    background: var(--gold-lt);
    margin: 4px auto;
}

.date-month-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-dk);
}

.date-year-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--text-lt);
    margin-top: 4px;
}

/* ── Venues ── */
.venues-block { margin: 18px 0; }

.venue-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15.5px;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.venue-then {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--gold);
    margin: 8px 0;
    text-transform: uppercase;
}

/* ── Card CTA button ── */
.card-btn {
    display: inline-block;
    margin-top: 26px;
    padding: 11px 32px;
    border: 1px solid var(--gold-lt);
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dk);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    background: transparent;
}
.card-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ==========================================
   COUNTDOWN
========================================== */

.countdown-section {
    padding: 90px 20px;
    background: var(--cream2);
    text-align: center;
}

.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(2px, 1vw, 6px);
    margin-top: 44px;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.cd-box {
    background: var(--white);
    border: 1px solid var(--gold-pale);
    padding: clamp(10px, 2.5vw, 20px) clamp(4px, 1.5vw, 18px);
    width: 100%;
    box-shadow: 0 4px 24px rgba(201,169,110,0.10);
}

.cd-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 5.5vw, 58px);
    font-weight: 300;
    color: var(--gold-dk);
    line-height: 1;
}

.cd-lbl {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(8px, 1.6vw, 11px);
    font-weight: 500;
    letter-spacing: clamp(1px, 0.4vw, 3px);
    text-transform: uppercase;
    color: var(--text-mid);
}

.cd-colon {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 5vw, 60px);
    font-weight: 300;
    color: var(--gold-lt);
    line-height: 1;
    padding-top: clamp(5px, 1.5vw, 10px);
    align-self: flex-start;
    flex-shrink: 0;
}

.cd-done {
    font-family: 'Great Vibes', cursive;
    font-size: 44px;
    color: var(--gold);
}

/* ==========================================
   MESSAGE / STORY
========================================== */

.message-section {
    padding: 100px 20px;
    background: var(--white);
}

.msg-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(19px, 3vw, 24px);
    font-style: italic;
    color: var(--gold-dk);
    font-weight: 400;
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto 30px;
}

.msg-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(17px, 2.4vw, 20px);
    color: var(--text-mid);
    font-weight: 400;
    line-height: 1.85;
    max-width: 620px;
    margin: 0 auto 20px;
}

.signatures {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 48px;
}
.sig-name {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: var(--gold-dk);
}
.sig-amp {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    color: var(--gold);
}

/* ==========================================
   EVENTS / DETAILS
========================================== */

.events-section {
    padding: 100px 20px;
    background: var(--cream2);
}

.events-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 52px;
}

.event-card {
    flex: 1;
    min-width: 230px;
    max-width: 300px;
    padding: 44px 30px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 4px 30px rgba(201,169,110,0.09);
}

.ev-icon {
    margin-bottom: 18px;
}
.ev-icon svg {
    width: 40px;
    height: 40px;
}

.ev-title {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: var(--gold-dk);
    font-weight: 400;
    margin-bottom: 14px;
}

.ev-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-lt);
    margin-bottom: 8px;
}

.ev-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 14px;
    line-height: 1;
}

.ev-address {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15.5px;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 22px;
}

.ev-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--gold-lt);
    padding-bottom: 2px;
    transition: color 0.3s;
}
.ev-link:hover { color: var(--gold-dk); }

/* Vertical separator */
.event-sep {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    gap: 10px;
}
.esep-line {
    width: 1px;
    flex: 1;
    min-height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold-lt), transparent);
}
.esep-heart {
    font-size: 22px;
    color: var(--gold);
}

/* ==========================================
   RSVP
========================================== */

.rsvp-section {
    position: relative;
    padding: 100px 20px;
    background: #7d6535;
    overflow: hidden;
}

.rsvp-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(201,169,110,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(201,169,110,0.09) 0%, transparent 55%);
    pointer-events: none;
}

.rsvp-inner {
    position: relative;
    z-index: 1;
}

.rsvp-deadline {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    margin-top: 10px;
}

/* ── White card ── */
.rsvp-card {
    background: var(--cream);
    border-radius: 18px;
    max-width: 580px;
    margin: 40px auto 0;
    padding: 44px 40px 40px;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.rsvp-form-new { width: 100%; }

/* Question title */
.rsvp-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 3.5vw, 26px);
    font-style: italic;
    color: var(--text);
    font-weight: 400;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.35;
}

/* Yes / No attendance buttons */
.attend-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.attend-btn {
    width: 100%;
    padding: 18px 24px;
    border: 1.5px solid rgba(201,169,110,0.35);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--text-mid);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.attend-btn:hover  { border-color: var(--gold); }
.attend-btn.active {
    border-color: var(--gold);
    background: rgba(201,169,110,0.06);
    color: var(--gold-dk);
}

/* Label row */
.rf-labels-row {
    display: flex;
    gap: 14px;
    margin-bottom: 6px;
}

.rf-lbl {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-lt);
    display: block;
}

/* Input row */
.rf-row-light {
    display: flex;
    gap: 14px;
    margin-bottom: 4px;
}

.rf-input {
    flex: 1;
    padding: 14px 16px;
    border: 1.5px solid rgba(201,169,110,0.3);
    border-radius: 10px;
    background: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: var(--text);
    outline: none;
    transition: border-color 0.25s;
    min-width: 0;
    width: 100%;
}
.rf-input::placeholder { color: var(--text-lt); }
.rf-input:focus { border-color: var(--gold); }

/* Phone field — country picker + number */
.rf-phone-wrap {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.rf-phone-num { flex: 1; min-width: 0; align-self: stretch; }

/* Custom country picker */
.cp-wrap {
    position: relative;
    flex-shrink: 0;
    align-self: stretch;
}
.cp-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    height: 100%;
    border: 1.5px solid rgba(201,169,110,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    color: var(--text);
    transition: border-color 0.2s;
    min-width: 100px;
    user-select: none;
}
.cp-trigger:hover,
.cp-trigger.open { border-color: var(--gold); }
.cp-trigger-flag { width: 20px; height: auto; display: block; border-radius: 2px; }
.cp-trigger-code { font-weight: 500; letter-spacing: 0.02em; }
.cp-trigger-arrow {
    margin-left: 2px;
    opacity: 0.6;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.cp-trigger.open .cp-trigger-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.cp-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    width: 280px;
    background: #fff;
    border: 1.5px solid rgba(201,169,110,0.35);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
}
.cp-dropdown.open { display: flex; }

/* Search */
.cp-search {
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid rgba(201,169,110,0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    outline: none;
    background: #fdfaf8;
    color: #2c2319;
}
.cp-search::placeholder { color: #b0a49a; }

/* List */
.cp-list {
    list-style: none;
    overflow-y: auto;
    max-height: 220px;
    padding: 4px 0;
}
.cp-list::-webkit-scrollbar { width: 4px; }
.cp-list::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.4); border-radius: 4px; }

.cp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.12s;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    color: #2c2319;
}
.cp-item:hover    { background: #fdf5ea; }
.cp-item.selected { background: rgba(201,169,110,0.12); }
.cp-item-flag  { width: 20px; height: auto; flex-shrink: 0; border-radius: 2px; display: block; }
.cp-item-name  { flex: 1; }
.cp-item-code  { color: #9b7e6a; font-size: 0.75rem; font-weight: 500; }

/* Guest name rows */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.guest-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    animation: fadeSlideIn 0.22s ease both;
}

.guest-remove-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(201,169,110,0.35);
    background: transparent;
    color: var(--text-lt);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}
.guest-remove-btn:hover { border-color: #c0392b; color: #c0392b; }

/* Add guest button */
.add-guest-btn {
    width: 100%;
    padding: 16px;
    border: 1.5px dashed rgba(201,169,110,0.5);
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, border-color 0.2s;
}
.add-guest-btn:hover {
    background: rgba(201,169,110,0.05);
    border-color: var(--gold);
}

.add-guest-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0;
}

/* Visa buttons */
.visa-btns {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 28px;
}

.visa-btn {
    flex: 1;
    padding: 15px;
    border: 1.5px solid rgba(201,169,110,0.32);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-mid);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.visa-btn:hover  { border-color: var(--gold); }
.visa-btn.active {
    border-color: var(--gold);
    background: rgba(201,169,110,0.06);
    color: var(--gold-dk);
}

/* Submit button */
.rsvp-submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--white);
    border: 1.5px solid rgba(201,169,110,0.45);
    border-radius: 12px;
    color: var(--text-mid);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.rsvp-submit-btn:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.rsvp-submit-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

/* Success state */
.rf-success {
    text-align: center;
    padding: 40px 20px;
}
.rfs-gem {
    font-size: 28px;
    color: var(--gold);
    letter-spacing: 10px;
    margin-bottom: 20px;
}
.rf-success h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 44px;
    color: var(--gold-dk);
    margin-bottom: 14px;
}
.rf-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-mid);
    line-height: 1.65;
}

/* Responsive */
@media (max-width: 500px) {
    .rsvp-card { padding: 32px 22px 28px; }
    .rf-row-light { flex-direction: column; gap: 10px; }
    .rf-labels-row { display: none; }
}

/* ==========================================
   FOOTER
========================================== */

.footer {
    padding: 64px 20px 48px;
    background: var(--white);
    text-align: center;
    border-top: 1px solid var(--gold-pale);
}

.footer-gems {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 18px;
    opacity: 0.7;
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 44px;
    color: var(--gold-dk);
    font-weight: 400;
    margin-bottom: 10px;
}

.footer-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--text-lt);
    margin-bottom: 18px;
}

.footer-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--text-lt);
    margin-bottom: 6px;
}

.footer-place {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-lt);
    opacity: 0.6;
    margin-top: 30px;
}

/* ==========================================
   FLOATING MUSIC BUTTON
========================================== */

.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(253, 250, 245, 0.72);
    border: 1px solid rgba(201, 169, 110, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    padding: 0;
}

.music-btn:hover {
    background: rgba(253, 250, 245, 0.92);
    border-color: var(--gold);
    transform: scale(1.08);
}

.music-btn.is-muted {
    color: var(--text-lt);
    border-color: rgba(201, 169, 110, 0.28);
}

.music-icon {
    width: 18px;
    height: 18px;
}

/* Pulsing ring when music is playing */
.music-btn-rings {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.45);
    animation: musicPulse 2.4s ease-out infinite;
    pointer-events: none;
}
.music-btn.is-muted .music-btn-rings {
    animation: none;
    opacity: 0;
}

@keyframes musicPulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    70%  { transform: scale(1.55); opacity: 0;   }
    100% { transform: scale(1.55); opacity: 0;   }
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 640px) {
    .inv-card {
        padding: 50px 28px 42px;
    }
    .inv-card::before {
        inset: 9px;
    }
    .corner-svg {
        width: 52px;
        height: 52px;
    }
    .rf-row {
        flex-direction: column;
        gap: 0;
    }
    .events-grid {
        flex-direction: column;
        align-items: center;
    }
    .event-sep {
        flex-direction: row;
        padding: 14px 20px;
    }
    .esep-line {
        width: 70px;
        min-height: 1px;
        flex: none;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--gold-lt), transparent);
    }
}

@media (max-width: 400px) {
    .inv-card {
        padding: 40px 20px 34px;
    }
    .corner-svg {
        width: 44px;
        height: 44px;
    }
    .save-the-date-title {
        font-size: 38px;
    }
    .couple-names {
        font-size: 34px;
    }
    .date-numeral {
        font-size: 62px;
    }
    .blob {
        display: none;
    }
}
