*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  overflow-x: hidden;
  background-color: #040510;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: rgba(244, 246, 255, 0.94);
  background-color: #040510;
  background-image: url("/img/assets/03/background.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }

  .section {
    width: 100%;
  }

  .voices-carousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.ios-fixed-bg {
    background-image: none;
  }

  body.ios-fixed-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: #040510;
    background-image: url("/img/assets/03/background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
  }
}

body.is-loading {
  overflow: hidden;
}

img,
video,
canvas {
  max-width: 100%;
  display: block;
}

.app {
  position: relative;
  min-height: 100vh;
  height: auto;
  overflow: visible;
  background: transparent;
  z-index: 1;
}

.snap-section {
  /* scroll snap removed */
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loading-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 20%, rgba(20, 24, 58, 0.85), rgba(4, 6, 16, 0.98));
  display: grid;
  place-items: center;
  z-index: 999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-shell {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(82vw, 320px);
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(6, 8, 20, 0.45);
  border: 1px solid rgba(247, 216, 130, 0.16);
  box-shadow: 0 18px 45px rgba(6, 8, 18, 0.55);
  backdrop-filter: blur(18px);
  text-align: center;
  z-index: 1;
}

.loading-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
}

.loading-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 216, 130, 0.98);
  text-shadow: 0 10px 24px rgba(8, 10, 24, 0.6);
}

.loading-message {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(244, 246, 255, 0.72);
}

.loading-progress {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.loading-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 133, 255, 0.8), rgba(247, 216, 130, 0.85));
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: inherit;
}

.loading-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(244, 246, 255, 0.6);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 12px 48px;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 16, 0.3), rgba(5, 6, 16, 0.78));
  z-index: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.18);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(0px);
  transition: opacity 0.6s ease, backdrop-filter 0.6s ease, background 0.6s ease;
  z-index: 3;
}

.hero-backdrop.is-visible {
  opacity: 1;
  background: radial-gradient(90% 90% at 50% 40%, rgba(4, 6, 16, 0.85), rgba(4, 6, 16, 0.92));
  backdrop-filter: blur(26px) saturate(0.85);
  pointer-events: auto;
}

.hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-advisor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(240px, 72vw, 420px);
  transform: translate(-50%, -52%);
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(6, 8, 18, 0.45));
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-advisor img {
  width: 100%;
  height: auto;
  display: block;
}

body.hero-advisor-ready .hero-advisor {
  opacity: 1;
}

.hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(86px, 22vw, 140px);
  aspect-ratio: 3/4.6;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(247, 216, 130, 0.16), rgba(127, 140, 255, 0.22));
  box-shadow: 0 18px 36px rgba(8, 10, 28, 0.55), inset 0 0 0 1px rgba(247, 216, 130, 0.2);
  transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease, filter 0.9s ease;
  transition-delay: var(--delay, 0s);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(247, 216, 130, 0.24), rgba(97, 115, 255, 0.14));
  mix-blend-mode: screen;
  opacity: 0.35;
}

.hero-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.hero-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}

