@charset "UTF-8";

:root {
  --bg: #070b1c;
  --bg-soft: #0c1228;
  --panel: #101832;
  --panel-light: #151f3e;
  --line: rgba(123, 144, 255, 0.28);
  --line-strong: rgba(134, 110, 255, 0.62);
  --text: #f7f8ff;
  --muted: #9fa8c8;
  --blue: #39baf8;
  --purple: #854dff;
  --pink: #ec48d0;
  --green: #50e6a4;
  --header-height: 76px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.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;
}

.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: #080c1d;
  border-bottom: 1px solid rgba(104, 132, 255, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 5px;
}

.brand-copy,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.brand-copy > span,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-height);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #9fe5ff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 34px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 44px;
  gap: 8px;
  padding: 0 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--purple);
  border: 1px solid #9c79ff;
  border-radius: 5px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-download:hover {
  background: #7140e8;
  border-color: #b69dff;
}

.download-mobile,
.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 38%, rgba(67, 76, 240, 0.22), transparent 34%),
    radial-gradient(circle at 14% 70%, rgba(10, 173, 221, 0.1), transparent 30%),
    #070b1c;
  border-bottom: 1px solid rgba(114, 132, 231, 0.2);
}

.hero-stars {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(154, 205, 255, 0.72) 1px, transparent 1px),
    linear-gradient(rgba(85, 105, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 105, 191, 0.06) 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0;
  background-size: 72px 72px, 64px 64px, 64px 64px;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: 54px;
  min-height: 760px;
  padding: 72px 0;
}

.eyebrow,
.section-index,
.choice-label {
  color: #80d8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(62px, 7vw, 108px);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  background: linear-gradient(105deg, #ffffff 12%, #75dcff 42%, #b77aff 72%, #ff7ae7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan {
  margin-top: 28px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-description {
  max-width: 580px;
  margin-top: 22px;
  color: #b6bfdc;
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 226px;
  height: 58px;
  gap: 12px;
  padding: 0 28px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, #7f45f4, #3dbef7);
  border: 1px solid #a28bff;
  border-radius: 5px;
  box-shadow: 0 16px 42px rgba(89, 73, 237, 0.25);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-action:hover {
  border-color: #d7c9ff;
  box-shadow: 0 18px 48px rgba(63, 190, 247, 0.26);
}

.age-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}

.hero-features i {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(102, 212, 255, 0.46);
  border-radius: 50%;
}

.relation-console {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: rgba(9, 14, 36, 0.92);
  border: 1px solid rgba(120, 111, 255, 0.58);
  border-radius: 5px;
  box-shadow: 0 26px 80px rgba(38, 29, 128, 0.35);
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: #0d1530;
  border-bottom: 1px solid rgba(116, 136, 255, 0.26);
}

.online-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9dfac9;
  letter-spacing: 0;
}

.online-state i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}

.orbit-stage {
  position: relative;
  height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(121, 68, 255, 0.23), transparent 35%),
    linear-gradient(rgba(94, 116, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 116, 230, 0.07) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(87, 186, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-one {
  width: 205px;
  height: 205px;
}

.orbit-two {
  width: 320px;
  height: 320px;
  border-style: dashed;
  border-color: rgba(171, 85, 255, 0.42);
}

.orbit-three {
  width: 430px;
  height: 430px;
}

.current-soul {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 164px;
  padding: 18px 18px 16px;
  text-align: center;
  background: rgba(13, 21, 50, 0.92);
  border: 1px solid rgba(103, 212, 255, 0.7);
  border-radius: 5px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(104, 96, 255, 0.25);
}

.current-soul img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border: 2px solid #7963ff;
  border-radius: 50%;
}

.current-soul strong {
  margin-top: 9px;
  font-size: 18px;
}

.current-soul span {
  color: #9db0d5;
  font-size: 12px;
}

.relation-node {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  width: 164px;
  min-height: 76px;
  padding: 11px 12px;
  text-align: left;
  background: rgba(14, 22, 50, 0.95);
  border: 1px solid rgba(108, 125, 223, 0.42);
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.relation-node:hover,
.relation-node.is-current {
  background: #152451;
  border-color: #65cbff;
}

.relation-node > i {
  grid-row: 1 / 3;
  align-self: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(124, 201, 255, 0.48);
  border-radius: 50%;
}

.relation-node strong {
  align-self: end;
  font-size: 14px;
}

.relation-node span {
  color: #92a2c3;
  font-size: 12px;
}

.node-one {
  top: 32px;
  left: 42px;
}

.node-two {
  top: 34px;
  right: 38px;
}

.node-three {
  bottom: 38px;
  left: 36px;
}

.node-four {
  right: 34px;
  bottom: 36px;
}

.dialogue-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  margin: 0 20px 20px;
  padding: 16px 18px;
  background: #111a35;
  border: 1px solid rgba(118, 133, 234, 0.34);
  border-radius: 5px;
}

.dialogue-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-mini,
.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: #27335f;
  border-radius: 50%;
}

