* { box-sizing: border-box; }
:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1e293b; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left,#fde68a,transparent 30%),radial-gradient(circle at bottom right,#67e8f9,transparent 32%),linear-gradient(135deg,#fff7ed,#fdf2f8); }
button, input { font: inherit; }
#app { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.card { width: min(100%, 448px); overflow: hidden; border-radius: 32px; background: rgba(255,255,255,.95); box-shadow: 0 24px 60px rgba(15,23,42,.18); animation: enter .28s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.color-strip { height: 12px; background: linear-gradient(90deg,#ec4899,#fb923c,#06b6d4); }
.content { padding: 28px; }
.centered { text-align: center; }
h1 { margin: 0; font-size: clamp(2.25rem,8vw,3rem); line-height: 1.05; font-weight: 900; letter-spacing: -.04em; }
h2 { margin: 0; font-size: 1.85rem; line-height: 1.18; font-weight: 900; letter-spacing: -.025em; }
.hero-emoji { font-size: 4.5rem; margin-bottom: 14px; }
.name-emoji { font-size: 3.25rem; margin-bottom: 18px; }
.subtitle { color: #64748b; line-height: 1.5; margin: 16px 0 0; }
.small-subtitle { font-size: .9rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.stats div { border-radius: 18px; padding: 12px; }
.stats div:first-child { background: #fff7ed; }
.stats div:last-child { background: #ecfeff; }
.stats strong { display: block; }
.stats span { display: block; margin-top: 3px; color: #64748b; font-size: .75rem; }
.small { color: #64748b; font-size: .75rem; margin: 15px 0 0; }
.button { width: 100%; min-height: 56px; border: 0; border-radius: 18px; padding: 14px 18px; cursor: pointer; font-weight: 800; font-size: 1.05rem; transition: transform .12s, filter .12s; }
.button:active { transform: scale(.985); }
.button:disabled { cursor: not-allowed; opacity: .4; }
.primary { color: white; background: #f97316; box-shadow: 0 10px 25px rgba(249,115,22,.27); }
.secondary { color: white; background: #ec4899; }
.share { color: white; background: #0891b2; margin-top: 14px; }
.outline { color: #1e293b; background: white; border: 2px solid #e2e8f0; margin-top: 12px; }
input { width: 100%; height: 56px; border: 2px solid #e2e8f0; border-radius: 18px; padding: 0 16px; margin: 24px 0 12px; font-size: 1.05rem; outline: none; }
input:focus { border-color: #ec4899; box-shadow: 0 0 0 4px rgba(236,72,153,.12); }
.progress-label { display: flex; justify-content: space-between; gap: 12px; color: #64748b; font-size: .86rem; font-weight: 700; }
.progress-track { height: 12px; border-radius: 999px; overflow: hidden; background: #f1f5f9; margin: 12px 0 26px; }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#fb923c,#ec4899,#06b6d4); transition: width .25s ease; }
.question { margin-bottom: 24px; }
.answers { display: grid; gap: 12px; }
.answer { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 12px; border: 2px solid #f1f5f9; border-radius: 18px; padding: 13px 15px; background: white; color: #1e293b; text-align: left; cursor: pointer; font-weight: 700; box-shadow: 0 3px 10px rgba(15,23,42,.04); }
.answer:hover { border-color: #fdba74; background: #fff7ed; }
.answer-letter { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 999px; background: #f1f5f9; font-size: .82rem; }
.sparkle { color: #f97316; font-size: 1.8rem; }
.result-intro { color: #64748b; font-weight: 700; font-size: 1.08rem; }
.result-emoji { font-size: 4.6rem; margin: 10px 0; }
.category { text-transform: uppercase; }
.score-circle { width: 116px; height: 116px; margin: 21px auto; display: grid; place-items: center; color: white; border-radius: 50%; background: linear-gradient(135deg,#fb923c,#ec4899); box-shadow: 0 13px 28px rgba(236,72,153,.25); }
.score-circle strong { font-size: 2rem; }
.score-circle small { font-size: 1rem; }
.description { color: #64748b; font-size: 1.05rem; line-height: 1.45; }
.share-preview { margin-top: 20px; padding: 14px; border-radius: 16px; background: #f8fafc; text-align: left; }
.share-preview span { display: block; color: #64748b; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.share-preview pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #334155; font: inherit; font-size: .88rem; line-height: 1.45; }
.copy-status { color: #0e7490; font-size: .86rem; font-weight: 800; margin: 10px 0 -4px; }
@media (max-width: 380px) { .content { padding: 22px; } h1 { font-size: 2.15rem; } h2 { font-size: 1.55rem; } .answer { padding: 11px 13px; } }
