/* ===== Variables ===== */
:root {
    --emerald-deep: #5f4e3f;
    --emerald: #8b735b;
    --emerald-light: #b49a7c;
    --gold: #c2a678;
    --gold-light: #e5d4b8;
    --gold-pale: #f4ecdf;
    --cream: #fcfaf5;
    --cream-dark: #f1eadf;
    --ink: #40372f;
    --ink-soft: #766a5f;
    --white: #ffffff;
    --shadow: rgba(95, 78, 63, 0.14);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Josefin Sans', sans-serif;
    --font-script: 'Great Vibes', cursive;
    --font-arabic: 'Amiri', serif;
    --sage: #d4c3a9;
    --sage-light: #eee5d7;
    --blush: #eadcc8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.6;
}

body.invitation-open {
    overflow-y: auto;
}

body:not(.invitation-open) {
    overflow: hidden;
    height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

.arabic {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* ===== Music Toggle ===== */
.music-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: rgba(250, 247, 240, 0.92);
    color: var(--emerald);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    pointer-events: none;
}

body.invitation-open .music-toggle {
    opacity: 1;
    pointer-events: auto;
}

.music-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px var(--shadow);
}

.music-icon {
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.music-toggle.muted .music-icon {
    opacity: 0.4;
}

/* ===== Decorative Corners ===== */
.deco-corner {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}

.parallax-floral {
    will-change: transform;
}

.deco-tl { top: 0; left: 0; width: 130px; }
.deco-tr { top: 0; right: 0; width: 130px; transform: scaleX(-1); }
.deco-bl { bottom: 0; left: 0; width: 110px; }
.deco-br { bottom: 0; right: 0; width: 110px; transform: scaleX(-1); }

.card-deco {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
}

.card-deco-tl { top: -10px; left: -10px; width: 90px; }
.card-deco-tr { top: -10px; right: -10px; width: 90px; transform: scaleX(-1); }
.card-deco-bl { bottom: -8px; left: -8px; width: 80px; }
.card-deco-br { bottom: -8px; right: -8px; width: 80px; transform: scaleX(-1); }

.framed-card {
    overflow: visible;
}

.filigree-overlay {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.framed-card > *:not(.filigree-overlay):not(.card-deco) {
    position: relative;
    z-index: 2;
}

/* ===== Opening Gate — Pinterest soft cover ===== */
.gate-section {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: #f7f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
    overflow: hidden;
}

.gate-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(232, 196, 180, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 85%, rgba(212, 184, 150, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 80%, rgba(240, 210, 214, 0.28) 0%, transparent 45%),
        linear-gradient(180deg, #faf6f1 0%, #f3ebe3 45%, #ebe0d6 100%);
    z-index: 0;
}

.gate-glow {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.28) 0%, transparent 70%);
    z-index: 1;
    animation: glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

.gate-floral {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    opacity: 0.75;
    transition: opacity 0.5s ease;
}

.gate-floral-tl { top: 0; left: 0; width: min(150px, 38vw); }
.gate-floral-tr { top: 0; right: 0; width: min(150px, 38vw); transform: scaleX(-1); }
.gate-floral-bl { bottom: 0; left: 0; width: min(120px, 32vw); }
.gate-floral-br { bottom: 0; right: 0; width: min(120px, 32vw); transform: scaleX(-1); }

.gate-section.opening .gate-floral {
    opacity: 0;
}

.gate-section.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(160deg, #faf6f1 0%, #f0e6dc 50%, #e8ddd2 100%);
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 2;
    box-shadow: inset 0 0 50px rgba(180, 150, 120, 0.08);
    overflow: hidden;
}

.panel-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    pointer-events: none;
}

.panel-texture-flip {
    transform: scaleX(-1);
}

.panel-ornament {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #c4a574, transparent);
    opacity: 0.45;
}

.panel-ornament-top {
    top: 8%;
}

.panel-hinge {
    position: absolute;
    width: 9px;
    height: 24px;
    background: linear-gradient(90deg, #b8956c, #e8d5b0, #b8956c);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(140, 110, 80, 0.2);
}

.gate-left .panel-hinge {
    right: -4px;
}

.gate-right .panel-hinge {
    left: -4px;
}

.panel-hinge-1 { top: 18%; }
.panel-hinge-2 { top: 48%; }
.panel-hinge-3 { top: 78%; }

.gate-left {
    left: 0;
    border-right: 1.5px solid rgba(196, 165, 116, 0.55);
}

.gate-right {
    right: 0;
    border-left: 1.5px solid rgba(196, 165, 116, 0.55);
}

.gate-section.opening .gate-left {
    transform: translateX(-105%);
}

.gate-section.opening .gate-right {
    transform: translateX(105%);
}

.gate-center {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 1.5rem;
    color: #3d342c;
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
    max-width: 360px;
    width: 100%;
}

.gate-section.opening .gate-center {
    opacity: 0;
    transform: scale(0.92) translateY(-10px);
}

.gate-frame {
    position: relative;
    padding: 2.2rem 1.6rem 1.8rem;
    background: rgba(255, 252, 248, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(196, 165, 116, 0.45);
    box-shadow:
        0 0 0 8px rgba(255, 252, 248, 0.35),
        0 18px 48px rgba(140, 110, 80, 0.12),
        inset 0 0 30px rgba(240, 210, 214, 0.08);
}

.frame-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: #c4a574;
    border-style: solid;
    opacity: 0.8;
}

.frame-tl { top: 6px; left: 6px; border-width: 1.5px 0 0 1.5px; }
.frame-tr { top: 6px; right: 6px; border-width: 1.5px 1.5px 0 0; }
.frame-bl { bottom: 6px; left: 6px; border-width: 0 0 1.5px 1.5px; }
.frame-br { bottom: 6px; right: 6px; border-width: 0 1.5px 1.5px 0; }

.gate-seal {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: block;
    animation: float 3.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(180, 140, 100, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.gate-bismillah-block {
    margin-bottom: 0.1rem;
}

.gate-bismillah {
    font-size: clamp(1.2rem, 4.5vw, 1.55rem);
    color: #8b7355;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.gate-bismillah.arabic {
    margin-bottom: 0.45rem;
}

.gate-bismillah-trans {
    font-family: var(--font-display);
    font-size: clamp(0.58rem, 2.6vw, 0.7rem);
    font-style: italic;
    font-weight: 400;
    color: #a08d78;
    letter-spacing: 0.35px;
    line-height: 1.55;
    max-width: 17rem;
    margin: 0 auto 0.65rem;
    padding: 0 0.35rem;
}

.gate-bismillah-trans::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 165, 116, 0.6), transparent);
    margin: 0 auto 0.5rem;
}

.gate-divider {
    width: 180px;
    margin: 0.75rem auto;
    display: block;
    opacity: 0.9;
}

.gate-sub {
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #9a8570;
    margin-bottom: 0.35rem;
}

.gate-nikkah {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b07d7d;
    margin-bottom: 0.9rem;
    font-weight: 600;
}

.gate-names {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 2.1rem);
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.25;
    color: #2c261f;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gate-name-line {
    display: block;
}

