/* Seberapa Jamu Kamu? — immersive quiz */
.sj-page {
  --sj-green: #1f3a2a;
  --sj-green-2: #3d6649;
  --sj-mid: #2f4f3a;
  --sj-gold: #eda641;
  --sj-gold-2: #f3c06a;
  --sj-cream: #f7f1e8;
  --sj-dark: #152019;
  --sj-leaf: #7a9b7e;
  background: var(--sj-cream);
}

.sj-page .breadcrumb-am .breadcrumb-item,
.sj-page .breadcrumb-am .breadcrumb-item a,
.sj-page .breadcrumb-am .breadcrumb-item.active {
  color: rgba(255, 255, 255, .78);
}

.sj-page .breadcrumb-am .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .45);
}

/* ── Hero ── */
.sj-hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(237, 166, 65, .28), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(122, 155, 126, .35), transparent 50%),
    linear-gradient(155deg, #122018 0%, #1f3a2a 42%, #2f4f3a 78%, #3d6649 100%);
  padding: 4.5rem 0 5.5rem;
}

.sj-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: sjFloat 9s ease-in-out infinite;
}

.sj-hero__orb--1 {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 12%;
  background: radial-gradient(circle, rgba(237, 166, 65, .35), transparent 70%);
  animation-delay: -.5s;
}

.sj-hero__orb--2 {
  width: 180px;
  height: 180px;
  left: 6%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
  animation-delay: -2.5s;
}

.sj-hero__leaf {
  position: absolute;
  width: clamp(90px, 14vw, 180px);
  opacity: .18;
  pointer-events: none;
  user-select: none;
  animation: sjDrift 12s ease-in-out infinite;
}

.sj-hero__leaf--a { right: 4%; bottom: 8%; transform: rotate(-18deg); }
.sj-hero__leaf--b { right: 22%; top: 18%; width: clamp(60px, 9vw, 120px); animation-delay: -3s; opacity: .12; }
.sj-hero__leaf--c { left: -2%; top: 30%; width: clamp(70px, 10vw, 140px); transform: rotate(28deg) scaleX(-1); animation-delay: -6s; opacity: .1; }

@keyframes sjFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes sjDrift {
  0%, 100% { transform: translateY(0) rotate(var(--r, -18deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--r, -18deg) + 6deg)); }
}

.sj-hero .container {
  position: relative;
  z-index: 2;
}

.sj-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .75fr);
  gap: 2.5rem;
  align-items: center;
}

.sj-hero__layout--solo {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.sj-hero--home {
  --sj-gold: #eda641;
  --sj-gold-2: #f3c06a;
  min-height: auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.sj-hero__layout--home {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: none;
}

.sj-hero--home h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: .98;
  margin: 0 0 1.15rem;
  max-width: 12ch;
  letter-spacing: -.02em;
  animation: sjRise .75s .08s ease both;
}

.sj-hero--home h2 em {
  font-style: italic;
  color: var(--sj-gold);
  font-weight: 800;
}

.sj-hero__copy {
  position: relative;
  z-index: 2;
}

.sj-hero__visual {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.sj-hero__frame {
  position: absolute;
  width: min(58%, 280px);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 18, 12, .45);
  border: 2px solid rgba(255, 255, 255, .18);
  background: #1a2f22;
}

.sj-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sj-hero__frame--back {
  left: 4%;
  bottom: 8%;
  transform: rotate(-7deg);
  z-index: 1;
  opacity: .92;
}

.sj-hero__frame--front {
  right: 6%;
  bottom: 0;
  transform: rotate(5deg);
  z-index: 2;
  width: min(64%, 300px);
}

.sj-hero__badge {
  position: absolute;
  left: 42%;
  bottom: 12%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sj-gold), #c47a28);
  color: #1a1208;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
}

.sj-hero__badge strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.sj-hero__badge em {
  font-style: normal;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}

.sj-shell[hidden] {
  display: none !important;
}

.sj-page--play {
  background: #efe8dc;
  position: relative;
  min-height: 100vh;
  transition: background-color .4s ease;
}

.sj-page--play[data-gender="laki-laki"] {
  background: #c83a0c;
}

