/* ============================================================================
   Confetti — invitation design #3  ·  BIRTHDAY
   Same behaviour hooks and animations as the other designs (tap-to-open splash,
   drifting bits, scroll-reveal, live countdown) — but a loud, playful party
   identity: a wrapped gift instead of a wax seal, falling confetti instead of
   petals, chunky rounded type and a bright candy palette. Standalone,
   mobile-first, bilingual.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400;500;600;700&family=Caveat:wght@600;700&family=Fredoka:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap");

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

:root {
    --cream: #fff5fa;
    --paper: #ffffff;
    --grape: #3a1150;
    --grape-mid: #4b1a68;
    --ink: #3a1150;
    --ink-soft: rgba(58, 17, 80, 0.66);
    --pink: #ff3fa0;
    --pink-deep: #d5277f;
    --pink-soft: rgba(255, 63, 160, 0.45);
    --purple: #a637ff;
    --sun: #ffcf3f;
    --sky: #45c8ff;
    --mint: #35e0b0;
    --on-dark: #fff2f9;
    --on-dark-soft: rgba(255, 242, 249, 0.8);
    --rule: rgba(58, 17, 80, 0.16);

    --party-band: linear-gradient(160deg, #6a26a3 0%, #4c1a7a 55%, #37135a 100%);

    --f-name: "Fredoka", "Poppins", system-ui, sans-serif;
    --f-head: "Fredoka", "Poppins", system-ui, sans-serif;
    --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-script: "Caveat", "Fredoka", cursive;
}

html[lang="ar"] {
    --f-name: "Baloo Bhaijaan 2", "Tahoma", sans-serif;
    --f-head: "Baloo Bhaijaan 2", "Tahoma", sans-serif;
    --f-body: "Baloo Bhaijaan 2", "Tahoma", sans-serif;
    --f-script: "Baloo Bhaijaan 2", cursive;
}

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

body.invite-body {
    font-family: var(--f-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.8;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-sealed {
    overflow: hidden;
    height: 100vh;
}

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

/* ── shared type ─────────────────────────────────────────────────────────── */

.inv-eyebrow {
    font-family: var(--f-head);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 1rem;
}
html[lang="ar"] .inv-eyebrow {
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.92rem;
}
.inv-eyebrow--gold {
    color: var(--pink);
}

.inv-h2 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(1.8rem, 7vw, 2.9rem);
    line-height: 1.18;
    max-width: 18ch;
    margin-inline: auto;
}
.inv-script {
    font-family: var(--f-script);
    font-weight: 700;
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1.15;
    color: var(--purple);
}
html[lang="ar"] .inv-script {
    font-weight: 700;
    font-size: clamp(1.9rem, 7.5vw, 2.9rem);
    color: var(--purple);
}

.inv-lead {
    font-family: var(--f-body);
    font-size: clamp(1.02rem, 3.6vw, 1.16rem);
    max-width: 36ch;
    margin: 0.5rem auto 0;
    color: inherit;
}
.inv-signoff {
    font-family: var(--f-script);
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    color: var(--pink);
    margin-top: 1.2rem;
}
html[lang="ar"] .inv-signoff {
    font-family: var(--f-head);
    font-size: clamp(1.2rem, 4.8vw, 1.6rem);
}

.inv-note {
    font-family: var(--f-body);
    color: var(--ink-soft);
    max-width: 34ch;
    margin: 1.4rem auto 0;
    font-size: 0.98rem;
}
.inv-note--tight {
    margin-top: 0.8rem;
}

/* party-streamer rule: three candy dots */
.inv-rule {
    width: 78px;
    height: 10px;
    margin: 1.3rem auto;
    position: relative;
}
.inv-rule::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 5px at 9px 5px, var(--pink) 99%, transparent 100%),
        radial-gradient(circle 5px at 39px 5px, var(--sun) 99%, transparent 100%),
        radial-gradient(circle 5px at 69px 5px, var(--sky) 99%, transparent 100%);
}