.gate-amp {
    display: block;
    font-family: var(--font-script);
    font-size: 1.1em;
    color: #c4a574;
    margin: 0.1em 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.gate-date {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: #9a8570;
    margin: 0.4rem 0 1.4rem;
    font-family: var(--font-display);
}

.open-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(196, 165, 116, 0.18), rgba(240, 210, 214, 0.2));
    border: 1.5px solid #c4a574;
    color: #6b5540;
    padding: 14px 28px 12px;
    font-family: var(--font-body);
    cursor: pointer;
    overflow: hidden;
    transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.25s;
}

.open-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: shine-sweep 3.5s ease-in-out infinite;
}

@keyframes shine-sweep {
    0%, 60% { left: -100%; }
    100% { left: 150%; }
}

.open-btn-text {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.open-btn-hint {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.55;
    position: relative;
    z-index: 1;
}

.open-btn:hover,
.open-btn:focus-visible {
    background: #c4a574;
    color: #fffaf5;
    box-shadow: 0 8px 28px rgba(180, 140, 100, 0.3);
    transform: translateY(-2px);
    outline: none;
}

.open-btn:hover .open-btn-hint,
.open-btn:focus-visible .open-btn-hint {
    opacity: 0.8;
    color: #fffaf5;
}

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 5rem 1.5rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.8s, transform 1s ease 0.8s;
}