.dialogue-user > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.dialogue-user strong {
  font-size: 14px;
}

.dialogue-user small {
  margin-top: 3px;
  color: #8998ba;
  font-size: 12px;
}

.dialogue-preview > p {
  align-self: center;
  color: #c7cfea;
  font-size: 13px;
}

.bond-line {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #9da9c9;
  font-size: 12px;
}

.bond-track {
  height: 6px;
  overflow: hidden;
  background: #27304d;
  border-radius: 5px;
}

.bond-track i {
  display: block;
  width: 64%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 5px;
}

.section {
  padding: 108px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
}

.role-section {
  background: #0a1023;
}

.role-browser {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
}

.role-filters {
  padding: 20px;
  background: #0d1730;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.filter-group + .filter-group {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(128, 146, 221, 0.2);
}

.filter-group > span {
  display: block;
  margin-bottom: 11px;
  color: #b6c1e4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.filter-button {
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  text-align: left;
  color: #97a5c9;
  font-size: 13px;
  background: transparent;
  border: 1px solid rgba(129, 145, 214, 0.24);
  border-radius: 5px;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: #ffffff;
  background: #633ee6;
  border-color: #8065f5;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.role-card {
  overflow: hidden;
  background: #0d1630;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.role-card[hidden] {
  display: none;
}

.role-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 10px;
  background: #111a34;
  border-bottom: 1px solid rgba(124, 140, 216, 0.22);
}

.role-card figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.role-card-body {
  padding: 17px;
}

.role-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6dd1ff;
  font-size: 12px;
  font-weight: 800;
}

.voice-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: #c7d0ee;
  font-size: 12px;
  background: transparent;
  border: 1px solid rgba(126, 143, 222, 0.3);
  border-radius: 5px;
  cursor: pointer;
}

.voice-button.is-playing {
  color: #ffffff;
  background: #274185;
  border-color: #55c7ff;
}

.role-card h3 {
  margin-top: 14px;
  font-size: 23px;
}

.role-card-body > p {
  margin-top: 5px;
  color: #93a1c6;
  font-size: 12px;
}

.role-progress {
  height: 5px;
  margin-top: 15px;
  overflow: hidden;
  background: #252e4d;
  border-radius: 5px;
}

.role-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 5px;
}

.connect-role {
  width: 100%;
  margin-top: 16px;
  padding: 11px 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  background: #7346ef;
  border: 1px solid #8f70f6;
  border-radius: 5px;
  cursor: pointer;
}

.connect-role:hover,
.connect-role.is-connected {
  background: #3b9ad9;
  border-color: #69d2ff;
}

.resonance-section {
  background:
    linear-gradient(90deg, rgba(63, 78, 164, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(63, 78, 164, 0.05) 1px, transparent 1px),
    #080d1e;
  background-size: 42px 42px;
}

.resonance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
}

.relationship-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0d1530;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.relationship-path li {
  position: relative;
  min-height: 310px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}

.relationship-path li:last-child {
  border-right: 0;
}

.relationship-path li::after {
  position: absolute;
  top: 76px;
  right: -14px;
  z-index: 2;
  width: 28px;
  height: 1px;
  content: "";
  background: rgba(105, 209, 255, 0.55);
}

.relationship-path li:last-child::after {
  display: none;
}

.relationship-path li > span {
  color: #6577ac;
  font-size: 12px;
  font-weight: 800;
}

.relationship-path li > i {
  display: flex;
  width: 48px;
  height: 48px;
  margin-top: 24px;
  border: 1px solid #4d5f98;
  border-radius: 50%;
}

.relationship-path li.is-complete > i,
.relationship-path li.is-current > i {
  border-color: #5dd6ff;
  box-shadow: 0 0 24px rgba(80, 204, 255, 0.2);
}

.relationship-path li.is-current {
  background: rgba(107, 62, 226, 0.16);
}

.relationship-path h3 {
  margin-top: 34px;
  font-size: 19px;
}