.sj-page--play[data-gender="perempuan"] {
  background: #2f4f3a;
}

.sj-page--focus {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-bottom: 0 !important;
}

.sj-page--focus #main-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sj-play-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #efe8dc;
  transition: background-color .4s ease;
}

.sj-page--play[data-gender="laki-laki"] .sj-play-stage {
  background: #c83a0c;
}

.sj-page--play[data-gender="perempuan"] .sj-play-stage {
  background: #2f4f3a;
}

.sj-play-stage__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: sjFloat 10s ease-in-out infinite;
}

.sj-play-stage__glow--a {
  width: 320px;
  height: 320px;
  top: 8%;
  right: 4%;
  background: radial-gradient(circle, rgba(237, 166, 65, .35), transparent 70%);
}

.sj-play-stage__glow--b {
  width: 260px;
  height: 260px;
  bottom: 12%;
  left: 2%;
  background: radial-gradient(circle, rgba(61, 102, 73, .28), transparent 70%);
  animation-delay: -3s;
}

.sj-play-stage__leaf {
  position: absolute;
  opacity: .12;
  width: clamp(100px, 16vw, 200px);
  animation: sjDrift 14s ease-in-out infinite;
}

.sj-play-stage__leaf--1 { right: 2%; bottom: 6%; transform: rotate(-20deg); }
.sj-play-stage__leaf--2 { left: -1%; top: 28%; width: clamp(80px, 12vw, 150px); transform: rotate(30deg) scaleX(-1); animation-delay: -5s; opacity: .09; }

/* Focus mode: hide site chrome during play */
.sj-page--focus .am-navbar,
.sj-page--focus .am-mobile-menu,
.sj-page--focus .mega-menu-panel,
.sj-page--focus .jamu-footer-banner,
.sj-page--focus .site-footer {
  display: none !important;
}

.sj-focus-bar {
  position: relative;
  z-index: 30;
  flex: 0 0 auto;
  background: transparent;
  backdrop-filter: none;
  padding: .85rem 0 .35rem;
  border-bottom: none;
  pointer-events: auto;
}

.sj-focus-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  position: relative;
  z-index: 1;
}

.sj-play-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--dark, #2B2B2B);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(21, 32, 25, .12);
  transition: .18s;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.sj-focus-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.sj-focus-brand img {
  display: block;
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.sj-focus-brand img.sj-focus-brand__light {
  display: none;
}

.sj-page--play[data-gender="laki-laki"] .sj-focus-brand img.sj-focus-brand__dark,
.sj-page--play[data-gender="perempuan"] .sj-focus-brand img.sj-focus-brand__dark {
  display: none;
}

.sj-page--play[data-gender="laki-laki"] .sj-focus-brand img.sj-focus-brand__light,
.sj-page--play[data-gender="perempuan"] .sj-focus-brand img.sj-focus-brand__light {
  display: block;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .2));
}

.sj-focus-title {
  display: none;
}

.sj-play-back:hover {
  color: var(--red, #C83A0C);
  border-color: rgba(200, 58, 12, .35);
  background: #fff;
}

.sj-page--play[data-gender="laki-laki"] .sj-play-back,
.sj-page--play[data-gender="perempuan"] .sj-play-back {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
}

.sj-page--play[data-gender="laki-laki"] .sj-play-back:hover,
.sj-page--play[data-gender="perempuan"] .sj-play-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .55);
}

.sj-focus-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: .55rem 0 1rem;
  text-align: center;
}

.sj-focus-footer p {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9a8f82;
}

.sj-page--play[data-gender="laki-laki"] .sj-focus-footer p,
.sj-page--play[data-gender="perempuan"] .sj-focus-footer p {
  color: rgba(255, 255, 255, .72);
}

.sj-shell--play {
  position: relative;
  z-index: 2;
  margin-top: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: clamp(.5rem, 1.6vw, 1.1rem) 0;
  min-height: 0;
}

.sj-shell--play > .container {
  width: 100%;
  max-width: 1180px;
}

.sj-card--play {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  min-height: 0;
  box-shadow: none;
}

.sj-card--play:has(> #sjPlay:not([hidden])) {
  max-width: 880px;
}

