body {
    padding-top: 50px;
    padding-bottom: 20px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

input,
select,
textarea {
    max-width: 280px;
}

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

body.invite-body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #2f2723;
    font-family: Georgia, "Times New Roman", serif;
}

html {
    scroll-behavior: smooth;
    background: #ffffff;
}

.invite-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 32px 16px 48px;
    background: #ffffff;
}

.browser-shell {
    position: relative;
    z-index: 1;
}

.browser-sidebar {
    display: none;
}

.pearl-strand,
.pearl-orb {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.pearl-strand {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.84;
    filter: drop-shadow(0 10px 14px rgba(111, 96, 88, 0.16));
}

.pearl-strand-left {
    top: 340px;
    left: -8px;
    width: 250px;
    height: 145px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='150' viewBox='0 0 260 150'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='58%25' stop-color='%23f7f1eb'/%3E%3Cstop offset='100%25' stop-color='%23d9cec5'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23ebe1d9' stroke-width='1'%3E%3Ccircle cx='18' cy='32' r='13'/%3E%3Ccircle cx='36' cy='44' r='10'/%3E%3Ccircle cx='54' cy='56' r='9'/%3E%3Ccircle cx='72' cy='69' r='9'/%3E%3Ccircle cx='91' cy='83' r='8'/%3E%3Ccircle cx='111' cy='95' r='9'/%3E%3Ccircle cx='132' cy='103' r='8'/%3E%3Ccircle cx='154' cy='106' r='9'/%3E%3Ccircle cx='176' cy='104' r='8'/%3E%3Ccircle cx='197' cy='96' r='9'/%3E%3Ccircle cx='217' cy='83' r='10'/%3E%3Ccircle cx='236' cy='66' r='11'/%3E%3Ccircle cx='248' cy='49' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-strand-right {
    top: 170px;
    right: -10px;
    width: 280px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='160' viewBox='0 0 300 160'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='58%25' stop-color='%23f7f1eb'/%3E%3Cstop offset='100%25' stop-color='%23d9cec5'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23ebe1d9' stroke-width='1'%3E%3Ccircle cx='28' cy='92' r='12'/%3E%3Ccircle cx='48' cy='80' r='10'/%3E%3Ccircle cx='69' cy='70' r='9'/%3E%3Ccircle cx='91' cy='62' r='8'/%3E%3Ccircle cx='114' cy='58' r='8'/%3E%3Ccircle cx='138' cy='60' r='9'/%3E%3Ccircle cx='161' cy='68' r='8'/%3E%3Ccircle cx='184' cy='79' r='9'/%3E%3Ccircle cx='206' cy='91' r='10'/%3E%3Ccircle cx='228' cy='102' r='9'/%3E%3Ccircle cx='250' cy='109' r='10'/%3E%3Ccircle cx='271' cy='110' r='12'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-strand-bottom {
    bottom: 180px;
    left: 50%;
    width: 340px;
    height: 108px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='120' viewBox='0 0 360 120'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='58%25' stop-color='%23f7f1eb'/%3E%3Cstop offset='100%25' stop-color='%23d9cec5'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23ebe1d9' stroke-width='1'%3E%3Ccircle cx='18' cy='55' r='10'/%3E%3Ccircle cx='38' cy='64' r='9'/%3E%3Ccircle cx='58' cy='72' r='8'/%3E%3Ccircle cx='79' cy='79' r='8'/%3E%3Ccircle cx='101' cy='84' r='9'/%3E%3Ccircle cx='124' cy='87' r='8'/%3E%3Ccircle cx='147' cy='88' r='8'/%3E%3Ccircle cx='171' cy='85' r='9'/%3E%3Ccircle cx='195' cy='80' r='8'/%3E%3Ccircle cx='219' cy='72' r='9'/%3E%3Ccircle cx='243' cy='62' r='8'/%3E%3Ccircle cx='267' cy='53' r='9'/%3E%3Ccircle cx='291' cy='46' r='8'/%3E%3Ccircle cx='315' cy='42' r='9'/%3E%3Ccircle cx='339' cy='43' r='10'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-orb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #ffffff 0%, #f8f2ec 58%, #d9cec5 100%);
    box-shadow:
        0 12px 18px rgba(111, 96, 88, 0.14),
        inset -2px -3px 6px rgba(198, 183, 171, 0.45);
    opacity: 0.88;
}

.pearl-orb-top-left {
    top: 116px;
    left: 38px;
}

.pearl-orb-mid-right {
    top: 520px;
    right: 28px;
    width: 32px;
    height: 32px;
}

.pearl-orb-bottom-left {
    bottom: 240px;
    left: 24px;
    width: 18px;
    height: 18px;
}

.invite-glow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 22vw;
    max-width: 240px;
    filter: blur(24px);
    opacity: 0.78;
    pointer-events: none;
}

.invite-glow-left {
    left: -60px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 232, 214, 0.48)),
        radial-gradient(circle at center, rgba(237, 198, 170, 0.72), transparent 66%);
}

.invite-glow-right {
    right: -60px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 216, 177, 0.42)),
        radial-gradient(circle at center, rgba(255, 201, 146, 0.58), transparent 66%);
}