.relationship-path p {
  margin-top: 10px;
  color: #94a1c4;
  font-size: 13px;
}

.story-choice {
  padding: 28px;
  background: #121a34;
  border: 1px solid rgba(125, 111, 240, 0.5);
  border-radius: 5px;
}

.story-choice h3 {
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.5;
}

.choice-message {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 14px;
  background: #0a1023;
  border: 1px solid rgba(124, 137, 219, 0.25);
  border-radius: 5px;
}

.choice-message i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background-color: #2c3763;
  border-radius: 50%;
}

.choice-message p {
  color: #c3cbe5;
  font-size: 13px;
}

.story-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  gap: 12px;
  margin-top: 11px;
  padding: 10px 13px;
  text-align: left;
  background: #1a2340;
  border: 1px solid rgba(126, 143, 220, 0.3);
  border-radius: 5px;
  cursor: pointer;
}

.story-option strong {
  flex: 0 0 auto;
  color: #73d8ff;
  font-size: 12px;
}

.story-option:hover,
.story-option.is-selected {
  background: #6d3fe0;
  border-color: #a089ff;
}

.story-option.is-selected strong {
  color: #ffffff;
}

.choice-result {
  margin-top: 20px;
  color: #8f9bbd;
  font-size: 12px;
}

.choice-result strong {
  color: #d5dcf4;
}

.screen-section {
  background: #0b1125;
}

.screen-track {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  justify-content: space-between;
  gap: 24px;
}

.screen-card {
  width: 250px;
  overflow: hidden;
  background: #111a35;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.screen-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 450px;
  padding: 8px;
  background: #070b18;
  border-bottom: 1px solid var(--line);
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  min-height: 92px;
  padding: 18px;
}

.screen-card figcaption span {
  grid-row: 1 / 3;
  color: #68d2ff;
  font-size: 13px;
  font-weight: 800;
}

.screen-card figcaption strong {
  font-size: 17px;
}

.screen-card figcaption small {
  color: #8f9cbd;
  font-size: 12px;
}

.guide-section {
  background: #080d1d;
}

.faq-list {
  border-top: 1px solid rgba(127, 143, 211, 0.32);
}

.faq-item {
  border-bottom: 1px solid rgba(127, 143, 211, 0.26);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  gap: 20px;
  padding: 14px 20px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question > span {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 800;
}

.faq-question b {
  color: #6ed4ff;
  font-size: 12px;
}

.faq-question > i,
.detail-state {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.faq-question > i::before,
.faq-question > i::after,
.detail-state::before,
.detail-state::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: #b9c3df;
  transform: translate(-50%, -50%);
}

.faq-question > i::after,
.detail-state::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] > i::after,
.official-site[open] .detail-state::after {
  display: none;
}

.faq-question:hover {
  color: #78d8ff;
  background: rgba(50, 75, 148, 0.12);
}

.faq-answer {
  padding: 0 72px 24px;
}

.faq-answer p {
  color: #9eacca;
  font-size: 14px;
}

.official-site {
  margin-top: 22px;
  background: #0f1730;
  border: 1px solid rgba(111, 198, 255, 0.38);
  border-radius: 5px;
}

.official-site summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.official-content {
  padding: 0 52px 22px;
}

.official-content a {
  color: #68d3ff;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.review-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(67, 88, 210, 0.12), transparent 28%),
    #0c1226;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 24px;
  background: #111a35;
  border: 1px solid rgba(120, 140, 222, 0.28);
  border-top: 2px solid #6e58ed;
  border-radius: 5px;
}

.review-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.review-meta > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.review-meta strong {
  font-size: 14px;
}

.review-meta small {
  margin-top: 3px;
  color: #8796bb;
  font-size: 12px;
}

.review-score {
  color: #ffd75f;
  font-size: 12px;
  white-space: nowrap;
}

.review-card > p {
  margin-top: 22px;
  color: #c2cbe5;
  font-size: 14px;
  line-height: 1.95;
}

.review-card time {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 18px;
  color: #8493b7;
  font-size: 12px;
}

.download-section {
  padding: 90px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 50%, rgba(74, 83, 236, 0.25), transparent 35%),
    #070b1b;
}

.download-pass {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 270px;
  min-height: 210px;
  overflow: hidden;
  background: #101936;
  border: 1px solid rgba(121, 158, 255, 0.55);
  border-radius: 5px;
  box-shadow: 0 24px 70px rgba(37, 29, 120, 0.28);
}

