:root {
  color-scheme: dark;
  --bg: #070108;
  --ink: #fff8fb;
  --muted: #c8aeb9;
  --panel: rgba(24, 8, 18, 0.82);
  --panel-strong: rgba(38, 10, 28, 0.94);
  --line: rgba(255, 120, 174, 0.28);
  --pink: #ff2f78;
  --pink-2: #ff75aa;
  --red: #ff174f;
  --gold: #ffd15c;
  --blue: #67d7ff;
  --green: #75f0a4;
  --max: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 4rem, rgba(255, 47, 120, 0.34), transparent 22rem),
    radial-gradient(circle at 92% 22rem, rgba(255, 209, 92, 0.13), transparent 20rem),
    linear-gradient(180deg, #12020d 0%, #070108 42%, #0d0209 100%);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(#000, transparent 80%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(14px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 1, 8, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand b,
.brand i {
  color: var(--pink);
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-family: "Archivo Narrow", Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  color: var(--ink);
  font-weight: 900;
}

.hero {
  position: relative;
  width: min(100% - 28px, var(--max));
  min-height: calc(100svh - 62px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 8vw, 74px) 0 44px;
}

.hero > *,
.proof-layout > *,
.chart-grid > * {
  min-width: 0;
}

.kicker,
.tag {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 47, 120, 0.08);
  color: var(--pink-2);
  font-family: "Archivo Narrow", Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--pink);
  font-size: clamp(58px, 9vw, 128px);
  text-shadow: 0 0 30px rgba(255, 47, 120, 0.34);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(38px, 5.8vw, 76px);
}

h3 {
  font-size: clamp(25px, 3vw, 36px);
}

.lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
}

.hero-proof {
  width: min(100%, 560px);
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 47, 120, 0.22), rgba(255, 209, 92, 0.08));
  box-shadow: 0 0 34px rgba(255, 47, 120, 0.2);
}

.hero-proof strong {
  grid-row: span 2;
  color: var(--pink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 74px;
  line-height: 0.85;
}

.hero-proof span,
.hero-proof b {
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof b {
  color: var(--gold);
}

.love-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 47, 120, 0.28), transparent 9rem),
    linear-gradient(140deg, rgba(255, 47, 120, 0.18), rgba(10, 2, 10, 0.9) 48%, rgba(255, 209, 92, 0.14));
  box-shadow: 0 26px 80px rgba(255, 47, 120, 0.24);
}

.love-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(1.08) contrast(1.04);
}

.love-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 1, 8, 0.82));
}

.love-stage p {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: var(--pink-2);
  font-family: "Archivo Narrow", Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: clamp(58px, 8vw, 98px) 0;
}

.section.alt {
  background: rgba(255, 47, 120, 0.055);
}

.section.compact {
  padding-top: 24px;
}

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

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .tag,
.verdict-card .tag {
  margin-inline: auto;
}

.section-heading h2 {
  margin-top: 12px;
  max-width: 980px;
  color: var(--ink);
  text-wrap: balance;
}

.section-heading p:not(.tag) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 800;
  line-height: 1.28;
}