/* ── fixed controls ─────────────────────────────────────────────────────── */

.inv-controls {
    position: fixed;
    inset-block-start: 14px;
    inset-inline-end: 14px;
    z-index: 60;
    display: flex;
    gap: 8px;
    align-items: center;
}
.inv-ctl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 2px solid var(--pink-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    color: var(--grape);
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
}
html[lang="ar"] .inv-ctl {
    letter-spacing: 0;
    font-size: 0.92rem;
}
.inv-ctl--music {
    width: 38px;
    padding: 0;
}
.inv-ctl__icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent var(--pink);
}
html[dir="rtl"] .inv-ctl__icon {
    border-width: 6px 10px 6px 0;
    border-color: transparent var(--pink) transparent transparent;
}
.inv-ctl--music.is-playing .inv-ctl__icon {
    width: 10px;
    height: 12px;
    border: 0;
    border-inline-start: 3px solid var(--pink);
    border-inline-end: 3px solid var(--pink);
}

/* ── gift-box splash ────────────────────────────────────────────────────── */

.inv-splash {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill-opacity='.5'%3E%3Crect x='10' y='12' width='9' height='5' rx='1.5' fill='%23ff8ac2' transform='rotate(20 14 14)'/%3E%3Ccircle cx='64' cy='20' r='4' fill='%23ffd23f'/%3E%3Crect x='70' y='54' width='9' height='5' rx='1.5' fill='%2345c8ff' transform='rotate(-25 74 56)'/%3E%3Ccircle cx='22' cy='62' r='4' fill='%2335e0b0'/%3E%3Crect x='40' y='34' width='8' height='4' rx='1.5' fill='%23a637ff' transform='rotate(40 44 36)'/%3E%3C/g%3E%3C/svg%3E")
            repeat,
        linear-gradient(180deg, #ffe6f3 0%, #ffd7ec 100%);
    background-size: 90px 90px, auto;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}
.inv-splash.is-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.inv-splash__card {
    text-align: center;
    color: var(--grape);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inv-seal {
    --size: clamp(186px, 58vw, 244px);
    width: var(--size);
    height: var(--size);
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    animation: giftBounce 2.4s ease-in-out infinite;
}
.inv-seal:hover {
    animation-play-state: paused;
}
.inv-seal .gift-box {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transition: transform 0.6s ease;
}
.gift-box__lid {
    transform-origin: 120px 84px;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.inv-splash.is-open .gift-box__lid {
    transform: translateY(-70px) rotate(-14deg);
}
.inv-splash.is-open .gift-box {
    transform: scale(0.92);
}

.inv-splash__hint {
    margin-top: 1.4rem;
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    color: var(--grape);
}
html[lang="ar"] .inv-splash__hint {
    letter-spacing: 0;
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50%      { transform: translateY(-10px) rotate(1.5deg); }
}

/* ── falling confetti ──────────────────────────────────────────────────── */

.inv-petals {
    position: fixed;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    pointer-events: none;
}
.inv-petal {
    position: absolute;
    top: 0;
    left: var(--x, 50%);
    width: calc(11px * var(--scale, 1));
    height: calc(15px * var(--scale, 1));
    background: var(--pink);
    border-radius: 2px;
    opacity: 0;
    animation: petalFall var(--dur, 14s) linear var(--delay, 0s) infinite;
    will-change: transform, opacity;
}
.inv-petal--1 { background: var(--pink); }
.inv-petal--2 { background: var(--sun); border-radius: 50%; }
.inv-petal--3 { background: var(--sky); }
.inv-petal:nth-child(4n)   { background: var(--purple); }
.inv-petal:nth-child(5n)   { background: var(--mint); border-radius: 50%; }
.inv-petal:nth-child(3n+1) { width: calc(15px * var(--scale, 1)); height: calc(6px * var(--scale, 1)); border-radius: 6px; }

@keyframes petalFall {
    0%   { transform: translate3d(0, -14vh, 0) rotate(var(--tilt, 0deg)); opacity: 0; }
    8%   { opacity: 1; }
    50%  { transform: translate3d(calc(var(--drift, 0px) * -1), 52vh, 0) rotate(calc(var(--tilt, 0deg) + var(--spin, 360deg) * 0.55)); }
    92%  { opacity: 1; }
    100% { transform: translate3d(var(--drift, 0px), 116vh, 0) rotate(calc(var(--tilt, 0deg) + var(--spin, 360deg))); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .inv-petals { display: none; }
    .inv-seal { animation: none; }
}

/* ── hero ───────────────────────────────────────────────────────────────── */

.inv-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 104px 22px 64px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(62% 46% at 50% 28%, #ffe1f0 0%, #fff0f7 55%, var(--cream) 100%);
}
/* bunting across the top */
.inv-hero::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='40' viewBox='0 0 96 40'%3E%3Cpath d='M0 5C24 19 40 19 48 12 56 19 72 19 96 5' fill='none' stroke='%23c9a3ff' stroke-width='3'/%3E%3Cpath d='M6 7l22 1-12 24z' fill='%23ff3fa0'/%3E%3Cpath d='M36 10l22-1-8 25z' fill='%23ffcf3f'/%3E%3Cpath d='M66 8l22 0-13 24z' fill='%2345c8ff'/%3E%3C/svg%3E") repeat-x top center;
    background-size: 96px 40px;
    pointer-events: none;
}
.inv-hero__kicker {
    font-family: var(--f-body);
    color: var(--ink-soft);
    font-size: clamp(0.9rem, 3.4vw, 1.05rem);
    margin-bottom: 1.4rem;
}
.inv-hero__kicker:empty { display: none; }

.inv-names {
    font-family: var(--f-name);
    font-weight: 700;
    font-size: clamp(3rem, 17vw, 6rem);
    line-height: 1;
    margin: 0.4rem 0 0.6rem;
    color: var(--pink);
    letter-spacing: -0.01em;
    text-shadow: 3px 3px 0 var(--sun);
}
html[lang="ar"] .inv-names {
    text-shadow: 2px 2px 0 var(--sun);
}
.inv-names__amp { display: none; }

.inv-turns {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: clamp(1.05rem, 4.4vw, 1.5rem);
    color: var(--ink-soft);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.3rem;
}
.inv-age {
    display: inline-block;
    background: var(--sun);
    color: var(--grape);
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1;
    padding: 0.14em 0.5em;
    border-radius: 0.42em;
    transform: rotate(-4deg);
}

.inv-hero__date {
    display: inline-block;
    font-family: var(--f-head);
    font-weight: 600;
    letter-spacing: 0.14em;
    font-size: clamp(0.9rem, 3.6vw, 1.05rem);
    color: var(--grape);
    border: 2px solid var(--pink-soft);
    border-radius: 999px;
    padding: 0.45rem 1.3rem;
}
html[lang="ar"] .inv-hero__date {
    letter-spacing: 0.05em;
}
.inv-hero__scroll {
    margin-top: 2.6rem;
    font-family: var(--f-body);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

/* ── sections ───────────────────────────────────────────────────────────── */

.inv-main {
    position: relative;
}
.inv-section {
    padding: 72px 24px;
    text-align: center;
}
.inv-section--wine {
    background: var(--party-band);
    color: var(--on-dark);
}
.inv-section--wine .inv-lead { color: var(--on-dark-soft); }
.inv-section--wine .inv-eyebrow { color: var(--sun); }
.inv-section--wine .inv-note { color: var(--on-dark-soft); }
.inv-section--wine .inv-rule::after {
    background:
        radial-gradient(circle 5px at 9px 5px, var(--pink) 99%, transparent 100%),
        radial-gradient(circle 5px at 39px 5px, var(--sun) 99%, transparent 100%),
        radial-gradient(circle 5px at 69px 5px, var(--mint) 99%, transparent 100%);
}
.inv-section--wine .inv-script { color: #ffd8ec; }

@media (min-width: 768px) {
    .inv-section { padding: 100px 24px; }
}

/* reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .inv-seal { animation: none; }
    .gift-box__lid, .inv-seal .gift-box { transition: none; }
}

/* ── countdown ──────────────────────────────────────────────────────────── */

.inv-countdown {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 3vw, 18px);
    margin-top: 1.9rem;
}
.inv-countdown__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.inv-countdown__num {
    display: grid;
    place-items: center;
    min-width: 62px;
    padding: 0.5rem 0.35rem;
    border-radius: 16px;
    background: var(--paper);
    color: var(--grape);
    font-family: var(--f-head);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    line-height: 1;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.16);
}
.inv-countdown__cell:nth-child(1) .inv-countdown__num { background: #ff8ac2; color: #fff; }
.inv-countdown__cell:nth-child(2) .inv-countdown__num { background: var(--sun); }
.inv-countdown__cell:nth-child(3) .inv-countdown__num { background: #7ad3ff; }
.inv-countdown__cell:nth-child(4) .inv-countdown__num { background: var(--mint); }
.inv-countdown__label {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}
html[lang="ar"] .inv-countdown__label {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.86rem;
}

/* ── details ────────────────────────────────────────────────────────────── */

.inv-details {
    max-width: 380px;
    margin: 1.7rem auto 0;
    text-align: start;
}
.inv-details__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 2px dotted var(--rule);
}
.inv-details__label {
    font-family: var(--f-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--pink);
    padding-top: 0.3rem;
    white-space: nowrap;
}
html[lang="ar"] .inv-details__label {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.92rem;
}
.inv-details__value {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: end;
}
.inv-details__sub {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.inv-btn {
    display: inline-block;
    margin-top: 1.7rem;
    padding: 0.82rem 2rem;
    border: 2px solid var(--pink);
    border-radius: 999px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--pink);
    background: var(--paper);
    box-shadow: 0 5px 0 var(--pink-soft);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.inv-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--pink-soft); }
.inv-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-soft); }
.inv-btn--solid {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
    box-shadow: 0 5px 0 var(--pink-deep);
}
.inv-btn--solid:hover { box-shadow: 0 7px 0 var(--pink-deep); }
.inv-btn--solid:active { box-shadow: 0 2px 0 var(--pink-deep); }
.inv-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.inv-notes {
    max-width: 400px;
    margin: 2.4rem auto 0;
    text-align: start;
}
.inv-notes__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--pink);
}
.inv-notes__item { padding: 0.55rem 0; }
.inv-notes__k {
    display: block;
    font-family: var(--f-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    color: var(--purple);
    margin-bottom: 0.15rem;
}
html[lang="ar"] .inv-notes__k {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9rem;
}
.inv-notes__v { font-family: var(--f-body); font-size: 0.98rem; }

/* ── programme ──────────────────────────────────────────────────────────── */

.inv-program {
    list-style: none;
    max-width: 350px;
    margin: 2rem auto 0;
}
.inv-program__item {
    display: grid;
    grid-template-columns: 4.6rem 14px 1fr;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0;
    text-align: start;
}
.inv-program__item + .inv-program__item {
    border-top: 2px dotted rgba(255, 255, 255, 0.28);
}
.inv-program__time {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--sun);
    font-variant-numeric: tabular-nums;
}
.inv-program__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pink);
}
.inv-program__item:nth-child(2) .inv-program__dot { background: var(--sun); }
.inv-program__item:nth-child(3) .inv-program__dot { background: var(--sky); }
.inv-program__item:nth-child(4) .inv-program__dot { background: var(--mint); }
.inv-program__item:nth-child(5) .inv-program__dot { background: #ff9bd0; }
.inv-program__label {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 1.06rem;
    color: var(--on-dark);
}

/* ── gallery ────────────────────────────────────────────────────────────── */

.inv-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 620px;
    margin: 2.2rem auto 0;
}
.inv-gallery__cell {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    border: 6px solid #fff;
    box-shadow: 0 10px 24px -10px rgba(58, 17, 80, 0.4);
    background: linear-gradient(150deg, #ffd0e6, #c9a3ff);
}
.inv-gallery__cell:nth-child(odd) { transform: rotate(-2deg); }
.inv-gallery__cell:nth-child(even) { transform: rotate(2deg); }
.inv-gallery__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inv-gallery__mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--f-name);
    font-weight: 700;
    font-size: 2.6rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(58, 17, 80, 0.35);
    opacity: 0;
}
.inv-gallery__cell.is-empty .inv-gallery__mark { opacity: 1; }
@media (min-width: 640px) {
    .inv-gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ── RSVP form ──────────────────────────────────────────────────────────── */

.inv-form {
    max-width: 400px;
    margin: 1.7rem auto 0;
    text-align: start;
}
.inv-field {
    display: block;
    border: 0;
    margin-bottom: 1.2rem;
}
.inv-field__label {
    display: block;
    font-family: var(--f-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: var(--on-dark-soft);
    margin-bottom: 0.5rem;
}
html[lang="ar"] .inv-field__label {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9rem;
}
.inv-form input[type="text"],
.inv-form input[type="tel"],
.inv-form input[type="email"],
.inv-form input[type="number"],
.inv-form textarea {
    width: 100%;
    padding: 0.72rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--on-dark);
    resize: vertical;
}
.inv-form input[type="number"] { width: 6rem; text-align: center; }
.inv-form input:focus,
.inv-form textarea:focus {
    outline: none;
    border-color: var(--sun);
    background: rgba(255, 255, 255, 0.18);
}
.inv-form input::placeholder,
.inv-form textarea::placeholder { color: rgba(255, 242, 249, 0.45); }
.inv-field__hint {
    font-size: 0.85em;
    color: var(--on-dark-soft);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}
.inv-rsvp__guests[hidden] { display: none; }

.inv-form__error {
    margin: 0 auto 1.1rem;
    max-width: 400px;
    padding: 0.7rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-dark);
    font-size: 0.9rem;
    text-align: center;
}