body.invitation-open .hero-section {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(143, 170, 150, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(143, 170, 150, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(240, 196, 200, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #f5f2ec 0%, var(--cream) 50%, var(--cream-dark) 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 1rem;
}

.hero-bismillah {
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.hero-bismillah-trans {
    font-family: var(--font-display);
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-soft);
    letter-spacing: 0.3px;
    line-height: 1.55;
    max-width: 20rem;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
}

.name-wreath {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    padding: 1.5rem;
}

.wreath-ring {
    position: absolute;
    width: min(300px, 85vw);
    height: min(300px, 85vw);
    opacity: 0.75;
    animation: gentle-spin 60s linear infinite;
}

@keyframes gentle-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.leaf-ornament {
    width: 180px;
    margin: 0.5rem auto 1.2rem;
    opacity: 0.8;
}

.script-names {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.script-names .ampersand {
    font-family: var(--font-script);
    font-size: 0.7em;
    color: var(--gold);
    margin: 0.1em 0;
}

.couple-illustration-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    margin: 1.5rem auto 3rem;
    padding: 0 1rem;
}

.couple-illustration {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 28px rgba(10, 61, 50, 0.1));
}

.eyebrow {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.eyebrow.gold {
    color: var(--gold);
}

.hero-names {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 12vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--emerald-deep);
    margin-bottom: 1.5rem;
}

.name-line {
    display: block;
}

.ampersand {
    display: block;
    font-size: 0.5em;
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
    margin: 0.2em 0;
}

.hero-tagline {
    font-size: 0.85rem;
    color: var(--ink-soft);
    letter-spacing: 1px;
    line-height: 1.8;
    max-width: 320px;
    margin: 0 auto;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink-soft);
    opacity: 0.5;
    animation: bounce 2s ease infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== Sections ===== */
section {
    padding: 4rem 1.25rem;
}

.section-card,
.event-card,
.rsvp-card {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 40px var(--shadow);
    position: relative;
}

.section-card::before,
.event-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(13, 92, 74, 0.08);
    pointer-events: none;
    border-radius: 2px;
}

.arabic-block {
    text-align: center;
    margin-bottom: 1.5rem;
}

.arabic.large {
    font-size: 1.6rem;
    color: var(--emerald);
    line-height: 1.8;
}

.transliteration {
    font-size: 0.75rem;
    color: var(--ink-soft);
    font-style: italic;
    margin-top: 0.5rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.8rem 0;
}

.divider-gem {
    width: 10px;
    height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    position: relative;
}

.divider-gem::before,
.divider-gem::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
    opacity: 0.4;
}

.divider-gem::before {
    right: 16px;
}

.divider-gem::after {
    left: 16px;
    background: linear-gradient(to left, transparent, var(--gold));
}

.invite-section {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(181, 201, 184, 0.1) 0%, transparent 60%);
}

.invite-body {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.couple-block {
    margin: 2rem 0;
    text-align: center;
}

.person h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--emerald-deep);
    font-weight: 600;
}

.parent-line {
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-top: 0.4rem;
    font-style: italic;
}

.heart-divider {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 1rem 0;
    font-style: italic;
}

.invite-body.closing {
    margin-top: 1.5rem;
    font-style: italic;
}

/* ===== Scratch Section ===== */
.scratch-section {
    background:
        radial-gradient(ellipse at 10% 20%, rgba(143, 170, 150, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(240, 196, 200, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
    text-align: center;
    position: relative;
}

.scratch-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--emerald-deep);
    font-weight: 600;
    margin: 0.5rem 0;
}

.section-sub {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.scratch-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.scratch-card {
    position: relative;
    width: 100px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.scratch-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--emerald) 0%, var(--emerald-deep) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
}

.scratch-base span {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.scratch-base small {
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.7;
}

.scratch-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
}

/* ===== Event Section ===== */
.event-section {
    padding: 4rem 1.25rem;
}

.event-date {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--emerald-deep);
    text-align: center;
    margin: 0.8rem 0 0.4rem;
}

.hijri-date {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-style: italic;
}

.venue-block {
    text-align: center;
    margin-bottom: 2rem;
}