body.is-ready .hero-card {
  opacity: 0.86;
  filter: drop-shadow(0 18px 46px rgba(127, 140, 255, 0.35));
  animation: hero-card-float 9s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

body.hero-selection-active .hero-card {
  opacity: 0.18;
  filter: blur(10px) saturate(0.5);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

body.hero-selection-active .hero-card.is-highlight {
  opacity: 1;
  filter: drop-shadow(0 28px 70px rgba(247, 216, 130, 0.65));
}

.hero-card.is-highlight {
  filter: drop-shadow(0 24px 60px rgba(247, 216, 130, 0.55));
  transition-duration: 0.55s;
  z-index: 6;
}

.hero-card--1 {
  --x: -200px;
  --y: -200px;
  --rot: -18deg;
  --delay: 0s;
}

.hero-card--2 {
  --x: 190px;
  --y: -190px;
  --rot: 16deg;
  --delay: 0.8s;
}

.hero-card--3 {
  --x: -220px;
  --y: 30px;
  --rot: 22deg;
  --delay: 1.2s;
}

.hero-card--4 {
  --x: 210px;
  --y: -10px;
  --rot: -20deg;
  --delay: 2s;
}

.hero-card--5 {
  --x: -90px;
  --y: 210px;
  --rot: 10deg;
  --delay: 1.6s;
}

.hero-card--6 {
  --x: 190px;
  --y: 210px;
  --rot: -8deg;
  --delay: 2.6s;
}

.hero-card--7 {
  --x: -40px;
  --y: -250px;
  --rot: 6deg;
  --delay: 0.35s;
}

.hero-card--8 {
  --x: 220px;
  --y: 120px;
  --rot: -12deg;
  --delay: 2.1s;
}

.hero-card--9 {
  --x: -210px;
  --y: 150px;
  --rot: 18deg;
  --delay: 1.45s;
}

.hero-card--10 {
  --x: 40px;
  --y: 220px;
  --rot: -6deg;
  --delay: 2.35s;
}

.hero-card--11 {
  --x: -170px;
  --y: -70px;
  --rot: 24deg;
  --delay: 0.95s;
}

.hero-card--12 {
  --x: 180px;
  --y: -90px;
  --rot: -24deg;
  --delay: 1.75s;
}

.hero-chosen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.72);
  opacity: 0;
  pointer-events: none;
  display: grid;
  gap: 12px;
  place-items: center;
  z-index: 5;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-chosen.is-visible {
  opacity: 1;
  transform: translate(-50%, -52%) scale(1);
}

.hero-chosen-glow {
  width: clamp(200px, 48vw, 320px);
  height: clamp(300px, 68vw, 420px);
  border-radius: 28px;
  background: radial-gradient(120% 120% at 50% 50%, rgba(247, 216, 130, 0.32), rgba(40, 48, 120, 0.12) 68%, transparent);
  filter: blur(16px);
  position: absolute;
  inset: 0;
  transform: translate(-5%, -8%);
  z-index: -1;
}

.hero-chosen-card {
  width: clamp(160px, 50vw, 240px);
  aspect-ratio: 3/4.6;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(10, 12, 32, 0.6), inset 0 0 0 1px rgba(247, 216, 130, 0.35);
  background: linear-gradient(160deg, rgba(4, 6, 16, 0.68), rgba(10, 12, 24, 0.8));
  backdrop-filter: blur(14px);
}

.hero-chosen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-chosen-label {
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(4, 6, 16, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 216, 130, 0.32);
  color: #f7d882;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-chosen.is-visible .hero-chosen-card {
  animation: chosen-breathe 3.6s ease-in-out infinite;
}

.hero-chosen-message {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(244, 246, 255, 0.94);
  text-align: center;
}

.hero-chosen-cta {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 18px;
  text-align: center;
  max-width: 520px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -16px -10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(6, 8, 18, 0.35), rgba(6, 8, 18, 0.2));
  border: 1px solid rgba(247, 216, 130, 0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px rgba(4, 6, 16, 0.35);
  z-index: -1;
}

body.hero-content-ready .hero-content {
  opacity: 1;
  transform: translateY(0);
}

body.hero-selection-active .hero-content {
  opacity: 0.08;
}

.hero-badge {
  margin: 0 auto;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(247, 216, 130, 0.16);
  color: #f7d882;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 2rem;
  line-height: 1.15;
  text-shadow: 0 16px 40px rgba(5, 6, 16, 0.8);
}

.hero-title span {
  display: block;
  font-size: 1.5rem;
  color: #f7d882;
  text-shadow: 0 10px 26px rgba(8, 10, 24, 0.75);
}

.hero-lead {
  margin: 0;
  font-size: 1rem;
  color: rgba(244, 246, 255, 0.72);
  line-height: 1.6;
}

.hero-ctas {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.cta--primary {
  background: linear-gradient(120deg, rgba(247, 216, 130, 0.95), rgba(127, 140, 255, 0.9));
  color: #0a0b18;
  box-shadow: 0 18px 36px rgba(102, 114, 255, 0.35);
}

.cta--primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(247, 216, 130, 0.4);
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cta--primary:hover,
.cta--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(102, 114, 255, 0.45);
}

.cta--primary:hover::after,
.cta--primary:focus-visible::after {
  opacity: 1;
  transform: scale(1.1);
}

.cta--ghost {
  border: 1px solid rgba(247, 216, 130, 0.42);
  background: rgba(4, 6, 16, 0.45);
  color: #f7d882;
  box-shadow: inset 0 0 0 1px rgba(247, 216, 130, 0.1);
}

.cta--ghost:hover,
.cta--ghost:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.cta--pulse {
  background: linear-gradient(140deg, rgba(247, 216, 130, 0.88), rgba(129, 143, 255, 0.92));
  color: #05060f;
  box-shadow: 0 20px 55px rgba(112, 126, 255, 0.45);
  animation: cta-pulse 3s ease-in-out infinite;
}

.hero-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 12px;
  justify-items: center;
  font-size: 0.95rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(244, 246, 255, 0.52);
  z-index: 3;
  transition: opacity 0.4s ease;
}

