:root {
  --bg: #071226;
  --bg-soft: #0d1a33;
  --panel: rgba(10, 22, 44, 0.84);
  --panel-strong: #0d1830;

  --text: #eef2ff;
  --muted: #b4bdd8;

  --line: rgba(212, 176, 97, 0.18);
  --line-strong: rgba(212, 176, 97, 0.28);

  --primary: #d6b46a;
  --primary-2: #f1d27a;
  --accent: #f1d27a;
  --accent-2: #ffe29a;

  --gold-soft: #d8bb72;
  --gold-bright: #f1d27a;
  --gold-glow: rgba(241, 210, 122, 0.18);

  --success: #2dd4bf;
  --danger: #fb7185;

  --master: linear-gradient(135deg, #f6e2a3 0%, #d4ae60 45%, #b98a3f 100%);

  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 180, 106, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(241, 210, 122, 0.05), transparent 18%),
    linear-gradient(180deg, #071226 0%, #08142a 45%, #09152c 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

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

.site-shell {
  min-height: 100vh;
}

.card {
  background: linear-gradient(180deg, rgba(10, 22, 44, 0.88), rgba(8, 18, 37, 0.92));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 236, 180, 0.05);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 28px;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}

.hero__glow--one {
  width: 320px;
  height: 320px;
  background: rgba(139, 92, 246, 0.28);
  top: -80px;
  left: -60px;
}

.hero__glow--two {
  width: 340px;
  height: 340px;
  background: rgba(247, 178, 103, 0.18);
  top: -40px;
  right: -80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(214, 180, 106, 0.10), rgba(214, 180, 106, 0.05));
  border: 1px solid rgba(214, 180, 106, 0.22);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f6e6b3;

  text-shadow:
    0 0 12px rgba(139, 92, 246, 0.25),
    0 0 32px rgba(109, 94, 252, 0.12);
}
.title-main {
  font-size: 2.7rem;
  display: block;
  line-height: 1.05;
}

.title-sub {
  font-size: 2.1rem;
  opacity: 1;
  margin-top: -6px;
}
.hero__lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero__highlights li {
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(214, 180, 106, 0.08), rgba(214, 180, 106, 0.04));
  border: 1px solid rgba(214, 180, 106, 0.18);
  border-radius: 999px;
  color: #f3e6bb;
  font-weight: 600;
  font-size: 0.95rem;
}
.meta-item strong,
.reading-block h3,
.technical-breakdown h3,
.sidebar-head h3,
.seo-content h2,
.seo-content h3 {
  color: #f1dfab;
}
.meta-item,
.reading-block,
.technical-breakdown,
.tech-item,
.explore-tile,
.compatibility-result,
.mini-card {
  border: 1px solid rgba(212, 176, 97, 0.12);
}
.hero__card {
  padding: 24px 24px 0px;
}

.calc-form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-weight: 700;
  color: var(--text);
}

.field-group label span {
  font-weight: 500;
  color: var(--muted);
}