.venue-block + .venue-block {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.venue-time {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--emerald);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.event-program {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.event-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 1.75rem 1.4rem 1.6rem;
    border-radius: 2px;
    border: 1px solid rgba(196, 165, 116, 0.35);
    background: rgba(255, 252, 248, 0.72);
    box-shadow:
        0 0 0 6px rgba(255, 252, 248, 0.35),
        0 10px 28px rgba(140, 110, 80, 0.08);
}

.event-slot--reception {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(240, 196, 200, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(181, 201, 184, 0.14) 0%, transparent 50%),
        rgba(255, 252, 248, 0.85);
}

.event-slot--nikah {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(196, 165, 116, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 100%, rgba(143, 170, 150, 0.1) 0%, transparent 50%),
        rgba(255, 252, 248, 0.85);
}

.event-slot-label {
    display: inline-block;
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #9a7d52;
    margin-bottom: 0.85rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(196, 165, 116, 0.45);
}

.event-slot--nikah .event-slot-label {
    color: var(--emerald);
    border-bottom-color: rgba(13, 92, 74, 0.2);
}

.event-slot-time {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4.5vw, 1.65rem);
    font-weight: 600;
    color: var(--emerald-deep);
    margin-bottom: 0.65rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.event-slot-date {
    margin-bottom: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.event-slot-venue {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.45rem;
}

.event-slot-address,
.event-slot-note {
    flex: 1;
    width: 100%;
    font-size: 0.78rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.event-slot-note {
    max-width: 16rem;
}

.event-slot-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: auto;
}

.event-map-btn,
.event-cal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    max-width: 220px;
    padding: 10px 20px;
    border: 1px solid rgba(196, 165, 116, 0.55);
    background: rgba(255, 252, 248, 0.9);
    color: #8b6f47;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s, transform 0.2s, border-color 0.3s;
}

.event-cal-btn {
    cursor: pointer;
}

.event-map-btn:hover,
.event-cal-btn:hover {
    background: rgba(196, 165, 116, 0.12);
    border-color: rgba(196, 165, 116, 0.75);
    transform: translateY(-1px);
}

.event-map-btn:active,
.event-cal-btn:active {
    transform: translateY(0);
}

.event-slot-connector {
    display: none;
}

@media (min-width: 640px) {
    .event-program {
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
        gap: 0;
    }

    .event-slot-connector {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 0.75rem;
        gap: 0.5rem;
    }

    .connector-line {
        width: 1px;
        flex: 1;
        min-height: 24px;
        background: linear-gradient(180deg, transparent, rgba(196, 165, 116, 0.5), transparent);
    }

    .connector-gem {
        width: 8px;
        height: 8px;
        background: var(--gold);
        transform: rotate(45deg);
        flex-shrink: 0;
        opacity: 0.85;
    }
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 2rem;
}

.time-block {
    text-align: center;
    min-width: 56px;
}

.time-block span {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--emerald);
    line-height: 1;
}

.time-block label {
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 4px;
    display: block;
}

.time-sep {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.venue-heading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-align: center;
    color: var(--emerald-deep);
    margin-bottom: 0.5rem;
}

.venue-name {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
}

.venue-address {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

.map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 2rem;
    padding: 12px 24px;
    background: var(--emerald);
    color: var(--cream);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s, transform 0.2s;
    max-width: 260px;
}

.map-btn:hover {
    background: var(--emerald-deep);
    transform: translateY(-2px);
}

.timeline {
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    padding-top: 1.5rem;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
}

.timeline-item.highlight {
    background: var(--gold-pale);
    margin: 0 -1rem;
    padding: 0.7rem 1rem;
    border-bottom: none;
    border-radius: 2px;
}

.timeline-time {
    font-weight: 600;
    color: var(--emerald);
    min-width: 80px;
}

.timeline-event {
    color: var(--ink-soft);
    text-align: right;
}

/* ===== RSVP ===== */
.rsvp-section {
    background: var(--emerald-deep);
    padding: 4rem 1.25rem;
}

.rsvp-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 162, 39, 0.3);
    text-align: center;
    color: var(--cream);
}

.rsvp-card .section-title {
    color: var(--cream);
}

.rsvp-card .section-sub {
    color: rgba(250, 247, 240, 0.7);
}

