/* Couples landing matrix + detail + hub teaser. Dark-magazine premium feel. */

/* ========== shared container ========== */

.couples-container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

.couples-back {
  display: inline-block;
  margin-top: 32px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-small);
}

.couples-back:hover {
  color: var(--text-0);
}

/* ========== landing ========== */

.couples-hero {
  text-align: center;
  padding: 60px 16px 32px;
}

.couples-hero h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  margin: 0 0 12px;
}

.couples-hero .hero-sub {
  color: var(--text-muted);
  font-size: var(--fs-body);
  margin: 0;
}

.matrix-wrap {
  margin-top: 32px;
  overflow-x: auto;
}

.matrix-table {
  border-collapse: separate;
  border-spacing: 4px;
  margin: 0 auto;
}

.matrix-table th,
.matrix-table td {
  width: 48px;
  height: 48px;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
  border-radius: 8px;
}

.matrix-table thead th,
.matrix-table tbody th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
}

.matrix-table td a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.matrix-table td a:hover {
  transform: scale(1.08);
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: -2px;
}

/* score color tiers (low → high) */
.score-tier-1 { background: #5a1530; }   /* 0-49 */
.score-tier-2 { background: #804020; }   /* 50-69 */
.score-tier-3 { background: #6a5020; }   /* 70-79 */
.score-tier-4 { background: #4a6030; }   /* 80-89 */
.score-tier-5 { background: #2d7050; }   /* 90-100 */

/* ========== detail ========== */

.couples-detail-hero {
  text-align: center;
  padding: 60px 16px 24px;
}

.couples-detail-hero .symbols {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 16px;
}

.couples-detail-hero .pair-name {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  margin: 0 0 6px;
}

.couples-detail-hero .signs-line {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-block {
  margin: 32px 0 36px;
  text-align: center;
}

.score-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.score-bar {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.score-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #804020, #6a5020, #2d7050);
}

.score-value {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text-0);
}

.dna-block {
  margin-top: 32px;
  padding: 28px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
}

.dna-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dna-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-0);
}

.self-pair-note {
  margin-top: 20px;
  font-family: var(--font-serif);
  color: var(--text-muted);
  text-align: center;
  font-size: var(--fs-small);
}

/* ========== hub teaser ========== */

.couples-teaser {
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.couples-teaser .teaser-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  margin: 0 0 6px;
}

.couples-teaser .teaser-sub {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin: 0 0 16px;
}

.couples-teaser .teaser-cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-0);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
}

.couples-teaser .teaser-cta:hover {
  background: rgba(255, 255, 255, 0.14);
}