.sj-card--play:has(> #sjResult:not([hidden])) {
  max-width: 1080px;
}

.sj-card--play > #sjIntro {
  min-height: 0;
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: 0 28px 70px rgba(21, 32, 25, .22);
  background: #fff;
  max-width: 560px;
  margin-inline: auto;
}

.sj-card--play > #sjPlay {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3.2vw, 2.25rem) clamp(1.5rem, 3vw, 2.1rem);
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(21, 32, 25, .2);
}

.sj-card--play > #sjResult {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3.2vw, 2.25rem) clamp(1.5rem, 3vw, 2.1rem);
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(21, 32, 25, .2);
}

/* Lobby — form panel */
.sj-lobby {
  display: block;
  min-height: inherit;
}

.sj-lobby__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.85rem) clamp(1.25rem, 2.8vw, 1.65rem);
  background: #fff;
  overflow: visible;
  max-height: none;
}

.sj-lobby__kicker {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sj-gold);
  margin-bottom: .4rem;
}

.sj-lobby__title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  color: var(--sj-dark);
  margin: 0 0 .4rem;
}

.sj-lobby__lead {
  color: #6b655c;
  font-size: .92rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 34rem;
}

.sj-lobby-chips {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.sj-lobby-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: center;
  padding: .7rem .8rem;
  border-radius: 14px;
  background: rgba(47, 79, 58, .06);
  border: 1px solid rgba(47, 79, 58, .12);
}

.sj-lobby-chip--life {
  background: rgba(200, 58, 12, .06);
  border-color: rgba(200, 58, 12, .14);
}

.sj-lobby-chip__num {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  color: #fff;
  background: var(--sj-mid);
  font-size: .95rem;
}

.sj-lobby-chip--life .sj-lobby-chip__num {
  background: linear-gradient(145deg, #b8451a, #eda641);
}

.sj-lobby-chip strong {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--sj-dark);
  line-height: 1.2;
}

.sj-lobby-chip em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  color: #8a7f72;
  margin-top: .12rem;
}

.sj-lobby__copy .sj-name-field,
.sj-lobby__copy .sj-lobby-form {
  margin-bottom: 0;
}

.sj-lobby-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}

.sj-field {
  min-width: 0;
}

.sj-field--full {
  grid-column: 1 / -1;
}

.sj-field--gender {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.sj-field--gender legend {
  display: flex;
  align-items: center;
  gap: .4rem;
  float: none;
  width: 100%;
  padding: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: .4rem;
}

.sj-field--gender legend i {
  font-size: .95rem;
  color: #9a8f82;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.sj-gender {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  clear: both;
}

.sj-gender__opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.sj-gender__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sj-gender__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.7rem;
  padding: .5rem .65rem;
  border-radius: 12px;
  border: 1.5px solid #d9cfc2;
  background: #fff;
  font-size: .9rem;
  font-weight: 600;
  color: #5c564e;
  text-align: center;
  transition: .15s;
}

.sj-gender__opt span em {
  font-style: normal;
}

.sj-gender__opt span i {
  font-size: 1.15rem;
  line-height: 1;
  color: #8a7f72;
}

.sj-gender__opt input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(61, 102, 73, .15);
}

.sj-gender__opt input:checked + span {
  border-color: var(--sj-mid);
  background: rgba(47, 79, 58, .1);
  color: var(--sj-mid);
}

.sj-gender__opt input:checked + span i {
  color: var(--sj-mid);
}

.sj-gender__opt:first-child input:checked + span {
  border-color: #2f4f3a;
  background: rgba(47, 79, 58, .12);
}

.sj-gender__opt:last-child input:checked + span {
  border-color: #c47a1a;
  background: rgba(237, 166, 65, .16);
  color: #9a5a12;
}

.sj-gender__opt:last-child input:checked + span i {
  color: #c47a1a;
}

.sj-field > label {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.sj-field > label i {
  font-size: .95rem;
  color: #9a8f82;
  line-height: 1;
}

.sj-field.is-invalid .sj-gender__opt span,
.sj-field.is-invalid input {
  border-color: #d45a6a;
}

.sj-field.is-invalid input:focus {
  box-shadow: 0 0 0 4px rgba(183, 48, 71, .12);
}

.sj-actions--cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .65rem;
  margin-top: .35rem;
}

