@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --ink: #211a38;
  --ink-muted: #756d8d;
  --plum: #211743;
  --plum-soft: #3b2861;
  --paper: #fff9fd;
  --cream: #f3eaff;
  --rose: #ff6b9d;
  --rose-deep: #b83273;
  --coral: #ffc1a1;
  --lilac: #c8c0ff;
  --aqua: #83e6db;
  --line: rgba(54, 36, 92, .14);
  --white-line: rgba(255,255,255,.15);
  --shadow: 0 20px 50px rgba(54, 33, 91, .14);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--sans); background: var(--paper); min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(236, 141, 133, .55); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .55; }

.page-shell { min-height: 100vh; overflow: hidden; position: relative; }
.page-shell::before { content: ''; position: fixed; z-index: 0; pointer-events: none; inset: 0; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }
.site-header, .app-main, .site-footer { position: relative; z-index: 1; }
.site-header { width: min(1200px, calc(100% - 48px)); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.brand > span:last-child span { color: var(--rose-deep); }
.brand-mark { width: 29px; height: 26px; position: relative; transform: rotate(-8deg); }
.brand-mark::before { content: ''; position: absolute; width: 20px; height: 20px; left: 4px; top: 4px; background: var(--rose); transform: rotate(45deg); border-radius: 5px; }
.brand-mark span { position: absolute; z-index: 1; top: 1px; width: 15px; height: 15px; background: var(--rose); border-radius: 50%; }
.brand-mark span:first-child { left: 2px; }.brand-mark span:last-child { right: 2px; }
.header-actions { display: flex; gap: 22px; align-items: center; }
.sound-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; background: transparent; color: var(--ink-muted); border-radius: 999px; padding: 8px 10px; font-size: 11px; font-weight: 700; transition: all .2s ease; }.sound-toggle:hover, .sound-toggle.on { color: var(--rose-deep); border-color: rgba(201,102,114,.2); background: rgba(255,255,255,.55); }.sound-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); font-size: 13px; }.sound-toggle.on .sound-icon { animation: music-bob 1.3s ease-in-out infinite; background: var(--coral); color: var(--plum); }
.text-button, .footer-link { border: 0; background: transparent; padding: 8px 0; color: var(--ink-muted); font-size: 13px; font-weight: 600; }
.text-button:hover, .footer-link:hover { color: var(--rose-deep); }
.outline-button, .primary-button, .ghost-button { border-radius: 9px; padding: 13px 18px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.outline-button { background: rgba(255,255,255,.42); color: var(--ink); }.outline-button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(80,42,70,.08); }
.outline-button.compact { padding: 10px 14px; }.arrow { color: var(--rose-deep); margin-left: 7px; }
.primary-button { border-color: var(--rose); color: var(--plum); background: var(--coral); box-shadow: 0 10px 20px rgba(201, 102, 114, .18); }.primary-button:hover { transform: translateY(-2px); box-shadow: 0 14px 25px rgba(201, 102, 114, .26); }
.primary-button.dark { background: var(--plum); border-color: var(--plum); color: white; box-shadow: 0 10px 22px rgba(23,20,33,.18); }.primary-button.dark:hover { background: #2a2134; }
.ghost-button { background: transparent; color: var(--ink-muted); }.ghost-button:hover { border-color: var(--rose); color: var(--rose-deep); }
.button-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.app-main { min-height: calc(100vh - 144px); }.app-main > * { animation: page-in .55s cubic-bezier(.2,.75,.25,1) both; }
.hero { width: min(1200px, calc(100% - 48px)); margin: 0 auto; min-height: 650px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 60px; padding: 52px 0 74px; }
.hero-copy { position: relative; padding-left: 26px; }.hero-copy::before { content: ''; position: absolute; left: 0; top: 2px; height: 118px; width: 2px; background: linear-gradient(var(--rose), transparent); }
.eyebrow { color: var(--rose-deep); text-transform: uppercase; font-weight: 700; letter-spacing: .16em; font-size: 11px; margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }h1, h2, h3 { font-family: var(--serif); letter-spacing: -.045em; }
h1 { font-size: clamp(46px, 6vw, 82px); line-height: .98; max-width: 650px; margin-bottom: 26px; font-weight: 700; }
h1 em { color: var(--rose-deep); font-style: normal; }.hero-description { max-width: 450px; color: var(--ink-muted); line-height: 1.7; font-size: 16px; margin-bottom: 31px; }
.hero-note { display: flex; gap: 10px; align-items: center; color: var(--ink-muted); font-size: 12px; margin-top: 18px; }.tiny-lock { color: var(--rose-deep); font-size: 15px; }
.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }.art-orbit { width: min(420px, 80vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201,102,114,.22); position: relative; transform: rotate(-17deg); animation: orbit-breathe 8s ease-in-out infinite; }.art-orbit::before, .art-orbit::after { content: ''; position: absolute; border: 1px solid rgba(201,102,114,.15); border-radius: 50%; inset: 35px; }.art-orbit::after { inset: 76px; border-color: rgba(201,102,114,.22); }
.art-core { width: 220px; height: 220px; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(17deg); border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff3e9 0%, #f7c7bb 42%, #e99191 100%); box-shadow: 0 20px 55px rgba(201,102,114,.24); display: grid; place-items: center; animation: heart-float 4s ease-in-out infinite; }.art-core::before { content: '♥'; color: #fff8f2; font-size: 102px; line-height: 1; text-shadow: 0 8px 20px rgba(179,83,91,.2); transform: translateY(-2px); animation: heart-pulse 2.8s ease-in-out infinite; }
.orbit-dot { width: 19px; height: 19px; position: absolute; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(201,102,114,.25); }.dot-a { top: 8%; right: 25%; }.dot-b { bottom: 15%; left: 9%; background: var(--rose); }.dot-c { bottom: 4%; right: 31%; width: 11px; height: 11px; background: var(--lilac); }
.art-tag { position: absolute; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-muted); background: rgba(255,250,247,.75); border: 1px solid rgba(42,32,52,.1); padding: 10px 12px; border-radius: 7px; box-shadow: 0 10px 25px rgba(80,42,70,.07); }.tag-one { top: 17%; left: 4%; }.tag-two { bottom: 17%; right: 6%; }.tag-three { top: 39%; right: 0; color: var(--rose-deep); }
.float-card { position: absolute; min-width: 160px; border: 1px solid rgba(42,32,52,.09); background: rgba(255,250,247,.76); backdrop-filter: blur(10px); border-radius: 12px; padding: 14px; box-shadow: 0 17px 35px rgba(80,42,70,.09); font-size: 11px; color: var(--ink-muted); animation: card-drift 5s ease-in-out infinite; }.float-card strong { display: block; color: var(--ink); font-size: 13px; margin-top: 4px; }.float-top { top: 8%; right: 11%; animation-delay: -.8s; }.float-bottom { bottom: 8%; left: 3%; animation-delay: -2.3s; }.mini-avatars { display: flex; margin-top: 9px; }.mini-avatars i { width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid var(--paper); margin-left: -4px; border-radius: 50%; background: var(--lilac); font-style: normal; font-size: 9px; color: var(--plum); }.mini-avatars i:first-child { margin-left: 0; background: var(--coral); }.mini-avatars i:last-child { background: var(--plum); color: white; }

