@font-face {
  font-family: 'Montserrat';
  src: url('/share-pages/fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/share-pages/fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/share-pages/fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/share-pages/fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/share-pages/fonts/Montserrat-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
}

:root {
  --yellow: #facc15;
  --yellow-2: #f4c430;
  --yellow-3: #fde047;
  --bg: #0a0a0c;
  --bg-2: #131318;
  --panel: #1a1a22;
  --panel-2: #22222c;
  --panel-3: #2b2b36;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-low: rgba(255, 255, 255, 0.42);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-body {
  margin: 0;
  font-family:
    'Montserrat',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}

.home-skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--yellow);
  color: #000;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.home-skip:focus {
  top: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- pills, kickers ---------- */
.home-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.home-kicker--xs {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  background: transparent;
  color: var(--text);
}
.home-pill--lg {
  padding: 16px 28px;
  font-size: 15px;
}
.home-pill--block {
  width: 100%;
}
.home-pill--yellow {
  background: var(--yellow);
  color: #0a0a0c;
}
.home-pill--yellow:hover {
  background: var(--yellow-3);
  transform: translateY(-1px);
}
.home-pill--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-2);
}
.home-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.home-pill.is-active {
  background: var(--yellow);
  color: #0a0a0c;
}

.home-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.home-chip--count {
  color: var(--yellow);
  border-color: rgba(250, 204, 21, 0.3);
}