.pass-brand {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  background: #0a112a;
  border-right: 1px solid rgba(120, 141, 221, 0.3);
}

.pass-orbit {
  position: absolute;
  right: -60px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(71, 210, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(117, 68, 240, 0.08), 0 0 0 62px rgba(74, 188, 255, 0.04);
}

.pass-brand p {
  position: relative;
  z-index: 1;
  color: #67d1ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.pass-brand h2 {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 34px;
}

.pass-message {
  align-self: center;
  padding: 32px 44px;
}

.pass-message h3 {
  margin-top: 8px;
  font-size: 30px;
}

.pass-message > p:last-child {
  margin-top: 10px;
  color: #9faaca;
  font-size: 14px;
}

.pass-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 26px;
  background: linear-gradient(145deg, #7b44ea, #334edc);
}

.pass-action > span {
  color: #dcd8ff;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.pass-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  gap: 10px;
  color: #16102c;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 5px;
}

.pass-action a:hover {
  color: #ffffff;
  background: #17102f;
  border-color: #bdaeff;
}

.site-footer {
  padding: 40px 0 30px;
  background: #050817;
  border-top: 1px solid rgba(114, 133, 225, 0.22);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.footer-nav a {
  color: #aeb8d5;
  font-size: 13px;
}

.footer-nav a:hover {
  color: #74d7ff;
}

.copyright {
  color: #7784a7;
  font-size: 12px;
  white-space: nowrap;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  visibility: hidden;
  opacity: 0;
  background: #6c43e8;
  border: 1px solid #a487ff;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
}

.back-top.is-visible {
  visibility: visible;
  opacity: 1;
}

.back-top:hover {
  background: #3e9ddc;
}

.i-download,
.i-heart,
.i-memory,
.i-story,
.i-spark,
.i-avatar,
.i-voice,
.i-chat,
.i-globe,
.i-top {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.i-download {
  background-image: url("../icons/download.svg");
}

.i-heart {
  background-image: url("../icons/heart.svg");
}

.i-memory {
  background-image: url("../icons/memory.svg");
}

.i-story {
  background-image: url("../icons/story.svg");
}

.i-spark {
  background-image: url("../icons/spark.svg");
}

.i-avatar {
  background-image: url("../icons/avatar.svg");
}

.i-voice {
  background-image: url("../icons/voice.svg");
}

.i-chat {
  background-image: url("../icons/chat.svg");
}

.i-globe {
  background-image: url("../icons/globe.svg");
}

.i-top {
  background-image: url("../icons/top.svg");
}

:focus-visible {
  outline: 2px solid #6dd7ff;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
    gap: 32px;
  }

  .main-nav ul {
    gap: 22px;
  }

  .header-actions {
    margin-left: 22px;
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-track {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    background: #0a1023;
    border-top: 1px solid rgba(111, 137, 238, 0.22);
    border-bottom: 1px solid rgba(111, 137, 238, 0.28);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
    gap: 0;
  }

  .main-nav li + li {
    border-top: 1px solid rgba(116, 137, 220, 0.18);
  }

  .main-nav a {
    height: 50px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-download {
    min-width: 110px;
    height: 42px;
    padding: 0 13px;
  }

  .download-wide,
  .header-download .i-download {
    display: none;
  }

  .download-mobile {
    display: inline;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: 1px solid #66729d;
    border-radius: 5px;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: #ffffff;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 72px 0 82px;
  }

  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-features {
    justify-content: center;
  }

  .relation-console {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .role-browser {
    grid-template-columns: 1fr;
  }

  .role-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .filter-group + .filter-group {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .resonance-layout {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-pass {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .pass-action {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .pass-action a {
    width: min(100%, 300px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 76px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
    text-align: center;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .section-heading > p {
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-copy h1 {
    font-size: 66px;
  }

  .hero-slogan {
    font-size: 30px;
  }

  .hero-features {
    gap: 16px;
  }

  .orbit-stage {
    height: 420px;
  }

  .orbit-one {
    width: 170px;
    height: 170px;
  }

  .orbit-two {
    width: 270px;
    height: 270px;
  }

  .orbit-three {
    width: 380px;
    height: 380px;
  }

  .current-soul {
    width: 138px;
  }

  .current-soul img {
    width: 62px;
    height: 62px;
  }

  .relation-node {
    grid-template-columns: 28px 1fr;
    width: 132px;
    min-height: 66px;
    padding: 9px;
  }

  .relation-node > i {
    width: 24px;
    height: 24px;
  }

  .relation-node strong {
    font-size: 12px;
  }

  .relation-node span {
    display: none;
  }

  .node-one {
    top: 24px;
    left: 18px;
  }

  .node-two {
    top: 26px;
    right: 18px;
  }

  .node-three {
    bottom: 28px;
    left: 16px;
  }

  .node-four {
    right: 16px;
    bottom: 28px;
  }

  .dialogue-preview {
    grid-template-columns: 1fr;
  }

  .dialogue-preview > p {
    text-align: left;
  }

  .role-filters {
    grid-template-columns: 1fr;
  }

  .filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-group + .filter-group {
    padding-top: 14px;
    border-top: 1px solid rgba(128, 146, 221, 0.2);
  }

  .filter-group > span {
    width: 100%;
    margin-bottom: 0;
  }

  .filter-button {
    width: auto;
    margin-top: 0;
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-card figure {
    height: 190px;
  }

  .relationship-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .relationship-path li {
    min-height: 230px;
    border-bottom: 1px solid var(--line);
  }

  .relationship-path li:nth-child(2) {
    border-right: 0;
  }

  .relationship-path li:nth-child(3),
  .relationship-path li:nth-child(4) {
    border-bottom: 0;
  }

  .relationship-path li::after {
    display: none;
  }

  .screen-track {
    display: flex;
    justify-content: flex-start;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .screen-card {
    flex: 0 0 250px;
    scroll-snap-align: center;
  }

  .faq-question {
    min-height: 66px;
    padding: 13px 8px;
  }

  .faq-question > span {
    align-items: flex-start;
    gap: 13px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 8px 20px 33px;
  }

  .official-site summary {
    padding: 15px;
  }

  .official-content {
    padding: 0 47px 20px;
  }

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

  .review-card {
    min-height: 0;
  }

  .download-pass {
    grid-template-columns: 1fr;
  }

  .pass-brand {
    min-height: 150px;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid rgba(120, 141, 221, 0.3);
  }

  .pass-message {
    padding: 28px 24px;
    text-align: center;
  }

  .pass-message h3 {
    font-size: 25px;
  }

  .pass-action {
    grid-column: auto;
    flex-direction: column;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 66px;
  }

  .container,
  .header-inner,
  .main-nav ul {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy > span {
    margin-top: 2px;
    font-size: 12px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-download {
    min-width: 86px;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .hero-layout {
    padding: 58px 0 70px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-slogan {
    font-size: 25px;
  }

  .hero-description {
    font-size: 14px;
  }

  .primary-action {
    width: 100%;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .hero-features li {
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 10px 4px;
    font-size: 12px;
    background: rgba(15, 24, 51, 0.65);
    border: 1px solid rgba(106, 129, 217, 0.22);
    border-radius: 5px;
  }

  .console-bar {
    padding: 0 12px;
    font-size: 12px;
  }

  .orbit-stage {
    height: 390px;
  }

  .orbit-one {
    width: 145px;
    height: 145px;
  }

  .orbit-two {
    width: 230px;
    height: 230px;
  }

  .orbit-three {
    width: 320px;
    height: 320px;
  }

  .current-soul {
    width: 118px;
    padding: 12px;
  }

  .current-soul img {
    width: 50px;
    height: 50px;
  }

  .current-soul strong {
    font-size: 15px;
  }

  .relation-node {
    width: 104px;
    min-height: 54px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .relation-node > i {
    display: none;
  }

  .node-one,
  .node-three {
    left: 8px;
  }

  .node-two,
  .node-four {
    right: 8px;
  }

  .dialogue-preview {
    margin: 0 10px 10px;
    padding: 13px;
  }

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

  .role-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .role-card figure {
    height: 100%;
    min-height: 230px;
    border-right: 1px solid rgba(124, 140, 216, 0.22);
    border-bottom: 0;
  }

  .voice-button span {
    display: none;
  }

  .relationship-path li {
    min-height: 214px;
    padding: 22px 15px;
  }

  .relationship-path h3 {
    margin-top: 24px;
    font-size: 17px;
  }

  .story-choice {
    padding: 20px 16px;
  }

  .review-meta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .review-score {
    grid-column: 2;
  }

  .footer-nav ul {
    gap: 12px 18px;
  }
}

@media (max-width: 370px) {
  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy > span {
    font-size: 12px;
  }

  .header-download {
    min-width: 78px;
    padding: 0 8px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .section-heading h2 {
    font-size: 35px;
  }
}

@media (hover: none) {
  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }
}
