:root {
  --purple: #6433c9;
  --deep: #271044;
  --lime: #d6ef78;
  --paper: #fbf8f1;
  --ink: #2a2038;
  --muted: #635b6c;
  font-family:
    Inter, "Avenir Next", "Segoe UI", "Noto Sans", "Microsoft YaHei",
    "Yu Gothic", "Malgun Gothic", Mangal, sans-serif;
}
body {
  background:
    radial-gradient(ellipse at 100% 5%, #ebe3ff70, transparent 32%),
    var(--paper);
}
body:has(.cosmic-hero) main {
  padding-top: 26px;
}
.site-header {
  gap: 20px;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #39224a17;
}
.site-header .brand {
  color: #42206b;
  font-weight: 800;
  letter-spacing: -1.8px;
}
.brand svg {
  color: #8252de;
}
.site-header nav a[aria-current] {
  background: #e9dffa;
  color: #492386;
  border-radius: 20px;
  padding: 7px 12px;
}
.language-picker {
  position: relative;
  flex-shrink: 0;
  font-size: 13px;
}
.language-picker summary {
  cursor: pointer;
  padding: 9px 12px;
  border: 1px solid #cec3db;
  border-radius: 30px;
  list-style: none;
  background: #fff9;
}
.language-picker summary::-webkit-details-marker {
  display: none;
}
.language-picker > div {
  position: absolute;
  right: 0;
  top: 48px;
  width: 210px;
  padding: 10px;
  border: 1px solid #c6b4d8;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 16px 48px #34215922;
  display: grid;
  gap: 2px;
}
.language-picker a {
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 9px;
}
.language-picker a:hover,
.language-picker a[aria-current] {
  background: #eee4ff;
  color: #492386;
}
.button {
  border-radius: 14px;
  box-shadow: 0 4px 0 #28174016;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #2817401c;
}
.button:active {
  transform: translateY(1px);
}
.cosmic-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  isolation: isolate;
  min-height: 585px;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 73% 23%, #624498, transparent 55%), #26113f;
  color: #fcf6ed;
  box-shadow: 0 12px 30px #36204d14;
}
.cosmic-hero:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image: radial-gradient(#e3caff 1px, transparent 1px);
  background-size: 61px 67px;
}
.cosmic-copy {
  padding: 65px 0 62px 48px;
  align-self: center;
  z-index: 2;
}
.cosmic-copy .eyebrow {
  color: #d2c0ef;
  font-size: 11px;
  letter-spacing: 1.5px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #d6ef78;
  border-radius: 50%;
  box-shadow: 0 0 14px #d6ef7870;
  flex-shrink: 0;
}
.cosmic-copy h1 {
  font-size: clamp(46px, 5.8vw, 80px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.04;
  margin: 23px 0;
  color: #fff8ed;
}
.cosmic-copy h1 em {
  font-family: Georgia, serif;
  color: #d6ef78;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.cosmic-copy > p {
  color: #e0d2ec;
  font-size: 17px;
  max-width: 420px;
  line-height: 1.7;
}
.cosmic-cta {
  background: #d6ef78;
  color: #26113f !important;
  margin-top: 28px;
  min-width: 187px;
  justify-content: space-between;
  font-weight: 750;
  border: 1px solid #e4ff92;
}
.cosmic-copy .hero-fine {
  font-size: 12px;
  color: #d2c0e6;
  margin-top: 17px;
}
.cosmic-stage {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 36px 32px 36px 0;
}
.orbit-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.88;
}
.floating-persona {
  position: relative;
  width: 268px;
  min-height: 368px;
  margin-top: 18px;
  padding: 26px 26px 22px;
  border-radius: 19px;
  background: linear-gradient(140deg, #e9deff, #c7b1f2);
  color: #311946;
  border: 1px solid #fff7;
  transform: rotate(8deg);
  box-shadow:
    8px 17px 0 #140b2633,
    0 22px 44px #180c3360;
}
.floating-persona .eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #573777;
}
.persona-glyph {
  font-size: 96px;
  line-height: 1.28;
  text-align: center;
  color: #6139a4;
  text-shadow: 2px 3px #f2e8ff;
}
.floating-persona .type-code {
  display: inline-block;
  font:
    700 10px/1.5 ui-monospace,
    monospace;
  letter-spacing: 2px;
  background: #efe6fc;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.floating-persona h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.floating-persona p {
  font-size: 14px;
  color: #4a315e;
  line-height: 1.5;
  min-height: 43px;
}
.floating-persona .mini-brand {
  display: block;
  text-align: right;
  margin-top: 23px;
  font-size: 13px;
}
.orbit-sticker {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 15px #1c103538;
  line-height: 1.2;
}
.sticker-a {
  top: 20%;
  left: 0;
  background: #ffb298;
  color: #4f231f;
  border-radius: 50%;
  width: 104px;
  height: 104px;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 29px;
  font-weight: 750;
  transform: rotate(-12deg);
  gap: 0;
}
.sticker-a span {
  font-size: 10px;
  max-width: 80px;
  font-weight: 500;
}
.sticker-b {
  bottom: 15%;
  right: 17px;
  max-width: 182px;
  background: #d6ef78;
  color: #302544;
  border: 2px solid #eefbbd;
  border-radius: 15px;
  padding: 15px;
  font-size: 28px;
  transform: rotate(-9deg);
}
.sticker-b span {
  font-size: 12px;
  max-width: 118px;
  font-weight: 650;
}
.interest-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 38px;
}
.interest-ribbon a {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d3c8dc;
  background: #fffcf8;
  font-size: 12px;
  padding: 8px 13px;
  border-radius: 24px;
  text-decoration: none;
}
.interest-ribbon a span {
  color: #7744be;
  font-size: 17px;
}
.interest-ribbon a:hover {
  background: #eee4fd;
}
.discovery-section .section-heading h2 {
  font-size: clamp(27px, 3.2vw, 39px);
}
.test-grid {
  gap: 19px;
}
.test-card {
  position: relative;
  border-radius: 23px;
  padding: 26px;
  min-height: 332px;
  background: var(--tile);
  border: 1px solid #2e183f24;
  box-shadow: 0 5px 0 #35204e10;
  overflow: hidden;
}
.test-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 10px 0 #35204e14;
}
.test-card:after {
  content: "";
  position: absolute;
  top: 50px;
  right: -38px;
  width: 150px;
  height: 150px;
  border: 1px solid #34215920;
  border-radius: 50%;
  box-shadow:
    0 0 0 18px #ffffff17,
    0 0 0 36px #ffffff12;
  pointer-events: none;
}
.test-card .card-symbol {
  position: relative;
  z-index: 1;
  font-size: 64px;
  color: #392052;
  line-height: 1.2;
  margin: 16px 0;
}
.test-card h3 {
  font-size: 24px;
  max-width: 95%;
  line-height: 1.15;
  margin-bottom: 12px;
}
.test-card p {
  color: #43324e;
  font-size: 14px;
  line-height: 1.55;
}
.test-card .card-number {
  font-size: 10px;
  letter-spacing: 1px;
  color: #442c58;
}
.test-card .card-link {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid #38234426;
  padding-top: 14px;
  width: 100%;
}
.connection-banner {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  align-items: center;
  gap: 45px;
  padding: 48px;
  background: #f3dfd3;
  border: 1px solid #e7cbbd;
  border-radius: 26px;
  margin: 54px 0;
}
.connection-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 170px;
}
.connection-art > span {
  height: 150px;
  width: 122px;
  display: grid;
  place-items: center;
  font-size: 80px;
  color: #462276;
  background: #d0b6f3;
  border: 1px solid #a88bcf;
  border-radius: 17px;
  transform: rotate(-13deg);
  box-shadow: 4px 6px 0 #40215112;
}
.connection-art > span:last-child {
  background: #d6ef78;
  border-color: #a3bd53;
  transform: rotate(13deg);
  margin-left: 24px;
}
.connection-art i {
  position: absolute;
  z-index: 2;
  left: calc(50% - 25px);
  top: 55px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fd826c;
  border: 4px solid #f3dfd3;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  color: #54252a;
}
.connection-banner h2 {
  font-size: clamp(24px, 2.9vw, 34px);
  margin: 13px 0 22px;
  line-height: 1.22;
  max-width: 560px;
}
.ritual-card {
  border-radius: 22px;
  min-height: 170px;
  padding: 27px;
  align-items: center;
  box-shadow: none;
}
.ritual-card h2 {
  font-size: 23px;
}
.ritual-card p {
  font-size: 14px;
  margin-top: 12px;
}
.tarot-teaser {
  background: #322045;
  color: #fcf4e6;
  border-color: #503367;
}
.tarot-teaser:hover {
  color: #e0faa1;
  background: #402756;
}
.tarot-teaser > span {
  color: #d6ef78;
}
.tarot-teaser p {
  color: #d8c6e5;
}
.zodiac-teaser {
  background: #f8d786;
  border-color: #e1bd69;
}
.zodiac-teaser > span {
  color: #75412d;
}
.universe-invite {
  margin: 54px 0 14px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 32px;
  border: 1px solid #dac8ea;
  border-radius: 23px;
  background: linear-gradient(110deg, #e9def9, #f7eff8);
}
.universe-invite > span {
  font-size: 62px;
  color: #8257c5;
  line-height: 1;
}
.universe-invite h2 {
  font-size: 27px;
  margin-bottom: 7px;
}
.universe-invite .button {
  margin-left: auto;
  flex-shrink: 0;
}
.tool-head {
  position: relative;
}
.quiz-intro {
  border-left: 4px solid #8c5bd1;
  padding-left: 22px;
}
.quiz-panel {
  border-color: #cdbce4;
  background: #fffdf9;
  box-shadow: 0 12px 38px #34215909;
}
.quiz-panel progress {
  accent-color: #8751d2;
}
.answers label {
  border-radius: 13px;
  background: #faf7ff;
  border-color: #ddd2ea;
}
.answers label:hover {
  background: #eee2fd;
  border-color: #956dcc;
}
.answers label.selected,
.answers label:has(input:checked) {
  background: #e8d6ff;
  border-color: #7346b0;
  box-shadow: inset 3px 0 #7346b0;
}
.answers label:focus-within {
  outline: 3px solid #8e66c7;
  outline-offset: 3px;
}
.result-card {
  position: relative;
  border: 1px solid #3c205b20;
  overflow: hidden;
  padding: 30px;
  border-radius: 24px;
}
.result-card:after {
  content: "✦";
  position: absolute;
  font-size: 180px;
  line-height: 1;
  right: -15px;
  top: -8px;
  color: #ffffff35;
  pointer-events: none;
}
.result-card h2 {
  position: relative;
  z-index: 1;
}
.result-card .result-emblem {
  border: 1px solid #39235430;
  border-radius: 50%;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.result-line {
  max-width: 650px;
}
.result-detail {
  font-size: 18px;
  line-height: 1.85;
}
.life-report {
  margin: 34px 0;
  border-top: 1px solid #e0d5e8;
  padding-top: 28px;
}
.focus-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 20px;
}
.focus-tabs button {
  border: 1px solid #d4c4df;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1.4;
  padding: 9px 13px;
  background: #fffcf8;
  transition: background 0.15s;
}
.focus-tabs button[aria-pressed="true"] {
  background: #46216c;
  border-color: #46216c;
  color: #fff;
}
.focus-tabs button:hover {
  box-shadow: 0 2px 0 #45235926;
}
.focus-reading {
  padding: 27px;
  border-radius: 20px;
  border: 1px solid #d5c8e6;
  background: linear-gradient(135deg, #f0e7fc, #faf6fd);
}
.focus-reading h3 {
  margin: 18px 0 12px;
}
.focus-reading blockquote {
  margin: 20px 0;
  padding: 0 0 0 17px;
  border-left: 3px solid #9063c6;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 600;
  color: #442962;
  letter-spacing: -0.4px;
}
.focus-reading .preference-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.focus-reading .preference-line b {
  color: #513171;
}
.focus-reading .fine {
  margin-top: 18px;
  font-size: 12px;
}
.focus-reading .related {
  font-size: 13px;
  margin-top: 20px;
  gap: 20px;
}
.symbolic-focus {
  margin: 24px 0 0;
  padding: 20px;
  background: #f3eadc;
  border: 1px solid #e7d9c5;
  border-radius: 15px;
}
.symbolic-focus h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.symbolic-focus p {
  font-size: 14px;
}
.card-back {
  background: radial-gradient(ellipse at 50% 40%, #61428b, #281538);
  color: #e4ceff;
  border: 6px double #bba0dd;
  box-shadow: 8px 12px 0 #32204a12;
  transform: rotate(-4deg);
}
.drawn-card {
  background: linear-gradient(155deg, #d9c8ef, #f7e8c7);
  border: 1px solid #a487bb;
  box-shadow: 7px 9px 0 #37204c14;
}
.site-footer {
  border-top: 1px solid #dbcee4;
  background: #f0eaf3;
  border-radius: 25px 25px 0 0;
  padding: 38px;
}
:lang(zh),
:lang(ja),
:lang(ko) {
  word-break: normal;
  overflow-wrap: anywhere;
}
:lang(hi) {
  letter-spacing: normal !important;
  line-height: 1.75;
}
:lang(hi) h1,
:lang(hi) h2,
:lang(hi) h3 {
  line-height: 1.4;
  letter-spacing: normal;
}
:lang(zh) .cosmic-copy h1,
:lang(ja) .cosmic-copy h1,
:lang(ko) .cosmic-copy h1 {
  font-size: clamp(38px, 4.8vw, 65px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  max-width: 440px;
}
:lang(hi) .cosmic-copy h1 {
  font-size: clamp(36px, 4.7vw, 60px);
  line-height: 1.3;
  max-width: 460px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9766c9;
  outline-offset: 4px;
}
@media (min-width: 1000px) {
  .cosmic-stage {
    animation: float-in 0.7s ease-out both;
  }
  .floating-persona:hover {
    transform: rotate(3deg) translateY(-4px);
    transition: transform 0.25s;
  }
}
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1050px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-header nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }
  .language-picker {
    margin-left: auto;
  }
  .cosmic-copy {
    padding: 42px 0 42px 30px;
  }
  .cosmic-hero {
    min-height: 520px;
  }
  .floating-persona {
    width: 238px;
    padding: 23px;
  }
  .sticker-a {
    left: -2px;
    top: 12%;
    width: 87px;
    height: 87px;
    font-size: 25px;
  }
  .sticker-b {
    right: 8px;
    bottom: 12%;
  }
  .connection-banner {
    padding: 33px;
    gap: 28px;
  }
}
@media (max-width: 720px) {
  body:has(.cosmic-hero) main {
    padding-top: 15px;
  }
  .cosmic-hero {
    grid-template-columns: 1fr;
    border-radius: 23px;
  }
  .cosmic-copy {
    padding: 34px 27px 0;
  }
  .cosmic-copy h1 {
    font-size: 58px;
    max-width: 390px;
    margin: 18px 0;
  }
  .cosmic-copy > p {
    font-size: 16px;
  }
  .cosmic-stage {
    min-height: 375px;
    padding: 5px 0 25px;
  }
  .orbit-art {
    max-height: 390px;
  }
  .floating-persona {
    width: 210px;
    min-height: 282px;
    margin-top: 0;
    padding: 18px 21px;
    transform: rotate(7deg);
  }
  .persona-glyph {
    font-size: 63px;
  }
  .floating-persona h2 {
    font-size: 25px;
    margin-bottom: 9px;
  }
  .floating-persona p {
    font-size: 12px;
    min-height: 34px;
  }
  .floating-persona .mini-brand {
    margin-top: 15px;
  }
  .sticker-a {
    top: 17%;
    left: calc(50% - 155px);
    width: 82px;
    height: 82px;
  }
  .sticker-b {
    bottom: 14%;
    right: calc(50% - 164px);
    padding: 11px;
    max-width: 140px;
  }
  .sticker-b span {
    font-size: 11px;
    max-width: 94px;
  }
  .interest-ribbon {
    justify-content: flex-start;
    gap: 7px;
    padding-bottom: 28px;
  }
  .interest-ribbon a {
    font-size: 11px;
    padding: 7px 11px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 14px;
  }
  .discovery-section .section-heading {
    display: block;
  }
  .discovery-section .section-heading > a {
    display: inline-block;
    margin-top: 12px;
  }
  .test-card {
    min-height: 300px;
    padding: 22px;
  }
  .test-card h3 {
    font-size: 23px;
  }
  .connection-banner {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 15px;
    margin: 34px 0;
  }
  .connection-art {
    min-height: 130px;
  }
  .connection-art > span {
    height: 122px;
    width: 98px;
    font-size: 65px;
  }
  .connection-art i {
    top: 36px;
  }
  .connection-banner h2 {
    font-size: 27px;
  }
  .universe-invite {
    flex-wrap: wrap;
    padding: 24px;
    gap: 17px;
  }
  .universe-invite > span {
    font-size: 48px;
  }
  .universe-invite > div {
    flex: 1;
  }
  .universe-invite h2 {
    font-size: 25px;
  }
  .universe-invite .button {
    margin-left: 0;
  }
  .focus-reading {
    padding: 21px;
  }
  .focus-reading blockquote {
    font-size: 20px;
  }
  .focus-tabs button {
    font-size: 12px;
    padding: 8px 11px;
  }
  .result-card {
    padding: 23px;
  }
  .result-card .result-emblem {
    width: 76px;
    height: 76px;
    font-size: 53px;
  }
  .site-footer {
    padding: 27px 22px;
  }
  .quiz-intro {
    padding-left: 17px;
  }
  .site-header nav {
    gap: 6px;
    font-size: 13px;
  }
  .site-header nav a {
    padding: 8px;
  }
  .language-picker summary {
    font-size: 12px;
    padding: 8px 11px;
  }
}
@media (max-width: 380px) {
  .cosmic-copy {
    padding: 28px 22px 0;
  }
  .cosmic-copy h1 {
    font-size: 49px;
  }
  .cosmic-stage {
    min-height: 350px;
  }
  .test-card {
    min-height: 0;
  }
  .cosmic-copy .eyebrow {
    font-size: 9px;
  }
  .site-header .brand {
    font-size: 26px;
  }
  .language-picker summary {
    max-width: 145px;
  }
  .sticker-b {
    right: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .test-card:hover,
  .button:hover {
    transform: none;
  }
}