.field-group input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.field-group input:focus {
  border-color: rgba(139, 92, 246, 0.8);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.field-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 34px rgba(184, 139, 62, 0.32),
    inset 0 1px 0 rgba(255, 246, 210, 0.55);
}
.btn--primary {
  color: #1c1205;
  background: linear-gradient(135deg, #b88b3e 0%, #d6b46a 45%, #f1d27a 100%);
  box-shadow:
    0 16px 30px rgba(184, 139, 62, 0.28),
    inset 0 1px 0 rgba(255, 246, 210, 0.45);
  font-weight: 800;
}

.btn--secondary {
  color: white;
  background: linear-gradient(135deg, #1d284f 0%, #253463 100%);
}

.loading-section {
  padding: 12px 0 0;
}

.loading-card {
  padding: 32px;
  text-align: center;
}

.loading-card h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.loading-card p {
  margin: 0;
  color: var(--muted);
}

.hourglass-wrap {
  width: 100px;
  margin: 0 auto 18px;
  color: #f9d48a;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.logo-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 12px rgba(255, 214, 120, 0.14))
    drop-shadow(0 0 28px rgba(247, 178, 103, 0.08));
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #d8bf77;
  margin-top: -2px;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 10px 0 14px;

  color: #f1d27a;

  text-shadow:
    0 0 8px rgba(255, 214, 120, 0.15);
}
.hero-title-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hourglass {
  width: 100px;
  height: 100px;
}
.result-path {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 6px 0 10px;

  color: #f1d27a;

  text-shadow:
    0 0 10px rgba(255, 214, 120, 0.2);
}
.life-number {
  font-size: 2.6rem;
  font-weight: 700;

  background: linear-gradient(135deg, #f6e2a3 0%, #d4ae60 45%, #b98a3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 12px rgba(241, 210, 122, 0.25);
}
.sand-top {
  animation: sandTop 1.8s infinite ease-in-out;
  transform-origin: center;
}
.btn--ghost {
  margin-top: 5px;
  width: 100%;

  background: transparent;
  border: 1px solid rgba(214, 180, 106, 0.25);
  color: #d8bf77;

  font-weight: 600;
}

.btn--ghost:hover {
  border-color: rgba(241, 210, 122, 0.5);
  color: #f1d27a;
  background: rgba(214, 180, 106, 0.05);
}
.sand-stream {
  animation: sandStream 1.8s infinite ease-in-out;
}

.sand-bottom {
  animation: sandBottom 1.8s infinite ease-in-out;
  transform-origin: center;
}

@keyframes sandTop {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.7); }
  100% { opacity: 1; transform: scaleY(1); }
}

@keyframes sandStream {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

@keyframes sandBottom {
  0% { opacity: 0.6; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0.6; transform: scaleY(0.85); }
}

.result-section {
  padding: 28px 0 0;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.result-main {
  padding: 28px;
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.result-kicker {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.result-top h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.result-intro {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.master-badge {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--master);
  color: #2f1807;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(247, 178, 103, 0.28);
}

.number-display-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025));
}

.number-display {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(247, 178, 103, 0.1));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.number-display.master {
  background: var(--master);
  color: #2a1708;
  box-shadow:
    0 18px 36px rgba(247, 178, 103, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.number-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 700;
}

.number-title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.meta-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}

.meta-label {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.meta-item strong {
  display: block;
  font-size: 1.1rem;
}

.meta-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

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

.reading-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}

.reading-block h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.reading-block p {
  margin: 0;
  color: #dde5ff;
}

.technical-breakdown {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}

.technical-breakdown h3 {
  margin: 0 0 14px;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tech-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.tech-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.tech-item strong {
  font-size: 1.15rem;
}

.result-sidebar {
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card h3 {
  margin: 0 0 8px;
}

.sidebar-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.mini-form {
  display: grid;
  gap: 12px;
}

.mini-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.explore-links {
  display: grid;
  gap: 10px;
}

.explore-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #e7ecff;
  font-weight: 600;
}

.compatibility-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: #e9eeff;
}

.info-strip {
  padding: 28px 0 40px;
}

.info-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mini-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
}

.mini-card h3 {
  margin: 0 0 10px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 16px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .hero__inner,
  .result-layout,
  .info-strip__inner {
    grid-template-columns: 1fr;
  }

  .result-sidebar {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 32px;
  }

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

  .hero__card,
  .result-main,
  .sidebar-card,
  .loading-card,
  .mini-card {
    padding: 20px;
  }

  .number-display-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .number-display {
    margin: 0 auto;
    width: 118px;
    height: 118px;
    font-size: 2.8rem;
  }

  .meta-grid,
  .reading-grid,
  .result-sidebar {
    grid-template-columns: 1fr;
  }

  .result-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .tech-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .btn,
  .field-group input,
.mini-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(212, 176, 97, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

  .meta-item,
  .reading-block,
  .tech-item {
    padding: 16px;
  }
}
.zodiac-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}
.field-group input:focus,
.mini-form input:focus {
  border-color: rgba(241, 210, 122, 0.55);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(241, 210, 122, 0.08);
}
.zodiac-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--zodiac-bg, linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(247, 178, 103, 0.08)));
  opacity: 1;
  pointer-events: none;
}

.zodiac-card > * {
  position: relative;
  z-index: 1;
}

.zodiac-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zodiac-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  background: var(--zodiac-accent, linear-gradient(135deg, #8b5cf6 0%, #6d5efc 100%));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255,255,255,0.12);
}

.zodiac-card .meta-label,
.zodiac-card strong,
.zodiac-card small {
  position: relative;
  z-index: 1;
}
.number-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 520px;
}

.number-display-wrap {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025)),
    var(--life-bg, linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(247, 178, 103, 0.06)));
}

.number-display-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--life-glow, radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 36%));
  pointer-events: none;
}

.number-display-wrap > * {
  position: relative;
  z-index: 1;
}

.number-display {
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(247, 178, 103, 0.1)),
    var(--life-accent, linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(109, 94, 252, 0.06)));
  color: var(--life-number-color, var(--text));
}