.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.rsvp-btn {
    padding: 14px 24px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rsvp-btn.yes {
    background: var(--gold);
    color: var(--emerald-deep);
}

.rsvp-btn.no {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(250, 247, 240, 0.3);
}

.rsvp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.rsvp-btn.happy {
    animation: happy-bounce 0.5s ease;
}

.rsvp-btn.sad {
    animation: sad-shake 0.4s ease;
}

@keyframes happy-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sad-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.rsvp-message {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--gold-light);
    opacity: 0;
    transition: opacity 0.5s;
    min-height: 1.5em;
}

/* ===== Closing ===== */
.closing-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(143, 170, 150, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(143, 170, 150, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--cream) 0%, var(--gold-pale) 100%);
    position: relative;
}

.closing-arabic {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    color: #2c3444;
    margin-bottom: 1.1rem;
    line-height: 1.85;
    letter-spacing: 0.02em;
}

.closing-verse {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    color: #2c3444;
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.closing-divider {
    width: min(280px, 72vw);
    height: 1px;
    margin: 0 auto 2rem;
    background: linear-gradient(90deg, transparent, rgba(196, 165, 116, 0.75), transparent);
}

.closing-gift {
    font-family: var(--font-body);
    font-size: clamp(0.58rem, 2.4vw, 0.68rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #2c3444;
    line-height: 2;
    font-weight: 400;
    margin-bottom: 0;
}

.closing-names {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9a7d52;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    font-weight: 500;
    position: relative;
}

.closing-names::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 165, 116, 0.65), transparent);
}
/* ===== Footer ===== */
.site-footer {
    background: var(--emerald-deep);
    color: rgba(250, 247, 240, 0.5);
    text-align: center;
    padding: 1.4rem 1.2rem;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #25D366;
    text-decoration: none;
    font-size: 0.6rem;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 999px;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    opacity: 0.85;
}

.footer-whatsapp:hover {
    background: #25D366;
    color: #063018;
    transform: translateY(-1px);
    opacity: 1;
}

.whatsapp-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

/* ===== Scroll Animations ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (min-width: 600px) {
    .rsvp-buttons {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }

    .rsvp-btn {
        flex: 1;
        max-width: 200px;
    }

    .scratch-row {
        gap: 1.5rem;
    }
}

.event-program--single {
    display: block;
    max-width: 560px;
    margin: 0.5rem auto 0;
}

.event-program--stacked {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 560px;
    margin: 0.5rem auto 0;
}

.event-program--single .event-slot {
    min-height: 250px;
}

@media (max-width: 420px) {
    .gate-center {
        padding: 1rem;
    }

    .gate-frame {
        padding: 1.65rem 1.1rem 1.35rem;
    }

    .gate-date {
        letter-spacing: 0.75px;
        line-height: 1.45;
    }
}

@media (max-width: 380px) {
    .scratch-card {
        width: 88px;
        height: 98px;
    }

    .time-block span {
        font-size: 1.8rem;
    }
}

/* ===== Pastel stationery theme ===== */
body {
    background: #fffafc;
    color: var(--ink);
}

.deco-corner,
.card-deco,
.filigree-overlay,
.gate-floral,
.wreath-ring,
.leaf-ornament,
.couple-illustration-wrap {
    display: none !important;
}

.music-toggle {
    border-color: #c7afe0;
    background: rgba(255, 250, 252, 0.94);
    color: #6f6284;
    box-shadow: 0 8px 24px rgba(111, 98, 132, 0.12);
}

.gate-section {
    background: #fff8fb;
}