.sj-actions--cta .sj-start-btn {
  width: 100%;
  justify-content: center;
  min-height: 2.95rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(158, 45, 8, .2);
}

.sj-link-back {
  align-self: center;
  color: #7a7166 !important;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: .15s;
}

.sj-link-back:hover {
  color: var(--sj-mid) !important;
  border-bottom-color: rgba(47, 79, 58, .35);
  text-decoration: none !important;
}

.sj-play-banner {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(47, 79, 58, .08);
  color: var(--sj-mid);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sj-play-banner.is-life {
  background: rgba(200, 58, 12, .08);
  color: #c83a0c;
}

.sj-play-banner__dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(47, 79, 58, .12);
  animation: sjPulse .9s ease infinite;
}

.sj-play-banner.is-life .sj-play-banner__dot {
  box-shadow: 0 0 0 4px rgba(200, 58, 12, .12);
}

.sj-next-btn {
  min-width: 140px;
}

@media (max-width: 991.98px) {
  .sj-card--play {
    min-height: 0;
  }

  .sj-lobby__copy {
    padding: 1.25rem 1.15rem 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .sj-lobby-chips {
    grid-template-columns: 1fr;
  }

  .sj-lobby-form {
    grid-template-columns: 1fr;
  }

  .sj-actions--cta .sj-start-btn {
    min-height: 3rem;
    font-size: 1rem;
  }

  .sj-play-back span {
    display: none;
  }

  .sj-play-back {
    padding: .5rem .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sj-play-stage__glow,
  .sj-play-stage__leaf {
    animation: none !important;
    transition: none !important;
  }
}

.sj-page--play .sj-shell,
.sj-shell--play {
  background: transparent;
  margin-top: 0;
  z-index: 2;
  padding: clamp(.5rem, 1.6vw, 1.1rem) 0;
}

.sj-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sj-gold-2);
  margin-bottom: 1rem;
  animation: sjRise .7s ease both;
}

.sj-kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--sj-gold);
}

.sj-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: .98;
  margin: 0 0 1.15rem;
  max-width: 11ch;
  letter-spacing: -.02em;
  animation: sjRise .75s .08s ease both;
}

.sj-hero h1 em {
  font-style: italic;
  color: var(--sj-gold);
  font-weight: 800;
}

.sj-hero__lead {
  max-width: 37rem;
  color: rgba(255, 255, 255, .84);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  animation: sjRise .75s .14s ease both;
}

.sj-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2rem;
  animation: sjRise .75s .2s ease both;
}

.sj-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 600;
}

.sj-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  animation: sjRise .75s .26s ease both;
  box-shadow: 0 12px 32px rgba(200, 58, 12, .28);
}

.sj-hero__cta i {
  transition: transform .2s;
}

.sj-hero__cta:hover i {
  transform: translateX(3px);
}

.sj-hero__panel {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  animation: sjRise .85s .18s ease both;
}

.sj-hero__panel-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.sj-ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.sj-ladder li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  font-size: .82rem;
}

.sj-ladder li span:first-child {
  color: rgba(255, 255, 255, .7);
}

.sj-ladder li strong {
  color: var(--sj-gold-2);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
}

.sj-ladder li.is-peak {
  background: linear-gradient(90deg, rgba(237, 166, 65, .22), rgba(237, 166, 65, .05));
  border: 1px solid rgba(237, 166, 65, .35);
}

@keyframes sjRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Shell / card ── */
.sj-shell {
  position: relative;
  margin-top: -2.5rem;
  padding: 0 0 4.5rem;
  z-index: 3;
}

.sj-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(61, 102, 73, .08), transparent 35%),
    radial-gradient(circle at 92% 70%, rgba(237, 166, 65, .1), transparent 32%);
  pointer-events: none;
}