.number-display.master {
  background: var(--master);
  color: #2a1708;
  box-shadow:
    0 18px 36px rgba(247, 178, 103, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.number-title {
  color: var(--life-title-color, var(--text));
}

.result-main.life-themed {
  border-color: var(--life-border, rgba(255,255,255,0.09));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255,255,255,0.02) inset;
}
.reading-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reading-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  background: rgba(214, 180, 106, 0.12);
  color: #f1d27a;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 10px 20px rgba(184, 139, 62, 0.25),
    inset 0 1px 0 rgba(255, 246, 210, 0.4);
}
.reading-icon {
  color: var(--life-number-color, #fff);
}
.reading-block h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.reading-block p {
  margin: 0;
  color: #dde5ff;
}

.reading-block {
  position: relative;
  overflow: hidden;
}

.reading-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent);
}
.sidebar-card {
  position: relative;
  overflow: hidden;
}

.sidebar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%);
}

.sidebar-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.sidebar-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  background: rgba(214, 180, 106, 0.12);
 color: #f1d27a;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 10px 20px rgba(184, 139, 62, 0.25),
    inset 0 1px 0 rgba(255, 246, 210, 0.4);
}

.sidebar-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.sidebar-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.sidebar-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.sidebar-card--friends {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(96,165,250,0.08), rgba(125,211,252,0.03));
}

.sidebar-card--compatibility {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(244,114,182,0.08), rgba(251,113,133,0.03));
}

.sidebar-card--explore {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(139,92,246,0.08), rgba(247,178,103,0.03));
}

.explore-grid {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.explore-tile {
  display: block;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.explore-tile:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.explore-tile strong {
  display: block;
  margin-bottom: 4px;
  color: #eef2ff;
  font-size: 0.98rem;
}

.explore-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.compatibility-result {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  color: #e9eeff;
  line-height: 1.55;
}

.compatibility-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: #fff5fb;
}
.result-sidebar .btn--secondary {
  width: 100%;
  font-weight: 800;
}
.seo-section {
  padding: 28px 0 40px;
}

.seo-content {
  margin-top: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: none;
  width: 100%;
}

.seo-content .card {
  padding: 22px 24px;
  line-height: 1.65;
}

.seo-content h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.seo-content h3 {
  margin: 16px 0 6px;
  font-size: 1rem;
}

.seo-content p {
  margin: 0 0 10px;
  color: #dbe3ff;
}
.compatibility-section {
  padding: 4px 0 34px;
}

.compatibility-main {
  padding: 28px;
}

.compatibility-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.compatibility-intro {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.compatibility-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.compat-person {
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025)),
    linear-gradient(135deg, rgba(214, 180, 106, 0.06), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(212, 176, 97, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.compat-person h3 {
  margin: 6px 0 6px;
  font-size: 1.2rem;
  color: #f1dfab;
}

.compat-person-meta {
  margin: 0;
  color: #dde5ff;
}

.compatibility-summary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  margin: 0 0 22px;
  border: 1px solid rgba(212, 176, 97, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025)),
    linear-gradient(135deg, rgba(244,114,182,0.06), rgba(214,180,106,0.04));
}

.compat-score-circle {
  width: 140px;
  height: 110px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, #fffdf7 0%, #f8f1df 100%);
  border: 1px solid rgba(212, 176, 97, 0.38);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.8);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--compat-score-color, #16a34a);
}

.compat-score-circle .score-number {
  display: inline-block;
}

.compat-score-circle .score-percent {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111111;
  line-height: 1;
}

.compatibility-summary .number-label {
  margin: 0 0 8px;
  color: #c7d0ea;
  font-weight: 700;
  font-size: 0.95rem;
}

.compatibility-summary .number-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.08;
  color: #f5f7ff;
}

.compatibility-summary .number-subtitle {
  margin: 0;
  max-width: 760px;
  color: #c4cde5;
  font-size: 1.06rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .compatibility-summary {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 18px;
    padding: 22px 20px;
  }

  .compat-score-circle {
    width: 132px;
    height: 104px;
  }

  .compatibility-summary .number-title {
    font-size: 1.5rem;
  }

  .compatibility-summary .number-subtitle {
    font-size: 1rem;
  }
}

.compatibility-reading-grid {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .compatibility-main {
    padding: 20px;
  }

  .compatibility-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .compatibility-pair-grid {
    grid-template-columns: 1fr;
  }

  .compatibility-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .compat-score-circle {
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .hero-logo {
    align-items: center;
    text-align: center;
  }

  .logo-img {
    max-width: 360px;
  }

  .logo-text {
    text-align: center;
  }
}
.intro-text {
  max-width: 720px;
  margin-bottom: 18px;
}

.intro-text h2 {
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.intro-text p {
  color: var(--muted);
  line-height: 1.6;
}