/* Afzal & Rihana: desktop presentation. Inner invitation is V5.18 untouched. */
* { box-sizing: border-box; }
:root { color-scheme: dark; }
html, body { width:100%; height:100%; margin:0; overflow:hidden; background:#160e10; }
body { position:relative; isolation:isolate; }
.textile-backdrop { position:fixed; inset:-3%; z-index:-3; background:#3f1a1f url('assets/desktop-rug-rotated.jpg') center center / cover no-repeat; transform:scale(1.035); filter:saturate(.84) brightness(.62) blur(1.35px); }
.textile-backdrop::after { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 38% 64% at 50% 50%, rgba(235,223,203,.14) 0%, rgba(117,74,61,.09) 24%, rgba(27,16,19,.26) 54%, rgba(14,10,12,.62) 100%), linear-gradient(90deg, rgba(24,14,18,.62) 0%, rgba(24,14,18,.16) 26%, rgba(24,14,18,.04) 50%, rgba(24,14,18,.16) 74%, rgba(24,14,18,.62) 100%); }
.room-light { position:fixed; inset:0; z-index:-2; pointer-events:none; background:radial-gradient(ellipse 48% 73% at 50% 49%,rgba(30,13,15,.22),rgba(15,9,11,.43) 69%,rgba(9,7,9,.68) 100%); }
.presentation { min-height:100%; height:100dvh; display:grid; place-items:center; overflow:hidden; padding:14px; }
/* Device dimensions derive from supplied phone vector (551 x 1115). */
.device { width:min(450px,calc((100dvh - 29px) * .4942),calc(100vw - 42px)); aspect-ratio:551 / 1115; position:relative; flex:none; isolation:isolate; filter:drop-shadow(0 21px 27px rgba(0,0,0,.55)) drop-shadow(0 4px 8px rgba(0,0,0,.38)); }
.device::before { content:''; position:absolute; inset:0; z-index:-1; border-radius:14% / 7%; box-shadow:0 36px 95px 18px rgba(0,0,0,.5); }
/* X: 1259-1742 in original 3000-wide SVG, Y:154-1197 in 1350px SVG. */
.device__screen { position:absolute; left:5.8076%; right:6.5336%; top:3.1390%; bottom:3.3184%; overflow:hidden; border-radius:11% / 5.2%; background:#11100e; z-index:1; }
.device__screen iframe { display:block; width:100%; height:100%; border:0; background:#171410; color-scheme:dark; }
.device__frame { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; user-select:none; z-index:2; }
@media (max-height:640px) and (min-width:820px) { .presentation { padding:5px; } .device { width:min(450px,calc((100dvh - 8px) * .4942)); } }
@media (prefers-reduced-motion:reduce) { *, *::before,*::after { animation:none!important; transition:none!important; } .textile-backdrop{filter:saturate(.84) brightness(.62) blur(1.35px); transform:scale(1.035); } }