.trust-strip { width: min(1200px, calc(100% - 48px)); margin: 0 auto 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--ink-muted); font-size: 12px; }.trust-item { display: flex; align-items: center; gap: 10px; }.trust-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--rose-deep); font-size: 13px; }

.centered-page { width: min(680px, calc(100% - 40px)); margin: 0 auto; padding: 68px 0 110px; }.centered-page.wide { width: min(900px, calc(100% - 40px)); }
.page-intro { margin-bottom: 32px; }.page-intro h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 14px; }.page-intro p { color: var(--ink-muted); line-height: 1.65; max-width: 580px; }
.card { border: 1px solid var(--line); background: rgba(255,255,255,.62); border-radius: 16px; box-shadow: var(--shadow); padding: 30px; }.card + .card { margin-top: 16px; }
.form-field { margin-bottom: 21px; }.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }.form-help { color: var(--ink-muted); font-size: 11px; line-height: 1.5; margin: 7px 0 0; }.text-input, .select-input { width: 100%; border: 1px solid rgba(42,32,52,.16); background: rgba(255,255,255,.72); border-radius: 9px; padding: 14px 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }.text-input::placeholder { color: #aaa1ac; }.text-input:focus, .select-input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(236,141,133,.13); outline: none; }.input-with-icon { position: relative; }.input-with-icon .text-input { padding-left: 42px; }.input-icon { position: absolute; left: 15px; top: 14px; color: var(--rose-deep); }
.privacy-box { display: flex; gap: 11px; align-items: flex-start; border-radius: 10px; background: #fbf1ec; padding: 13px; margin: 24px 0; color: #785e63; font-size: 12px; line-height: 1.5; }.privacy-box strong { color: var(--ink); display: block; margin-bottom: 2px; }.privacy-symbol { color: var(--rose-deep); font-size: 16px; line-height: 1; }
.full-button { width: 100%; justify-content: center; }.subtle-link { border: 0; background: transparent; color: var(--rose-deep); padding: 3px 0; font-weight: 700; font-size: 12px; }.back-link { display: inline-flex; gap: 7px; align-items: center; color: var(--ink-muted); font-size: 12px; text-decoration: none; margin-bottom: 27px; }.back-link:hover { color: var(--rose-deep); }
.invite-card { background: var(--plum); color: white; padding: 28px; border-radius: 16px; box-shadow: 0 20px 45px rgba(23,20,33,.2); }.invite-card h2 { font-size: 30px; margin-bottom: 8px; }.invite-card p { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.6; }.share-row { display: flex; gap: 8px; margin: 24px 0 18px; }.share-url { min-width: 0; flex: 1; border: 1px solid var(--white-line); background: rgba(255,255,255,.06); color: white; padding: 12px; border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.copy-button { border: 0; border-radius: 8px; padding: 0 14px; background: var(--coral); color: var(--plum); font-size: 12px; font-weight: 700; }.whatsapp-button { display: inline-flex; gap: 8px; align-items: center; background: transparent; color: #f8d1c5; border: 0; font-size: 12px; font-weight: 700; padding: 0; }.whatsapp-button:hover { color: white; }
.join-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 25px; }.group-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--rose-deep); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 10px; }.group-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }.join-head h1 { font-size: 46px; margin: 9px 0 0; }.participant-count { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 8px 11px; color: var(--ink-muted); font-size: 11px; }
.name-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }.name-chip { border-radius: 99px; background: var(--cream); padding: 7px 10px; color: #765e6b; font-size: 11px; }
.result-card { text-align: center; padding: 45px 30px; position: relative; overflow: hidden; }.result-card.match-card { animation: match-in .75s cubic-bezier(.16,.85,.24,1) both; }.result-heart { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; font-size: 35px; color: white; background: linear-gradient(145deg, var(--coral), var(--rose-deep)); box-shadow: 0 12px 30px rgba(201,102,114,.25); animation: heart-pulse 2.4s ease-in-out infinite; }.result-card.waiting .result-heart { color: var(--rose-deep); background: var(--cream); box-shadow: none; animation: none; }.result-card h1 { font-size: 47px; margin: 0 auto 12px; }.result-card p { color: var(--ink-muted); line-height: 1.65; max-width: 430px; margin: 0 auto 25px; }.match-name { color: var(--rose-deep); }.sparkle-field { position: absolute; inset: 0; pointer-events: none; }.sparkle-field i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); opacity: 0; animation: sparkle-rise 2.8s ease-out infinite; }.sparkle-field i:nth-child(1) { left: 14%; top: 58%; animation-delay: .2s; }.sparkle-field i:nth-child(2) { left: 25%; top: 24%; animation-delay: .8s; background: var(--lilac); }.sparkle-field i:nth-child(3) { right: 17%; top: 36%; animation-delay: 1.1s; background: var(--rose); }.sparkle-field i:nth-child(4) { right: 25%; top: 68%; animation-delay: 1.7s; background: var(--coral); }.sparkle-field i:nth-child(5) { left: 42%; top: 14%; animation-delay: .5s; background: var(--lilac); }
.status-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }.status-header { margin-bottom: 25px; }.status-header h1 { font-size: 53px; max-width: 600px; margin-bottom: 11px; }.status-header p { color: var(--ink-muted); line-height: 1.6; max-width: 580px; }.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.stat-card { background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 13px; padding: 19px; }.stat-card .stat-number { font-family: var(--serif); font-size: 30px; display: block; }.stat-card .stat-label { color: var(--ink-muted); font-size: 11px; }.status-sidebar { position: sticky; top: 24px; }.control-row { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }.control-row:last-child { border: 0; }.control-title { font-size: 12px; font-weight: 700; }.control-help { color: var(--ink-muted); font-size: 11px; margin-top: 4px; }.danger-link { color: #b45d66; border: 0; background: transparent; font-size: 11px; font-weight: 700; padding: 0; }.toggle { width: 36px; height: 21px; border: 0; border-radius: 99px; padding: 3px; background: #c7bac7; }.toggle.on { background: var(--rose-deep); }.toggle span { display: block; background: white; width: 15px; height: 15px; border-radius: 50%; transition: transform .2s; }.toggle.on span { transform: translateX(15px); }
.site-footer { width: min(1200px, calc(100% - 48px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 24px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-muted); font-size: 11px; }.footer-brand { color: var(--ink); font-weight: 700; }.mini-heart { color: var(--rose-deep); margin-right: 4px; }.footer-links { display: flex; align-items: center; gap: 9px; }
.toast { position: fixed; z-index: 10; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--plum); color: white; padding: 12px 17px; border-radius: 8px; font-size: 12px; box-shadow: 0 12px 30px rgba(23,20,33,.22); transition: transform .25s ease; }.toast.show { transform: translate(-50%, 0); }
.modal-backdrop { position: fixed; z-index: 20; inset: 0; background: rgba(23,20,33,.47); display: grid; place-items: center; padding: 20px; animation: fade-in .2s ease both; }.modal { width: min(520px, 100%); max-height: 88vh; overflow: auto; background: var(--paper); border-radius: 16px; padding: 29px; box-shadow: 0 30px 80px rgba(23,20,33,.3); position: relative; animation: modal-rise .35s cubic-bezier(.2,.8,.25,1) both; }.modal h2 { font-size: 32px; margin-bottom: 10px; }.modal p { color: var(--ink-muted); line-height: 1.6; font-size: 13px; }.modal-close { position: absolute; right: 18px; top: 17px; border: 0; background: transparent; color: var(--ink-muted); font-size: 22px; }.how-grid { display: grid; gap: 12px; margin-top: 21px; }.how-step { display: flex; gap: 13px; align-items: flex-start; }.how-num { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--rose-deep); font-weight: 700; font-size: 12px; }.how-step strong { display: block; font-size: 13px; margin-bottom: 3px; }.how-step span { color: var(--ink-muted); font-size: 12px; line-height: 1.45; }
.empty-state { text-align: center; padding: 35px 15px; color: var(--ink-muted); font-size: 13px; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes modal-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes orbit-breathe { 0%, 100% { transform: rotate(-17deg) scale(1); } 50% { transform: rotate(-13deg) scale(1.025); } } @keyframes heart-float { 0%, 100% { transform: translate(-50%,-50%) rotate(17deg) translateY(0); } 50% { transform: translate(-50%,-50%) rotate(17deg) translateY(-8px); } } @keyframes heart-pulse { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.08); } 60% { transform: scale(1); } } @keyframes card-drift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(1deg); } } @keyframes music-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } } @keyframes match-in { from { opacity: 0; transform: scale(.94) translateY(18px); } to { opacity: 1; transform: scale(1) translateY(0); } } @keyframes sparkle-rise { 0% { opacity: 0; transform: translateY(18px) scale(.3); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-60px) scale(1.3); } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }.hero-copy { padding-left: 18px; }.hero-art { min-height: 390px; order: -1; }.art-orbit { width: min(330px, 80vw); }.art-core { width: 178px; height: 178px; }.art-core::before { font-size: 83px; }.float-top { top: 5%; right: 4%; }.float-bottom { bottom: 3%; left: 0; }.tag-one { top: 13%; left: 0; }.tag-two { bottom: 12%; right: 0; }.tag-three { right: -2%; top: 38%; }.trust-strip { flex-wrap: wrap; }.status-layout { grid-template-columns: 1fr; }.status-sidebar { position: static; } }
@media (max-width: 560px) { .site-header, .hero, .trust-strip, .site-footer { width: min(100% - 32px, 1200px); }.site-header { height: 72px; }.header-actions { gap: 7px; }.header-actions .text-button { display: none; }.sound-toggle { padding: 7px; }.sound-label { display: none; }.outline-button.compact { font-size: 12px; padding: 9px 11px; }.hero { min-height: auto; padding: 20px 0 60px; }.hero-copy { padding-left: 16px; }.hero-copy::before { height: 98px; } h1 { font-size: 52px; }.hero-description { font-size: 14px; }.hero-art { min-height: 326px; }.art-orbit { width: 275px; }.art-core { width: 150px; height: 150px; }.art-core::before { font-size: 69px; }.float-card { min-width: 132px; padding: 10px; }.float-card strong { font-size: 11px; }.tag-one, .tag-two, .tag-three { font-size: 9px; padding: 8px; }.trust-strip { margin-bottom: 30px; gap: 13px; }.trust-item { font-size: 10px; }.trust-icon { width: 23px; height: 23px; }.site-footer { align-items: flex-start; flex-direction: column; }.centered-page { padding-top: 36px; width: min(100% - 32px, 680px); }.card { padding: 22px; }.page-intro h1, .join-head h1, .status-header h1 { font-size: 42px; }.join-head { display: block; }.participant-count { display: inline-block; margin-top: 13px; }.share-row { display: block; }.share-url { display: block; margin-bottom: 8px; width: 100%; }.copy-button { padding: 12px 14px; width: 100%; }.stats-grid { gap: 7px; }.stat-card { padding: 14px 11px; }.stat-card .stat-number { font-size: 24px; }.stat-card .stat-label { font-size: 9px; }.result-card { padding: 32px 20px; }.result-card h1 { font-size: 40px; }.modal { padding: 24px 20px; } }