.gate-atmosphere {
    background:
        radial-gradient(circle at 18% 16%, rgba(247, 197, 210, 0.62) 0 10%, transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(185, 216, 242, 0.55) 0 11%, transparent 34%),
        radial-gradient(circle at 22% 84%, rgba(204, 232, 223, 0.62) 0 11%, transparent 34%),
        radial-gradient(circle at 82% 82%, rgba(217, 194, 240, 0.54) 0 12%, transparent 34%),
        linear-gradient(145deg, #fff8fb 0%, #f7f4ff 52%, #f4fbfa 100%);
}

.gate-glow {
    width: min(560px, 90vw);
    height: min(560px, 90vw);
    background: radial-gradient(circle, rgba(255, 240, 218, 0.74) 0%, rgba(247, 197, 210, 0.2) 48%, transparent 72%);
    animation: none;
}

.gate-panel {
    background: linear-gradient(160deg, rgba(255, 248, 251, 0.9), rgba(244, 240, 251, 0.88));
    box-shadow: inset 0 0 60px rgba(143, 125, 166, 0.05);
}

.gate-left {
    border-right-color: rgba(215, 165, 183, 0.48);
}

.gate-right {
    border-left-color: rgba(185, 216, 242, 0.58);
}

.panel-ornament {
    background: linear-gradient(90deg, transparent, rgba(143, 125, 166, 0.35), transparent);
}

.panel-hinge {
    background: linear-gradient(180deg, #f4ccd8, #c7afe0);
    box-shadow: none;
}

.gate-center {
    max-width: 390px;
}

.gate-frame {
    padding: 2.7rem 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(199, 175, 224, 0.7);
    border-radius: 28px;
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.32),
        0 24px 70px rgba(111, 98, 132, 0.15);
}

.frame-corner {
    display: none;
}

.gate-bismillah {
    color: #6f6284;
}

.gate-bismillah-trans,
.gate-date {
    color: #81768c;
}

.gate-bismillah-trans::before {
    background: linear-gradient(90deg, transparent, #f4b8c6, transparent);
}

.gate-names {
    color: #403a4f;
    margin: 1.35rem 0 1.1rem;
}

.gate-amp,
.script-names .ampersand,
.ampersand,
.heart-divider,
.hijri-date,
.eyebrow.gold {
    color: #c889a1;
}

.open-btn {
    max-width: 250px;
    background: linear-gradient(135deg, #fbe1e8, #e8dcf5);
    border-color: #c7afe0;
    color: #51465f;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(143, 125, 166, 0.12);
}

.open-btn-shine {
    display: none;
}

.open-btn:hover,
.open-btn:focus-visible {
    background: linear-gradient(135deg, #f7c5d2, #d9c2f0);
    color: #403a4f;
    box-shadow: 0 14px 30px rgba(143, 125, 166, 0.2);
}

.hero-section {
    justify-content: center;
    padding: 5rem 1.5rem;
}

.hero-bg {
    background:
        radial-gradient(circle at 16% 18%, rgba(247, 197, 210, 0.44), transparent 32%),
        radial-gradient(circle at 84% 22%, rgba(185, 216, 242, 0.42), transparent 34%),
        radial-gradient(circle at 50% 88%, rgba(204, 232, 223, 0.48), transparent 38%),
        linear-gradient(180deg, #fffafd 0%, #f8f4ff 52%, #f7fcfb 100%);
}

.hero-bg::before {
    display: none;
}

.hero-content {
    width: min(100%, 620px);
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 36px;
    box-shadow: 0 24px 70px rgba(111, 98, 132, 0.1);
    backdrop-filter: blur(10px);
}

.name-wreath {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.script-names {
    color: #51465f;
}

.eyebrow {
    color: #7b7391;
    font-size: 0.75rem;
}

.hero-tagline,
.hero-bismillah-trans,
.section-sub,
.invite-body,
.parent-line {
    color: var(--ink-soft);
}

.scroll-line {
    background: linear-gradient(to bottom, #d7a5b7, transparent);
}

.section-card,
.event-card,
.rsvp-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(199, 175, 224, 0.56);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(111, 98, 132, 0.12);
}

.section-card::before,
.event-card::before {
    display: none;
}

.invite-section {
    background: linear-gradient(160deg, #fffafd 0%, #fff1f5 48%, #f4fbfa 100%);
}

.arabic.large,
.person h2,
.section-title,
.event-date,
.time-block span {
    color: #6f6284;
}

.divider-gem {
    background: #d7a5b7;
}

.divider-gem::before,
.divider-gem::after {
    background: linear-gradient(to right, transparent, #d7a5b7);
}

.divider-gem::after {
    background: linear-gradient(to left, transparent, #d7a5b7);
}

.scratch-section {
    background: linear-gradient(145deg, #f5f1fb 0%, #edf8f5 52%, #fff5e7 100%);
}

.scratch-card {
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(111, 98, 132, 0.14);
}

.scratch-base {
    background: linear-gradient(145deg, #9d8ab5 0%, #7d7092 100%);
    color: #fff8ec;
}

.event-section {
    background: linear-gradient(165deg, #f7fbff 0%, #fffafd 52%, #f8f3ff 100%);
}

.event-slot,
.event-slot--nikah {
    border-color: rgba(185, 216, 242, 0.82);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 247, 255, 0.8));
    box-shadow: 0 12px 30px rgba(111, 98, 132, 0.08);
}

.event-slot-label,
.event-slot--nikah .event-slot-label {
    color: #75648a;
    border-bottom-color: rgba(215, 165, 183, 0.55);
    font-size: 0.72rem;
}

.event-map-btn,
.event-cal-btn {
    border-color: #c7afe0;
    background: #fffafd;
    color: #665776;
    border-radius: 999px;
    font-size: 0.72rem;
}

.event-map-btn:hover,
.event-cal-btn:hover {
    background: #f3eafa;
    border-color: #aa98bf;
}

.time-block label {
    font-size: 0.68rem;
}

.time-sep {
    color: #d7a5b7;
}

.rsvp-section {
    background: linear-gradient(145deg, #d9c2f0 0%, #c9def3 48%, #cce8df 100%);
}

.rsvp-card {
    background: rgba(255, 255, 255, 0.64);
    border-color: rgba(255, 255, 255, 0.78);
    color: #403a4f;
}

.rsvp-card .section-title,
.rsvp-card .section-sub {
    color: #51465f;
}

.rsvp-btn {
    border-radius: 999px;
    font-size: 0.78rem;
}

.rsvp-btn.yes {
    background: #f4b8c6;
    color: #493e55;
}

.rsvp-btn.no {
    background: rgba(255, 255, 255, 0.5);
    color: #51465f;
    border-color: rgba(111, 98, 132, 0.26);
}

.rsvp-message {
    color: #51465f;
}

.closing-section {
    background: linear-gradient(150deg, #fffafd 0%, #fff0f4 34%, #f2ecfb 68%, #edf8f5 100%);
}

.closing-arabic,
.closing-verse,
.closing-gift {
    color: #51465f;
}

.closing-divider,
.closing-names::before {
    background: linear-gradient(90deg, transparent, #d7a5b7, transparent);
}

.closing-names {
    color: #8f6f88;
}

.site-footer {
    background: #6f6284;
    color: rgba(255, 250, 252, 0.78);
}

@media (max-width: 520px) {
    .hero-content {
        padding: 2.4rem 1.25rem;
        border-radius: 28px;
    }

    .gate-frame {
        border-radius: 24px;
    }
}

/* ===== Cohesive light beige palette ===== */
body {
    background: #fcfaf5;
    color: #40372f;
}

.music-toggle {
    border-color: #d2bc98;
    background: rgba(252, 250, 245, 0.96);
    color: #6f5b47;
    box-shadow: 0 8px 24px rgba(95, 78, 63, 0.12);
}

.gate-section {
    background: #fcfaf5;
}

.gate-atmosphere {
    background: linear-gradient(145deg, #fffdf8 0%, #f4ecdf 48%, #e9ddca 100%);
}

.gate-glow {
    background: radial-gradient(circle, rgba(255, 253, 248, 0.96) 0%, rgba(229, 212, 184, 0.5) 52%, transparent 74%);
}

.gate-panel {
    background: linear-gradient(160deg, rgba(255, 253, 248, 0.9), rgba(239, 229, 213, 0.9));
    box-shadow: inset 0 0 60px rgba(95, 78, 63, 0.04);
}

.gate-left,
.gate-right {
    border-color: rgba(194, 166, 120, 0.42);
}

.panel-ornament {
    background: linear-gradient(90deg, transparent, rgba(194, 166, 120, 0.4), transparent);
}

.panel-hinge {
    background: linear-gradient(180deg, #eadcc5, #cdb38d);
}

.gate-frame {
    background: rgba(255, 254, 250, 0.9);
    border-color: rgba(205, 179, 141, 0.72);
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.32),
        0 24px 70px rgba(95, 78, 63, 0.14);
}

.gate-bismillah,
.gate-names,
.script-names,
.arabic.large,
.person h2,
.section-title,
.event-date,
.time-block span {
    color: #5f4e3f;
}

.gate-bismillah-trans,
.gate-date,
.hero-tagline,
.hero-bismillah-trans,
.section-sub,
.invite-body,
.parent-line {
    color: #766a5f;
}

.gate-bismillah-trans::before,
.closing-divider,
.closing-names::before {
    background: linear-gradient(90deg, transparent, #c2a678, transparent);
}

.gate-amp,
.script-names .ampersand,
.ampersand,
.heart-divider,
.hijri-date,
.eyebrow.gold,
.time-sep {
    color: #a98658;
}

.open-btn {
    background: #eadcc8;
    border-color: #cfb892;
    color: #554638;
    box-shadow: 0 10px 24px rgba(95, 78, 63, 0.11);
}

.open-btn:hover,
.open-btn:focus-visible {
    background: #deccb0;
    color: #45382d;
    box-shadow: 0 14px 30px rgba(95, 78, 63, 0.18);
}

.hero-bg {
    background:
        radial-gradient(circle at 50% 8%, rgba(234, 220, 200, 0.58), transparent 36%),
        linear-gradient(180deg, #fcfaf5 0%, #f4ecdf 56%, #ece1d1 100%);
}

.hero-content {
    background: rgba(255, 254, 250, 0.64);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(95, 78, 63, 0.09);
}

.eyebrow {
    color: #8b735b;
}

.scroll-line {
    background: linear-gradient(to bottom, #c2a678, transparent);
}

.section-card,
.event-card,
.rsvp-card {
    background: rgba(255, 254, 250, 0.88);
    border-color: rgba(205, 179, 141, 0.62);
    box-shadow: 0 22px 60px rgba(95, 78, 63, 0.11);
}

.invite-section {
    background: linear-gradient(160deg, #fcfaf5 0%, #f3eadc 50%, #e9dcc8 100%);
}

.divider-gem {
    background: #c2a678;
}

.divider-gem::before {
    background: linear-gradient(to right, transparent, #c2a678);
}

.divider-gem::after {
    background: linear-gradient(to left, transparent, #c2a678);
}

.scratch-section {
    background: linear-gradient(145deg, #eee3d3 0%, #fcfaf5 50%, #e6d7c1 100%);
}

.scratch-card {
    box-shadow: 0 14px 30px rgba(95, 78, 63, 0.13);
}

.scratch-base {
    background: linear-gradient(145deg, #a98c68 0%, #725b45 100%);
    color: #fcfaf5;
}

.event-section {
    background: linear-gradient(165deg, #fcfaf5 0%, #f2e9dc 52%, #f7f2e9 100%);
}

.event-slot,
.event-slot--nikah {
    border-color: rgba(205, 179, 141, 0.72);
    background: linear-gradient(145deg, rgba(255, 254, 250, 0.94), rgba(239, 228, 211, 0.78));
    box-shadow: 0 12px 30px rgba(95, 78, 63, 0.08);
}

.event-slot-label,
.event-slot--nikah .event-slot-label {
    color: #765f49;
    border-bottom-color: rgba(194, 166, 120, 0.5);
}

.event-map-btn,
.event-cal-btn {
    border-color: #cfb892;
    background: #fcfaf5;
    color: #5f4e3f;
}

.event-map-btn:hover,
.event-cal-btn:hover {
    background: #eee3d2;
    border-color: #c2a678;
}

.rsvp-section {
    background: linear-gradient(145deg, #e6d6bd 0%, #d8c09d 52%, #c8aa7f 100%);
}

.rsvp-card {
    background: rgba(255, 253, 248, 0.76);
    border-color: rgba(255, 255, 255, 0.72);
    color: #45382d;
}

.rsvp-card .section-title,
.rsvp-card .section-sub,
.rsvp-message {
    color: #554638;
}

.rsvp-btn.yes {
    background: #7b654f;
    color: #fcfaf5;
}

.rsvp-btn.no {
    background: rgba(255, 253, 248, 0.72);
    color: #5f4e3f;
    border-color: rgba(95, 78, 63, 0.25);
}

.closing-section {
    background: linear-gradient(150deg, #fcfaf5 0%, #f2e9dc 45%, #e8dac5 100%);
}

.closing-arabic,
.closing-verse,
.closing-gift {
    color: #554638;
}

.closing-names {
    color: #8b735b;
}

.site-footer {
    background: #5f4e3f;
    color: rgba(252, 250, 245, 0.82);
}