/* ---------- header ---------- */
.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.home-header.is-stuck {
  background: rgba(10, 10, 12, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.home-brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
}
.home-brand__ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px dashed var(--yellow);
  opacity: 0.7;
  animation: spin-slow 18s linear infinite;
}
.home-brand__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #0a0a0c;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.18);
}
.home-brand__dot {
  display: none;
}
.home-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.home-brand__text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.home-brand__text span {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.home-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.home-nav a:hover,
.home-nav a.is-active {
  color: var(--text);
  border-color: var(--yellow);
}

.home-header__cta {
  padding: 10px 18px;
  font-size: 13px;
}
.home-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.home-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.home-mobile-menu {
  display: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 12px;
}
.home-mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.home-mobile-menu.is-open {
  display: flex;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- HERO ---------- */
.home-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.45) saturate(1.15);
  transform: scale(1.15);
}
.home-hero__bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(250, 204, 21, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(98, 73, 217, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(10, 10, 12, 0.85) 70%, var(--bg) 100%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  flex: 1;
}

.home-hero__title {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-hero__title-yellow {
  color: var(--yellow);
}
.home-hero__title span {
  display: block;
}

.home-hero__desc {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.55;
}
.home-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* orbit */
.home-hero__stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.home-orbit {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-orbit__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.home-orbit__ring--outer {
  inset: 0;
  border: 1.5px dashed rgba(250, 204, 21, 0.55);
  animation: spin-slow 26s linear infinite;
}
.home-orbit__ring--inner {
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: spin-slow 40s linear infinite reverse;
}
.home-orbit__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.7);
}
.home-orbit__dot--a {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}
.home-orbit__dot--b {
  bottom: 8%;
  left: -3px;
  width: 10px;
  height: 10px;
}
.home-orbit__dot--c {
  top: 22%;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #fde047;
}
.home-orbit__dot--d {
  bottom: -4px;
  right: 18%;
  width: 6px;
  height: 6px;
  opacity: 0.7;
}
.home-orbit__core {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2a2238 0%, #14101e 70%);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 60px rgba(250, 204, 21, 0.15) inset;
}
.home-orbit__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.18);
}
.home-orbit__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 60%, rgba(250, 204, 21, 0.25) 0%, transparent 60%);
}
.home-orbit__caption {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--line-2);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.home-orbit__kicker {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.home-orbit__mode {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.home-orbit__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-low);
}
.home-orbit__result {
  position: absolute;
  top: 6%;
  right: -8%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.home-orbit__element {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-orbit__element img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.home-orbit__result-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* mode strip */
.home-modestrip {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 64px;
}
.home-modecard {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 96px;
  display: flex;
  align-items: flex-end;
}
.home-modecard__art {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}
.home-modecard__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(1.1);
}
.home-modecard__art--boss {
  background:
    radial-gradient(circle at 70% 30%, rgba(244, 63, 94, 0.45), transparent 60%),
    linear-gradient(135deg, #2a0e16, #150611);
}
.home-modecard__art--region {
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.4), transparent 60%),
    linear-gradient(135deg, #082018, #04130d);
}
.home-modecard__art--element {
  background:
    radial-gradient(circle at 70% 60%, rgba(56, 189, 248, 0.45), transparent 60%),
    linear-gradient(135deg, #0a1a2a, #050d18);
}
.home-modecard__body {
  position: relative;
  z-index: 2;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-modecard__title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* ---------- sections common ---------- */
.home-section {
  padding: 96px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.home-section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.home-section__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  margin: 12px 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.home-section__sub {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- bento (use cases) ---------- */
.home-bento__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.home-bento__card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.home-bento__card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.home-bento__card--hero {
  grid-column: span 6;
  min-height: 340px;
}
.home-bento__card--pair {
  grid-column: span 6;
  min-height: 340px;
}
.home-bento__card--triplet {
  grid-column: span 4;
}
.home-bento__card--text {
  grid-column: span 4;
}
.home-bento__card--profile {
  grid-column: span 4;
}
.home-bento__card--chats {
  grid-column: span 6;
}
.home-bento__card--mini {
  grid-column: span 6;
}

.home-bento__art {
  position: relative;
  flex: 1 1 auto;
  min-height: 180px;
  background:
    radial-gradient(circle at 70% 30%, rgba(250, 204, 21, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #1f1a28 0%, #14111c 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.home-bento__art img {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 80%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.home-bento__halo {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px dashed rgba(250, 204, 21, 0.45);
  animation: spin-slow 28s linear infinite;
}

.home-bento__pair {
  position: relative;
  flex: 1 1 auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #1f1a28 0%, #14111c 100%);
  padding: 16px;
}
.home-bento__pair-portrait {
  width: 120px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.home-bento__pair-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.home-bento__pair-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0a0a0c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  position: relative;
  flex: 0 0 auto;
}
.home-bento__pair-link::before {
  content: '+';
  font-size: 22px;
  line-height: 1;
}

.home-bento__triplet {
  list-style: none;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  justify-content: center;
  background: linear-gradient(180deg, #1f1a28 0%, #14111c 100%);
}
.home-bento__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.home-bento__chip-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}
.home-bento__chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-bento__chip--region .home-bento__chip-icon {
  color: #fde047;
}

.home-bento__textbox {
  position: relative;
  flex: 1 1 auto;
  margin: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #0e0c14;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
}
.home-bento__textbox-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-low);
}
.home-bento__textbox-input {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.home-bento__textbox-cursor {
  width: 2px;
  height: 16px;
  background: var(--yellow);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}

.home-bento__profile {
  flex: 1 1 auto;
  padding: 18px;
  background: linear-gradient(180deg, #1f1a28 0%, #14111c 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  overflow: hidden;
}
.home-bento__profile-row {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}
.home-bento__profile-char {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.home-bento__profile-char img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-bento__profile-char--ghost {
  opacity: 0.35;
  filter: grayscale(0.6);
}

.home-bento__chats {
  flex: 1 1 auto;
  padding: 22px;
  background: linear-gradient(180deg, #1f1a28 0%, #14111c 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.home-bento__bubble {
  display: inline-block;
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
}
.home-bento__bubble--in {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-top-left-radius: 6px;
  align-self: flex-start;
}
.home-bento__bubble--out {
  background: var(--yellow);
  color: #0a0a0c;
  border-top-right-radius: 6px;
  align-self: flex-end;
  font-weight: 600;
}
.home-bento__bubble--short {
  max-width: 50%;
}

.home-bento__mini {
  position: relative;
  flex: 1 1 auto;
  min-height: 180px;
  background: linear-gradient(135deg, #2a2438 0%, #14111c 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-bento__minitile {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--text);
}
.home-bento__minitile--a {
  top: 30%;
  left: 18%;
  background: var(--yellow);
  color: #0a0a0c;
  transform: rotate(-6deg);
}
.home-bento__minitile--b {
  top: 18%;
  right: 22%;
  transform: rotate(8deg);
}
.home-bento__minitile--c {
  bottom: 22%;
  left: 32%;
  transform: rotate(-3deg);
}
.home-bento__minitile--d {
  bottom: 14%;
  right: 14%;
  transform: rotate(10deg);
}

.home-bento__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.home-bento__title {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 0;
}
.home-bento__desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 960px) {
  .home-bento__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .home-bento__card--hero,
  .home-bento__card--pair,
  .home-bento__card--chats,
  .home-bento__card--mini {
    grid-column: span 6;
  }
  .home-bento__card--triplet,
  .home-bento__card--text,
  .home-bento__card--profile {
    grid-column: span 3;
  }
}
@media (max-width: 640px) {
  .home-bento__grid {
    grid-template-columns: 1fr;
  }
  .home-bento__card {
    grid-column: span 1 !important;
  }
}

/* ---------- pairings ---------- */
.home-pairings {
  background: linear-gradient(180deg, var(--bg) 0%, #14111c 100%);
}
.home-pair__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.home-pair__stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
}
.home-pair__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.home-portrait {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-portrait__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(250, 204, 21, 0.55);
  animation: spin-slow 30s linear infinite;
}
.home-portrait__halo--inner {
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: spin-slow 44s linear infinite reverse;
}
.home-portrait__core {
  position: relative;
  z-index: 2;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2a2238 0%, #14101e 70%);
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.home-portrait__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.15);
}
.home-portrait__label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid var(--line-2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.home-pair__link {
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-pair__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.4;
}
.home-pair__dot:nth-child(1) {
  opacity: 0.2;
}
.home-pair__dot:nth-child(2) {
  opacity: 0.35;
}
.home-pair__dot:nth-child(3) {
  opacity: 0.55;
}
.home-pair__dot:nth-child(4) {
  opacity: 0.85;
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}
.home-pair__dot:nth-child(5) {
  opacity: 0.55;
}
.home-pair__dot:nth-child(6) {
  opacity: 0.35;
}
.home-pair__dot:nth-child(7) {
  opacity: 0.2;
}

.home-ideas {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.home-ideas__title {
  margin: 8px 0 18px;
  font-size: 22px;
  font-weight: 700;
}
.home-ideas__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-idea {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.home-idea__tag {
  background: var(--yellow);
  color: #0a0a0c;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-idea__text {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- social ---------- */
.home-social__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.home-profile {
  background:
    radial-gradient(circle at 30% 0%, rgba(250, 176, 21, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #1a1620 0%, #11111a 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.home-profile__head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-profile__avatar {
  position: relative;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #0a0a0c;
  border: 2px solid rgba(250, 204, 21, 0.5);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.18);
}
.home-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.home-profile__id {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-profile__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.home-profile__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.home-profile__region {
  color: var(--text);
  font-weight: 500;
}
.home-profile__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-low);
}
.home-profile__uid {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-profile__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 16px;
}
.home-profile__strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.home-profile__strip-item strong {
  font-size: 18px;
  font-weight: 700;
}
.home-profile__strip-item span {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: lowercase;
}

.home-profile__chars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.home-profile__char {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
}
.home-profile__char img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.1);
}
.home-profile__char:nth-child(n + 7) {
  display: none;
}

.home-chat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.home-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.home-chat__head-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #14101e;
  border: 1px solid var(--line);
  flex: 0 0 36px;
}
.home-chat__head-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.15);
}
.home-chat__head-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.home-chat__head-text strong {
  font-size: 14px;
  font-weight: 700;
}
.home-chat__head-text span {
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.04em;
}
.home-chat__bubbles {
  flex: 1 1 auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-chat__bubble {
  max-width: 80%;
}
.home-chat__bubble p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 14px;
}
.home-chat__bubble--in {
  align-self: flex-start;
}
.home-chat__bubble--in p {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-top-left-radius: 6px;
}
.home-chat__bubble--out {
  align-self: flex-end;
}
.home-chat__bubble--out p {
  background: var(--yellow);
  color: #0a0a0c;
  border-top-right-radius: 6px;
  font-weight: 600;
}
.home-chat__bubble--short {
  max-width: 55%;
}
.home-chat__bubble--image {
  max-width: 70%;
}
.home-chat__attachment {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-top-right-radius: 6px;
  overflow: hidden;
}
.home-chat__attachment img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.05);
  display: block;
}
.home-chat__attachment-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid var(--line);
}
.home-chat__attachment-tag strong {
  font-size: 13px;
  color: var(--text);
}
.home-kicker--xs {
  font-size: 9px;
  letter-spacing: 0.18em;
}
.home-chat__composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.home-chat__composer-input {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 13px;
}
.home-chat__composer-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0a0a0c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- roster (collection) ---------- */
.home-roster__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.home-roster__card {
  position: relative;
  background:
    radial-gradient(circle at 100% 0%, rgba(250, 204, 21, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #1a1620 0%, #0e0c14 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.home-roster__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home-roster__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.home-roster__brand img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a0a0c;
}
.home-roster__owner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12px;
  color: var(--text-dim);
}
.home-roster__owner strong {
  font-size: 14px;
  color: var(--text);
}
.home-roster__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.home-roster__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
}
.home-roster__stat strong {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.home-roster__stat span {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-roster__stat--owned strong {
  color: var(--yellow);
}
.home-roster__stat--wanted strong {
  color: #fde047;
}
.home-roster__stat--saving strong {
  color: #f59e0b;
}

.home-roster__tracks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-roster__track {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.home-roster__track-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-low);
  font-weight: 700;
}
.home-roster__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  overflow: hidden;
  flex-wrap: nowrap;
}
.home-roster__chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.home-roster__chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.1);
}
.home-roster__chip--owned {
  border-color: rgba(250, 204, 21, 0.45);
}
.home-roster__chip--wanted {
  border-color: rgba(253, 224, 71, 0.35);
  opacity: 0.85;
}
.home-roster__chip--saving {
  border-color: rgba(245, 158, 11, 0.35);
  opacity: 0.7;
}

.home-roster__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed rgba(250, 204, 21, 0.3);
}
.home-roster__foot-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.home-roster__foot-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-roster__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.home-roster__values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-roster__values li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.home-roster__values li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-roster__values strong {
  font-size: 15px;
  font-weight: 700;
}
.home-roster__values span {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.home-roster__value-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}

@media (max-width: 960px) {
  .home-roster__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- mini ---------- */
.home-mini__grid {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.home-mini__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.home-mini__card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.home-mini__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow) 0%, #f59e0b 100%);
  margin-bottom: 6px;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.25);
}
.home-mini__card--1 .home-mini__icon {
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.25);
}
.home-mini__card--2 .home-mini__icon {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.25);
}
.home-mini__card--3 .home-mini__icon {
  background: linear-gradient(135deg, #f472b6, #ec4899);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.25);
}
.home-mini__card--4 .home-mini__icon {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.25);
}
.home-mini__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.home-mini__body {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}
.home-mini__note {
  color: var(--text-low);
  font-size: 13px;
  text-align: center;
  margin: 0;
}

