/* ============================================
   Nikkah Invitation — Gold & White Islamic Theme
   Mobile-first responsive design
   ============================================ */

:root {
    --gold: #C9A84C;
    --gold-light: #E8D5A3;
    --gold-dark: #9A7B2F;
    --gold-shimmer: #F0E6C8;
    --white: #FFFFFF;
    --cream: #FAFAFA;
    --ivory: #F8F8F8;
    --text-dark: #2C2416;
    --text-muted: #6B5E4F;
    --shadow-gold: rgba(201, 168, 76, 0.25);
    --shadow-soft: rgba(44, 36, 22, 0.08);
    --font-display: 'Italiana', Georgia, serif;
    --font-body: 'Libre Baskerville', Georgia, serif;
    --font-elegant: 'Josefin Sans', 'Helvetica Neue', sans-serif;
    --font-script: 'Pinyon Script', cursive;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;
    --radius: 12px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.page-landing,
body.page-invite {
    background: var(--white);
}

.page-wrapper {
    position: relative;
    z-index: 1;
}

.page-wrapper::before,
.page-wrapper::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: min(8vw, 52px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2l2.5 7.5H30l-6 4.5 2.5 7.5L20 17l-6.5 4.5 2.5-7.5L14 9.5h7.5z' fill='%23C9A84C' fill-opacity='0.12'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}

.page-wrapper::before { left: 0; }
.page-wrapper::after { right: 0; }

/* ---- Parallax Scene ---- */
.parallax-scene,
.ambient-particles,
.ambient-lanterns {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.parallax-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    will-change: transform;
}

.parallax-layer > [class*="layer-"] {
    position: absolute;
    inset: 0;
}

.parallax-layer--floral-left,
.parallax-layer--floral-right {
    inset: auto;
    bottom: 0;
    top: auto;
    width: min(42vw, 220px);
    height: min(55vh, 420px);
}

.parallax-layer--floral-left {
    left: 0;
    right: auto;
}

.parallax-layer--floral-right {
    left: auto;
    right: 0;
}

.parallax-layer--floral-right .layer-floral-right {
    transform: scaleX(-1);
}

.parallax-layer--skyline {
    inset: auto 0 0;
    top: auto;
    height: 22vh;
}

.parallax-layer--skyline .layer-skyline {
    inset: 0;
}

/* Soft golden light wash */
.layer-glow {
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 168, 76, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 10% 90%, rgba(232, 213, 163, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 85%, rgba(232, 213, 163, 0.06) 0%, transparent 45%);
}

/* Twinkling gold dust */
.layer-star-field {
    inset: 0;
    background:
        radial-gradient(1px 1px at 12% 18%, var(--gold) 50%, transparent 50%),
        radial-gradient(1px 1px at 28% 72%, var(--gold-light) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 55% 12%, var(--gold) 50%, transparent 50%),
        radial-gradient(1px 1px at 78% 38%, var(--gold-light) 50%, transparent 50%),
        radial-gradient(1px 1px at 92% 68%, var(--gold) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 8% 88%, var(--gold-light) 50%, transparent 50%),
        radial-gradient(1px 1px at 42% 48%, var(--gold) 50%, transparent 50%),
        radial-gradient(1px 1px at 65% 82%, var(--gold-light) 50%, transparent 50%);
}

.anim-twinkle {
    -webkit-animation: starTwinkle 5s ease-in-out infinite alternate;
    animation: starTwinkle 5s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    0% { opacity: 0.35; }
    100% { opacity: 0.7; }
}

/* Islamic 8-point star lattice */
.layer-geometric {
    inset: -5%;
    background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.65' opacity='0.22'%3E%3Cpath d='M36 4 L41 18 L56 18 L44 27 L49 42 L36 33 L23 42 L28 27 L16 18 L31 18 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 72px 72px;
}

/* Interlocking arabesque curves */
.layer-arabesque {
    inset: -5%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q25 25 50 50 T100 50' fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.1'/%3E%3Cpath d='M0 0 Q50 50 0 100' fill='none' stroke='%23C9A84C' stroke-width='0.4' opacity='0.08'/%3E%3Cpath d='M100 0 Q50 50 100 100' fill='none' stroke='%23C9A84C' stroke-width='0.4' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.anim-pattern-drift {
    -webkit-animation: patternDrift 90s linear infinite;
    animation: patternDrift 90s linear infinite;
}

.anim-pattern-drift-reverse {
    -webkit-animation: patternDrift 120s linear infinite reverse;
    animation: patternDrift 120s linear infinite reverse;
}

@keyframes patternDrift {
    0% { background-position: 0 0; }
    100% { background-position: 144px 144px; }
}

/* Corner florals — fills side empty space */
.layer-floral {
    bottom: 0;
    top: auto;
    width: min(42vw, 220px);
    height: min(55vh, 420px);
    opacity: 0.45;
}

.layer-floral-left {
    left: 0;
    right: auto;
    inset: auto auto 0 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 420'%3E%3Cpath d='M20 400 Q40 320 30 260 Q20 200 50 160 Q80 120 40 80' fill='none' stroke='%23C9A84C' stroke-width='1' opacity='0.2'/%3E%3Cellipse cx='45' cy='370' rx='22' ry='34' fill='%23FFFCF7' stroke='%23C9A84C' stroke-width='0.8' opacity='0.5'/%3E%3Cellipse cx='70' cy='330' rx='16' ry='26' fill='%23FFFCF7' stroke='%23C9A84C' stroke-width='0.8' opacity='0.45'/%3E%3Cellipse cx='30' cy='300' rx='14' ry='22' fill='%23FFFCF7' stroke='%23C9A84C' stroke-width='0.8' opacity='0.4'/%3E%3Ccircle cx='45' cy='370' r='7' fill='%23C9A84C' opacity='0.15'/%3E%3Cpath d='M10 390 Q35 350 60 375' stroke='%23C9A84C' stroke-width='0.8' fill='none' opacity='0.25'/%3E%3Cpath d='M5 410 Q30 370 55 395' stroke='%23C9A84C' stroke-width='0.6' fill='none' opacity='0.2'/%3E%3C/svg%3E") left bottom / contain no-repeat;
}

.layer-floral-right {
    left: auto;
    right: 0;
    inset: auto 0 0 auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 420'%3E%3Cpath d='M20 400 Q40 320 30 260 Q20 200 50 160 Q80 120 40 80' fill='none' stroke='%23C9A84C' stroke-width='1' opacity='0.2'/%3E%3Cellipse cx='45' cy='370' rx='22' ry='34' fill='%23FFFCF7' stroke='%23C9A84C' stroke-width='0.8' opacity='0.5'/%3E%3Cellipse cx='70' cy='330' rx='16' ry='26' fill='%23FFFCF7' stroke='%23C9A84C' stroke-width='0.8' opacity='0.45'/%3E%3Cellipse cx='30' cy='300' rx='14' ry='22' fill='%23FFFCF7' stroke='%23C9A84C' stroke-width='0.8' opacity='0.4'/%3E%3Ccircle cx='45' cy='370' r='7' fill='%23C9A84C' opacity='0.15'/%3E%3C/svg%3E") right bottom / contain no-repeat;
}

/* Wide dome skyline — bulbous domes, no minaret towers */
.layer-skyline {
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    height: 22vh;
    inset: auto 0 0;
    opacity: 0.14;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='xMidYMax slice'%3E%3Cellipse cx='600' cy='155' rx='580' ry='12' fill='%23C9A84C' opacity='0.3'/%3E%3Cpath d='M460 155 C460 120 490 88 530 72 C570 88 600 120 600 155 Z' fill='%23C9A84C' opacity='0.18'/%3E%3Cpath d='M480 155 C480 125 505 98 530 86 C555 98 580 125 580 155 Z' fill='%23C9A84C' opacity='0.12'/%3E%3Cpath d='M540 155 C540 105 570 55 600 38 C630 55 660 105 660 155 Z' fill='%23C9A84C' opacity='0.22'/%3E%3Cpath d='M560 155 C560 115 580 78 600 62 C620 78 640 115 640 155 Z' fill='%23C9A84C' opacity='0.14'/%3E%3Cpath d='M670 155 C670 120 700 88 740 72 C780 88 810 120 810 155 Z' fill='%23C9A84C' opacity='0.18'/%3E%3Cpath d='M690 155 C690 125 715 98 740 86 C765 98 790 125 790 155 Z' fill='%23C9A84C' opacity='0.12'/%3E%3Cpath d='M320 155 C320 130 345 108 370 98 C395 108 420 130 420 155 Z' fill='%23C9A84C' opacity='0.1'/%3E%3Cpath d='M780 155 C780 130 805 108 830 98 C855 108 880 130 880 155 Z' fill='%23C9A84C' opacity='0.1'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
}

/* Floating gold particles */
.ambient-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: particleFloat 12s ease-in-out infinite;
    animation: particleFloat 12s ease-in-out infinite;
}

.p1 { left: 10%; animation-delay: 0s; }
.p2 { left: 25%; animation-delay: 1.5s; }
.p3 { left: 40%; animation-delay: 3s; }
.p4 { left: 55%; animation-delay: 4.5s; }
.p5 { left: 70%; animation-delay: 2s; }
.p6 { left: 85%; animation-delay: 5s; }
.p7 { left: 18%; animation-delay: 6s; }
.p8 { left: 62%; animation-delay: 7.5s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.35; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Hanging lanterns */
.ambient-lanterns {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.lantern {
    position: absolute;
    width: 22px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 32'%3E%3Cline x1='11' y1='0' x2='11' y2='7' stroke='%23C9A84C' stroke-width='0.7'/%3E%3Cpath d='M11 7 L5 12 L5 26 Q5 29 11 29 Q17 29 17 26 L17 12 Z' fill='%23C9A84C' fill-opacity='0.35'/%3E%3Cellipse cx='11' cy='12' rx='6' ry='1.5' fill='%23E8D5A3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.l1 { top: 8%; left: 15%; }
.l2 { top: 6%; left: 50%; transform: translateX(-50%); }
.l3 { top: 8%; right: 15%; }

.anim-sway {
    animation: lanternSway 4s ease-in-out infinite;
    transform-origin: top center;
}

.anim-sway-delay {
    animation-delay: 1.2s;
}

@keyframes lanternSway {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}

.l2.anim-sway {
    animation-name: lanternSwayCenter;
}

@keyframes lanternSwayCenter {
    0%, 100% { transform: translateX(-50%) rotate(-4deg); }
    50% { transform: translateX(-50%) rotate(4deg); }
}

/* ---- Arabic Text ---- */
.arabic-text {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* ---- Hero Section ---- */
.hero,
.invite-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.75rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before,
.invite-hero::before {
    content: '';
    position: absolute;
    width: min(92vw, 560px);
    height: min(92vw, 560px);
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.35'%3E%3Cpath d='M100 8 L108 42 L142 42 L114 62 L126 96 L100 76 L74 96 L86 62 L58 42 L92 42 Z'/%3E%3Ccircle cx='100' cy='100' r='58'/%3E%3Ccircle cx='100' cy='100' r='38'/%3E%3Cpath d='M100 42 L100 158 M42 100 L158 100 M58 58 L142 142 M142 58 L58 142'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-animation: mandalaSpin 140s linear infinite;
    animation: mandalaSpin 140s linear infinite;
}

.hero::after,
.invite-hero::after {
    content: '';
    position: absolute;
    inset: clamp(1.25rem, 5vw, 3rem);
    pointer-events: none;
    opacity: 0.35;
    background:
        linear-gradient(var(--gold), var(--gold)) top left / 28px 1px no-repeat,
        linear-gradient(var(--gold), var(--gold)) top left / 1px 28px no-repeat,
        linear-gradient(var(--gold), var(--gold)) top right / 28px 1px no-repeat,
        linear-gradient(var(--gold), var(--gold)) top right / 1px 28px no-repeat,
        linear-gradient(var(--gold), var(--gold)) bottom left / 28px 1px no-repeat,
        linear-gradient(var(--gold), var(--gold)) bottom left / 1px 28px no-repeat,
        linear-gradient(var(--gold), var(--gold)) bottom right / 28px 1px no-repeat,
        linear-gradient(var(--gold), var(--gold)) bottom right / 1px 28px no-repeat;
}

@keyframes mandalaSpin {
    0% { -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); }
    100% { -webkit-transform: translate(-50%, -50%) rotate(360deg); transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content,
.personal-greeting,
.bismillah,
.bismillah-small,
.couple-showcase,
.scroll-indicator,
.invitation-intro,
.hero-divider,
.invite-divider {
    position: relative;
    z-index: 1;
}

.hero-ornament {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 2rem;
    position: relative;
}

.hero-ornament::before,
.hero-ornament::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.75rem;
}

.hero-ornament::before { left: -1rem; }
.hero-ornament::after { right: -1rem; }

.bismillah {
    margin-bottom: 1.5rem;
}

.bismillah-text {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--gold-dark);
    line-height: 1.8;
    letter-spacing: 0.02em;
    animation: fadeInDown 1.2s ease-out;
}

.bismillah-translation {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
    letter-spacing: 0.06em;
}

.bismillah-small {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
}

.hero-divider {
    margin: 1.5rem 0;
}

.divider-star {
    color: var(--gold);
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(0.75rem, 2.2vw, 0.85rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.invitation-intro {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 3.5vw, 1.2rem);
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text-muted);
    margin: 0 auto 0.85rem;
    max-width: 480px;
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
}

.hero-content {
    width: 100%;
    max-width: 640px;
}

/* ---- Couple showcase (hero focus) ---- */
.couple-showcase {
    margin: 0.5rem 0 0;
    padding: 0.85rem 0 0.75rem;
    position: relative;
}

.couple-showcase::before,
.couple-showcase::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 420px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.couple-showcase::before { top: 0; }
.couple-showcase::after { bottom: 0; }

.nikkah-of-label {
    font-family: var(--font-elegant);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.text-shimmer {
    font-family: var(--font-display);
    font-weight: 400;
    background: linear-gradient(135deg, #8A6820, var(--gold-dark), var(--gold), var(--gold-light), var(--gold-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 0.55px var(--gold-dark);
    paint-order: stroke fill;
    animation: shimmer 4s linear infinite;
    line-height: 1.15;
}

.couple-names-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.couple-names-hero .name-bride,
.couple-names-hero .name-groom {
    font-size: clamp(2.2rem, 10vw, 4.2rem);
    -webkit-text-stroke: 0.85px var(--gold-dark);
    letter-spacing: 0.02em;
}

.couple-names-hero .name-ampersand {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 9vw, 3.6rem);
    color: var(--gold);
    line-height: 0.9;
    margin: 0.15rem 0;
}

.hero-title {
    margin-bottom: 1rem;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.name-bride,
.name-groom {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-dark);
}

.name-ampersand {
    font-family: var(--font-script);
    color: var(--gold);
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    width: fit-content;
    max-width: calc(100% - 2rem);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-indicator--inline {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 2.5rem auto 0;
}

/* Reveal animation must not override horizontal centering */
.scroll-indicator.reveal {
    transform: none;
}

.scroll-indicator.reveal.visible {
    transform: none;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    -webkit-animation: bounceInline 2s ease-in-out infinite;
    animation: bounceInline 2s ease-in-out infinite;
}

@keyframes bounceInline {
    0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
    50% { -webkit-transform: translateY(8px); transform: translateY(8px); }
}

.scroll-text {
    font-family: var(--font-elegant);
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 300;
    text-align: center;
    display: block;
    /* Offset trailing letter-spacing so text looks visually centered */
    padding-left: 0.28em;
    white-space: nowrap;
}

.scroll-arrow span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    opacity: 0.6;
}

.scroll-arrow span:first-child {
    animation: arrowDown 1.5s ease-in-out infinite;
}

.scroll-arrow span:last-child {
    animation: arrowDown 1.5s ease-in-out 0.2s infinite;
    margin-top: -6px;
}

@keyframes arrowDown {
    0% { opacity: 0; transform: rotate(45deg) translate(-4px, -4px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(4px, 4px); }
}

/* ---- Transition Section ---- */
.transition-section {
    position: relative;
    overflow: hidden;
}

.transition-section--compact {
    padding: 0;
    background: none;
}

.transition-section--compact .islamic-border {
    height: 28px;
    opacity: 0.85;
}

.islamic-border {
    height: 48px;
    background: url("data:image/svg+xml,%3Csvg width='120' height='40' viewBox='0 0 120 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0 L65 15 L80 15 L68 24 L73 40 L60 30 L47 40 L52 24 L40 15 L55 15 Z' fill='%23C9A84C' fill-opacity='0.18'/%3E%3C/svg%3E") center / 100px 36px repeat-x;
}

.islamic-border--animated {
    animation: borderSlide 40s linear infinite;
}

.islamic-border--reverse {
    animation-direction: reverse;
    opacity: 0.85;
}

@keyframes borderSlide {
    0% { background-position: 0 center; }
    100% { background-position: 400px center; }
}

/* ---- Lookup / RSVP Sections ---- */
.lookup-section,
.event-section,
.rsvp-section {
    padding: 2.5rem 1.5rem 3rem;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M30 0l4 8-4 8-4-8zM0 30l8 4-8 4-4-8zM60 30l-8 4 8 4 4-8z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
    background-size: 60px 60px, 100% 100%;
    position: relative;
}

.lookup-section::before,
.event-section::before,
.rsvp-section::before {
    content: '❋';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    opacity: 0.1;
    font-size: 3rem;
    pointer-events: none;
}

.section-inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-ornament {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5.5vw, 2.35rem);
    font-weight: 400;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
}

.section-desc {
    font-family: var(--font-body);
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
    font-weight: 400;
    line-height: 1.7;
}

/* ---- Event & Venue ---- */
.event-datetime-card {
    margin-bottom: 1.75rem;
}

.event-datetime-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow-soft);
    position: relative;
}

.event-datetime-inner::before,
.event-datetime-inner::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    opacity: 0.4;
    font-size: 0.75rem;
}

.event-datetime-inner::before { left: 1rem; }
.event-datetime-inner::after { right: 1rem; }

.event-day {
    font-family: var(--font-elegant);
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 300;
}

.event-date {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 400;
    color: var(--gold-dark);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.event-time {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 3.5vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 400;
    font-style: italic;
    margin-top: 0.15rem;
}

.venue-card {
    text-align: left;
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
}

.venue-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    background: var(--white);
}

.venue-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 14px var(--shadow-gold);
}

.venue-icon svg {
    width: 22px;
    height: 22px;
}

.venue-name {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    font-weight: 400;
    color: var(--gold-dark);
    line-height: 1.35;
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
}

.venue-address {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.venue-actions {
    padding: 1.25rem 1.35rem 1.35rem;
}

.venue-actions .btn-directions {
    margin: 0;
}

.btn-directions .btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.event-itinerary-card,
.event-contacts-card {
    margin-top: 1.75rem;
    padding: 1.5rem 1.35rem;
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px var(--shadow-soft);
    text-align: left;
}

.event-subheading {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.5vw, 1.35rem);
    font-weight: 400;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.itinerary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.itinerary-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.itinerary-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.itinerary-item:first-child {
    padding-top: 0;
}

.itinerary-time {
    flex-shrink: 0;
    min-width: 5.5rem;
    font-family: var(--font-elegant);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 400;
}

.itinerary-label {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.event-contacts-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-name {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.45;
}

.contact-phone {
    font-family: var(--font-elegant);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--gold-dark);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-phone:hover,
.contact-phone:focus-visible {
    color: var(--gold);
    text-decoration: underline;
}

/* ---- Forms ---- */
.lookup-form,
.rsvp-form {
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 8px 36px var(--shadow-soft);
    position: relative;
    text-align: left;
}

.lookup-form::before,
.rsvp-form::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: calc(var(--radius) - 2px);
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2l2.5 7.5H30l-6 4.5 2.5 7.5L20 17l-6.5 4.5 2.5-7.5L14 9.5h7.5z' fill='%23C9A84C' fill-opacity='0.04'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}

.form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-elegant);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1.5px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--shadow-gold);
}

.form-group input::placeholder {
    color: #B8AFA0;
}

.form-message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.form-message.error {
    background: #FDF0F0;
    color: #9B2C2C;
    border: 1px solid #FEB2B2;
}

.form-message.success {
    background: #F0FDF4;
    color: #276749;
    border: 1px solid #9AE6B4;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-elegant);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.97);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--white);
    box-shadow: 0 4px 20px var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.2);
    width: 100%;
}

