/* ═══════════════════════════════════════════════════════════════
   WEDDING INVITATION — Luxury Design System v3.0
   Dark Obsidian × Champagne Gold × Ivory White
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
    /* Page */
    --bg:               #F9F6F0;
    --bg-alt:           #F2EDE3;

    /* Card dark surfaces */
    --card-dark:        #0D0B08;
    --card-dark-2:      #161210;
    --card-dark-3:      #1E1A14;

    /* Gold system */
    --gold-deep:        #8B6914;
    --gold:             #C5A028;
    --gold-mid:         #D9B840;
    --gold-light:       #F2D57E;
    --gold-glow:        rgba(193,160,40,0.5);

    /* Text */
    --ink:              #1A1510;
    --ink-mid:          #3D3020;
    --ink-muted:        #7A6848;
    --cream:            #F5EDD8;
    --cream-dim:        rgba(245,237,216,0.75);

    /* WhatsApp */
    --wa:               #25D366;

    /* Spacing & Shape */
    --r-sm:             10px;
    --r:                20px;
    --r-lg:             32px;

    /* Easing */
    --ease-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth:      cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-out:         cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg);
    color: #2b1f0f;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── GLOBAL BACKGROUND ──────────────────────────────────────── */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 15% 10%,  rgba(212,175,55,0.09) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 85% 85%,  rgba(212,175,55,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 100% 60% at 50% 50%, rgba(242,213,126,0.04) 0%, transparent 70%),
        #F9F6F0;
}

/* ─── SHARED SECTION ─────────────────────────────────────────── */
.section {
    padding: 110px 24px;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

/* ─── SECTION BADGE ──────────────────────────────────────────── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(193,160,40,0.35);
    border-radius: 50px;
    padding: 7px 24px;
    margin-bottom: 22px;
    background: rgba(193,160,40,0.05);
    backdrop-filter: blur(4px);
}
.section-badge::before,
.section-badge::after {
    content: '◇';
    font-size: 0.5rem;
    opacity: 0.6;
}

.section-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    color: #2b1f0f;
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--ink-muted);
    margin-bottom: 60px;
    max-width: 560px;
    margin-inline: auto;
    line-height: 2.1;
}

/* ─── MUSIC BUTTON ───────────────────────────────────────────── */
.music-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    background: rgba(13,11,8,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(193,160,40,0.4);
    border-radius: 50px;
    color: var(--gold-deep);
    font-family: 'Cairo', sans-serif;
    font-size: 0.84rem;
    cursor: pointer;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.4),
        0 0 0 1px rgba(193,160,40,0.1) inset;
    transition: all 0.35s var(--ease-smooth);
}
.music-btn:hover {
    border-color: var(--gold-light);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(193,160,40,0.2);
    transform: translateY(-2px);
}
.music-label { color: rgba(242,213,126,0.7); font-size: 0.8rem; }
.music-btn.playing .music-icon { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.music-btn:not(.playing) { animation: pulse-gold 2.2s ease-in-out infinite; }
@keyframes pulse-gold {
    0%   { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 0 rgba(193,160,40,0.5); }
    70%  { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 14px rgba(193,160,40,0); }
    100% { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 0 rgba(193,160,40,0); }
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
    overflow: hidden;
    background: linear-gradient(170deg, #F5EDD8 0%, #FDFBF6 40%, #EDE5CF 100%);
}

/* Gold radial glow center */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 45%,
            rgba(193,160,40,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Elegant inner frame */
.hero::after {
    content: '';
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(193,160,40,0.25);
    border-radius: 4px;
    pointer-events: none;
}

/* Corner ornaments */
.ornament {
    position: absolute;
    font-size: 2.4rem;
    color: var(--gold-mid);
    opacity: 0.4;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}
.ornament-tl { top: 14px;  right: 14px; }
.ornament-tr { top: 14px;  left: 14px;  transform: scaleX(-1); }
.ornament-bl { bottom: 14px; right: 14px; transform: scaleY(-1); }
.ornament-br { bottom: 14px; left: 14px;  transform: scale(-1,-1); }

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 840px;
}

.hero-bismillah {
    font-family: 'Scheherazade New', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(193,160,40,0.2);
}

.hero-dua {
    font-family: 'Amiri', serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #2b1f0f;
    line-height: 2.4;
    margin-bottom: 6px;
    font-style: italic;
}

/* Golden bold highlight used inside hero-intro */
.hero-highlight {
    color: var(--gold-deep);
    font-weight: 700;
    font-size: 1.05em;
}

/* Family intro block */
.hero-family-block {
    margin: 10px auto 30px;
    padding: 40px 32px;
    border: 1px solid var(--gold-mid);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,253,246,0.85) 0%, rgba(243,234,213,0.85) 100%);
    backdrop-filter: blur(10px);
    max-width: 720px;
    position: relative;
    box-shadow: 0 15px 40px rgba(193, 160, 40, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.9);
}
.hero-family-block::before,
.hero-family-block::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold-mid);
    opacity: 0.5;
}
.hero-family-block::before {
    top: 15px;
    right: 15px;
    border-bottom: none;
    border-left: none;
}
.hero-family-block::after {
    bottom: 15px;
    left: 15px;
    border-top: none;
    border-right: none;
}