/* ---------- stats ---------- */
.home-stats__grid {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}
.home-stat__num {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.home-stat__label {
  display: block;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.home-platforms {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-platform {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
}
.home-platform img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ---------- final cta ---------- */
.home-final__panel {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(250, 204, 21, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(98, 73, 217, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #18141f 0%, #0d0a14 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.home-final__title {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  max-width: 600px;
  line-height: 1.2;
}
.home-final__sub {
  margin: 0;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.55;
}

/* ---------- footer ---------- */
.home-footer {
  border-top: 1px solid var(--line);
  background: #07070a;
  padding: 56px 24px 32px;
}
.home-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.home-footer__brand p {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}
.home-footer__disclaimer {
  color: var(--text-low);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  max-width: 820px;
}
.home-footer__rights {
  color: var(--text-low);
  font-size: 12px;
  margin: 0;
}

/* ---------- modal ---------- */
.home-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.home-modal[hidden] {
  display: none;
}
.home-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.home-modal__panel {
  position: relative;
  width: min(640px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.home-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.home-modal__title {
  margin: 8px 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.home-modal__sub {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 14px;
}
.home-modal__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.home-store {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  line-height: 0;
}
.home-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.home-store img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .home-hero__stage {
    min-height: 360px;
  }
  .home-orbit {
    width: min(360px, 80%);
  }
  .home-modestrip {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-showcase__grid {
    grid-template-columns: 1fr;
  }
  .home-showcase__tabs {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .home-showcase__tabs li {
    flex: 1 1 calc(50% - 4px);
  }
  .home-tab.is-active::before {
    display: none;
  }
  .home-pair__grid {
    grid-template-columns: 1fr;
  }
  .home-social__grid {
    grid-template-columns: 1fr;
  }
  .home-collection__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-mini__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-platforms {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .home-panel__art {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 760px) {
  .home-nav {
    display: none;
  }
  .home-header__cta {
    display: none;
  }
  .home-burger {
    display: inline-flex;
    margin-left: auto;
  }
  .home-section {
    padding: 72px 20px;
  }
  .home-hero {
    padding: 100px 20px 0;
  }
  .home-modestrip {
    padding-bottom: 48px;
  }
  .home-final__panel {
    padding: 36px 24px;
  }
  .home-profile__chars {
    grid-template-columns: repeat(6, 1fr);
  }
  .home-pair__stage {
    padding: 36px 20px;
  }
  .home-pair__link {
    display: none;
  }
  .home-collection__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .home-hero__title {
    font-size: 40px;
  }
  .home-modestrip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .home-mini__grid {
    grid-template-columns: 1fr;
  }
  .home-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-collection__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-modal__panel {
    padding: 24px;
  }
  .home-modal__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============== v4 refinements ============== */

/* highlights row */
.home-highlights {
  max-width: 1280px;
  margin: -16px auto 0;
  padding: 0 24px 16px;
}
.home-highlights__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.home-highlights__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  line-height: 1;
}
.home-highlights__icon {
  display: inline-flex;
  color: var(--yellow);
}
@media (max-width: 600px) {
  .home-highlights {
    margin-top: 0;
    padding: 12px 16px 0;
  }
  .home-highlights__item {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* offline badge in mini-games head */
.home-offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-offline-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18);
}

/* mini-games screenshot covers */
.home-mini__grid {
  grid-template-columns: repeat(3, 1fr) !important;
}
.home-mini__card {
  padding: 14px;
  gap: 0;
}
.home-mini__cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f1a28, #0e0c14);
  margin-bottom: 14px;
}
.home-mini__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-mini__cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
}
.home-mini__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px 6px;
}
.home-mini__desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .home-mini__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 560px) {
  .home-mini__grid {
    grid-template-columns: 1fr !important;
  }
}

/* lighter roster section */
.home-roster__lite {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.home-roster__lite .home-roster__values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.home-roster__lite .home-roster__values li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}
.home-roster__lite .home-roster__values strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.home-roster__lite .home-roster__values span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.home-roster__mini {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-roster__mini-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.home-roster__mini-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.home-roster__mini-stats strong {
  font-size: 18px;
  color: var(--yellow);
}
.home-roster__mini-stats span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-roster__mini-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
.home-roster__mini-chip {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.home-roster__mini-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-roster__mini-hint {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.home-roster__cta-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
@media (max-width: 860px) {
  .home-roster__lite {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-roster__mini-row {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (max-width: 480px) {
  .home-roster__mini-row {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* pairings mobile fix */
@media (max-width: 760px) {
  .home-pair__grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .home-pair__stage {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 28px 16px;
  }
  .home-pair__stage::before {
    display: none;
  }
  .home-portrait {
    max-width: 240px;
    margin: 0 auto;
  }
  .home-pair__link {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    transform: none;
  }
  .home-ideas {
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  .home-portrait {
    max-width: 200px;
  }
}

/* prevent horizontal overflow */
.home,
.home-section {
  overflow-x: clip;
}

/* ============== v4.1 polish pass ============== */

/* brand text spacing — header + footer */
.home-brand__text {
  gap: 4px;
  line-height: 1.15;
}
.home-brand__text strong {
  letter-spacing: 0.02em;
}
.home-brand__text span {
  letter-spacing: 0.14em;
}

/* highlights row — standalone block, no overlap with hero */
.home-highlights {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}
@media (max-width: 760px) {
  .home-highlights {
    padding: 48px 20px 12px;
  }
}
@media (max-width: 480px) {
  .home-highlights {
    padding: 36px 16px 8px;
  }
}

/* bento section — keep within max-width container like other sections */
.home-bento {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px;
}
@media (max-width: 960px) {
  .home-bento {
    padding: 72px 20px;
  }
}
@media (max-width: 480px) {
  .home-bento {
    padding: 56px 16px;
  }
}

/* social profile avatar — fully circular image */
.home-profile__avatar img {
  object-fit: cover !important;
  padding: 0 !important;
  border-radius: 50%;
  display: block;
}

/* social profile meta — Europe / UID line */
.home-profile__meta {
  flex-wrap: wrap;
  white-space: nowrap;
  gap: 8px;
}
.home-profile__region,
.home-profile__uid {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .home-profile__meta {
    font-size: 12px;
    gap: 6px;
  }
  .home-profile__name {
    font-size: 18px;
  }
}

/* hero orbit — bigger desktop, responsive scale */
.home-orbit {
  width: clamp(320px, 42vw, 580px);
  aspect-ratio: 1;
}
.home-hero__stage {
  min-height: clamp(320px, 42vw, 580px);
}

/* orbit dots — sit precisely on the outer ring perimeter, rotate with ring */
.home-orbit__dot {
  width: 12px;
  height: 12px;
}
.home-orbit__dot--a {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  bottom: auto;
  right: auto;
}
.home-orbit__dot--b {
  top: 50%;
  right: -6px;
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
}
.home-orbit__dot--c {
  bottom: -6px;
  left: 50%;
  top: auto;
  right: auto;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
}
.home-orbit__dot--d {
  top: 50%;
  left: -6px;
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  opacity: 0.85;
}

/* hero result chip — pull closer to the character, slightly larger */
.home-orbit__result {
  top: 10%;
  right: -4%;
  padding: 9px 16px 9px 9px;
}
.home-orbit__element {
  width: 30px;
  height: 30px;
}
.home-orbit__element img {
  width: 20px;
  height: 20px;
}
.home-orbit__result-name {
  font-size: 14px;
}
.home-orbit__caption {
  bottom: 6%;
  padding: 9px 18px;
}
.home-orbit__mode {
  font-size: 15px;
}
@media (max-width: 760px) {
  .home-orbit__result {
    top: 6%;
    right: 0;
  }
  .home-orbit__caption {
    bottom: -10px;
  }
}
