/* ==========================================================================
   Navratri 3D Wish — public styles
   ========================================================================== */
@font-face { font-family: 'Cinzel'; src: url('../fonts/Cinzel.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('../fonts/GreatVibes.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Tiro Devanagari Hindi'; src: url('../fonts/TiroDevanagariHindi.woff2') format('woff2'); font-display: swap; }

:root {
    --c-primary: #8B1E24; --c-secondary: #3B0A0A; --c-accent: #D4A84F; --c-bg: #180708;
    --c-text: #FFF4D6; --c-button: #D4A84F; --c-bright: #FFD978; --c-brown: #24130D;
    --f-heading: 'Cinzel', Georgia, serif; --f-body: 'Inter', system-ui, sans-serif; --f-serif: 'Cormorant Garamond', Georgia, serif;
    --h-size: 64px;
    --glass: rgba(24, 7, 8, .55); --glass-border: rgba(212, 168, 79, .35);
    --radius: 20px; --gutter: 16px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh; overflow-x: hidden;
    font-family: var(--f-body); font-size: 16px; line-height: 1.6;
    color: var(--c-text); background: radial-gradient(ellipse at 50% 30%, #3B0A0A 0%, var(--c-bg) 60%, #050505 100%) fixed;
    -webkit-font-smoothing: antialiased;
}
img, canvas { max-width: 100%; }
a { color: var(--c-bright); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--c-bright); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c-bright); color: #180708; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ── 3D canvas ────────────────────────────────────────────────────────── */
.scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.scene-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(5, 2, 2, .6) 100%), linear-gradient(to bottom, rgba(5,2,2,.35), transparent 22%, transparent 70%, rgba(5,2,2,.7)); }
.page--home .scene-vignette::after { content: ''; position: absolute; inset: 0; background: rgba(8, 2, 2, .78); opacity: var(--dim, 0); }
.page--create .scene-vignette, .page--wish .scene-vignette { background: radial-gradient(ellipse at 50% 40%, rgba(12,3,3,.35) 0%, rgba(8,2,2,.78) 100%); }
main, .topbar, .footer { position: relative; z-index: 2; }

/* ── Loader ───────────────────────────────────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 22px; background: #050202; transition: opacity .9s var(--ease), visibility .9s; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__diya { position: relative; width: 70px; height: 70px; }
.loader__bowl { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 22px; border-radius: 0 0 40px 40px; background: linear-gradient(#a8471c, #4a1a0b); box-shadow: 0 -3px 0 #e2a33a inset; }
.loader__flame { position: absolute; left: 50%; bottom: 26px; width: 14px; height: 30px; margin-left: -7px; border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    background: radial-gradient(circle at 50% 75%, #fff 0 18%, #ffd978 35%, #ff8a1e 70%, transparent 72%);
    box-shadow: 0 0 30px 10px rgba(255, 160, 60, .45); animation: flicker 1.4s infinite ease-in-out; transform-origin: 50% 100%; }
.loader__text { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 20px; color: rgba(255, 244, 214, .85); letter-spacing: .02em; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-1deg); } 30% { transform: scale(1.06, .96) rotate(2deg); } 60% { transform: scale(.96, 1.05) rotate(-2deg); } }

/* ── Top bar ──────────────────────────────────────────────────────────── */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px var(--gutter); max-width: 1240px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text); text-decoration: none; font-family: var(--f-heading); font-weight: 700; letter-spacing: .12em; font-size: 15px; }
.brand svg { width: 28px; height: 28px; }
.topbar__tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--glass-border);
    background: rgba(12, 4, 4, .5); color: var(--c-text); font-size: 13px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background .3s; }