body.hero-selection-active .hero-indicator {
  opacity: 0;
}

.hero-line {
  width: 2px;
  height: 56px;
  position: relative;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(246, 216, 137, 0.78), transparent);
  overflow: hidden;
}

.hero-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 216, 137, 0), rgba(246, 216, 137, 0.92));
  transform: translateY(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.main {
  display: contents;
}

.section {
  min-height: 100vh;
  width: 100vw;
  padding: 32px 12px 48px;
  display: grid;
  place-items: center;
  position: relative;
}

.section-inner {
  width: min(90vw, 540px);
  display: grid;
  gap: 22px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 2.6rem;
  text-align: center;
  color: #f7d882;
}

.section-title span {
  color: #7a8cff;
}

.section-lead {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  color: rgba(244, 246, 255, 0.72);
  line-height: 1.7;
}

.stage {
  display: grid;
  gap: 0;
  width: min(94vw, 620px);
  position: relative;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
}

.float-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(68px, 16vw, 100px);
  aspect-ratio: 3/4.6;
  border-radius: 14px;
  overflow: hidden;
  transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot));
  animation: float-card var(--duration) cubic-bezier(0.66, 0, 0.34, 1) infinite alternate;
  animation-delay: var(--delay);
  opacity: 0.9;
  border: 1px solid rgba(247, 216, 130, 0.24);
  background: linear-gradient(140deg, rgba(247, 216, 130, 0.16), rgba(120, 132, 245, 0.14));
}

.float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section--stage {
  position: relative;
  overflow: hidden;
}

.section--stage .stage-float-field {
  position: absolute;
  inset: -20% -12%;
  pointer-events: none;
  z-index: -1;
  filter: drop-shadow(0 16px 28px rgba(6, 8, 18, 0.4));
}

.section--arcana {
  gap: 18px;
}

.arcana-head {
  margin-bottom: 6px;
}

.section--arcana .section-title {
  font-size: 2.1rem;
}

.arcana-stage {
  position: relative;
  width: min(92vw, 520px);
  height: clamp(320px, 62vh, 560px);
  margin: 8px auto 6px;
  border-radius: 28px;
  background: radial-gradient(120% 120% at 50% 10%, rgba(20, 26, 64, 0.8), rgba(4, 6, 16, 0.98));
  border: 1px solid rgba(247, 216, 130, 0.18);
  box-shadow: 0 30px 80px rgba(6, 8, 18, 0.7);
  overflow: hidden;
}

.arcana-stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 30%, rgba(247, 216, 130, 0.08), transparent 45%), radial-gradient(circle at 80% 70%, rgba(120, 132, 245, 0.08), transparent 45%);
  opacity: 0.7;
}

.arcana-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(78px, 20vw, 130px);
  aspect-ratio: 3/4.6;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(247, 216, 130, 0.28);
  box-shadow: 0 18px 40px rgba(8, 12, 30, 0.55);
  transform: translate(-50%, -50%) translate(var(--arcana-x, 0px), var(--arcana-y, 0px)) rotate(var(--arcana-rot, 0deg)) scale(var(--arcana-scale, 1));
  background: rgba(6, 8, 20, 0.4);
  will-change: transform, opacity;
  pointer-events: auto;
  cursor: pointer;
}

.arcana-card.is-focused {
  z-index: 60;
  box-shadow: 0 30px 80px rgba(10, 12, 30, 0.7);
}

.arcana-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arcana-note {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  color: rgba(244, 246, 255, 0.72);
}

.arcana-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 16, 0.88);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
}

.arcana-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.arcana-overlay-card {
  width: min(70vw, 320px);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(6, 8, 18, 0.7);
  border: 1px solid rgba(247, 216, 130, 0.35);
  transform: scale(0.85);
  background: rgba(6, 8, 20, 0.8);
  display: grid;
}

.arcana-overlay-media {
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  aspect-ratio: 3/4.6;
}

.arcana-overlay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arcana-overlay-body {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  text-align: center;
}

.arcana-overlay-text {
  margin: 0;
  font-size: 1rem;
  color: rgba(244, 246, 255, 0.94);
}

.arcana-overlay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 216, 130, 0.45);
  background: linear-gradient(120deg, rgba(247, 216, 130, 0.92), rgba(127, 140, 255, 0.82));
  color: #0a0b18;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.advisor-float {
  position: fixed;
  right: 12px;
  bottom: -10vh;
  left: auto;
  transform: translateY(var(--advisor-scroll, 0px));
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
}

.advisor-float.is-visible {
  pointer-events: auto;
}

