:root {
  --bg: #172244;
  --bg-deep: #101833;
  --surface: rgba(37, 49, 86, 0.94);
  --surface-soft: rgba(51, 65, 106, 0.88);
  --surface-lighter: rgba(58, 73, 117, 0.92);
  --border: rgba(225, 231, 255, 0.12);
  --border-strong: rgba(229, 207, 142, 0.28);
  --text: #f7f3ef;
  --muted: #9ca6c3;
  --muted-strong: #c0c7d9;
  --gold: #e5cf8e;
  --gold-deep: #caa365;
  --green: #2fd46b;
  --green-deep: #22ba62;
  --shadow: 0 24px 70px rgba(4, 9, 24, 0.28);
  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(70, 96, 170, 0.34), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(229, 207, 142, 0.08), transparent 18%),
    linear-gradient(180deg, #1a2750 0%, #14203e 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(135deg, transparent 0 76%, rgba(229, 207, 142, 0.08) 76%, transparent 77%),
    linear-gradient(-130deg, transparent 0 84%, rgba(229, 207, 142, 0.05) 84%, transparent 85%);
  opacity: 0.3;
}

body::after {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.045), transparent 16%),
    radial-gradient(circle at 90% 74%, rgba(255, 255, 255, 0.04), transparent 20%);
  opacity: 0.45;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  background-size: 180px 180px, 240px 240px;
  mix-blend-mode: soft-light;
}

.page-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(82px);
  pointer-events: none;
  opacity: 0.16;
}

.page-glow-left {
  background: rgba(84, 114, 203, 0.45);
  top: -7rem;
  left: -12rem;
}

.page-glow-right {
  background: rgba(229, 207, 142, 0.28);
  right: -9rem;
  bottom: -9rem;
}

.shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 24px 16px 64px;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.brand {
  min-width: 188px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px 12px;
  border-radius: 22px;
  text-decoration: none;
  color: white;
  background: #141925;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.brand-top {
  font-size: 1.02rem;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  font-weight: 800;
}

.brand-bottom {
  margin-top: 2px;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  font-family: "Great Vibes", cursive;
}

.brand-small {
  min-width: 0;
  width: 100%;
  max-width: 220px;
  margin-top: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ghost-link,
.header-cta {
  text-decoration: none;
  border-radius: 999px;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.ghost-link {
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  font-weight: 700;
}

.header-cta {
  padding: 12px 22px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(201, 162, 98, 0.18);
}

.ghost-link:hover,
.ghost-link:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  min-height: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-title,
.section-title,
.quiz-title,
.lead-title,
.result-title,
.visual-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(3.4rem, 1.95rem + 4.4vw, 6.1rem);
  max-width: 11ch;
}

.hero-text,
.section-text,
.visual-text,
.lead-copy,
.result-copy {
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1.05rem, 0.96rem + 0.55vw, 1.35rem);
}

.hero-text {
  margin: 22px 0 0;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  padding: 16px 24px;
}

.hero-button-primary {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #ffffff;
  font-weight: 800;
}

.hero-button-secondary {
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(37, 49, 86, 0.48);
  font-weight: 700;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.mini-card,
.card-lite,
.mood-card,
.final-band-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(42, 54, 91, 0.9) 0%, rgba(35, 47, 80, 0.95) 100%);
  box-shadow: 0 18px 40px rgba(8, 14, 32, 0.18);
}

.mini-card {
  padding: 18px 18px 20px;
}

.mini-card-label {
  display: block;
  color: rgba(165, 172, 194, 0.64);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.card {
  background: linear-gradient(180deg, rgba(42, 54, 91, 0.96) 0%, rgba(36, 48, 82, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3vw, 44px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.016), transparent 46%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
}

.visual-chip,
.result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(68, 73, 96, 0.88);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  font-size: 0.94rem;
}

.visual-title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 1.55rem + 2.4vw, 4.2rem);
  max-width: 10ch;
}

.visual-text {
  margin: 18px 0 0;
}

.mood-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mood-card {
  padding: 20px;
  min-height: 210px;
}

.mood-title {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  font-weight: 800;
}

.mood-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.mood-card-dark {
  background: linear-gradient(180deg, rgba(18, 25, 38, 0.96) 0%, rgba(23, 31, 46, 0.96) 100%);
}