/* SecretSpark glow layer: a warmer, more tactile finish for the romantic UI. */
body { background: radial-gradient(circle at 12% 8%, rgba(247,180,158,.18), transparent 28%), radial-gradient(circle at 88% 26%, rgba(217,197,234,.18), transparent 24%), var(--paper); }
.page-shell::after { content: ''; position: fixed; z-index: 0; pointer-events: none; width: 420px; height: 420px; right: -180px; top: 28%; border-radius: 50%; background: rgba(236,141,133,.11); filter: blur(55px); animation: ambient-drift 12s ease-in-out infinite alternate; }
.site-header { margin-top: 12px; padding: 0 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: rgba(255,250,247,.58); box-shadow: 0 12px 35px rgba(80,42,70,.06); backdrop-filter: blur(16px); }
.brand { transition: transform .25s ease, filter .25s ease; }.brand:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 12px rgba(201,102,114,.18)); }
.brand-mark { animation: brand-breathe 4s ease-in-out infinite; }
.hero { position: relative; }.hero::before { content: ''; position: absolute; inset: 10% 38% 8% -8%; border-radius: 50%; background: radial-gradient(circle, rgba(247,180,158,.12), transparent 67%); filter: blur(14px); pointer-events: none; }
.hero-copy, .hero-art { z-index: 1; }
.hero-copy h1 { text-shadow: 0 10px 30px rgba(80,42,70,.08); }
.primary-button, .outline-button, .ghost-button { position: relative; overflow: hidden; }.primary-button::after, .outline-button::after { content: ''; position: absolute; top: -40%; left: -60%; width: 35%; height: 180%; transform: rotate(22deg); background: rgba(255,255,255,.25); transition: left .55s ease; pointer-events: none; }.primary-button:hover::after, .outline-button:hover::after { left: 125%; }
.card { background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,250,247,.58)); box-shadow: 0 24px 60px rgba(53,28,55,.11), inset 0 1px 0 rgba(255,255,255,.7); backdrop-filter: blur(12px); }
.trust-strip { background: rgba(255,255,255,.22); border-radius: 18px; padding: 18px 22px; }.trust-item { transition: transform .25s ease, color .25s ease; }.trust-item:hover { transform: translateY(-3px); color: var(--rose-deep); }.trust-icon { box-shadow: 0 5px 16px rgba(201,102,114,.12); }
.privacy-box { border: 1px solid rgba(236,141,133,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.sound-toggle.on { box-shadow: 0 0 0 5px rgba(247,180,158,.12); }.sound-toggle.on .sound-icon { box-shadow: 0 4px 14px rgba(201,102,114,.22); }
.result-card.match-card { box-shadow: 0 26px 70px rgba(201,102,114,.18), inset 0 1px 0 rgba(255,255,255,.75); }.result-card.match-card::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(236,141,133,.2); border-radius: 12px; pointer-events: none; animation: border-glow 2.8s ease-in-out infinite; }
@keyframes ambient-drift { from { transform: translate3d(0,-20px,0) scale(.92); } to { transform: translate3d(-70px,45px,0) scale(1.08); } }
@keyframes brand-breathe { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.06); } }
@keyframes border-glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page-shell::after, .brand-mark, .result-card.match-card::after { animation: none !important; } }


