/* ============ Top Dating Sites Review — 2026 redesign ============ */
:root {
  --bg: #0e0c12;
  --surface: #171420;
  --surface-2: #1f1a2b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f2fa;
  --muted: #a99cbf;
  --pink: #ff2e63;
  --orange: #ff8a3d;
  --grad: linear-gradient(100deg, #ff2e63 10%, #ff8a3d 90%);
  --radius: 18px;
  --font-display: 'Unbounded', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
::selection { background: var(--pink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 12, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; overflow: hidden; }
.brand-mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link, .drop-btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .drop-btn:hover, .drop-btn[aria-expanded="true"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-drop { position: relative; }
.chev { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; transition: transform 0.2s; }
.drop-btn[aria-expanded="true"] .chev { transform: rotate(225deg) translateY(-2px); }
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  display: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.drop-panel.open { display: block; }
.drop-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.drop-panel a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-toggle { display: none; flex-shrink: 0; position: relative; z-index: 90; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 12, 18, 0.55) 0%, rgba(14, 12, 18, 0.78) 60%, var(--bg) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 24px 90px; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  font-weight: 800;
  margin: 22px 0 18px;
  max-width: 15ch;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lede { max-width: 54ch; margin: 0 auto 0 0; color: #e8e2f2; font-size: clamp(1rem, 1.6vw, 1.2rem); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(255, 46, 99, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(6px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255, 46, 99, 0.5); }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 70px 24px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.section-title .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-sub { color: var(--muted); max-width: 60ch; margin-top: 10px; }
.section-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid var(--pink); padding-bottom: 3px; white-space: nowrap; }
.section-link:hover { color: var(--text); }

/* ---------- Category chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--pink); color: var(--text); background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Blog card grids (compiled) ---------- */
.blog-grid, [data-blog-related] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(255, 46, 99, 0.45); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-tags {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.card-title { font-size: 17.5px; font-family: var(--font-display); font-weight: 600; line-height: 1.3; }
.card-title a { text-decoration: none; color: var(--text); }
.card-title a:hover { color: var(--pink); }
.card-excerpt { color: var(--muted); font-size: 15px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.meta-arrow { width: 22px; height: 2px; background: var(--grad); border-radius: 2px; transition: width 0.25s; }
.blog-card:hover .meta-arrow { width: 36px; }

/* ---------- Page shells ---------- */
.page-shell { max-width: 1200px; margin: 0 auto; padding: 56px 24px 80px; }
.page-hero { max-width: 820px; margin-bottom: 48px; }
.page-hero .kicker { color: var(--orange); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 12px 0 16px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; }
.page-hero img { width: 100%; border-radius: var(--radius); margin-top: 30px; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- Post layout ---------- */
.post-shell { padding-top: 48px; }
.post-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.post-toc-box { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.toc-heading { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
[data-blog-toc] a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 5px 0; border-left: 2px solid transparent; }
[data-blog-toc] a:hover { color: var(--text); }
.post-body { min-width: 0; max-width: 760px; }
.post-body .post-hero-img { border-radius: var(--radius); margin: 8px 0 28px; width: 100%; aspect-ratio: 21 / 10; object-fit: cover; }
.post-body h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 16px; }
.post-body .post-standfirst { color: var(--muted); font-size: 1.12rem; margin-bottom: 26px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 30px; }
.post-meta .pill { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--orange); }
.post-body h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 44px 0 14px; }
.post-body h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.post-body p { margin-bottom: 18px; color: #ddd6ea; }
.post-body ul, .post-body ol { margin: 0 0 20px 22px; color: #ddd6ea; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--pink); text-decoration: none; border-bottom: 1px solid rgba(255, 46, 99, 0.4); }
.post-body a:hover { border-bottom-color: var(--pink); }
.post-body strong { color: var(--text); }
.post-body blockquote { border-left: 3px solid var(--pink); padding: 6px 0 6px 20px; margin: 26px 0; color: var(--text); font-size: 1.08rem; font-weight: 500; }
.post-body .verdict {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid rgba(255, 138, 61, 0.35);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.post-body .verdict h2 { margin: 0 0 10px; font-size: 1.2rem; color: var(--orange); }
.post-body table { width: 100%; border-collapse: collapse; margin: 22px 0 30px; font-size: 15px; }
.post-body th, .post-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: #ddd6ea; }
.post-body th { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-body tr:hover td { background: rgba(255, 255, 255, 0.03); }
.post-related { grid-column: 1 / -1; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.post-related .section-title { margin-bottom: 26px; }

/* ---------- Feature band ---------- */
.feature-band {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 24px;
}
.band-inner {
  background: linear-gradient(115deg, rgba(255, 46, 99, 0.16), rgba(255, 138, 61, 0.1));
  border: 1px solid rgba(255, 46, 99, 0.3);
  border-radius: 24px;
  padding: 52px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.band-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 22ch; }
.band-inner p { color: var(--muted); margin-top: 10px; max-width: 46ch; }

/* ---------- Editorial / about strip ---------- */
.editor-strip { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.editor-strip .editor-text { flex: 1; min-width: 280px; }
.editor-strip h2 { margin-bottom: 14px; }
.editor-strip p { color: var(--muted); margin-bottom: 14px; }
.editor-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; margin-top: 14px; }
.editor-point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.editor-point h3 { font-size: 15px; margin-bottom: 8px; color: var(--orange); }
.editor-point p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Contact ---------- */
.contact-wrap { max-width: 680px; }
.contact-wrap form { display: grid; gap: 16px; margin-top: 30px; }
.contact-wrap input, .contact-wrap textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-wrap input:focus, .contact-wrap textarea:focus { border-color: var(--pink); }
.contact-wrap textarea { min-height: 150px; resize: vertical; }
.contact-wrap button[type="submit"] {
  justify-self: start;
  border: 0;
  cursor: pointer;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-wrap button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 46, 99, 0.4); }
#formStatus p { margin-top: 14px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0a090e; margin-top: 90px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 40ch; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 15px; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom p { max-width: 1200px; margin: 0 auto; padding: 22px 24px; color: var(--muted); font-size: 14px; }
.footer-credit { opacity: 0.5; font-weight: 300; color: inherit; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .blog-grid, [data-blog-related] { grid-template-columns: repeat(2, 1fr); }
  .post-wrap { grid-template-columns: 1fr; }
  .post-toc-box { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .editor-points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }
  .main-nav.open { display: flex; }
  .nav-link, .drop-btn { width: 100%; text-align: left; padding: 12px 14px; font-size: 16px; }
  .drop-panel { position: static; display: block; min-width: 0; border: 0; background: none; box-shadow: none; padding: 0 0 4px 16px; }
  .drop-btn[aria-expanded="false"] + .drop-panel { display: block; }
  .hero { min-height: 86vh; }
  .hero-content { padding: 96px 20px 70px; }
  .section { padding: 54px 20px 0; }
  .page-shell { padding: 40px 20px 60px; }
  .band-inner { padding: 36px 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .blog-grid, [data-blog-related] { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .post-body table { font-size: 13.5px; }
  .post-body th, .post-body td { padding: 9px 10px; }
}