.palette {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.palette span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(21, 26, 38, 0.08);
}

.type-pair {
  margin-top: 18px;
}

.type-serif {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.type-script {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: var(--gold);
}

.mood-card-photo {
  background:
    linear-gradient(180deg, rgba(57, 68, 102, 0.86), rgba(50, 62, 98, 0.96)),
    radial-gradient(circle at top right, rgba(229, 207, 142, 0.18), transparent 26%);
}

.mood-poster {
  margin-top: 18px;
  min-height: 118px;
  border-radius: 18px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(229, 207, 142, 0.16), transparent 50%);
  border: 1px solid rgba(229, 207, 142, 0.18);
}

.poster-line {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.poster-subline {
  margin-top: 12px;
  color: var(--muted-strong);
  font-weight: 600;
}

.section {
  margin-top: 84px;
}

.section-heading {
  max-width: 760px;
}

.section-heading-centered {
  margin: 0 auto 28px;
  text-align: center;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(2.5rem, 1.6rem + 2.5vw, 4.4rem);
  max-width: 14ch;
}

.section-heading-centered .section-title,
.section-text-centered {
  margin-left: auto;
  margin-right: auto;
}

.section-text {
  margin: 18px 0 0;
  max-width: 62ch;
}

.benefits-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(229, 207, 142, 0.12);
  color: var(--gold);
  font-weight: 800;
}

.feature-card h3,
.signature-quote p,
.result-value,
.option-label,
.cta,
.field,
.button-primary {
  margin: 0;
}

.feature-card h3 {
  font-size: 1.28rem;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.signature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted-strong);
}

.signature-list li {
  padding-left: 20px;
  position: relative;
}

.signature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.signature-panel {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-quote {
  border-radius: 28px;
  padding: 26px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(41, 54, 89, 0.92) 0%, rgba(34, 47, 78, 0.98) 100%);
}

.quote-script {
  display: block;
  font-family: "Great Vibes", cursive;
  font-size: 3.2rem;
  color: var(--gold);
}

.signature-quote p {
  margin-top: 12px;
  font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.9rem);
  line-height: 1.55;
}

.quiz-app {
  width: 100%;
}

.progress-block {
  margin-bottom: 26px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: clamp(1rem, 0.88rem + 0.8vw, 1.9rem);
}

.progress-value {
  font-size: clamp(1rem, 0.92rem + 0.7vw, 1.6rem);
}

.progress-bar {
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(108, 121, 160, 0.32);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ddc37f 0%, #f1dfa5 100%);
  box-shadow: 0 0 18px rgba(229, 207, 142, 0.22);
  transition: width 260ms ease;
}

.quiz-title,
.lead-title,
.result-title {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 1.7rem + 3.8vw, 5.2rem);
  max-width: 13ch;
}

.lead-title,
.result-title {
  max-width: none;
}

.lead-title .sparkle {
  color: #ffc871;
  font-size: 0.78em;
  vertical-align: middle;
  margin-left: 0.18em;
}

.quiz-options,
.lead-fields,
.result-stack {
  position: relative;
  z-index: 1;
}

.quiz-options {
  margin-top: 38px;
  display: grid;
  gap: 18px;
}

.option-card {
  width: 100%;
  border: 1px solid rgba(197, 208, 243, 0.12);
  background: linear-gradient(180deg, rgba(53, 66, 105, 0.96) 0%, rgba(49, 61, 97, 0.96) 100%);
  border-radius: 26px;
  color: var(--text);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.option-card:hover,
.option-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(229, 207, 142, 0.3);
  outline: none;
  box-shadow: 0 12px 26px rgba(14, 21, 40, 0.2);
}

.option-card.is-selected {
  border-color: rgba(229, 207, 142, 0.48);
  background: linear-gradient(180deg, rgba(61, 76, 119, 0.98) 0%, rgba(55, 69, 110, 0.98) 100%);
}

.option-emoji {
  font-size: clamp(2rem, 1.4rem + 1vw, 2.5rem);
  line-height: 1;
}

.option-label {
  font-size: clamp(1.18rem, 1rem + 1.08vw, 1.92rem);
  font-weight: 700;
  line-height: 1.2;
}