.advisor-float-inner {
  border: none;
  background: none;
  padding: 0;
  display: block;
  cursor: pointer;
}

.advisor-float-inner img {
  width: min(42vw, 180px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 42px rgba(6, 8, 18, 0.6));
}

.stage-float-field .float-card:nth-child(3n) {
  opacity: 0.78;
}

.stage-float-field .float-card:nth-child(4n) {
  opacity: 0.94;
}

.stage-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(92px, 20vw, 126px);
  aspect-ratio: 3/4.6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(14, 16, 36, 0.55), inset 0 0 0 1px rgba(247, 216, 130, 0.24);
  transform: translate(-50%, -50%);
  transform-origin: center;
  background: linear-gradient(160deg, rgba(247, 216, 130, 0.18), rgba(127, 140, 255, 0.14));
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease, filter 0.9s ease;
}

.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(247, 216, 130, 0.08), rgba(90, 110, 220, 0.08));
  mix-blend-mode: color-dodge;
  opacity: 0.6;
}

.stage-card.is-focus {
  box-shadow: 0 26px 64px rgba(70, 82, 200, 0.55), 0 0 0 2px rgba(247, 216, 130, 0.28);
  filter: drop-shadow(0 20px 45px rgba(247, 216, 130, 0.45));
}

.stage-overlay {
  position: relative;
  padding: 32px 24px 36px;
  display: grid;
  gap: 16px;
  max-width: min(90vw, 520px);
  margin: 0 auto;
  z-index: 4;
  pointer-events: auto;
}

.stage-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(4, 6, 16, 0.85), rgba(4, 6, 16, 0.74));
  opacity: 0.95;
  filter: blur(0px);
  box-shadow: 0 24px 60px rgba(4, 6, 16, 0.65);
  border: 1px solid rgba(247, 216, 130, 0.18);
}

.stage-overlay>* {
  position: relative;
  z-index: 1;
}

.stage-badge {
  justify-self: start;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(127, 140, 255, 0.22);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 2.1rem;
}

.stage-lead {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(244, 246, 255, 0.72);
  line-height: 1.7;
}

.stage-note {
  margin: 0;
  margin-top: 6px;
  font-size: 1.05rem;
  color: rgba(244, 246, 255, 0.6);
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 20px;
  padding: 24px 20px 28px;
  background: rgba(7, 9, 22, 0.72);
  border-radius: 24px;
  border: 1px solid rgba(247, 216, 130, 0.16);
  box-shadow: 0 12px 40px rgba(12, 18, 48, 0.48);
}

.form.form--flash {
  animation: form-flash 0.4s ease;
}

.form-field {
  display: grid;
  gap: 10px;
  font-size: 1rem;
  color: rgba(244, 246, 255, 0.72);
}

.form-field span {
  font-weight: 600;
  color: rgba(244, 246, 255, 0.94);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(127, 140, 255, 0.35);
  background: rgba(4, 6, 16, 0.6);
  color: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #f7d882;
  box-shadow: 0 0 0 2px rgba(247, 216, 130, 0.25);
}

.form-field--radio {
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid rgba(127, 140, 255, 0.24);
  background: rgba(4, 6, 16, 0.58);
}

.form-field--radio legend {
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(244, 246, 255, 0.94);
}

.form-field--radio label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  transition: background 0.3s ease;
}

.form-field--radio label input {
  width: auto;
}

.form-field--radio label:has(input:checked) {
  background: rgba(127, 140, 255, 0.22);
}

.form-field--date .date-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-submit {
  margin-top: 8px;
}

.oracle {
  display: grid;
  gap: 24px;
  width: min(92vw, 640px);
  margin-left: auto;
  margin-right: auto;
  padding: 24px 22px;
  border-radius: 28px;
  background: rgba(6, 8, 20, 0.8);
  border: 1px solid rgba(127, 140, 255, 0.28);
  box-shadow: 0 12px 40px rgba(12, 18, 48, 0.48);
}

.oracle-visual {
  justify-self: center;
  width: min(70vw, 300px);
  aspect-ratio: 3/4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 14, 32, 0.72);
}

.oracle-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oracle-body {
  display: grid;
  gap: 16px;
  text-align: left;
}

.oracle-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 2.2rem;
}

.oracle-title span {
  color: #7a8cff;
}

.oracle-lead {
  margin: 0;
  color: rgba(244, 246, 255, 0.72);
  line-height: 1.7;
  font-size: 1.05rem;
}

.oracle-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(244, 246, 255, 0.7);
  font-size: 0.95rem;
}

.voices {
  display: grid;
  gap: 24px;
  width: min(94vw, 680px);
  margin-left: auto;
  margin-right: auto;
}