.sj-card {
  position: relative;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(31, 58, 42, .08);
  border-radius: 1.6rem;
  padding: clamp(1.4rem, 3.2vw, 2.35rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .8) inset,
    0 24px 64px rgba(21, 32, 25, .1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.sj-card.sj-card--play {
  padding: 0;
  background: unset;
  min-height: 0;
  overflow: visible;
  box-shadow: none;
}

.sj-card.sj-card--play::before {
  display: none;
}

.sj-card.sj-card--play > #sjPlay {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3.2vw, 2.25rem) clamp(1.5rem, 3vw, 2.1rem);
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(21, 32, 25, .2);
}

.sj-card.sj-card--play > #sjResult {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3.2vw, 2.25rem) clamp(1.5rem, 3vw, 2.1rem);
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(21, 32, 25, .2);
}

.sj-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sj-mid), var(--sj-gold), var(--sj-green-2));
}

.sj-view[hidden] {
  display: none !important;
}

.sj-view.is-enter {
  animation: sjViewIn .42s cubic-bezier(.22, 1, .36, 1);
}

@keyframes sjViewIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* Intro lobby */
.sj-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 1.75rem;
  align-items: start;
}

.sj-path-cards {
  display: grid;
  gap: .85rem;
}

.sj-path {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid #e7dfd3;
  background: linear-gradient(135deg, #fff 0%, #fbf7f1 100%);
  transition: transform .2s, box-shadow .2s;
}

.sj-path:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 58, 42, .08);
}

.sj-path__num {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  background: var(--sj-mid);
}

.sj-path--life .sj-path__num {
  background: linear-gradient(145deg, #b8451a, #eda641);
}

.sj-path__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a8f82;
  margin-bottom: .2rem;
}

.sj-path__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--sj-dark);
  margin: 0 0 .15rem;
}

.sj-path__meta {
  font-size: .82rem;
  color: #777;
  margin: 0;
}

.sj-name-field label,
.sj-field > label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: .45rem;
}

.sj-name-field label i,
.sj-field > label i {
  font-size: .95rem;
  color: #9a8f82;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.sj-name-field input,
.sj-field input[type="text"],
.sj-field input[type="email"],
.sj-field input[type="tel"] {
  width: 100%;
  border: 1.5px solid #d9cfc2;
  border-radius: 14px;
  padding: .78rem .95rem;
  font-size: .98rem;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 6px 16px rgba(31, 58, 42, .04);
}

.sj-name-field input:focus,
.sj-field input[type="text"]:focus,
.sj-field input[type="email"]:focus,
.sj-field input[type="tel"]:focus {
  outline: none;
  border-color: var(--sj-green-2);
  box-shadow: 0 0 0 4px rgba(61, 102, 73, .15);
}

.sj-name-error,
.sj-field-error {
  display: none;
  margin-top: .4rem;
  font-size: .78rem;
  color: #b73047;
}

.sj-name-error.is-visible,
.sj-field-error.is-visible {
  display: block;
  animation: sjShake .35s ease;
}

@keyframes sjShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.sj-start-btn {
  position: relative;
  overflow: hidden;
  padding-inline: 1.85rem !important;
  letter-spacing: .01em;
}

.sj-start-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sjShimmer 2.8s ease-in-out infinite;
}

@keyframes sjShimmer {
  0%, 40% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

/* Play */
.sj-play-banner {
  display: none;
}

.sj-play-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.sj-streak {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #fff4e5;
  color: #b36b00;
  font-size: .75rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(.9);
  transition: .2s;
}

.sj-streak.is-on {
  opacity: 1;
  transform: scale(1);
  animation: sjPulse .45s ease;
}

.sj-streak.is-hot {
  background: linear-gradient(90deg, #ffedd5, #fee2e2);
  color: #c83a0c;
}

@keyframes sjPulse {
  0% { transform: scale(.85); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.sj-progress {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 0;
}

.sj-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.sj-section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sj-green-2);
}

.sj-section-tag.is-life {
  color: #c83a0c;
}

.sj-counter {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  color: #888;
  font-size: .98rem;
}

.sj-bar {
  height: 8px;
  border-radius: 999px;
  background: #efe8de;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}

.sj-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sj-mid) 0%, var(--sj-gold) 55%, var(--sj-gold-2) 100%);
  border-radius: inherit;
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 0 12px rgba(237, 166, 65, .45);
}

.sj-q-stage {
  position: relative;
}