.section-heading.centered p:not(.tag) {
  margin-inline: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.stat-card,
.chart-card,
.love-card,
.timeline-panel,
	.absence-card,
	.bad-match-card,
	.match-card,
	.verdict-card,
	.comparison-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.stat-card {
  min-height: 128px;
  padding: 15px;
}

.stat-card strong {
  display: block;
  color: var(--pink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.9;
}

.stat-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-layout,
.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 18px;
}

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

.chart-card {
  min-height: 350px;
  padding: 18px;
}

.main-chart {
  min-height: 430px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.card-title strong {
  color: var(--gold);
}

canvas {
  display: block;
  width: 100% !important;
  height: 260px !important;
  max-height: 260px;
  max-width: 100%;
}

.main-chart canvas {
  height: 300px !important;
  max-height: 300px;
}

.love-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.heart-badge {
  position: relative;
  z-index: 1;
  display: grid;
  width: 150px;
  height: 132px;
  margin: 0 auto 16px;
  place-items: center;
  color: var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 36px;
  line-height: 0.9;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 47, 120, 0.9);
}

.heart-badge::before {
  content: "♥";
  position: absolute;
  z-index: -1;
  color: var(--pink);
  font-size: 150px;
  line-height: 1;
  filter: drop-shadow(0 0 22px rgba(255, 47, 120, 0.7));
}

.love-card p {
  color: var(--muted);
  font-size: 17px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.mini-metrics b {
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
}

.timeline-panel {
  margin-top: 18px;
  padding: 16px;
}

.timeline-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.timeline-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

select,
.small-button,
.share-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #140612;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-weight: 900;
}

.small-button,
.share-button {
  cursor: pointer;
}

.timeline-scroll {
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
  padding: 10px 0 6px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 160px;
  padding: 10px;
  border: 1px solid rgba(255, 120, 174, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.timeline::before,
.timeline::after {
  display: none;
  position: absolute;
  bottom: -30px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.timeline::before {
  content: "0'";
  left: 0;
}

.timeline::after {
  content: "90+'";
  right: 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.9fr) minmax(96px, 1.4fr) 44px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 120, 174, 0.2);
  border-radius: 7px;
  background: rgba(8, 1, 8, 0.62);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.timeline-row:hover,
.timeline-row:focus {
  outline: 2px solid rgba(255, 209, 92, 0.8);
  outline-offset: 2px;
}

.timeline-match {
  overflow: hidden;
  padding-left: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-track {
  position: relative;
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.timeline-track i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  min-width: 8px;
  border-radius: inherit;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255, 47, 120, 0.55);
}

.timeline-row strong {
  color: var(--pink-2);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.timeline-row.early .timeline-track i {
  background: var(--green);
  box-shadow: 0 0 14px rgba(117, 240, 164, 0.5);
}

.timeline-row.early strong {
  color: var(--green);
}

.timeline-row.middle .timeline-track i {
  background: var(--blue);
  box-shadow: 0 0 14px rgba(103, 215, 255, 0.5);
}

.timeline-row.middle strong {
  color: var(--blue);
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.timeline-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
}

.timeline-legend .early {
  background: var(--green);
}

.timeline-legend .middle {
  background: var(--blue);
}

.timeline-legend .late {
  background: var(--pink);
}

.comparison-table {
  margin-top: 18px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}

.bad-heading {
  margin-top: 34px;
}

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

.bad-match-card {
  min-width: 0;
  padding: 18px;
}

.bad-match-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bad-match-topline strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 32px;
  line-height: 0.9;
}

.bad-match-card h3 {
  color: var(--pink);
}

.bad-match-card p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--pink-2);
  font-family: "Archivo Narrow", Inter, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

td {
  color: var(--ink);
  font-weight: 800;
}

.absence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.absence-card {
  padding: 18px;
}

.absence-card strong {
  display: block;
  color: var(--pink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 58px;
  line-height: 0.9;
}

.absence-card p {
  color: var(--muted);
}

.absence-card small {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.verdict-section {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 47, 120, 0.24), transparent 24rem),
    #090106;
}

.verdict-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  text-align: center;
}

.verdict-card h2 {
  margin-top: 14px;
  color: var(--pink);
  font-size: clamp(58px, 10vw, 124px);
}

.verdict-card p:not(.tag) {
  color: var(--muted);
  font-size: 19px;
}

blockquote {
  margin: 26px 0 0;
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 0.98;
  text-transform: uppercase;
}

.all-games {
  max-width: 960px;
  margin: 20px auto 0;
}

.all-games summary {
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  font-weight: 900;
}

.audit-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.match-card {
  padding: 14px;
}

.match-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.match-card h3 {
  font-size: 24px;
}

.match-card-head strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  line-height: 1;
}

dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 120, 174, 0.18);
  padding-top: 8px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.share-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  background: var(--pink);
  color: white;
  box-shadow: 0 12px 30px rgba(255, 47, 120, 0.3);
}

.tooltip {
  position: fixed;
  z-index: 50;
  display: none;
  max-width: 310px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #12020d;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  font-size: 13px;
}

.tooltip strong {
  display: block;
  color: var(--pink-2);
  margin-bottom: 6px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 58px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #10020c;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero,
  .proof-layout,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .love-stage {
    min-height: 430px;
  }

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

	  .absence-grid,
	  .bad-match-grid,
	  .match-list {
	    grid-template-columns: 1fr;
	  }
}

@media (max-width: 520px) {
  .container,
  .hero {
    width: min(100% - 22px, var(--max));
  }

  .brand {
    font-size: 22px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 78px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .lede {
    font-size: 17px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof strong {
    grid-row: auto;
  }

  .love-stage {
    min-height: 360px;
  }

  .timeline-controls {
    flex-direction: column;
  }

  .chart-card,
  .love-card {
    min-height: 310px;
    padding: 14px;
  }

  canvas,
  .main-chart canvas {
    height: 230px !important;
    max-height: 230px;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .share-button {
    left: 16px;
    right: 16px;
  }
}