.hero-family-title {
    font-family: 'Amiri', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--gold-deep);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 12px rgba(193,160,40,0.2);
}
.hero-family-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
}

.hero-intro {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: #2b1f0f;
    line-height: 2.4;
    font-weight: 600;
}

.hero-rule, .footer-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px auto;
    max-width: 380px;
}
.hero-rule span, .footer-rule span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
}
.hero-rule i, .footer-rule i {
    font-size: 0.45rem;
    color: var(--gold-mid);
}

.hero-intro {
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    color: #2b1f0f;
    line-height: 2.2;
    margin-bottom: 8px;
}

.hero-names {
    font-family: 'Amiri', serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 6px;
    flex-wrap: wrap;
}
.groom-name, .bride-name {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #2b1f0f;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.and-symbol {
    font-size: 1.8rem;
    color: var(--gold-mid);
    line-height: 1;
    font-family: 'Cairo', sans-serif;
    font-weight: 300;
    animation: heartbeat 2.4s ease-in-out infinite;
    display: inline-block;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1);    color: var(--gold-mid); }
    20%       { transform: scale(1.35); color: var(--gold-deep); }
    40%       { transform: scale(1);   }
    60%       { transform: scale(1.2); color: var(--gold-deep); }
}


.hero-date-label {
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    color: var(--ink-muted);
    margin-bottom: 10px;
}
.hero-date {
    font-family: 'Amiri', serif;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(193,160,40,0.25);
}

.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid rgba(193,160,40,0.35);
    border-radius: 50%;
    color: var(--gold-mid);
    font-size: 1rem;
    transition: all 0.4s var(--ease-smooth);
    animation: bob 3s ease-in-out infinite;
    background: rgba(255,253,246,0.6);
    backdrop-filter: blur(4px);
}
.scroll-down-btn:hover {
    border-color: var(--gold-light);
    background: rgba(255,253,246,0.9);
    transform: scale(1.1);
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(9px); }
}