.sj-q-text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  color: var(--sj-dark);
  line-height: 1.28;
  margin: 0 0 1rem;
  max-width: 38rem;
}

.sj-q-text.is-swap {
  animation: sjQIn .38s cubic-bezier(.22, 1, .36, 1);
}

@keyframes sjQIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}

.sj-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.sj-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-align: left;
  width: 100%;
  min-height: 64px;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1.5px solid #e5ddd2;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
  animation: sjOptIn .4s cubic-bezier(.22, 1, .36, 1) both;
}

.sj-option:nth-child(1) { animation-delay: .02s; }
.sj-option:nth-child(2) { animation-delay: .08s; }
.sj-option:nth-child(3) { animation-delay: .14s; }
.sj-option:nth-child(4) { animation-delay: .2s; }

@keyframes sjOptIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.sj-option:hover:not(:disabled) {
  border-color: var(--sj-green-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(47, 79, 58, .1);
}

.sj-option:disabled {
  cursor: default;
}

.sj-option.is-selected {
  border-color: var(--sj-mid);
  background: rgba(47, 79, 58, .07);
}

.sj-option.is-correct {
  border-color: #3d6649;
  background: linear-gradient(135deg, rgba(61, 102, 73, .16), rgba(61, 102, 73, .05));
  box-shadow: 0 0 0 3px rgba(61, 102, 73, .12);
}

.sj-option.is-wrong {
  border-color: #c83a0c;
  background: linear-gradient(135deg, rgba(200, 58, 12, .12), rgba(200, 58, 12, .04));
  animation: sjShake .35s ease;
}

.sj-option__key {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #f4ebe0, #e9dfd2);
  color: var(--sj-mid);
  font-weight: 800;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sj-option.is-correct .sj-option__key {
  background: var(--sj-mid);
  color: #fff;
}

.sj-option__text {
  font-size: .94rem;
  font-weight: 600;
  color: var(--sj-dark);
  line-height: 1.4;
  padding-top: .2rem;
}

.sj-feedback {
  margin-top: 1.1rem;
  min-height: 1.5rem;
  font-size: .92rem;
  font-weight: 700;
}

.sj-feedback.is-ok {
  color: var(--sj-mid);
  animation: sjRise .3s ease;
}

.sj-feedback.is-bad {
  color: #c83a0c;
  animation: sjRise .3s ease;
}

.sj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.sj-passport-contact {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sj-passport-contact__lead {
  margin: 0 0 .85rem;
  font-size: .92rem;
  line-height: 1.45;
  color: #4a5560;
}

.sj-passport-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.sj-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sj-modal[hidden] {
  display: none !important;
}

.sj-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 32, 25, .55);
  backdrop-filter: blur(3px);
}

.sj-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  background: #fff;
  border-radius: 20px;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 28px 70px rgba(21, 32, 25, .28);
  animation: sjModalIn .28s cubic-bezier(.22, 1, .36, 1);
}

.sj-modal__close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 79, 58, .08);
  color: #3f4a43;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sj-modal__close:hover {
  background: rgba(47, 79, 58, .14);
}

.sj-modal__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--sj-dark);
  margin: 0 1.75rem .65rem 0;
}

.sj-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.sj-modal__actions .btn {
  flex: 1 1 auto;
  min-height: 2.75rem;
  justify-content: center;
}

body.sj-modal-open {
  overflow: hidden;
}

@keyframes sjModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .sj-passport-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* Result */
.sj-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .9fr);
  gap: 1.75rem;
  align-items: start;
}

.sj-result-copy h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin: 0 0 .75rem;
  color: var(--sj-dark);
}

.sj-result-copy .sj-reveal-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--sj-mid);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.sj-result-copy p {
  color: #666;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.sj-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 1.5rem;
}

.sj-score-pill {
  background: linear-gradient(180deg, #fff, #fbf7f1);
  border: 1px solid #ebe3d7;
  border-radius: 16px;
  padding: 1rem .9rem;
  text-align: center;
  transition: transform .2s;
}

.sj-score-pill:hover {
  transform: translateY(-2px);
}

.sj-score-pill strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.45rem;
  color: var(--sj-mid);
  line-height: 1;
  margin-bottom: .35rem;
}