/* Midnight Orchid theme: a jewel-toned romantic night palette with warm light accents. */
html { background: var(--paper); }
body {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 107, 157, .16), transparent 27%),
    radial-gradient(circle at 92% 18%, rgba(131, 230, 219, .16), transparent 23%),
    radial-gradient(circle at 50% 100%, rgba(200, 192, 255, .18), transparent 34%),
    var(--paper);
}
button:focus-visible, input:focus-visible, a:focus-visible { outline-color: rgba(255, 107, 157, .58); }
.brand > span:last-child span, .eyebrow, h1 em, .hero-note .tiny-lock, .arrow, .text-button:hover, .footer-link:hover { color: var(--rose-deep); }
.brand-mark::before, .brand-mark span { background: var(--rose); }
.sound-toggle:hover, .sound-toggle.on { color: var(--rose-deep); border-color: rgba(184, 50, 115, .22); }
.sound-icon { background: var(--cream); }
.sound-toggle.on .sound-icon { background: var(--coral); color: var(--plum); }
.outline-button:hover { box-shadow: 0 10px 20px rgba(73, 38, 112, .13); }
.primary-button { background: linear-gradient(135deg, var(--coral), var(--rose)); border-color: var(--rose); color: var(--plum); box-shadow: 0 10px 24px rgba(184, 50, 115, .2); }
.primary-button:hover { box-shadow: 0 15px 30px rgba(184, 50, 115, .29); }
.primary-button.dark { background: linear-gradient(135deg, var(--plum), var(--plum-soft)); border-color: var(--plum); }
.primary-button.dark:hover { background: linear-gradient(135deg, #2b2055, #4b2c73); }
.ghost-button:hover { border-color: var(--rose); color: var(--rose-deep); }
.page-shell::after { background: rgba(255, 107, 157, .13); }
.site-header { background: rgba(255, 249, 253, .64); box-shadow: 0 12px 35px rgba(64, 38, 101, .08); }
.brand:hover { filter: drop-shadow(0 8px 12px rgba(184, 50, 115, .2)); }
.hero-copy::before { background: linear-gradient(var(--rose), transparent); }
.hero::before { background: radial-gradient(circle, rgba(200, 192, 255, .2), transparent 67%); }
.hero-copy h1 { text-shadow: 0 10px 30px rgba(64, 38, 101, .1); }
.art-orbit { border-color: rgba(184, 50, 115, .25); }
.art-orbit::before, .art-orbit::after { border-color: rgba(184, 50, 115, .16); }
.art-orbit::after { border-color: rgba(131, 230, 219, .3); }
.art-core {
  background: radial-gradient(circle at 35% 25%, #fff5fb 0%, #d9d0ff 43%, #ff6b9d 100%);
  box-shadow: 0 20px 55px rgba(184, 50, 115, .27), 0 0 70px rgba(131, 230, 219, .13);
}
.art-core::before { color: #fff8ff; text-shadow: 0 8px 20px rgba(91, 37, 96, .24); }
.orbit-dot { background: var(--plum); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(184, 50, 115, .28); }
.dot-b { background: var(--rose); }.dot-c { background: var(--aqua); }
.art-tag { background: rgba(255, 249, 253, .8); border-color: rgba(54, 36, 92, .12); box-shadow: 0 10px 25px rgba(64, 38, 101, .1); }
.float-card { background: rgba(255, 249, 253, .8); border-color: rgba(54, 36, 92, .1); box-shadow: 0 17px 35px rgba(64, 38, 101, .12); }
.mini-avatars i { border-color: var(--paper); background: var(--lilac); color: var(--plum); }.mini-avatars i:first-child { background: var(--coral); }.mini-avatars i:last-child { background: var(--plum); }
.trust-strip { background: rgba(255, 255, 255, .3); }.trust-item:hover { color: var(--rose-deep); }.trust-icon { background: var(--cream); color: var(--rose-deep); box-shadow: 0 5px 16px rgba(184, 50, 115, .14); }
.card, .stat-card { background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(249, 242, 255, .64)); }
.text-input, .select-input { border-color: rgba(54, 36, 92, .18); background: rgba(255, 255, 255, .78); }.text-input::placeholder { color: #9a91ad; }.text-input:focus, .select-input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 107, 157, .15); }
.input-icon, .privacy-symbol { color: var(--rose-deep); }
.privacy-box { background: linear-gradient(135deg, rgba(243, 234, 255, .9), rgba(255, 241, 237, .86)); border-color: rgba(184, 50, 115, .14); color: #735e7d; }
.invite-card { background: linear-gradient(135deg, #211743, #4b2c73 68%, #653875); box-shadow: 0 20px 45px rgba(33, 23, 67, .25); }.copy-button { background: linear-gradient(135deg, var(--coral), var(--rose)); }.whatsapp-button { color: #b9fff2; }
.group-pill { color: var(--rose-deep); }.group-pill::before { background: var(--rose); }.name-chip { background: var(--cream); color: #69557e; }
.participant-count { border-color: var(--line); }.result-heart { background: linear-gradient(145deg, var(--coral), var(--rose-deep)); box-shadow: 0 12px 30px rgba(184, 50, 115, .29); }.result-card.waiting .result-heart { color: var(--rose-deep); background: var(--cream); }.match-name { color: var(--rose-deep); }
.sparkle-field i { background: var(--rose); }.sparkle-field i:nth-child(2), .sparkle-field i:nth-child(5) { background: var(--lilac); }.sparkle-field i:nth-child(3) { background: var(--aqua); }.sparkle-field i:nth-child(4) { background: var(--coral); }
.toggle.on { background: var(--rose-deep); }.danger-link { color: #a43d68; }
.toast { background: var(--plum); box-shadow: 0 12px 30px rgba(33, 23, 67, .28); }
.modal-backdrop { background: rgba(33, 23, 67, .55); }.modal { background: var(--paper); }.how-num { background: var(--cream); color: var(--rose-deep); }
.result-card.match-card { box-shadow: 0 26px 70px rgba(184, 50, 115, .21), inset 0 1px 0 rgba(255, 255, 255, .8); }.result-card.match-card::after { border-color: rgba(255, 107, 157, .27); }