/* ─── STRIPE SECTIONS ────────────────────────────────────────── */
.stripe {
    background: linear-gradient(180deg, #EDE5CF 0%, #F5EDD8 50%, #EDE5CF 100%);
    border-top:    1px solid rgba(193,160,40,0.12);
    border-bottom: 1px solid rgba(193,160,40,0.12);
    max-width: 100%;
    padding-block: 110px;
    position: relative;
}
.stripe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(193,160,40,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.stripe > * { max-width: 1080px; margin-inline: auto; }

/* ─── SHARED: Animated Border Keyframe ───────────────────────── */
@keyframes border-rotate {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

/* ═══════════════════════════════════════════════════════════════
   COUNTDOWN CARDS
   ═══════════════════════════════════════════════════════════════ */
.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 64px;
    perspective: 1200px;
}

.cd-box {
    position: relative;
    background: linear-gradient(150deg, #F3EAD5 0%, #E4CFAD 100%);
    border-radius: var(--r);
    padding: 38px 34px 30px;
    min-width: 128px;
    overflow: hidden;
    cursor: default;
    border: 1px solid transparent;
    background-clip: padding-box;

    box-shadow:
        0 15px 35px rgba(193,160,40,0.15),
        0 5px 15px rgba(193,160,40,0.1),
        inset 0 2px 0 rgba(255,255,255,0.6),
        inset 0 -2px 0 rgba(193,160,40,0.1);

    transition:
        transform 0.5s var(--ease-bounce),
        box-shadow 0.4s ease;
}

/* Visible gold border + animated glow */
.cd-box {
    border: 2px solid var(--gold-mid);
    background-clip: unset;
    animation: card-glow 4s ease-in-out infinite;
}
@keyframes card-glow {
    0%, 100% { border-color: var(--gold-light); box-shadow: 0 15px 35px rgba(193,160,40,0.15), 0 5px 15px rgba(193,160,40,0.1), inset 0 2px 0 rgba(255,255,255,0.6), 0 0 12px rgba(193,160,40,0.25); }
    50%       { border-color: var(--gold-deep); box-shadow: 0 15px 35px rgba(193,160,40,0.15), 0 5px 15px rgba(193,160,40,0.1), inset 0 2px 0 rgba(255,255,255,0.6), 0 0 28px rgba(193,160,40,0.55); }
}



.cd-box:hover {
    border-color: var(--gold-deep);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.06),
        0 8px 25px rgba(193,160,40,0.15),
        0 0 30px rgba(193,160,40,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    animation: none;
}

.cd-number {
    font-family: 'Amiri', serif;
    font-size: clamp(3rem, 5.5vw, 4.4rem);
    color: var(--gold-deep);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    transition: transform 0.25s ease;
    display: block;
}
.cd-box:hover .cd-number {
    transform: scale(1.12);
}

.cd-label {
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.26em;
    font-weight: 700;
    text-transform: uppercase;
}

.cd-sep {
    font-size: 3rem;
    color: rgba(193,160,40,0.4);
    margin-bottom: 38px;
    font-family: 'Amiri', serif;
    animation: blink 1.6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(193,160,40,0.4);
}
@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.12; }
}

/* ═══════════════════════════════════════════════════════════════
   DETAIL CARDS
   ═══════════════════════════════════════════════════════════════ */
.details-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    margin-top: 64px;
    perspective: 1400px;
}

.detail-card {
    position: relative;
    background: linear-gradient(150deg, #F3EAD5 0%, #E4CFAD 100%);
    border-radius: var(--r-lg);
    padding: 56px 36px 48px;
    overflow: hidden;
    cursor: default;
    border: 1px solid transparent;
    background-clip: padding-box;

    box-shadow:
        0 15px 40px rgba(193,160,40,0.15),
        0 5px 15px rgba(193,160,40,0.1),
        inset 0 2px 0 rgba(255,255,255,0.6);

    transition:
        transform 0.5s var(--ease-bounce),
        box-shadow 0.4s ease;
}

/* Visible gold border + animated glow */
.detail-card {
    border: 2px solid var(--gold-mid);
    background-clip: unset;
    animation: card-glow 5s ease-in-out infinite;
}

/* Glass top highlight */
.detail-card::after {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    pointer-events: none;
}

/* Icon circle */
.detail-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(193,160,40,0.12) 0%, rgba(193,160,40,0.02) 100%);
    border: 1.5px solid rgba(193,160,40,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--gold-deep);
    margin: 0 auto 28px;
    box-shadow:
        0 0 0 7px rgba(193,160,40,0.06),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition:
        transform 0.45s var(--ease-bounce),
        box-shadow 0.4s ease;
    /* shadow removed */
}
.detail-card:hover .detail-icon {
    transform: scale(1.22) rotate(-10deg);
    box-shadow:
        0 0 0 12px rgba(193,160,40,0.1),
        0 0 40px rgba(193,160,40,0.5),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.detail-heading {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: #2b1f0f;
    margin-bottom: 14px;
    font-weight: 700;
    /* text-shadow removed for light mode */
    letter-spacing: 0.02em;
}
.detail-text {
    font-size: 1.06rem;
    color: #2b1f0f;
    line-height: 2;
    margin-bottom: 6px;
}
.detail-time {
    font-family: 'Amiri', serif;
    font-size: 1.35rem;
    color: var(--gold-deep);
    margin-top: 10px;
    font-weight: 700;
    /* text-shadow removed */
}

/* Stagger */
.details-cards .detail-card:nth-child(1) { transition-delay: 0.06s; }
.details-cards .detail-card:nth-child(2) { transition-delay: 0.16s; }
.details-cards .detail-card:nth-child(3) { transition-delay: 0.26s; }

.detail-card:hover {
    border-color: var(--gold-deep);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.06),
        0 12px 30px rgba(193,160,40,0.15),
        0 0 40px rgba(193,160,40,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    animation: none;
}

/* Featured card: brighter border + faster glow */
.detail-card--featured {
    border-color: var(--gold-deep);
    animation-duration: 2.5s;
}

/* Map button */
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 13px 30px;
    border: 1.5px solid rgba(193,160,40,0.65);
    border-radius: 50px;
    color: var(--gold-deep);
    font-family: 'Cairo', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.4s var(--ease-bounce);
    position: relative;
    overflow: hidden;
    background: rgba(193,160,40,0.08);
}
.map-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-mid), var(--gold-deep));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 50px;
    z-index: -1;
}
.map-btn:hover { color: #0D0B08; border-color: var(--gold-light); transform: scale(1.02); }
.map-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.map-btn i { font-size: 0.45rem; }

/* ═══════════════════════════════════════════════════════════════
   RSVP CARDS
   ═══════════════════════════════════════════════════════════════ */
.rsvp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 64px;
    perspective: 1400px;
}