.sj-score-pill span {
  font-size: .72rem;
  color: #888;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sj-share-hint {
  font-size: .88rem;
  color: #777;
  margin-bottom: 1rem;
}

.sj-passport {
  background: none;
  color: #152019;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: visible;
  min-height: 0;
  box-shadow: none;
}

.sj-pass__stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1080 / 1920;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.15rem;
  box-shadow: 0 28px 70px rgba(21, 32, 25, .28);
  background: #1a120e;
  container-type: inline-size;
}

.sj-pass__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sj-pass__card {
  position: absolute;
  left: 41.2%;
  top: 29.61%;
  width: 49.2%;
  height: 34.8%;
  background: unset;
  border-radius: .45rem .45rem 1.15rem .35rem;
  box-shadow: 0 8px 18px rgba(21, 32, 25, .1);
  padding: 6.2% 7% 5.5% 6.5%;
  display: flex;
  flex-direction: column;
  gap: 3.2%;
  z-index: 2;
  overflow: hidden;
}

.sj-pass__field {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .28em .45em;
  min-width: 0;
}

.sj-pass__pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: #e8a023;
  color: #fff;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1;
  padding: .3em .58em;
  border-radius: 999px;
}

.sj-pass__field strong,
.sj-pass__title {
  color: #1a3324;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  word-break: break-word;
  flex: 1 1 auto;
  min-width: 0;
}

.sj-pass__field strong {
  font-size: clamp(.68rem, 1.9vw, .86rem);
}

.sj-pass__title {
  font-size: clamp(.72rem, 2vw, .94rem);
  max-width: 100%;
  flex: 1 1 100%;
  margin-top: .05em;
}

.sj-pass__field:has(.sj-pass__title) {
  align-items: flex-start;
}

.sj-pass__desc {
  margin: .15em 0 0;
  font-size: clamp(.48rem, 1.3vw, .62rem);
  line-height: 1.32;
  color: #3d4a42;
}

.sj-pass__didyou {
  position: absolute;
  left: 6.5%;
  top: 59.21%;
  width: 87%;
  height: 19.6%;
  background: unset;
  color: #fff;
  z-index: 2;
  border-radius: 1.55rem 1.2rem 1.45rem 1.3rem;
  padding: 4.47% 10.53% 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .3em;
  box-shadow: none;
  overflow: hidden;
  text-align: center;
}

.sj-pass__didyou strong {
  display: block;
  font-size: 4.5cqi;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 15px;
}

.sj-pass__didyou p {
  margin: 0;
  font-size: 2.37cqi;
  line-height: 1.32;
  color: rgba(255, 255, 255, .94);
}

.sj-passport.is-reveal .sj-pass__stage {
  animation: sjPassportIn .7s cubic-bezier(.22, 1, .36, 1);
}

@keyframes sjPassportIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* Confetti burst */
.sj-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.sj-confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: .95;
  animation: sjFall linear forwards;
}

@keyframes sjFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .sj-hero__layout,
  .sj-hero__layout--home,
  .sj-intro-grid,
  .sj-result-grid {
    grid-template-columns: 1fr;
  }

  .sj-hero {
    min-height: auto;
    padding: 3.5rem 0 4.5rem;
  }

  .sj-hero--home {
    padding: 2.75rem 0 3.25rem;
  }

  .sj-hero__visual {
    min-height: 260px;
    order: -1;
    margin-bottom: .5rem;
  }

  .sj-hero__frame {
    width: min(46%, 200px);
  }

  .sj-hero__frame--front {
    width: min(52%, 220px);
  }

  .sj-hero__badge {
    width: 3.75rem;
    height: 3.75rem;
  }

  .sj-hero__badge strong {
    font-size: 1.15rem;
  }

  .sj-hero__panel {
    max-width: 420px;
  }

  .sj-score-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .sj-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sj-hero__orb,
  .sj-hero__leaf,
  .sj-start-btn::after,
  .sj-option,
  .sj-view.is-enter,
  .sj-passport.is-reveal,
  .sj-q-text.is-swap {
    animation: none !important;
  }
}
