@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{--navy:#07134f;--ink:#101b58;--cyan:#45eaff;--pink:#ff68d8;--violet:#9874ff;--glass:rgba(9,23,94,.72)}*{box-sizing:border-box}html{min-height:100%;background:#09165b}body{margin:0;min-height:100vh;color:white;font-family:'Nunito Sans',sans-serif;background-image:linear-gradient(90deg,rgba(7,16,77,.28),rgba(12,21,92,.1)),url('assets/backgrounds/stage-desktop.webp');background-position:center;background-size:cover;background-attachment:fixed;overflow-x:hidden}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,transparent 30%,rgba(2,8,49,.35) 100%);z-index:0}.brand{position:absolute;top:22px;left:4.5%;z-index:2;text-shadow:0 2px 12px #10145e}.brand-mark{font:800 20px Outfit;letter-spacing:.02em}.brand-mark b{display:block;font-size:25px;line-height:1}.brand>span{font-size:12px;font-weight:900;letter-spacing:.22em;color:#d8eaff}main{position:relative;z-index:1;max-width:1440px;margin:auto;min-height:calc(100vh - 45px);padding:32px 5% 24px} .screen{min-height:calc(100vh - 80px)}.hidden{display:none!important}.start-screen{display:grid;grid-template-columns:1fr 1.02fr;align-items:center;gap:3%;padding-top:70px}.hero-copy{max-width:650px;padding:20px 0}.eyebrow,.question-kicker{font-size:13px;font-weight:900;letter-spacing:.18em;color:#a6f7ff;text-shadow:0 0 16px #26dfff}.hero-copy h1{font:900 clamp(42px,5.2vw,76px)/.99 Outfit;margin:18px 0;color:#fff;text-shadow:0 4px 24px #151c88;letter-spacing:-.04em}.hero-copy h1 em{font-style:normal;background:linear-gradient(90deg,#fff,#ffc5fa 48%,#a5f8ff);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy p{font-size:clamp(16px,1.45vw,21px);max-width:550px;line-height:1.45;color:#eef5ff;text-shadow:0 2px 10px #07104d}.chips{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 30px}.chips span{border:1px solid #b5dfff99;background:#172b83a6;border-radius:30px;padding:8px 14px;font-size:13px;font-weight:800;box-shadow:inset 0 0 15px #7bdfff25}.cta{border:0;border-radius:50px;padding:15px 30px;color:white;font:900 23px Outfit;cursor:pointer;background:linear-gradient(105deg,#1bbdff,#7862ff 55%,#f34ecb);box-shadow:0 0 0 3px #b9f7ff88,0 0 28px #5ce9ffb5,inset 0 2px 5px #fff9;transition:.18s}.cta:hover{transform:translateY(-3px);filter:brightness(1.12)}.cta b{font-size:32px;vertical-align:-2px;margin-left:20px}.unit-panels{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;align-items:stretch;transform:perspective(900px) rotateY(-5deg)}.unit-card{min-height:330px;display:flex;flex-direction:column;justify-content:flex-end;padding:16px 10px;border:1px solid #fff9;border-radius:15px;box-shadow:0 10px 24px #020a3b77,inset 0 0 35px #fff2;font:900 clamp(14px,1.4vw,20px) Outfit;text-align:center;text-shadow:0 2px 6px #18205b;writing-mode:vertical-rl;transform:skewY(-2deg);color:white}.unit-card small{font:700 10px 'Nunito Sans';opacity:.9;margin-top:10px}.leo{background:linear-gradient(160deg,#52a6ff99,#172d94dd),radial-gradient(circle at 50% 20%,#fff8,transparent)}.mmj{background:linear-gradient(160deg,#50e9b799,#087f68dd)}.vivid{background:linear-gradient(160deg,#ff8ab899,#9e286cdd)}.wxs{background:linear-gradient(160deg,#ffd36d99,#9d6416dd)}.nightcord{background:linear-gradient(160deg,#b49aff99,#33236fdd)}.quiz-screen{padding-top:22px;max-width:1080px;margin:auto}.quiz-top{display:flex;justify-content:space-between;align-items:center;margin:8px 0 15px}.brand-mini{font:900 17px Outfit;text-shadow:0 2px 8px #06104d}.brand-mini b{color:#b8faff}.counter{border:1px solid #b6efff99;background:#10266fc9;border-radius:30px;padding:10px 20px;font:800 15px Outfit}.progress{height:8px;background:#d9f4ff55;border-radius:20px;overflow:hidden;margin-bottom:25px}.progress i{display:block;height:100%;width:10%;background:linear-gradient(90deg,#50eaff,#f05dd8);border-radius:20px;box-shadow:0 0 12px #70edff;transition:width .3s}.question-card{min-height:235px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:38px 7%;background:linear-gradient(120deg,#ffffffed,#e9f5ffed);color:#101a56;clip-path:polygon(5% 0,95% 0,100% 50%,95% 100%,5% 100%,0 50%);border:4px solid #9af6ff;box-shadow:0 0 0 3px #f4aaff,0 12px 40px #06104d99}.question-kicker{color:#5663b6;text-shadow:none}.question-card h2{font:800 clamp(27px,3.3vw,44px)/1.18 Outfit;margin:20px 0 0;max-width:850px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:35px 1% 0}.answer{min-height:100px;border:3px solid #eafaff;border-radius:20px;display:flex;align-items:center;gap:20px;padding:18px 24px;color:#101a59;font:800 clamp(17px,1.8vw,23px) Outfit;cursor:pointer;box-shadow:0 5px 20px #020b4c55,inset 0 0 20px #ffffff4d;transition:.16s;text-align:left}.answer:nth-child(1){background:linear-gradient(120deg,#55caffdd,#a2eaffdd)}.answer:nth-child(2){background:linear-gradient(120deg,#ff80d2dd,#ffc2ebdd)}.answer:nth-child(3){background:linear-gradient(120deg,#58e3d5dd,#b2fff1dd)}.answer:nth-child(4){background:linear-gradient(120deg,#a98bffdd,#e0c8ffdd)}.answer:hover{transform:translateY(-3px) scale(1.01);box-shadow:0 0 0 3px #fff,0 0 24px #62eaff}.answer .spark{font-size:27px;color:white;text-shadow:0 1px 5px #5261a0}.quiz-foot{display:flex;justify-content:space-between;margin:24px 4px;color:#d9edff;font-size:12px;font-weight:800;letter-spacing:.12em}.result-screen{padding-top:18px}.result-head{text-align:center;margin-bottom:20px}.result-head span{color:#aaf8ff;letter-spacing:.22em;font-weight:900;font-size:12px}.result-head h2{font:900 32px Outfit;margin:5px 0;text-shadow:0 3px 15px #06104d}.result-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.5fr);gap:25px;align-items:stretch}.portrait-wrap{position:relative;min-height:540px;padding:22px 20px 20px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid #b7faffaa;border-radius:24px;background:linear-gradient(0deg,#07164ff2 0%,#0b1c7b65 48%,#18258b12 100%);box-shadow:0 0 30px #28cfff3d}.portrait-glow{position:absolute;width:75%;aspect-ratio:1;border-radius:50%;top:4%;left:12%;background:radial-gradient(circle,#8bdfff66,transparent 68%);filter:blur(10px)}.portrait-wrap img{position:absolute;z-index:1;max-height:83%;max-width:95%;width:auto;height:auto;object-fit:contain;object-position:center bottom;bottom:105px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 12px 20px #030a4e88)}.persona-tag{position:relative;z-index:2;align-self:flex-start;background:#f4fbff;color:#23327e;padding:6px 13px;border-radius:5px;font:900 12px Outfit;transform:skew(-8deg)}.portrait-wrap h3{position:relative;z-index:2;margin:8px 0 5px;font:900 clamp(24px,2.6vw,34px) Outfit;background:linear-gradient(90deg,#fff,#ffc4f4,#bafaff);color:transparent;background-clip:text}.portrait-wrap p{position:relative;z-index:2;margin:0;color:#edf4ff;line-height:1.35;font-size:14px;text-shadow:0 2px 6px #07104d}.result-info{min-width:0}.unit-match{display:flex;justify-content:space-between;align-items:center;border:1px solid #aaf3ff;background:linear-gradient(110deg,#152b86e8,#492d91d9);border-radius:18px;padding:15px 20px;box-shadow:0 0 18px #4deaff45}.unit-match small{font-size:11px;font-weight:900;letter-spacing:.16em;color:#b9f8ff}.unit-match h2{font:900 clamp(24px,3vw,40px) Outfit;margin:3px 0 0}.match-score{text-align:center;border:2px solid #c7faff;border-radius:14px;padding:6px 15px;background:linear-gradient(140deg,#317eff,#9d4dff)}.match-score b{display:block;font:900 28px Outfit}.match-score small{font-size:10px}.summary{font-size:15px;line-height:1.5;background:linear-gradient(110deg,#f4fbffed,#f8eaffed);color:#16215f;padding:17px 20px;border-radius:13px;margin:13px 0;font-weight:700}.trait-core{display:grid;grid-template-columns:1fr 1fr;gap:13px}.trait-panel,.core-panel{border:1px solid #9ceeff;background:#091b67d9;border-radius:18px;padding:15px 16px;box-shadow:inset 0 0 24px #8b8eff20}.trait-panel h3,.core-panel h3,.alternatives h3{font:900 17px Outfit;margin:0 0 12px;color:#fff}.trait-row{display:grid;grid-template-columns:90px 1fr 38px;align-items:center;gap:7px;margin:10px 0;font-size:12px;font-weight:800}.bar{height:12px;border-radius:20px;background:#7586c966;overflow:hidden}.bar i{height:100%;display:block;border-radius:20px;background:linear-gradient(90deg,#4ceaff,#fa73d8)}.trait-row b{text-align:right;font-size:12px}.core-row{display:grid;grid-template-columns:92px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid #b9eaff33;font-size:12px;line-height:1.3}.core-row:last-child{border:0}.core-row strong{color:#aaf6ff}.alternatives{margin-top:14px}.other-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.other-card{border:1px solid #b9eaff99;background:#102878d9;border-radius:12px;padding:10px;text-align:center}.other-card b{display:block;font:800 13px Outfit}.other-card small{color:#c5eaff;font-weight:800}.share-row{display:flex;justify-content:center;align-items:center;gap:12px;margin:22px 0 12px}.share-main{font-size:20px;padding:12px 26px}.social{width:46px;height:46px;border-radius:12px;border:1px solid #fff;background:#ff5b1e;color:white;font:900 23px Outfit;cursor:pointer;box-shadow:0 3px 12px #06104d88}.social.x{background:#050505}.social.whatsapp{background:#13bd66}.social.link{background:#52617c}.bottom-actions{display:flex;justify-content:center;gap:25px;align-items:center}.secondary{border:1px solid #c2f8ff;background:#152d7c;color:white;border-radius:25px;padding:10px 22px;font-weight:900;cursor:pointer}.bottom-actions a{color:#dffaff;font-weight:800;text-decoration:none}footer{position:relative;z-index:1;text-align:center;color:#d0e5ff99;font-size:10px;padding:12px 20px 18px;letter-spacing:.04em}
@media(max-width:800px){body{background-image:linear-gradient(180deg,#08165b30,#08165b50),url('assets/backgrounds/stage-mobile.webp');background-position:center top;background-size:cover;background-attachment:scroll}.brand{top:15px;left:18px}.brand-mark{font-size:15px}.brand-mark b{font-size:19px}.brand>span{font-size:9px}main{padding:86px 16px 20px}.screen{min-height:calc(100svh - 125px)}.start-screen{display:flex;flex-direction:column;justify-content:center;gap:24px;padding-top:10px}.hero-copy{text-align:center;padding:10px 0 0}.hero-copy h1{font-size:clamp(38px,10vw,58px);margin:13px 0}.hero-copy p{font-size:15px;margin:0 auto;max-width:470px}.eyebrow{font-size:10px}.chips{justify-content:center;gap:7px;margin:16px 0 20px}.chips span{font-size:10px;padding:7px 10px}.cta{font-size:20px;padding:13px 25px}.cta b{font-size:26px;margin-left:12px}.unit-panels{width:100%;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;transform:none}.unit-card{min-height:170px;padding:8px 3px;border-radius:9px;font-size:clamp(9px,2.7vw,13px)}.unit-card small{font-size:7px}.quiz-screen{padding-top:0}.quiz-top{gap:10px}.brand-mini{font-size:12px}.counter{font-size:11px;padding:8px 11px}.progress{margin-bottom:17px}.question-card{min-height:190px;padding:28px 8%;clip-path:polygon(4% 0,96% 0,100% 50%,96% 100%,4% 100%,0 50%)}.question-card h2{font-size:clamp(23px,6vw,32px);margin-top:14px}.question-kicker{font-size:10px}.answers{grid-template-columns:1fr;gap:11px;margin:20px 0 0}.answer{min-height:70px;padding:13px 17px;font-size:16px;border-radius:15px}.answer .spark{font-size:21px}.quiz-foot{font-size:9px;letter-spacing:.06em;margin-top:17px}.result-screen{padding-top:0}.result-head{margin-bottom:12px}.result-head h2{font-size:25px}.result-layout{grid-template-columns:1fr;gap:13px}.portrait-wrap{min-height:420px;max-height:490px;padding:15px}.portrait-wrap img{max-height:82%;bottom:95px}.portrait-wrap h3{font-size:28px}.portrait-wrap p{font-size:13px}.unit-match{padding:12px 14px}.unit-match h2{font-size:27px}.match-score b{font-size:24px}.summary{font-size:13px;padding:13px 15px}.trait-core{grid-template-columns:1fr;gap:10px}.trait-panel,.core-panel{padding:13px}.trait-row{grid-template-columns:90px 1fr 34px;margin:8px 0}.core-row{grid-template-columns:90px 1fr}.other-grid{grid-template-columns:repeat(3,1fr)}.other-card{padding:8px 4px}.other-card b{font-size:11px}.share-row{gap:8px;flex-wrap:wrap;margin:18px 0 12px}.share-main{width:100%;max-width:320px;order:-1}.social{width:42px;height:42px}.bottom-actions{flex-wrap:wrap;gap:13px;font-size:12px}footer{font-size:9px}}
@media(max-width:380px){main{padding-left:12px;padding-right:12px}.unit-card{min-height:145px}.portrait-wrap{min-height:380px}.trait-row{grid-template-columns:78px 1fr 32px;font-size:11px}.core-row{grid-template-columns:82px 1fr}.other-card b{font-size:10px}}

/* v2 refinements: compact desktop start/question screens and visual alternative matches */
@media (min-width:801px){
  main{max-width:1280px;padding:24px 4% 18px}
  .start-screen{min-height:650px;padding-top:54px;gap:3.5%}
  .hero-copy{max-width:560px;padding:8px 0}
  .hero-copy h1{font-size:clamp(38px,4.1vw,60px);margin:13px 0}
  .hero-copy p{font-size:clamp(15px,1.15vw,18px);max-width:490px}
  .chips{margin:17px 0 21px;gap:8px}
  .chips span{font-size:12px;padding:7px 11px}
  .cta{font-size:20px;padding:13px 26px}
  .cta b{font-size:27px;margin-left:14px}
  .unit-panels{gap:8px}
  .unit-card{min-height:265px;padding:12px 7px}
  .quiz-screen{max-width:930px;padding-top:12px}
  .quiz-top{margin:4px 0 11px}
  .progress{margin-bottom:18px}
  .question-card{min-height:185px;padding:27px 7%}
  .question-card h2{font-size:clamp(25px,2.7vw,36px);margin-top:13px}
  .answers{gap:12px;margin:23px 1% 0}
  .answer{min-height:82px;padding:14px 20px;font-size:clamp(16px,1.45vw,20px)}
  .quiz-foot{margin-top:16px}
}
#otherMatches .other-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#otherMatches .other-card{min-width:0;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;padding:9px 8px 11px;overflow:hidden;background:linear-gradient(180deg,#17398bd9,#101e68f2)}
#otherMatches .other-card img{display:block;width:100%;height:104px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 8px #020a4d88)}
#otherMatches .other-card b{font:800 13px Outfit;line-height:1.15}
#otherMatches .other-card small{font-size:11px;text-align:center}
@media(max-width:800px){
  #otherMatches .other-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  #otherMatches .other-card{min-height:125px;padding:6px 4px 8px}
  #otherMatches .other-card img{height:78px}
  #otherMatches .other-card b{font-size:11px}
  #otherMatches .other-card small{font-size:9px}
}

/* Explicitly identify the matched character, separately from the persona archetype */
.character-match-label{position:relative;z-index:2;margin-top:9px;color:#aaf6ff;font-size:10px;font-weight:900;letter-spacing:.16em;text-shadow:0 2px 6px #07104d}
.character-name{position:relative;z-index:2;margin-top:2px;font:900 clamp(22px,2.1vw,29px)/1.05 Outfit;color:#fff;text-shadow:0 2px 12px #07104d,0 0 18px #55dfff}
.portrait-wrap h3{margin-top:5px}

/* v4: show the matched character name once, directly under the main result heading */
.result-character-name{margin:3px auto 0;font-size:clamp(22px,2.2vw,30px);line-height:1.05;color:#fff;text-shadow:0 2px 12px #07104d,0 0 18px #55dfff}
.character-match-label{display:none!important}

/* Answer-derived character similarity scores */
#otherMatches .similarity-score{display:block;margin-top:3px;color:#aaf6ff;font:900 12px Outfit}
.similarity-note{margin:9px 2px 0;color:#c9ddffb8;font-size:10px;line-height:1.4}
.match-score small{letter-spacing:.08em}