.chip:hover { border-color: var(--c-accent); background: rgba(40, 10, 10, .65); }
.chip svg { width: 16px; height: 16px; color: var(--c-accent); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px;
    border-radius: 999px; border: 1px solid var(--glass-border); color: var(--c-text); background: rgba(255, 244, 214, .06);
    text-decoration: none; font-weight: 600; letter-spacing: .02em; cursor: pointer; overflow: hidden; isolation: isolate;
    transition: transform .25s var(--ease), box-shadow .35s var(--ease), border-color .3s, background .3s; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn:hover { transform: translateY(-2px); border-color: var(--c-accent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--gold { color: #1b0906; border-color: rgba(255, 217, 120, .9);
    background: linear-gradient(135deg, #f3d48a 0%, var(--c-button) 40%, #b9862f 70%, #f6dd97 100%);
    box-shadow: 0 0 0 1px rgba(255, 217, 120, .25), 0 10px 30px -8px rgba(212, 168, 79, .65), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover { box-shadow: 0 0 0 1px rgba(255, 217, 120, .4), 0 14px 40px -6px rgba(255, 190, 90, .75), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(24, 7, 8, .45); }
.btn--lg { min-height: 58px; padding: 14px 34px; font-size: 17px; }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--whatsapp { color: #fff; background: linear-gradient(135deg, #2fd46b, #128c4a); border-color: rgba(120, 255, 170, .5); box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .7); }
.btn--whatsapp svg { width: 24px; height: 24px; }
.btn.is-loading span::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -2px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 217, 120, .08); }

/* ── Home ─────────────────────────────────────────────────────────────── */
.hero { min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); display: grid; place-items: center; text-align: center; padding: 40px var(--gutter) 90px; position: relative; }
.hero__inner { max-width: 820px; }
.reveal { opacity: 0; }
.eyebrow { margin: 0 0 12px; font-family: var(--f-heading); font-size: 13px; letter-spacing: .4em; color: var(--c-accent); }
.hero__title { margin: 0; font-family: var(--f-heading); font-weight: 700; font-size: clamp(42px, 9vw, var(--h-size)); line-height: 1.05; letter-spacing: .04em;
    background: linear-gradient(180deg, #fff6d8 0%, var(--c-bright) 40%, var(--c-accent) 75%, #9c7130 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 4px 24px rgba(255, 170, 60, .35)); }
.hero__subtitle { margin: 18px auto 0; max-width: 620px; font-family: var(--f-serif); font-size: clamp(19px, 2.6vw, 24px); font-style: italic; line-height: 1.45; color: rgba(255, 244, 214, .9); }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--glass-border); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--c-accent); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.section { max-width: 1180px; margin: 0 auto; padding: 80px var(--gutter); text-align: center; }
.section__title { margin: 0 0 10px; font-family: var(--f-heading); font-weight: 600; font-size: clamp(28px, 4.4vw, 42px); letter-spacing: .05em; color: var(--c-bright); }
.section__title--left, .section__lead--left { text-align: left; margin-left: 0; }
.section__lead { margin: 0 auto 36px; max-width: 620px; font-family: var(--f-serif); font-size: 20px; color: rgba(255, 244, 214, .82); }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 900px; }
.step { padding: 30px 24px; text-align: left; }
.step__num { font-family: var(--f-heading); font-size: 40px; color: transparent; -webkit-text-stroke: 1px var(--c-accent); }
.step h3 { margin: 6px 0 4px; font-family: var(--f-heading); color: var(--c-bright); letter-spacing: .06em; }
.step p { margin: 0; color: rgba(255, 244, 214, .8); }
.reveal-up { opacity: 0; transform: translateY(30px) rotateX(10deg); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-up.is-in { opacity: 1; transform: none; }
.reveal-up:nth-child(2) { transition-delay: .12s; } .reveal-up:nth-child(3) { transition-delay: .24s; } .reveal-up:nth-child(4) { transition-delay: .36s; } .reveal-up:nth-child(5) { transition-delay: .48s; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gallery__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; text-align: left; }
.gallery__item .poster-canvas { border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 168, 79, .3); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gallery__item:hover .poster-canvas, .gallery__item:focus-visible .poster-canvas { transform: translateY(-6px) scale(1.02); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--c-accent), 0 0 40px -10px rgba(255, 190, 90, .5); }
.gallery__name { margin-top: 8px; font-family: var(--f-heading); color: var(--c-bright); letter-spacing: .05em; }
.gallery__desc { font-size: 13px; color: rgba(255, 244, 214, .7); line-height: 1.45; }
.poster-canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #120506; }

.section--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; text-align: left; }
.split__poster .poster-canvas { max-width: 440px; margin-left: auto; border-radius: 18px; box-shadow: 0 40px 80px -30px #000, 0 0 0 1px rgba(212, 168, 79, .4); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: '✦'; position: absolute; left: 0; color: var(--c-accent); }
.cta { padding-bottom: 110px; }

.footer { text-align: center; padding: 34px var(--gutter) 18px; border-top: 1px solid rgba(212, 168, 79, .15); color: rgba(255, 244, 214, .65); font-size: 14px; background: rgba(5, 2, 2, .55); }
.footer p { margin: 4px 0; }
.footer a { color: var(--c-accent); text-decoration: none; }

/* ── Create ───────────────────────────────────────────────────────────── */
.create { max-width: 1180px; margin: 0 auto; padding: 10px var(--gutter) 70px; }
.create__head { text-align: center; margin: 10px 0 26px; }
.create__title { margin: 0; font-family: var(--f-heading); font-size: clamp(26px, 5vw, 42px); color: var(--c-bright); letter-spacing: .04em; }
.create__lead { margin: 6px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 19px; color: rgba(255, 244, 214, .8); }
.create__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: start; }
.create__form { padding: 26px; }
.create__preview { position: sticky; top: 20px; }
.create__note { text-align: center; font-size: 13px; color: rgba(255, 244, 214, .6); }
.poster-frame { padding: 10px; border-radius: 22px; background: linear-gradient(145deg, rgba(255, 217, 120, .4), rgba(120, 70, 20, .25) 40%, rgba(255, 217, 120, .35)); box-shadow: 0 40px 80px -30px #000; }
.poster-frame .poster-canvas { border-radius: 14px; }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field .label, .field legend { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; letter-spacing: .03em; color: var(--c-bright); }
.req { color: #ff8a7a; }
.field input[type="text"], .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(212, 168, 79, .35); background: rgba(5, 2, 2, .55);
    color: var(--c-text); font: inherit; font-size: 17px; transition: border-color .25s, box-shadow .25s; }
.field textarea { font-family: var(--f-serif); font-size: 19px; line-height: 1.45; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-bright); box-shadow: 0 0 0 4px rgba(255, 217, 120, .15); }
.field__hint { margin: 6px 0 0; font-size: 12.5px; color: rgba(255, 244, 214, .55); }
.field__error, .form__error { margin: 6px 0 0; font-size: 14px; color: #ffb4a8; min-height: 0; }
.form__error:empty, .field__error:empty { display: none; }
.photo { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo__preview { width: 86px; height: 86px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--c-accent); background: rgba(5, 2, 2, .6); color: rgba(255, 244, 214, .4); box-shadow: 0 0 24px -6px rgba(255, 190, 90, .5); }
.photo__preview svg { width: 46px; height: 46px; }
.photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.photo__actions label { margin: 0; color: var(--c-text); font-weight: 600; }
.tpl-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tpl { position: relative; cursor: pointer; text-align: center; font-size: 12px; color: rgba(255, 244, 214, .8); }
.tpl input { position: absolute; opacity: 0; }
.tpl .poster-canvas { border-radius: 10px; border: 2px solid transparent; transition: border-color .25s, transform .25s, box-shadow .25s; margin-bottom: 6px; }
.tpl input:checked + .poster-canvas { border-color: var(--c-bright); transform: translateY(-3px); box-shadow: 0 0 24px -4px rgba(255, 200, 100, .6); }
.tpl input:focus-visible + .poster-canvas { outline: 2px solid var(--c-bright); outline-offset: 2px; }
.create__actions { margin-top: 8px; }

/* ── Modal ────────────────────────────────────────────────────────────── */
body.has-modal { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: var(--gutter); background: rgba(5, 2, 2, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; overflow-y: auto; }
.modal.is-open { opacity: 1; }
.modal__panel { width: 100%; max-width: 520px; padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, #2a0b0b, #120405); border: 1px solid var(--glass-border); box-shadow: 0 40px 100px #000; transform: translateY(14px); transition: transform .35s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel--poster { max-width: 480px; }
.modal__title { margin: 0 0 14px; text-align: center; font-family: var(--f-heading); color: var(--c-bright); font-size: 22px; letter-spacing: .05em; }
.modal__actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.poster-frame--modal .poster-canvas { max-height: 62vh; width: auto; margin: 0 auto; }
.crop { position: relative; width: min(100%, 360px); margin: 0 auto; border-radius: 16px; overflow: hidden; touch-action: none; }
.crop canvas { display: block; width: 100%; height: auto; cursor: grab; }
.crop__ring { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .0); background: radial-gradient(circle at 50% 50%, transparent 0 49.5%, rgba(0, 0, 0, .55) 50%); border: 1px solid var(--glass-border); border-radius: 16px; }
.crop__zoom { display: flex; align-items: center; gap: 10px; margin: 14px auto 0; max-width: 360px; font-size: 14px; }
.crop__zoom input { flex: 1; accent-color: var(--c-accent); }

/* ── Wish page ────────────────────────────────────────────────────────── */
.wish { max-width: 640px; margin: 0 auto; padding: 4px var(--gutter) 70px; text-align: center; }
.preview-badge { display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; font-size: 13px; background: rgba(255, 217, 120, .15); border: 1px solid var(--glass-border); }
.wish__reveal { padding: 10px 0 18px; }
.wish__flower { margin: 0; font-size: 34px; }
.wish__name { margin: 4px 0 0; font-family: var(--f-heading); font-weight: 700; font-size: clamp(34px, 8vw, 58px); line-height: 1.1; letter-spacing: .04em; word-break: break-word;
    background: linear-gradient(180deg, #fff6d8, var(--c-bright) 45%, var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 22px rgba(255, 170, 60, .4)); }
.wish__greeting { margin: 4px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 21px; color: rgba(255, 244, 214, .88); }
.wish__title { margin: 4px 0 0; font-family: var(--f-heading); font-weight: 600; font-size: clamp(26px, 6vw, 38px); letter-spacing: .14em; color: var(--c-text); }
.w-step { opacity: 0; }
.w-step.is-in { opacity: 1; }
.wish__poster { perspective: 1200px; }
.poster-frame--hero { max-width: 480px; margin: 0 auto; }
.poster-tools { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.share { margin-top: 28px; padding: 24px; text-align: center; }
.share__title { margin: 0 0 16px; font-family: var(--f-heading); color: var(--c-bright); font-size: 22px; letter-spacing: .05em; }
.share__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.share__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 8px; border-radius: 14px; border: 1px solid rgba(212, 168, 79, .25);
    background: rgba(5, 2, 2, .45); color: var(--c-text); text-decoration: none; font-size: 20px; cursor: pointer; transition: border-color .25s, transform .25s; }
.share__btn span { font-size: 12.5px; }
.share__btn:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.qr { display: flex; gap: 18px; align-items: center; justify-content: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(212, 168, 79, .2); flex-wrap: wrap; }
.qr__code { padding: 10px; background: #FFF4D6; border-radius: 12px; line-height: 0; }
.qr__code img, .qr__code canvas { width: 140px; height: 140px; }
.qr__text { text-align: left; }
.qr__text p { margin: 0 0 8px; font-family: var(--f-serif); font-size: 18px; }
.share__url { margin: 16px 0 0; }
.share__url input { width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(212, 168, 79, .25); background: rgba(5, 2, 2, .5); color: rgba(255, 244, 214, .75); font-size: 13px; text-align: center; }
.loop { margin-top: 34px; }
.loop__title { margin: 0 0 14px; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 22px; color: rgba(255, 244, 214, .85); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 30px); padding: 12px 20px; border-radius: 999px; background: #FFF4D6; color: #180708; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Error page ───────────────────────────────────────────────────────── */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: var(--gutter); }
.error-page__card { max-width: 460px; width: 100%; padding: 36px 28px; text-align: center; }
.error-page__icon { font-size: 44px; margin: 0; }
.error-page h1 { font-family: var(--f-heading); color: var(--c-bright); margin: 8px 0; font-size: 26px; }
.error-page .link { color: var(--c-accent); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .create__grid { grid-template-columns: 1fr; }
    .create__preview { position: static; order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
    .section--split { grid-template-columns: 1fr; text-align: center; }
    .section__title--left, .section__lead--left { text-align: center; margin-left: auto; }
    .ticks { justify-items: center; }
    .split__poster .poster-canvas { margin: 0 auto; }
}
@media (max-width: 720px) {
    .steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tpl-picker { grid-template-columns: repeat(3, 1fr); }
    .section { padding: 60px var(--gutter); }
    .create__form { padding: 18px; }
    .share { padding: 18px; }
    .brand span { display: none; }
    .chip { padding: 6px 12px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    .share__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__actions .btn { width: 100%; }
}

/* ── Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal-up, .w-step { opacity: 1 !important; transform: none !important; }
}


/* ── Footer bottom bar + Codinza credit ──────────────────────────────── */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap;
    max-width: 1180px; margin: 18px auto 0;
    font-size: 11px; color: rgba(255, 244, 214, .42); }
.footer__version span { color: rgba(255, 217, 120, .55); }
.codinza { align-items: center; gap: 4px; color: rgba(255, 244, 214, .4); font-size: 11px; text-decoration: none; letter-spacing: .02em; transition: color .25s; }
.codinza__name { font-weight: 600; color: rgba(255, 217, 120, .8); transition: color .25s; }
.codinza:hover, .codinza:focus-visible, .codinza:hover .codinza__name { color: #FFD978; }
@media (max-width: 600px) { .footer__bottom { justify-content: center; text-align: center; } }
.error-page__card .codinza { margin-top: 18px; justify-content: center; }