.option-arrow {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.lead-copy,
.result-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
}

.lead-fields {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.field {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(197, 208, 243, 0.16);
  background: rgba(53, 66, 105, 0.82);
  color: var(--text);
  padding: 22px 26px;
  font: inherit;
  font-size: clamp(1.18rem, 1rem + 0.9vw, 1.8rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field::placeholder {
  color: rgba(165, 172, 194, 0.58);
}

.field:focus {
  outline: none;
  border-color: rgba(229, 207, 142, 0.45);
  box-shadow: 0 0 0 4px rgba(229, 207, 142, 0.08);
  background: rgba(56, 69, 111, 0.92);
}

.button-primary {
  margin-top: 8px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #ffffff;
  padding: 22px 28px;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.85rem);
  font-weight: 800;
  box-shadow: 0 24px 44px rgba(201, 162, 98, 0.18);
}

.button-primary.is-disabled {
  opacity: 0.56;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.helper-error,
.helper-status {
  font-size: 0.96rem;
}

.helper-error {
  color: #ffc7c7;
}

.helper-status {
  color: rgba(165, 172, 194, 0.8);
}

.result-header {
  text-align: center;
}

.result-title {
  margin: 26px auto 0;
  max-width: 10ch;
}

.result-copy {
  max-width: 32ch;
  margin: 20px auto 0;
}

.result-stack {
  margin-top: 44px;
  display: grid;
  gap: 26px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.result-stat {
  min-height: 160px;
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(56, 69, 110, 0.9) 0%, rgba(48, 60, 95, 0.96) 100%);
  border: 1px solid rgba(197, 208, 243, 0.12);
}

.result-label {
  color: rgba(165, 172, 194, 0.64);
  font-size: clamp(1rem, 0.88rem + 0.7vw, 1.6rem);
  font-weight: 600;
}

.result-value {
  margin-top: 18px;
  font-size: clamp(1.48rem, 1.1rem + 1.55vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.result-note {
  margin-top: 10px;
  color: var(--gold);
  font-size: clamp(1rem, 0.92rem + 0.45vw, 1.3rem);
  font-weight: 700;
}

.message-card {
  border-radius: 26px;
  padding: 28px 30px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(39, 52, 88, 0.92) 0%, rgba(34, 46, 77, 0.98) 100%);
}

.message-card p {
  margin: 0;
  color: rgba(243, 244, 247, 0.88);
  font-size: clamp(1.2rem, 1rem + 0.88vw, 1.75rem);
  line-height: 1.65;
  font-weight: 600;
}

.message-card strong {
  color: #ffffff;
}

.cta-stack {
  display: grid;
  gap: 18px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
  min-height: 92px;
  padding: 24px 28px;
  border-radius: 28px;
  color: #ffffff;
  font-size: clamp(1.24rem, 1.08rem + 0.85vw, 1.9rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--green) 0%, #36b58d 100%);
  box-shadow: 0 26px 46px rgba(26, 194, 112, 0.18);
}

.cta svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.availability {
  text-align: center;
  color: rgba(165, 172, 194, 0.72);
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3rem);
  font-weight: 700;
}

.availability strong {
  color: var(--muted-strong);
}

.result-actions {
  display: flex;
  justify-content: center;
}

.text-button {
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(197, 208, 243, 0.16);
  background: transparent;
  padding: 14px 22px;
  font-weight: 700;
}

.final-band-card {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: center;
}

.fade-in {
  animation: fade-in 240ms ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .final-band-card {
    grid-template-columns: 1fr;
  }

  .hero-highlights,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .mood-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 18px 14px 42px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    justify-content: stretch;
  }

  .ghost-link,
  .header-cta {
    flex: 1 1 auto;
    text-align: center;
  }

  .section {
    margin-top: 62px;
  }

  .card {
    border-radius: 28px;
    padding: 24px 20px;
  }

  .quiz-options {
    margin-top: 28px;
    gap: 14px;
  }

  .option-card {
    padding: 20px 18px;
    grid-template-columns: auto 1fr;
  }

  .option-arrow {
    display: none;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .message-card {
    padding: 22px 20px;
  }

  .cta {
    min-height: 82px;
    padding: 20px 18px;
  }
}