.rsvp-card {
    position: relative;
    background: linear-gradient(150deg, #F3EAD5 0%, #E4CFAD 100%);
    border-radius: var(--r-lg);
    padding: 44px 28px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    cursor: default;
    border: 1px solid transparent;
    background-clip: padding-box;

    box-shadow:
        0 22px 60px rgba(0,0,0,0.45),
        0 4px 16px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.06);

    transition:
        transform 0.5s var(--ease-bounce),
        box-shadow 0.4s ease;
}

/* Visible gold border + animated glow */
.rsvp-card {
    border: 2px solid var(--gold-mid);
    background-clip: unset;
    animation: card-glow 5.5s ease-in-out infinite;
}

/* Top glass line */
.rsvp-card::after {
    content: '';
    position: absolute;
    top: 0; left: 18%; right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
    pointer-events: none;
}

.rsvp-card:hover {
    border-color: var(--gold-deep);
    box-shadow:
        0 18px 45px rgba(0,0,0,0.06),
        0 10px 25px rgba(193,160,40,0.15),
        0 0 30px rgba(193,160,40,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    animation: none;
}

/* Avatar */
.rsvp-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(193,160,40,0.12) 0%, rgba(193,160,40,0.02) 100%);
    border: 1.5px solid rgba(193,160,40,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--gold-deep);
    margin-bottom: 4px;
    box-shadow:
        0 0 0 6px rgba(193,160,40,0.07),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition:
        transform 0.45s var(--ease-bounce),
        box-shadow 0.4s ease;
    /* shadow removed */
}
.rsvp-card:hover .rsvp-avatar {
    transform: scale(1.28) rotate(-12deg);
    box-shadow:
        0 0 0 12px rgba(193,160,40,0.1),
        0 0 36px rgba(193,160,40,0.55);
}

/* Role pill */
.rsvp-role {
    font-size: 0.67rem;
    letter-spacing: 0.28em;
    color: #2b1f0f;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(193,160,40,0.38);
    border-radius: 50px;
    padding: 6px 18px;
    margin-bottom: 2px;
    background: rgba(193,160,40,0.07);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.rsvp-card:hover .rsvp-role {
    background: rgba(193,160,40,0.15);
    box-shadow: 0 0 18px rgba(193,160,40,0.25);
}

.rsvp-name {
    font-family: 'Amiri', serif;
    font-size: 1.28rem;
    color: #2b1f0f;
    font-weight: 700;
    /* text-shadow removed for light mode */
    line-height: 1.4;
}
.rsvp-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--gold-mid);
    background: rgba(193, 160, 40, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(193, 160, 40, 0.15);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.rsvp-phone:hover {
    background: rgba(193, 160, 40, 0.15);
    border-color: rgba(193, 160, 40, 0.3);
    transform: scale(1.02);
}
.rsvp-phone i {
    font-size: 0.85rem;
    opacity: 0.8;
}
.copy-feedback {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--gold-light);
    color: #2b1f0f;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.copy-feedback::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: var(--gold-light) transparent transparent transparent;
}
.rsvp-phone.copied .copy-feedback {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* WhatsApp button */
.rsvp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 15px 18px;
    background: linear-gradient(135deg, #25D366 0%, #128c3e 100%);
    color: #fff;
    border-radius: var(--r);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: all 0.35s var(--ease-bounce);
    margin-top: 6px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 24px rgba(37,211,102,0.35),
        inset 0 1px 0 rgba(255,255,255,0.22);
}
/* Shimmer sweep */
.rsvp-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -110%;
    width: 70%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-22deg);
    transition: left 0.5s ease;
}
.rsvp-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    background: linear-gradient(135deg, #2ee071 0%, #1aad56 100%);
}
.rsvp-btn:hover::before { left: 150%; }
.rsvp-btn i { font-size: 1.2rem; }

