@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #09041e;
  --surface: #170c3d;
  --text: #f8efff;
  --muted: #b9a7df;
  --pink: #f72dff;
  --purple: #9d24f7;
  --cyan: #30d8ff;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at 50% 30%, #28104a, var(--bg) 70%); -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.app {
  width: 100%; max-width: 440px; min-height: 100vh; min-height: 100svh;
  margin: 0 auto; padding: calc(18px + var(--safe-top)) max(20px, env(safe-area-inset-right, 0px)) var(--safe-bottom) max(20px, env(safe-area-inset-left, 0px));
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 230px 200px at 55% 20%, #11114270, transparent), radial-gradient(ellipse at 50% 68%, #38066355, transparent 55%), var(--bg);
}
.app::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(155deg, transparent 33%, #422c9f0a 34%, transparent 35%), radial-gradient(ellipse at 0 55%, #be13ff0b, transparent 50%); }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.utility-button { display: grid; place-items: center; border: 0; background: transparent; color: #c0a4f4; width: 40px; height: 40px; border-radius: 12px; }
.utility-button .icon { width: 21px; height: 21px; }
.crown-button { color: #ffca62; }
.crown-button .icon { fill: #ffca62; stroke-width: 1.2; filter: drop-shadow(0 0 5px #fa843a45); }
.prototype { font: 10px "Segoe UI", sans-serif; color: #9884b4; }
main { flex: 1; min-width: 0; }
.hero { position: relative; text-align: center; padding: 9px 0 0; }
.brand-lockup { position: relative; z-index: 1; margin: 0 auto; width: min(100%, 318px); aspect-ratio: 253 / 153; font-size: 0; }
.brand-logo { width: 100%; height: 100%; display: block; object-fit: contain; }
.tagline { position: relative; z-index: 1; margin: 4px 0 0; color: #f1e6ff; font-size: 13px; line-height: 1.6; font-weight: 600; }
.background-card { position: absolute; z-index: -1; color: #9d24f7; border: 2px solid #6724a64a; background: #290c4d20; border-radius: 10px; pointer-events: none; }
.card-question { left: -7px; top: 43px; width: 47px; height: 64px; transform: rotate(22deg); font-size: 40px; font-weight: 800; opacity: .38; }
.card-friends { right: -3px; bottom: 13px; width: 51px; height: 59px; display: grid; place-items: center; transform: rotate(-19deg); opacity: .3; border-color: #4620af; }
.card-friends .icon { width: 30px; height: 30px; }
.actions { display: grid; gap: 15px; margin-top: 28px; }
.button { width: 100%; min-width: 0; min-height: 80px; display: flex; align-items: center; gap: 13px; border-radius: 22px; border: 1px solid #8265da80; padding: 17px 17px; text-align: left; font-size: 17px; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.button:active { transform: scale(.975); }
.button-primary { color: #23052e; background: linear-gradient(180deg, #ff87fa 0%, #fd49f9 32%, #ed23f8 72%, #c81dec 100%); border-color: #ffa1fb; box-shadow: inset 0 2px 2px #ffd7ff88, inset 0 -3px 6px #9200b14d, 0 6px 22px #e300fb33; }
.button-icon { width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; color: #f4e8ff; }
.button-icon .icon { width: 29px; height: 29px; }
.button-primary .button-icon { border-radius: 50%; background: linear-gradient(160deg, #fff5ff, #f8b4ff); color: #a21cba; box-shadow: 0 3px 8px #ad0bba45; }
.button-primary .button-icon .icon { width: 24px; height: 24px; stroke-width: 2.5; }
.button-copy { min-width: 0; line-height: 1.2; }
.button small { display: block; font-size: 11px; line-height: 1.5; margin-top: 5px; color: #cbb8ed; font-weight: 400; }
.button-primary small { color: #4b0e58; font-weight: 600; }
.action-arrow { margin-left: auto; width: 16px; height: 16px; opacity: .85; flex-shrink: 0; }
.button-secondary, .button-rules { background: linear-gradient(120deg, #1f1548, #1a103b 60%, #241355); box-shadow: inset 0 1px 1px #b69bff18, inset 0 -5px 14px #4225bc24, 0 5px 14px #0002; }
.button-secondary { border-color: #8063d5a3; }
.button-rules { border-color: #8363c99c; }
.button-secondary .button-icon { border-radius: 12px; background: #7c4bf31a; }
.menu-note { text-align: center; color: #9b82b9; font-size: 10px; line-height: 1.6; margin: 24px 0; }
.footer { margin: 25px -20px 0; padding: 0 10px 10px; border: 1px solid #69429b55; border-bottom: 0; border-radius: 27px 27px 0 0; background: linear-gradient(180deg, #100828eb, #0b061f); }
.bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding-top: 8px; }
.nav-item { min-width: 0; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px 1px; border: 0; border-radius: 14px; background: transparent; font: 10px "Segoe UI", sans-serif; color: #a591d4; transition: color .15s ease, background-color .15s ease; }
.nav-item .icon { width: 25px; height: 25px; color: #8861d0; }
.nav-item.active { color: #ff88fa; }
.nav-item.active .icon { fill: #ee52ef; stroke: #f27af4; filter: drop-shadow(0 0 7px #f72dff55); }
dialog { padding: 0; width: min(420px, calc(100% - 28px)); max-height: calc(100vh - 32px - var(--safe-top) - var(--safe-bottom)); max-height: calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom)); border: 1px solid #a568e28c; border-radius: 25px; color: var(--text); background: radial-gradient(ellipse at top left, #67339533, transparent 65%), #170d2d; box-shadow: 0 25px 90px #0008; overscroll-behavior: contain; overflow-wrap: anywhere; }
dialog::backdrop { background: #050112d9; }
dialog[open] { animation: modal-in .18s ease-out; }
.modal-inner { padding: 20px 23px 24px; }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.modal-eyebrow { font-size: 10px; color: #ca9fef; }
.close-button { border: 1px solid #b189cc33; background: #ffffff05; border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; color: #dfcbee; }
.close-button .icon { width: 18px; height: 18px; }
.modal-symbol { width: 51px; height: 51px; display: grid; place-items: center; color: #eab0ff; background: #c379ff17; border: 1px solid #be88ff3d; border-radius: 16px; margin: 9px 0 18px; }
h2 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 12px; line-height: 1.2; }
.modal-description { font: 13px/1.7 "Segoe UI", sans-serif; color: #c6b3d9; margin: 0 0 18px; }
.rules-list { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: rules; display: grid; gap: 15px; }
.rules-list li { display: flex; gap: 12px; counter-increment: rules; font: 12px/1.65 "Segoe UI", sans-serif; color: #bdabcd; }
.rules-list li::before { content: counter(rules); font-size: 11px; color: #f3baff; background: #b742ed20; border: 1px solid #ce71ee40; flex-shrink: 0; border-radius: 10px; width: 29px; height: 29px; display: grid; place-items: center; }
.rules-list strong { display: block; color: #f7eaff; font-weight: 600; margin-bottom: 2px; }
.notice { border: 1px solid #7c648e55; border-radius: 12px; padding: 14px; background: #ffffff03; color: #baa7cd; font: 12px/1.7 "Segoe UI", sans-serif; margin-bottom: 20px; }
.notice strong { color: #e6c8f6; font-weight: 600; }
.modal-confirm { min-height: 52px; justify-content: center; text-align: center; font-size: 14px; border-radius: 16px; }
.version-line { font-size: 10px; color: #aa90c2; margin: 0 0 18px; }
body.modal-open { overflow: hidden; }
@media (hover: hover) { .button:hover { transform: translateY(-2px); border-color: #d08cff; box-shadow: 0 5px 22px #b023ef35; } .button-primary:hover { border-color: #ffdcff; box-shadow: 0 7px 25px #eb23ff50; } .nav-item:hover, .utility-button:hover, .close-button:hover { background-color: #b56dff12; color: #f8d6ff; } }
@media (min-width: 600px) { body { padding: 24px 0; } .app { min-height: max(760px, calc(100svh - 48px)); border: 1px solid #7d36ce70; border-radius: 32px; overflow: clip; box-shadow: 0 20px 80px #0006; } }
@media (min-height: 780px) { .hero { padding-top: 22px; } .brand-lockup { width: min(100%, 330px); } .actions { margin-top: 36px; gap: 17px; } .button { min-height: 85px; } }
@media (max-width: 350px) { .app { padding-left: 15px; padding-right: 15px; } .footer { margin-left: -15px; margin-right: -15px; } .button { padding: 15px 12px; gap: 9px; font-size: 15px; border-radius: 19px; } .button small { font-size: 10px; } .tagline { font-size: 11px; } .nav-item { font-size: 9px; } .modal-inner { padding: 18px; } }
@media (max-height: 700px) { .hero { padding-top: 0; } .brand-lockup { width: min(85%, 260px); } .actions { margin-top: 21px; gap: 11px; } .button { min-height: 72px; padding-top: 14px; padding-bottom: 14px; } .menu-note { margin: 16px 0; } .footer { margin-top: 18px; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