.btn-gold:hover {
    box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
}

.btn-gold:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
}

.btn-danger {
    background: #C53030;
    color: white;
    border: none;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* ---- Guest List / RSVP ---- */
.guest-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.guest-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1.5px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.guest-item:has(input:checked) {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05), rgba(232, 213, 163, 0.1));
    box-shadow: 0 4px 16px var(--shadow-gold);
}

.guest-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.guest-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(201, 168, 76, 0.4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.guest-checkbox svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    color: var(--white);
    transition: opacity 0.2s;
}

.guest-item input:checked + .guest-checkbox {
    background: var(--gold);
    border-color: var(--gold);
}

.guest-item input:checked + .guest-checkbox svg {
    opacity: 1;
}

.guest-name {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
}

.rsvp-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.status-badge {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-detail {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.no-members {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ---- Invite Page ---- */
.page-invite .invite-hero {
    padding: 1.75rem 1.5rem 4rem;
}

.personal-greeting {
    margin-bottom: 1rem;
}

.greeting-label {
    font-family: var(--font-elegant);
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.greeting-name {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 2.75rem);
    font-weight: 400;
    color: var(--gold-dark);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.greeting-family {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.invite-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.25rem auto;
}

.page-not-found h1 {
    font-family: var(--font-display);
    margin: 1.5rem 0;
}

.page-not-found p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* ---- Quran Ayat ---- */
.ayat-section {
    padding: 2.5rem 1.5rem 2.5rem;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M30 0l4 8-4 8-4-8zM0 30l8 4-8 4-4-8zM60 30l-8 4 8 4 4-8z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
    background-size: 60px 60px, 100% 100%;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.ayat-section--intro {
    padding: 2.5rem 1.5rem 2.25rem;
    border-top: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    background: var(--white);
    scroll-margin-top: 1rem;
}

.ayat-section--intro .scroll-indicator--inline {
    margin-top: 2rem;
}

.ayat-section--intro .section-ornament {
    display: none;
}

.ayat-section .section-inner {
    max-width: 640px;
}

.ayat-reference {
    font-family: var(--font-elegant);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-weight: 300;
}

.ayat-arabic {
    font-size: clamp(1.2rem, 4vw, 1.65rem);
    color: var(--gold-dark);
    line-height: 1.85;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    quotes: none;
}

.ayat-translation {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
}

/* ---- Footer ---- */
.site-footer {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M30 0l4 8-4 8-4-8zM0 30l8 4-8 4-4-8zM60 30l-8 4 8 4 4-8z'/%3E%3C/g%3E%3C/svg%3E"),
        var(--white);
    background-size: 60px 60px, 100% 100%;
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    position: relative;
}

.site-footer::before {
    content: '✦';
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    opacity: 0.25;
    font-size: 0.85rem;
}

.footer-dua {
    font-size: clamp(1.45rem, 5.5vw, 2.1rem);
    color: var(--gold-dark);
    margin: 0.5rem auto 1rem;
    line-height: 1.9;
    max-width: 640px;
}

.footer-text {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* ---- Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Admin Styles ---- */
.page-admin {
    background: var(--cream);
    min-height: 100vh;
}

.page-admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px var(--shadow-soft);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-login-header h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.admin-login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.admin-header {
    background: var(--white);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header h1 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.admin-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px var(--shadow-soft);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.admin-card h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 640px) {
    .admin-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.input-prefix {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.input-prefix span {
    padding: 0.85rem 0 0.85rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    background: var(--ivory);
}

.input-prefix input {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.form-actions .btn-gold {
    width: auto;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #F0FDF4;
    color: #276749;
    border: 1px solid #9AE6B4;
}

.alert-error {
    background: #FDF0F0;
    color: #9B2C2C;
    border: 1px solid #FEB2B2;
}

.admin-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.admin-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.invite-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-family: monospace;
    font-size: 0.85rem;
}

.invite-link:hover {
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: #F0FDF4;
    color: #276749;
}

.badge-muted {
    background: var(--ivory);
    color: var(--text-muted);
}

.actions-cell {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.inline-form {
    display: inline;
}

.admin-meta {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.admin-meta a {
    color: var(--gold-dark);
}

.rsvp-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rsvp-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.rsvp-detail-item.attending {
    background: #F0FDF4;
}

.rsvp-detail-item.not-attending {
    background: var(--ivory);
    opacity: 0.7;
}

.rsvp-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.attending .rsvp-icon {
    background: #276749;
    color: white;
}

.not-attending .rsvp-icon {
    background: #CBD5E0;
    color: #4A5568;
}

.rsvp-name {
    flex: 1;
    font-weight: 600;
}

.rsvp-status-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rsvp-summary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

/* ---- Loading state ---- */
.btn.loading .btn-text {
    opacity: 0.5;
}

.btn.loading {
    pointer-events: none;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 767px) {
    .parallax-layer {
        will-change: auto;
    }

    .hero,
    .invite-hero {
        min-height: 100dvh;
        padding-bottom: 3.5rem;
    }

    .hero::before,
    .invite-hero::before {
        width: 115vw;
        height: 115vw;
        opacity: 0.05;
    }

    .ambient-lanterns {
        display: none;
    }

    .layer-floral {
        opacity: 0.22;
        width: 38vw;
        height: 40vh;
    }

    .layer-skyline {
        opacity: 0.1;
        height: 16vh;
    }

    .layer-geometric,
    .layer-arabesque {
        opacity: 0.85;
    }

    .page-wrapper::before,
    .page-wrapper::after {
        display: none;
    }

    .particle:nth-child(n+5) {
        display: none;
    }

    .lookup-section,
    .event-section,
    .rsvp-section,
    .ayat-section--intro {
        padding: 2rem 1.25rem 2.5rem;
    }
}

@media (min-width: 768px) {
    .couple-names-hero {
        gap: 0.25rem;
    }

    .hero {
        padding: 2rem 2rem 3.5rem;
    }

    .lookup-section,
    .event-section,
    .rsvp-section {
        padding: 3rem 2rem 3.5rem;
    }

    .ayat-section--intro {
        padding: 2rem 2rem 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