/* Stagger */
.rsvp-card:nth-child(1) { animation-delay: 0.05s; }
.rsvp-card:nth-child(2) { animation-delay: 0.13s; }
.rsvp-card:nth-child(3) { animation-delay: 0.21s; }
.rsvp-card:nth-child(4) { animation-delay: 0.29s; }
.rsvp-card:nth-child(5) { animation-delay: 0.37s; }
.rsvp-card:nth-child(6) { animation-delay: 0.45s; }
.rsvp-card:nth-child(7) { animation-delay: 0.53s; }

/* ── Host card (والد العروس / ولي الأمر) — brighter, distinguished ── */
.rsvp-card--host {
    border-color: var(--gold-deep);
    animation-duration: 2.5s;
    background: linear-gradient(150deg, #FDF7E8 0%, #EFE1C5 100%);
}
.rsvp-card--host .rsvp-avatar {
    background: radial-gradient(circle at 35% 35%, rgba(193,160,40,0.18) 0%, rgba(193,160,40,0.04) 100%);
    border-color: var(--gold-deep);
    color: var(--gold-deep);
    box-shadow:
        0 0 0 8px rgba(193,160,40,0.1),
        0 0 24px rgba(193,160,40,0.4),
        inset 0 1px 0 rgba(255,255,255,0.15);
}
.rsvp-card--host .rsvp-role {
    color: var(--gold-deep);
    border-color: var(--ink-muted);
    letter-spacing: 0.3em;
}
.rsvp-card--host .rsvp-name {
    font-size: 1.18rem;
    color: #2b1f0f;
}

/* ── Groom card ── */
.rsvp-card--groom {
    border-color: var(--gold-light);
    animation-duration: 3s;
}
.rsvp-card--groom .rsvp-avatar {
    background: radial-gradient(circle at 35% 35%,
        rgba(193,160,40,0.35) 0%, rgba(193,160,40,0.08) 100%);
    border-color: var(--gold-light);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    text-align: center;
    padding: 80px 24px 64px;
    position: relative;
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-alt) 100%);
}
.footer-dua {
    font-family: 'Scheherazade New', serif;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: var(--ink-muted);
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 2.2;
}
.footer-names {
    font-family: 'Amiri', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--gold);
    margin-bottom: 12px;
}
.footer-note { font-size: 0.9rem; color: var(--ink-muted); letter-spacing: 0.12em; }
.footer-closure {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ANIMATION SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* Legacy */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Base */
.will-animate {
    opacity: 0;
    will-change: opacity, transform;
}

/* Badge */
.anim-badge {
    transform: scale(0.7) translateY(22px);
    transition:
        opacity 0.6s var(--ease-bounce),
        transform 0.6s var(--ease-bounce);
}
.anim-badge.animated { opacity: 1; transform: scale(1) translateY(0); }

/* Title */
.anim-title {
    transform: translateY(42px);
    transition:
        opacity 0.72s var(--ease-smooth),
        transform 0.72s var(--ease-smooth);
}
.anim-title.animated { opacity: 1; transform: translateY(0); }

/* Sub */
.anim-sub {
    transform: translateY(30px);
    transition:
        opacity 0.65s ease-out,
        transform 0.65s ease-out;
}
.anim-sub.animated { opacity: 1; transform: translateY(0); }

/* Rule */
.anim-rule {
    transform: scaleX(0);
    transform-origin: center;
    transition:
        opacity 0.5s ease-out,
        transform 0.75s var(--ease-bounce);
}
.anim-rule.animated { opacity: 1; transform: scaleX(1); }

/* Names */
.anim-names {
    transform: scale(0.65) translateY(30px);
    transition:
        opacity 0.85s var(--ease-bounce),
        transform 0.85s var(--ease-bounce);
}
.anim-names.animated { opacity: 1; transform: scale(1) translateY(0); }

/* Date */
.anim-date {
    transform: translateY(22px);
    transition:
        opacity 0.9s ease-out,
        transform 0.9s var(--ease-smooth);
}
.anim-date.animated { opacity: 1; transform: translateY(0); }

/* Card: 3D lift */
.anim-card {
    transform: translateY(65px) scale(0.9) rotateX(10deg);
    transform-origin: center bottom;
    transition:
        opacity 0.75s var(--ease-bounce),
        transform 0.75s var(--ease-bounce);
}
.anim-card.animated { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }

/* Number flip */
@keyframes numFlip {
    0%   { opacity: 0; transform: translateY(-32px) scale(0.75); }
    60%  { opacity: 1; transform: translateY(5px)   scale(1.06); }
    100% { opacity: 1; transform: translateY(0)     scale(1);    }
}
.flip { animation: numFlip 0.38s var(--ease-bounce) both; }

/* Gold floating particles */
.gold-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-mid), rgba(193,160,40,0.2));
    pointer-events: none;
    z-index: 1;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0%   { transform: translateY(0)      rotate(0deg);   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-140px) rotate(360deg); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .section { padding: 80px 20px; }
    .stripe  { padding-block: 80px; }
    .hero { padding: 80px 20px 60px; }
}