.voices-head {
  display: grid;
  gap: 12px;
}

.voices-carousel {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: transparent;
  border: none;
  padding: 24px 0;
}

.voices-track {
  display: flex;
  gap: 18px;
  padding: 0 18px;
  will-change: transform;
}

.voice-card {
  flex: 0 0 260px;
  border-radius: 24px;
  background: rgba(7, 9, 24, 0.78);
  border: 1px solid rgba(247, 216, 130, 0.22);
  box-shadow: 0 12px 40px rgba(12, 18, 48, 0.48);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.6s ease;
  opacity: 0.6;
}

.voice-card-body {
  padding: 18px 18px 22px;
  display: grid;
  gap: 8px;
}

.voice-card-body h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #f7d882;
}

.voice-card-body p {
  margin: 0;
  color: rgba(244, 246, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

.voice-card.is-active {
  transform: scale(1.12);
  opacity: 1;
}

.voices-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 216, 130, 0.18);
  display: grid;
  place-items: center;
  z-index: 2;
}

.voices-nav::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #f7d882;
  border-right: 2px solid #f7d882;
}

.voices-nav--prev {
  left: 12px;
}

.voices-nav--prev::after {
  transform: rotate(-135deg);
}

.voices-nav--next {
  right: 12px;
}

.voices-nav--next::after {
  transform: rotate(45deg);
}

.voices-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(244, 246, 255, 0.72);
}

.final {
  width: min(90vw, 520px);
  margin-left: auto;
  margin-right: auto;
  padding: 34px 28px;
  border-radius: 28px;
  background: rgba(7, 9, 24, 0.82);
  border: 1px solid rgba(247, 216, 130, 0.28);
  box-shadow: 0 20px 60px rgba(10, 14, 32, 0.72);
  display: grid;
  gap: 16px;
  text-align: center;
}

.final-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  color: #f7d882;
}

.final-lead {
  margin: 0;
  color: rgba(244, 246, 255, 0.72);
  line-height: 1.7;
}

.footer {
  padding: 24px 18px 36px;
  background: rgba(4, 6, 14, 0.92);
  border-top: 1px solid rgba(127, 140, 255, 0.18);
  display: grid;
  gap: 18px;
  text-align: center;
}

.footer-menu {
  display: grid;
  gap: 12px;
}

.footer-link {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(10, 12, 28, 0.7);
  border: 1px solid rgba(247, 216, 130, 0.14);
  color: rgba(244, 246, 255, 0.72);
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  background: rgba(127, 140, 255, 0.24);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.9rem;
  color: rgba(244, 246, 255, 0.45);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 16, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.modal-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.modals {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 999;
}

.modal {
  width: min(90vw, 360px);
  max-height: min(80vh, 520px);
  background: rgba(4, 6, 16, 0.94);
  border: 1px solid rgba(247, 216, 130, 0.18);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  padding: 22px 22px 28px;
  box-shadow: 0 20px 60px rgba(10, 14, 32, 0.72);
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
  display: none;
}

.modal.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-inner {
  display: grid;
  gap: 16px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(127, 140, 255, 0.18);
  display: grid;
  place-items: center;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: #f7d882;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-title {
  margin: 0;
  font-size: 1.4rem;
  color: #f7d882;
}

.modal-body {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(244, 246, 255, 0.72);
  line-height: 1.7;
}

@keyframes float-card {

  0%,
  100% {
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) translate(calc(var(--tx) * 1.08), calc(var(--ty) * 1.12)) rotate(calc(var(--rot) * -0.7)) scale(1.04);
  }
}

@keyframes cta-pulse {

  0%,
  100% {
    box-shadow: 0 20px 55px rgba(112, 126, 255, 0.45);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 26px 65px rgba(112, 126, 255, 0.6);
    transform: translateY(-6px);
  }
}

@keyframes hero-card-float {

  0%,
  100% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--rot, 0deg)) scale(1);
  }

  50% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px) - 10px)) rotate(var(--rot, 0deg)) scale(1.02);
  }
}

@keyframes form-flash {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes chosen-breathe {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(100%);
  }
}

@media (min-width: 540px) {
  .hero {
    padding: 40px 32px 64px;
  }

  .stage-visual {
    border-radius: 32px;
  }

  .stage-step {
    border-radius: 28px;
  }

  .oracle {
    grid-template-columns: minmax(0, 260px) 1fr;
    align-items: center;
  }

  .oracle-visual {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-title span {
    font-size: 1.3rem;
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero-ctas .cta {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*# sourceMappingURL=styles.css.map */