.inv-thanks {
    max-width: 34ch;
    margin: 1.2rem auto 0;
}
.inv-thanks__title {
    font-family: var(--f-script);
    font-weight: 700;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    color: var(--sun);
    margin-bottom: 0.3rem;
}
html[lang="ar"] .inv-thanks__title {
    font-family: var(--f-head);
    font-size: clamp(1.5rem, 5.6vw, 2.1rem);
}
.inv-choice {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.inv-choice label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-body);
    font-size: 0.98rem;
    color: var(--on-dark);
}
.inv-choice input {
    accent-color: var(--sun);
    width: 17px;
    height: 17px;
}
.inv-form .inv-btn--solid {
    width: 100%;
    margin-top: 0.4rem;
}
.inv-form__demo {
    margin-top: 1rem;
    text-align: center;
    font-family: var(--f-body);
    font-size: 0.86rem;
    color: var(--on-dark-soft);
}

/* ── footer ─────────────────────────────────────────────────────────────── */

.inv-footer {
    background: var(--grape);
    color: var(--on-dark-soft);
    text-align: center;
    padding: 54px 24px 46px;
}
.inv-footer__names {
    font-family: var(--f-name);
    font-weight: 700;
    font-size: clamp(2rem, 9vw, 3rem);
    color: var(--on-dark);
}
.inv-footer__names span { display: none; }
.inv-footer__cheer {
    font-family: var(--f-script);
    font-weight: 700;
    font-size: clamp(1.5rem, 6vw, 2rem);
    color: var(--sun);
    margin-top: 0.2rem;
}
html[lang="ar"] .inv-footer__cheer {
    font-family: var(--f-head);
    font-size: clamp(1.05rem, 4.4vw, 1.4rem);
}
.inv-footer__line {
    margin-top: 1.3rem;
    font-family: var(--f-body);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
html[lang="ar"] .inv-footer__line {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.92rem;
}
.inv-footer__brand {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    color: var(--pink);
    text-decoration: none;
}