@media (max-width: 600px) {
    .ornament { font-size: 1.6rem; }
    .hero::after  { inset: 12px; }
    .cd-box { min-width: 78px; padding: 20px 14px; }
    .cd-sep { font-size: 2rem; margin-bottom: 22px; }
    .music-btn { bottom: 18px; left: 14px; padding: 10px 16px; }
    .music-label { display: none; }
    .rsvp-grid { grid-template-columns: 1fr 1fr; }
    .details-cards { grid-template-columns: 1fr; }
    .anim-card { transform: translateY(40px) scale(0.95); }
    .detail-card { padding: 40px 24px 36px; }
    .rsvp-card { padding: 34px 20px 28px; }
}

/* ─── 10. DISTINGUISHED GROOM CARD ──────────────────────────── */
.rsvp-card--wide {
    max-width: 380px; /* أصغر ومناسبة للهواتف */
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(150deg, #FDF7E8 0%, #EFE1C5 100%) !important;
    border: 2px solid var(--gold-mid);
    box-shadow:
        0 15px 40px rgba(193,160,40,0.2),
        0 5px 15px rgba(193,160,40,0.1),
        inset 0 2px 0 rgba(255,255,255,0.6);
}
.rsvp-contacts-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
    border-top: 1px dashed rgba(193, 160, 40, 0.4);
    padding-top: 12px;
}
.rsvp-contact-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rsvp-contact-col .rsvp-role-sub {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-bottom: 8px;
    font-weight: 700;
}

/* ─── 11. MODERN NOTES SECTION ──────────────────────────── */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 20px;
    max-width: 850px;
    margin: 30px auto 0;
    padding: 0 15px;
}
.modern-note-card {
    background: linear-gradient(150deg, #FDF7E8 0%, #EFE1C5 100%);
    border: 1px solid var(--gold-light);
    border-radius: var(--r-lg);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(193, 160, 40, 0.1);
}
.modern-note-card:hover {
    border-color: var(--gold-mid);
    box-shadow: 0 10px 25px rgba(193, 160, 40, 0.12);
}
.note-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(193, 160, 40, 0.3);
}
.note-title {
    font-family: 'Amiri', serif;
    font-size: 1.3rem;
    color: var(--ink-dark);
    margin-bottom: 10px;
    font-weight: 700;
}
.note-text {
    font-size: 0.95rem;
    color: var(--ink-main);
    line-height: 1.8;
}

/* ─── 12. DYNAMIC GUEST WELCOME CARD ──────────────────────────── */
.dynamic-welcome-card {
    background: linear-gradient(150deg, #FDF7E8 0%, #EFE1C5 100%);
    border: 1px solid var(--gold-mid);
    border-radius: var(--r-lg);
    padding: 40px 25px;
    margin: 40px auto 30px;
    max-width: 650px;
    display: none;
    position: relative;
    box-shadow: 0 15px 40px rgba(193, 160, 40, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.8);
}
.dynamic-welcome-card::before {
    content: "\f219"; /* Diamond icon in FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold-deep);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #FDF7E8;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    border: 1px solid var(--gold-mid);
    box-shadow: 0 4px 10px rgba(193, 160, 40, 0.1);
}
.dynamic-welcome-card.active {
    display: block;
    animation: fadeInUp 1s ease forwards;
}
.guest-highlight-name {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    color: var(--gold-deep);
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(193,160,40,0.1);
    position: relative;
    padding-bottom: 15px;
}
.guest-highlight-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-mid);
    border-radius: 2px;
}