.device-frame {
    position: relative;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 12px;
    border-radius: 46px;
    background: linear-gradient(180deg, #262626 0%, #070707 55%, #232323 100%);
    box-shadow:
        0 40px 70px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 -12px 28px rgba(255, 255, 255, 0.04);
}

.device-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 3;
    width: 136px;
    height: 28px;
    transform: translateX(-50%);
    border-radius: 0 0 20px 20px;
    background: #050505;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.device-screen {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: calc(100vh - 96px);
    max-height: calc(100vh - 48px);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(250, 244, 237, 0.88), rgba(239, 232, 224, 0.82)),
        linear-gradient(135deg, rgba(164, 125, 103, 0.22), rgba(247, 242, 235, 0.06));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    -webkit-overflow-scrolling: touch;
}

.screen-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 16% 30%, rgba(136, 82, 60, 0.18), transparent 24%),
        radial-gradient(circle at 78% 12%, rgba(250, 197, 149, 0.24), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    opacity: 0.9;
    pointer-events: none;
}

.screen-pearl-strand,
.screen-pearl-dot {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.screen-pearl-strand {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.98;
    filter: drop-shadow(0 12px 16px rgba(111, 96, 88, 0.22));
}

.screen-pearl-strand-upper-left {
    top: 210px;
    left: -70px;
    width: 285px;
    height: 144px;
    transform: rotate(10deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='140' viewBox='0 0 280 140'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='50%25' stop-color='%23fdf9f5'/%3E%3Cstop offset='100%25' stop-color='%23d7cbc2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e7ddd5' stroke-width='1.2'%3E%3Ccircle cx='24' cy='38' r='14'/%3E%3Ccircle cx='45' cy='49' r='11'/%3E%3Ccircle cx='67' cy='61' r='10'/%3E%3Ccircle cx='90' cy='73' r='9'/%3E%3Ccircle cx='114' cy='84' r='9'/%3E%3Ccircle cx='139' cy='92' r='9'/%3E%3Ccircle cx='165' cy='96' r='8'/%3E%3Ccircle cx='191' cy='94' r='9'/%3E%3Ccircle cx='216' cy='87' r='10'/%3E%3Ccircle cx='239' cy='74' r='11'/%3E%3Ccircle cx='259' cy='58' r='12'/%3E%3Ccircle cx='272' cy='43' r='13'/%3E%3C/g%3E%3C/svg%3E");
}

.screen-pearl-strand-top {
    top: 485px;
    right: -74px;
    width: 306px;
    height: 148px;
    transform: rotate(-9deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150' viewBox='0 0 300 150'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='50%25' stop-color='%23fcf8f4'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc3'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ded6' stroke-width='1.2'%3E%3Ccircle cx='23' cy='92' r='13'/%3E%3Ccircle cx='44' cy='80' r='10'/%3E%3Ccircle cx='66' cy='69' r='9'/%3E%3Ccircle cx='89' cy='60' r='9'/%3E%3Ccircle cx='113' cy='54' r='8'/%3E%3Ccircle cx='138' cy='53' r='8'/%3E%3Ccircle cx='163' cy='58' r='9'/%3E%3Ccircle cx='188' cy='67' r='9'/%3E%3Ccircle cx='212' cy='79' r='10'/%3E%3Ccircle cx='236' cy='91' r='10'/%3E%3Ccircle cx='259' cy='100' r='11'/%3E%3Ccircle cx='280' cy='104' r='13'/%3E%3C/g%3E%3C/svg%3E");
}

.screen-pearl-strand-middle {
    top: 1180px;
    left: -58px;
    width: 298px;
    height: 148px;
    transform: rotate(12deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='290' height='150' viewBox='0 0 290 150'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='50%25' stop-color='%23fdf9f5'/%3E%3Cstop offset='100%25' stop-color='%23d7cbc2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e7ddd5' stroke-width='1.2'%3E%3Ccircle cx='21' cy='34' r='14'/%3E%3Ccircle cx='42' cy='47' r='11'/%3E%3Ccircle cx='64' cy='61' r='10'/%3E%3Ccircle cx='87' cy='74' r='9'/%3E%3Ccircle cx='111' cy='86' r='9'/%3E%3Ccircle cx='136' cy='94' r='9'/%3E%3Ccircle cx='162' cy='98' r='8'/%3E%3Ccircle cx='188' cy='95' r='9'/%3E%3Ccircle cx='213' cy='87' r='10'/%3E%3Ccircle cx='237' cy='74' r='11'/%3E%3Ccircle cx='259' cy='58' r='12'/%3E%3Ccircle cx='276' cy='43' r='13'/%3E%3C/g%3E%3C/svg%3E");
}

.screen-pearl-strand-lower-left {
    bottom: 520px;
    left: -68px;
    width: 288px;
    height: 142px;
    transform: rotate(-10deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='285' height='140' viewBox='0 0 285 140'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='50%25' stop-color='%23fdf9f5'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc3'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e7ddd5' stroke-width='1.2'%3E%3Ccircle cx='18' cy='91' r='13'/%3E%3Ccircle cx='39' cy='81' r='10'/%3E%3Ccircle cx='61' cy='71' r='9'/%3E%3Ccircle cx='84' cy='62' r='9'/%3E%3Ccircle cx='108' cy='56' r='8'/%3E%3Ccircle cx='133' cy='54' r='8'/%3E%3Ccircle cx='158' cy='58' r='9'/%3E%3Ccircle cx='183' cy='67' r='9'/%3E%3Ccircle cx='207' cy='79' r='10'/%3E%3Ccircle cx='230' cy='90' r='11'/%3E%3Ccircle cx='252' cy='99' r='12'/%3E%3Ccircle cx='270' cy='103' r='13'/%3E%3C/g%3E%3C/svg%3E");
}

.screen-pearl-strand-bottom {
    bottom: 120px;
    right: -72px;
    width: 304px;
    height: 148px;
    transform: rotate(9deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150' viewBox='0 0 300 150'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='50%25' stop-color='%23fdf9f5'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc3'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ded6' stroke-width='1.2'%3E%3Ccircle cx='21' cy='92' r='13'/%3E%3Ccircle cx='43' cy='81' r='10'/%3E%3Ccircle cx='66' cy='70' r='9'/%3E%3Ccircle cx='90' cy='61' r='9'/%3E%3Ccircle cx='115' cy='55' r='8'/%3E%3Ccircle cx='141' cy='53' r='8'/%3E%3Ccircle cx='167' cy='58' r='9'/%3E%3Ccircle cx='192' cy='67' r='9'/%3E%3Ccircle cx='216' cy='79' r='10'/%3E%3Ccircle cx='239' cy='92' r='11'/%3E%3Ccircle cx='261' cy='102' r='12'/%3E%3Ccircle cx='280' cy='106' r='13'/%3E%3C/g%3E%3C/svg%3E");
}

.screen-pearl-dot {
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f8f2ec 56%, #d9cec5 100%);
    box-shadow:
        0 12px 18px rgba(111, 96, 88, 0.16),
        inset -2px -3px 6px rgba(198, 183, 171, 0.48);
    opacity: 0.96;
}

.screen-pearl-dot-top {
    top: 122px;
    right: 26px;
    width: 20px;
    height: 20px;
}

.screen-pearl-dot-left {
    top: 770px;
    left: 20px;
    width: 20px;
    height: 20px;
}

.screen-pearl-dot-right {
    top: 1520px;
    right: 18px;
    width: 24px;
    height: 24px;
}

.screen-pearl-dot-center {
    top: 2080px;
    left: 28px;
    width: 18px;
    height: 18px;
}

.screen-pearl-dot-lower {
    bottom: 270px;
    right: 24px;
    width: 18px;
    height: 18px;
}

.screen-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 38px 18px 26px;
}

.screen-decoration-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.screen-content > *:not(.screen-decoration-layer) {
    position: relative;
    z-index: 1;
}

.pearl-garland,
.floating-pearl {
    position: absolute;
    pointer-events: none;
}

.pearl-garland {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.98;
    filter: drop-shadow(0 12px 18px rgba(128, 111, 101, 0.2));
}

.pearl-garland-top-left {
    top: 320px;
    left: -92px;
    width: 320px;
    height: 152px;
    transform: rotate(12deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='150' viewBox='0 0 320 150'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='54%25' stop-color='%23fcf8f4'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ded6' stroke-width='1.2'%3E%3Ccircle cx='20' cy='34' r='14'/%3E%3Ccircle cx='42' cy='47' r='12'/%3E%3Ccircle cx='65' cy='60' r='10'/%3E%3Ccircle cx='89' cy='73' r='9'/%3E%3Ccircle cx='114' cy='85' r='9'/%3E%3Ccircle cx='140' cy='94' r='9'/%3E%3Ccircle cx='167' cy='98' r='8'/%3E%3Ccircle cx='194' cy='96' r='9'/%3E%3Ccircle cx='220' cy='88' r='10'/%3E%3Ccircle cx='244' cy='75' r='11'/%3E%3Ccircle cx='267' cy='59' r='12'/%3E%3Ccircle cx='289' cy='42' r='13'/%3E%3Ccircle cx='307' cy='29' r='14'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-garland-top-right {
    top: 920px;
    right: -112px;
    width: 352px;
    height: 162px;
    transform: rotate(-14deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='350' height='160' viewBox='0 0 350 160'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='54%25' stop-color='%23fcf8f4'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ded6' stroke-width='1.2'%3E%3Ccircle cx='26' cy='108' r='15'/%3E%3Ccircle cx='49' cy='95' r='12'/%3E%3Ccircle cx='73' cy='83' r='10'/%3E%3Ccircle cx='98' cy='71' r='9'/%3E%3Ccircle cx='124' cy='62' r='9'/%3E%3Ccircle cx='151' cy='56' r='9'/%3E%3Ccircle cx='179' cy='56' r='8'/%3E%3Ccircle cx='207' cy='61' r='9'/%3E%3Ccircle cx='234' cy='71' r='10'/%3E%3Ccircle cx='259' cy='84' r='11'/%3E%3Ccircle cx='283' cy='97' r='12'/%3E%3Ccircle cx='306' cy='109' r='13'/%3E%3Ccircle cx='327' cy='117' r='14'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-garland-mid-left {
    top: 1840px;
    left: -102px;
    width: 338px;
    height: 158px;
    transform: rotate(11deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='335' height='155' viewBox='0 0 335 155'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='54%25' stop-color='%23fcf8f4'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ded6' stroke-width='1.2'%3E%3Ccircle cx='20' cy='34' r='14'/%3E%3Ccircle cx='43' cy='49' r='12'/%3E%3Ccircle cx='67' cy='62' r='10'/%3E%3Ccircle cx='92' cy='75' r='9'/%3E%3Ccircle cx='118' cy='87' r='9'/%3E%3Ccircle cx='145' cy='96' r='9'/%3E%3Ccircle cx='173' cy='100' r='8'/%3E%3Ccircle cx='201' cy='97' r='9'/%3E%3Ccircle cx='228' cy='88' r='10'/%3E%3Ccircle cx='253' cy='74' r='11'/%3E%3Ccircle cx='277' cy='58' r='12'/%3E%3Ccircle cx='300' cy='42' r='13'/%3E%3Ccircle cx='319' cy='30' r='14'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-garland-bottom-right {
    bottom: 300px;
    right: -112px;
    width: 356px;
    height: 162px;
    transform: rotate(-13deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='350' height='160' viewBox='0 0 350 160'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='54%25' stop-color='%23fcf8f4'/%3E%3Cstop offset='100%25' stop-color='%23d8ccc2'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ded6' stroke-width='1.2'%3E%3Ccircle cx='26' cy='108' r='15'/%3E%3Ccircle cx='49' cy='95' r='12'/%3E%3Ccircle cx='73' cy='83' r='10'/%3E%3Ccircle cx='98' cy='71' r='9'/%3E%3Ccircle cx='124' cy='62' r='9'/%3E%3Ccircle cx='151' cy='56' r='9'/%3E%3Ccircle cx='179' cy='56' r='8'/%3E%3Ccircle cx='207' cy='61' r='9'/%3E%3Ccircle cx='234' cy='71' r='10'/%3E%3Ccircle cx='259' cy='84' r='11'/%3E%3Ccircle cx='283' cy='97' r='12'/%3E%3Ccircle cx='306' cy='109' r='13'/%3E%3Ccircle cx='327' cy='117' r='14'/%3E%3C/g%3E%3C/svg%3E");
}

.floating-pearl {
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #ffffff 0%, #faf5ef 58%, #d7cbc2 100%);
    box-shadow:
        0 14px 20px rgba(118, 101, 92, 0.18),
        inset -2px -3px 6px rgba(196, 181, 170, 0.44);
    opacity: 0.98;
}

.floating-pearl-1 {
    top: 120px;
    right: 28px;
    width: 18px;
    height: 18px;
}

.floating-pearl-2 {
    top: 1260px;
    left: 16px;
    width: 20px;
    height: 20px;
}

.floating-pearl-3 {
    top: 2140px;
    right: 20px;
    width: 26px;
    height: 26px;
}

.floating-pearl-4 {
    bottom: 560px;
    left: 24px;
    width: 18px;
    height: 18px;
}

.floating-pearl-5 {
    bottom: 120px;
    right: 24px;
    width: 22px;
    height: 22px;
}

.pearl-divider {
    position: relative;
    align-self: center;
    width: calc(100% + 112px);
    max-width: none;
    height: 58px;
    margin: 2px 0 10px;
    opacity: 0.94;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: drop-shadow(0 8px 14px rgba(126, 110, 101, 0.12));
}

.pearl-divider::before,
.pearl-divider::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #ffffff 0%, #faf5ef 58%, #d7cbc2 100%);
    box-shadow:
        0 10px 16px rgba(118, 101, 92, 0.12),
        inset -2px -3px 6px rgba(196, 181, 170, 0.36);
}

.pearl-divider::before {
    top: 2px;
    width: 14px;
    height: 14px;
}

.pearl-divider::after {
    bottom: 2px;
    width: 11px;
    height: 11px;
}

.pearl-divider-left {
    transform: translateX(-56px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='58' viewBox='0 0 620 58'%3E%3Cdefs%3E%3CradialGradient id='p' cx='34%25' cy='28%25' r='72%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='58%25' stop-color='%23fbf7f2'/%3E%3Cstop offset='100%25' stop-color='%23d9cec5'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ddd5' stroke-width='0.9'%3E%3Ccircle cx='18' cy='13' r='9'/%3E%3Ccircle cx='36' cy='18' r='8'/%3E%3Ccircle cx='55' cy='23' r='7.5'/%3E%3Ccircle cx='75' cy='28' r='7'/%3E%3Ccircle cx='96' cy='33' r='6.5'/%3E%3Ccircle cx='118' cy='37' r='6'/%3E%3Ccircle cx='141' cy='41' r='6'/%3E%3Ccircle cx='165' cy='44' r='5.8'/%3E%3Ccircle cx='190' cy='46' r='5.8'/%3E%3Ccircle cx='216' cy='47' r='5.8'/%3E%3Ccircle cx='242' cy='46' r='5.8'/%3E%3Ccircle cx='268' cy='44' r='5.8'/%3E%3Ccircle cx='294' cy='41' r='6'/%3E%3Ccircle cx='320' cy='37' r='6.2'/%3E%3Ccircle cx='345' cy='33' r='6.5'/%3E%3Ccircle cx='369' cy='28' r='7'/%3E%3Ccircle cx='392' cy='23' r='7.4'/%3E%3Ccircle cx='414' cy='19' r='7.8'/%3E%3Ccircle cx='435' cy='15' r='8.2'/%3E%3Ccircle cx='455' cy='13' r='8.6'/%3E%3Ccircle cx='474' cy='13' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-divider-left::before {
    left: 38px;
}

.pearl-divider-left::after {
    right: 126px;
}

.pearl-divider-right {
    transform: translateX(56px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='58' viewBox='0 0 620 58'%3E%3Cdefs%3E%3CradialGradient id='p' cx='34%25' cy='28%25' r='72%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='58%25' stop-color='%23fbf7f2'/%3E%3Cstop offset='100%25' stop-color='%23d9cec5'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23p)' stroke='%23e8ddd5' stroke-width='0.9'%3E%3Ccircle cx='146' cy='45' r='9'/%3E%3Ccircle cx='165' cy='43' r='8.6'/%3E%3Ccircle cx='185' cy='40' r='8.2'/%3E%3Ccircle cx='206' cy='36' r='7.8'/%3E%3Ccircle cx='228' cy='32' r='7.4'/%3E%3Ccircle cx='251' cy='27' r='7'/%3E%3Ccircle cx='275' cy='22' r='6.5'/%3E%3Ccircle cx='300' cy='18' r='6.2'/%3E%3Ccircle cx='326' cy='14' r='6'/%3E%3Ccircle cx='352' cy='11' r='5.8'/%3E%3Ccircle cx='378' cy='10' r='5.8'/%3E%3Ccircle cx='404' cy='11' r='5.8'/%3E%3Ccircle cx='429' cy='13' r='5.8'/%3E%3Ccircle cx='453' cy='16' r='6'/%3E%3Ccircle cx='476' cy='20' r='6'/%3E%3Ccircle cx='498' cy='24' r='6.5'/%3E%3Ccircle cx='519' cy='29' r='7'/%3E%3Ccircle cx='539' cy='34' r='7.5'/%3E%3Ccircle cx='558' cy='39' r='8'/%3E%3Ccircle cx='576' cy='44' r='8.6'/%3E%3Ccircle cx='593' cy='47' r='9.2'/%3E%3C/g%3E%3C/svg%3E");
}

.pearl-divider-right::before {
    right: 44px;
}

.pearl-divider-right::after {
    left: 138px;
}

.section-block,
.gallery-card {
    padding: 20px 18px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 250, 244, 0.52);
    backdrop-filter: blur(9px);
    box-shadow:
        0 8px 24px rgba(47, 39, 35, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.section-block {
    scroll-margin-top: 24px;
}

.hero-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.section-overline {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7b6557;
    line-height: 1;
}

.hero-date-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(140, 109, 91, 0.12);
    color: #7a5f52;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
}

.hero-title,
.section-title,
.gallery-head h2 {
    margin: 0;
    color: #241b18;
    font-weight: 500;
    line-height: 1.05;
}

.hero-title {
    font-size: 56px;
    max-width: 760px;
    margin: 10px auto 0;
    line-height: 0.96;
    width: 100%;
    text-align: center;
}

.hero-title span {
    color: #8b6d5b;
}

.hero-names {
    margin: 12px 0 0;
    font-size: 28px;
    font-style: italic;
    color: #8b6d5b;
    width: 100%;
    text-align: center;
}

.hero-names span {
    color: #b28f7c;
}

.hero-intro-card {
    margin: 24px auto 0;
    max-width: 860px;
    width: min(100%, 860px);
    padding: 22px 24px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(251, 245, 238, 0.62)),
        linear-gradient(135deg, rgba(216, 192, 174, 0.2), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 18px 36px rgba(47, 39, 35, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.hero-lead {
    margin: 0;
    max-width: 760px;
    font-size: 30px;
    line-height: 1.35;
    color: #342924;
    text-align: center;
}

.hero-intro-card .hero-text {
    max-width: 760px;
    text-align: center;
}

.hero-text,
.section-text,
.gallery-head p {
    margin: 14px auto 0;
    max-width: 290px;
    font-size: 18px;
    line-height: 1.65;
    color: #443631;
}

.date-card {
    margin-top: 26px;
}

.date-heading {
    margin: 0 0 16px;
    font-size: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calendar-card {
    padding: 18px 14px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 0 1px rgba(87, 70, 61, 0.08);
}

.calendar-header,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    text-align: center;
}

.calendar-header {
    margin-bottom: 14px;
    grid-template-columns: 1fr 1fr;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #746156;
}

.calendar-grid-head {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: #746156;
}

.calendar-day {
    display: grid;
    place-items: center;
    min-height: 34px;
    border-radius: 999px;
    font-size: 16px;
    color: #352b27;
}

.calendar-day-muted {
    opacity: 0;
}

.calendar-day-accent {
    position: relative;
    color: #6b3d39;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
}

.calendar-day-accent::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 36px;
    transform: translate(-50%, -47%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 58'%3E%3Cpath d='M32 52C17 40 7 31 7 19c0-8 6-14 14-14 5 0 9 2 11 6 2-4 6-6 11-6 8 0 14 6 14 14 0 12-10 21-25 33Z' fill='none' stroke='%23c54848' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.calendar-day-accent span {
    position: relative;
    z-index: 1;
}

.countdown-card {
    margin-top: 22px;
    padding-top: 12px;
}

.countdown-title {
    margin: 0 0 16px;
    font-size: 20px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.countdown-item {
    display: grid;
    gap: 6px;
    justify-items: center;
}

.countdown-item span {
    font-size: 34px;
    line-height: 1;
}

.countdown-item small {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #746156;
}

.gallery-head {
    text-align: center;
}

.gallery-slider {
    position: relative;
    margin-top: 12px;
}

.gallery-slides {
    overflow: hidden;
    border-radius: 28px;
}

.gallery-slide {
    min-height: 290px;
}

.gallery-photo {
    display: block;
    width: 100%;
    min-height: 290px;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.gallery-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%) scale(1);
    background: rgba(255, 255, 255, 0.8);
    color: #2f2723;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(47, 39, 35, 0.2);
    transition: transform 0.18s ease, background 0.18s ease;
}

.gallery-button-prev {
    left: 12px;
}

.gallery-button-next {
    right: 12px;
}

.placeholder-photo,
.mini-photo {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 290px;
    border-radius: 28px;
    color: rgba(255, 255, 255, 0.96);
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 -80px 80px rgba(0, 0, 0, 0.2);
}

.placeholder-photo::before,
.mini-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 216, 168, 0.34), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.1));
}

.placeholder-photo span,
.mini-photo {
    position: relative;
    z-index: 1;
}

.placeholder-photo-warm {
    background:
        linear-gradient(145deg, rgba(59, 39, 34, 0.72), rgba(175, 123, 89, 0.58)),
        radial-gradient(circle at 20% 20%, rgba(244, 214, 189, 0.72), transparent 30%),
        linear-gradient(180deg, #a67a64, #4a352f);
}

.placeholder-photo-night {
    background:
        linear-gradient(145deg, rgba(18, 18, 23, 0.9), rgba(79, 90, 114, 0.5)),
        radial-gradient(circle at 70% 18%, rgba(251, 209, 139, 0.55), transparent 16%),
        linear-gradient(180deg, #1d2231, #5c5361);
}

.placeholder-photo-sea {
    background:
        linear-gradient(145deg, rgba(28, 61, 88, 0.86), rgba(160, 184, 191, 0.58)),
        radial-gradient(circle at 16% 18%, rgba(255, 240, 219, 0.4), transparent 18%),
        linear-gradient(180deg, #24495f, #8fb0ba);
}

.placeholder-photo-monochrome {
    background:
        linear-gradient(145deg, rgba(28, 28, 28, 0.96), rgba(112, 112, 112, 0.6)),
        linear-gradient(180deg, #5e5e5e, #1c1c1c);
}

.placeholder-photo-soft {
    background:
        linear-gradient(145deg, rgba(111, 84, 78, 0.8), rgba(228, 190, 170, 0.54)),
        linear-gradient(180deg, #866055, #d9b9ae);
}

.placeholder-photo-romantic {
    background:
        linear-gradient(145deg, rgba(84, 66, 63, 0.82), rgba(207, 170, 179, 0.56)),
        linear-gradient(180deg, #745d61, #d4acb4);
}

.placeholder-photo-daylight {
    background:
        linear-gradient(145deg, rgba(106, 84, 58, 0.84), rgba(239, 209, 176, 0.52)),
        linear-gradient(180deg, #81644d, #d7c1ab);
}

.placeholder-photo-chat {
    min-height: 220px;
    background:
        linear-gradient(145deg, rgba(93, 74, 74, 0.86), rgba(224, 185, 164, 0.54)),
        linear-gradient(180deg, #735d57, #d3bbac);
}

.section-title {
    font-size: 34px;
    text-align: center;
    text-transform: uppercase;
}

.timeline {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.timeline-item {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 16px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.34);
}

.timeline-item strong {
    font-size: 28px;
    font-weight: 500;
}

.timeline-item span {
    font-size: 18px;
    text-align: center;
    color: #403430;
}

.timeline-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(83, 65, 57, 0.12);
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #2f2723;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.double-photo-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.mini-photo {
    min-height: 145px;
    font-size: 18px;
}

.mini-photo-coast {
    background:
        linear-gradient(145deg, rgba(56, 88, 112, 0.82), rgba(182, 209, 213, 0.5)),
        linear-gradient(180deg, #45708f, #c8d8d6);
}

.mini-photo-cliff {
    background:
        linear-gradient(145deg, rgba(86, 78, 65, 0.84), rgba(209, 185, 151, 0.48)),
        linear-gradient(180deg, #87735d, #cdb59c);
}

.map-card {
    margin-top: 20px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(91, 72, 60, 0.08);
}

.map-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: #5f5149;
}

.map-embed {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
    background: #efe6dd;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.palette-grid span {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        0 10px 20px rgba(47, 39, 35, 0.08);
}

.palette-marble {
    background:
        linear-gradient(135deg, #d9d9d9 20%, #909090 20%, #909090 26%, #ececec 26%, #ececec 52%, #8d8d8d 52%, #8d8d8d 60%, #dadada 60%);
}

.dress-code-board {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.dress-code-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px;
    min-height: 100%;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(235, 233, 231, 0.56)),
        linear-gradient(135deg, rgba(202, 202, 202, 0.22), rgba(255, 255, 255, 0.1));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.dress-code-heading h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dress-code-heading p {
    margin: 12px auto 0;
    max-width: 320px;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    color: #4a3c36;
}

.dress-code-palette {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    min-height: 116px;
    align-content: center;
}

.dress-code-palette span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.44),
        0 10px 20px rgba(47, 39, 35, 0.1);
}

.dress-code-notes {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.dress-code-notes span {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    color: #4a3c36;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.wish-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.wish-card {
    padding: 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.34);
    text-align: center;
}

.wish-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
}

.wish-icon {
    margin-bottom: 12px;
    font-size: 32px;
    color: #3f3632;
}

.guest-form {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.form-field,
.form-group {
    display: grid;
    gap: 10px;
}

.form-field span,
.form-group legend {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: #3d302b;
    border: 0;
    margin: 0;
}

.guest-form input,
.guest-form select,
.guest-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(69, 55, 47, 0.26);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    color: #241b18;
}

.guest-form textarea {
    min-height: 132px;
    resize: vertical;
}

.form-group label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: 18px;
    min-height: 18px;
    margin: 4px 0 0;
}

.primary-button,
.outline-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    font-size: 17px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    border: 0;
    background: linear-gradient(135deg, #415f93, #24415f);
    color: #fff;
    box-shadow: 0 16px 26px rgba(36, 65, 95, 0.24);
}

.outline-button {
    border: 1px solid rgba(58, 47, 42, 0.26);
    background: rgba(255, 255, 255, 0.46);
    color: #2f2723;
}

.primary-button:hover,
.outline-button:hover {
    transform: translateY(-1px);
}

.gallery-button:hover {
    transform: translateY(-50%) scale(1.08);
}

.gallery-button:active {
    transform: translateY(-50%) scale(1.03);
}

.form-success {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(233, 247, 236, 0.9);
    color: #244a2d;
    box-shadow: inset 0 0 0 1px rgba(68, 127, 84, 0.18);
    font-size: 16px;
}

.chat-block,
.contacts-block {
    text-align: center;
}

.chat-photo {
    margin-bottom: 20px;
}

.contact-item {
    display: grid;
    gap: 6px;
    margin-top: 16px;
}

.contact-item span {
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #746156;
}

.contact-item a {
    font-size: 24px;
    color: #2f2723;
    text-decoration: none;
}

.map-link {
    width: 100%;
    margin-top: 16px;
}

.scroll-top-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 248, 241, 0.88);
    color: #5f4c43;
    font-size: 24px;
    line-height: 1;
    box-shadow:
        0 18px 30px rgba(28, 20, 17, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-button:hover {
    background: rgba(255, 252, 248, 0.98);
}

@media (min-width: 1100px) {
    .invite-page {
        padding: 42px 28px 56px;
    }

    .pearl-strand-left {
        top: 430px;
        left: 8px;
        width: 310px;
        height: 170px;
    }

    .pearl-strand-right {
        top: 220px;
        right: 10px;
        width: 350px;
        height: 180px;
    }

    .pearl-strand-bottom {
        bottom: 130px;
        width: 440px;
        height: 132px;
    }

    .browser-shell {
        display: grid;
        grid-template-columns: minmax(280px, 320px) minmax(0, 980px);
        gap: 28px;
        align-items: start;
        max-width: 1360px;
        margin: 0 auto;
    }

    .browser-sidebar {
        position: sticky;
        top: 0;
        align-self: start;
        display: block;
        padding: 28px;
        border-radius: 32px;
        background: rgba(255, 250, 244, 0.72);
        backdrop-filter: blur(14px);
        box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.2),
            inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    }

    .browser-kicker {
        margin: 0 0 10px;
        font-size: 15px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #7b6557;
    }

    .browser-sidebar h2 {
        margin: 0;
        font-size: 40px;
        font-weight: 500;
        line-height: 1.05;
        color: #241b18;
    }

    .browser-copy {
        margin: 16px 0 0;
        font-size: 18px;
        line-height: 1.7;
        color: #443631;
    }

    .browser-names {
        margin: 14px 0 0;
        font-size: 28px;
        font-style: italic;
        color: #8b6d5b;
    }

    .browser-facts {
        display: grid;
        gap: 12px;
        margin-top: 24px;
    }

    .browser-fact {
        padding: 14px 16px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.46);
    }

    .browser-fact span {
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #7b6557;
    }

    .browser-fact strong {
        font-size: 22px;
        font-weight: 500;
        color: #241b18;
    }

    .browser-nav {
        display: grid;
        gap: 10px;
        margin-top: 24px;
    }

    .browser-nav a {
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.38);
        color: #2f2723;
        font-size: 16px;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .browser-nav a:hover {
        background: rgba(255, 255, 255, 0.58);
        transform: translateX(2px);
    }

    .browser-button {
        width: 100%;
        margin-top: 24px;
    }

    .device-frame {
        width: 100%;
        align-self: start;
        padding: 0;
        border-radius: 36px;
        background: rgba(255, 248, 241, 0.08);
        box-shadow:
            0 32px 70px rgba(0, 0, 0, 0.28),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .device-notch {
        display: none;
    }

    .device-screen {
        min-height: auto;
        max-height: none;
        overflow: hidden;
        border-radius: 36px;
    }

    .section-block,
    .gallery-card,
    .gallery-slides,
    .placeholder-photo,
    .mini-photo,
    .map-card {
        border-radius: 28px;
        overflow: hidden;
    }

    .screen-pearl-strand-upper-left {
        top: 180px;
        left: -52px;
    }

    .screen-pearl-strand-top {
        top: 470px;
        right: -58px;
    }

    .screen-pearl-strand-middle {
        top: 1080px;
        left: -46px;
    }

    .screen-pearl-strand-lower-left {
        bottom: 480px;
        left: -52px;
    }

    .screen-pearl-strand-bottom {
        right: -58px;
        bottom: 100px;
    }

    .screen-pearl-dot-top {
        top: 118px;
        right: 38px;
    }

    .screen-pearl-dot-left {
        top: 760px;
        left: 24px;
    }

    .screen-pearl-dot-right {
        top: 1460px;
        right: 26px;
    }

    .screen-pearl-dot-center {
        top: 2000px;
        left: 36px;
    }

    .screen-pearl-dot-lower {
        right: 32px;
        bottom: 250px;
    }

    .screen-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding: 28px;
    }

    .pearl-divider {
        grid-column: 1 / -1;
        width: calc(100% + 160px);
        height: 64px;
        margin: 4px auto 10px;
    }

    .pearl-garland-top-left {
        top: 300px;
        left: -72px;
    }

    .pearl-garland-top-right {
        top: 900px;
        right: -92px;
    }

    .pearl-garland-mid-left {
        top: 1760px;
        left: -78px;
    }

    .pearl-garland-bottom-right {
        bottom: 250px;
        right: -92px;
    }

    #invite,
    #details,
    #guest-form,
    .chat-block,
    .contacts-block {
        grid-column: 1 / -1;
    }

    .hero-block {
        padding: 28px 28px 24px;
    }

    .hero-badge-row {
        justify-content: center;
    }

    .hero-text,
    .section-text,
    .gallery-head p {
        max-width: 720px;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .double-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wish-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dress-code-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .guest-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .guest-form .form-group,
    .guest-form .form-field {
        height: 100%;
    }

    .guest-form button,
    .guest-form .primary-button {
        grid-column: 1 / -1;
        justify-self: center;
        min-width: 240px;
    }

    .chat-block {
        display: grid;
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        gap: 24px;
        align-items: center;
        text-align: left;
    }

    .chat-photo {
        grid-row: 1 / span 3;
    }

    .chat-block .section-title,
    .chat-block .section-text,
    .chat-block .outline-button {
        grid-column: 2;
    }

    .chat-block .section-title,
    .chat-block .section-text {
        text-align: left;
        margin-left: 0;
    }

    .chat-photo {
        margin-bottom: 0;
    }

    .contacts-block {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        text-align: left;
        align-items: start;
    }

    .contacts-block .section-title {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .invite-glow {
        width: 28vw;
    }

    .pearl-strand-left {
        top: 520px;
        left: -46px;
        width: 180px;
        height: 112px;
        opacity: 0.76;
    }

    .pearl-strand-right {
        top: 180px;
        right: -52px;
        width: 220px;
        height: 120px;
        opacity: 0.72;
    }

    .pearl-strand-bottom {
        bottom: 110px;
        width: 210px;
        height: 70px;
        opacity: 0.68;
    }

    .pearl-orb-top-left {
        top: 92px;
        left: 20px;
        width: 18px;
        height: 18px;
    }

    .pearl-orb-mid-right {
        top: 410px;
        right: 14px;
        width: 22px;
        height: 22px;
    }

    .pearl-orb-bottom-left {
        bottom: 180px;
        left: 12px;
        width: 14px;
        height: 14px;
    }

    .device-screen {
        min-height: calc(100vh - 76px);
        max-height: none;
    }

    .pearl-divider {
        width: calc(100% + 128px);
        height: 54px;
        margin: -2px auto 4px;
    }

    .pearl-garland-top-left {
        top: 260px;
        left: -112px;
        width: 292px;
        height: 142px;
    }

    .pearl-garland-top-right {
        top: 760px;
        right: -126px;
        width: 304px;
        height: 146px;
    }

    .pearl-garland-mid-left {
        top: 1520px;
        left: -118px;
        width: 298px;
        height: 144px;
    }

    .pearl-garland-bottom-right {
        bottom: 220px;
        right: -128px;
        width: 306px;
        height: 146px;
    }

    .floating-pearl-1 {
        top: 102px;
        right: 14px;
        width: 14px;
        height: 14px;
    }

    .floating-pearl-2 {
        top: 1040px;
        left: 8px;
        width: 16px;
        height: 16px;
    }

    .floating-pearl-3 {
        top: 1820px;
        right: 10px;
        width: 20px;
        height: 20px;
    }

    .floating-pearl-4 {
        bottom: 460px;
        left: 10px;
        width: 14px;
        height: 14px;
    }

    .floating-pearl-5 {
        bottom: 96px;
        right: 12px;
        width: 18px;
        height: 18px;
    }

    .screen-pearl-strand-upper-left {
        top: 168px;
        left: -84px;
        width: 260px;
        height: 132px;
    }

    .screen-pearl-strand-top {
        top: 430px;
        right: -96px;
        width: 276px;
        height: 136px;
    }

    .screen-pearl-strand-middle {
        top: 980px;
        left: -88px;
        width: 272px;
        height: 136px;
    }

    .screen-pearl-strand-lower-left {
        bottom: 470px;
        left: -86px;
        width: 266px;
        height: 132px;
    }

    .screen-pearl-strand-bottom {
        bottom: 92px;
        right: -96px;
        width: 278px;
        height: 136px;
    }

    .screen-pearl-dot-top {
        top: 108px;
        right: 18px;
        width: 16px;
        height: 16px;
    }

    .screen-pearl-dot-left {
        top: 694px;
        left: 12px;
        width: 16px;
        height: 16px;
    }

    .screen-pearl-dot-right {
        top: 1310px;
        right: 12px;
        width: 18px;
        height: 18px;
    }

    .screen-pearl-dot-center {
        top: 1800px;
        left: 14px;
        width: 14px;
        height: 14px;
    }

    .screen-pearl-dot-lower {
        bottom: 210px;
        right: 14px;
        width: 16px;
        height: 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-names {
        font-size: 22px;
    }

    .hero-lead {
        font-size: 24px;
    }

    .section-title {
        font-size: 30px;
    }

    .hero-text,
    .section-text,
    .gallery-head p,
    .timeline-item span,
    .wish-card p {
        font-size: 17px;
    }

    .date-heading {
        font-size: 24px;
    }

    .countdown-item span {
        font-size: 29px;
    }

    .hero-intro-card {
        padding: 18px 16px;
    }

    .hero-date-chip {
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    .dress-code-palette span {
        width: 48px;
        height: 48px;
    }

    .scroll-top-button {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
