
/* ===== DESIGN TOKENS ===== */
:root {
  --crimson: #ff0000;
  --pink: #ff1493;
  --maroon: #261717;
  --maroon-light: #3a2020;
  --maroon-dark: #180e0e;
  --ink: #261717;
  --text: #f5e8e8;
  --text-muted: #c49a9a;
  --border: rgba(255,20,147,0.25);
  --glow-red: rgba(255,0,0,0.35);
  --glow-pink: rgba(255,20,147,0.35);
  --radius: 18px;
  --font: 'JetBrains Mono', 'Courier New', monospace;
  --max-w: 1200px;
  --col-content: 68%;
  --col-sidebar: 29%;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--maroon-dark);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: underline; }
a:hover { color: var(--crimson); }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
h1,h2,h3,h4 { line-height: 1.2; margin-bottom: 0.75rem; font-weight: 500; }
h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); }
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.75rem 0 1.25rem;
  box-shadow: 0 0 6px var(--glow-pink);
}
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th, td { padding: 0.6rem 0.8rem; border: 1px solid var(--border); text-align: left; font-size: 0.9rem; }
th { background: var(--maroon-light); color: var(--pink); }
tr:nth-child(even) td { background: rgba(255,20,147,0.04); }

/* ===== ANNOUNCEMENT STRIP ===== */
.announcement-strip {
  background: linear-gradient(90deg, var(--crimson) 0%, var(--pink) 100%);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ===== AURORA ANIMATIONS ===== */
@keyframes auroraFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.08); }
  66%  { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-25px, 20px) scale(1.1); }
  80%  { transform: translate(15px, -10px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ===== AURORA ORBS ===== */
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--crimson) 0%, transparent 70%);
  top: -100px; left: -80px;
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation: orbFloat2 12s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,20,147,0.7) 0%, transparent 70%);
  top: 50%; right: -80px;
  transform: translateY(-50%);
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-compare-1 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--crimson) 0%, transparent 70%);
  top: 0; right: 0;
  animation: orbFloat2 11s ease-in-out infinite;
}

/* ===== SITE HEADER (two-row) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--maroon-dark) 0%, rgba(38,23,23,0.97) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px var(--glow-red);
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.5rem;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img { width: 32px; height: 32px; flex-shrink: 0; }
.brand:hover { color: var(--pink); }

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.cta-signup {
  background: linear-gradient(135deg, var(--crimson), var(--pink));
  color: #fff;
  box-shadow: 0 0 12px var(--glow-pink);
}
.cta-signup:hover { opacity: 0.88; color: #fff; box-shadow: 0 0 22px var(--glow-pink); }
.cta-login {
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink);
}
.cta-login:hover { background: rgba(255,20,147,0.12); color: var(--pink); }

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--pink); }

/* HEADER NAV ROW */
.header-nav-row {
  border-top: 1px solid var(--border);
  padding: 0 1.5rem;
}

.nav-aside {
  display: block;
}

#primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0.45rem 0;
  margin: 0;
}

#primary-nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
#primary-nav li a:hover,
#primary-nav li a[aria-current="page"] {
  background: rgba(255,20,147,0.12);
  color: var(--pink);
  border-color: var(--border);
}

/* ===== HERO — HOME ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,0,0,0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(255,20,147,0.18) 0%, transparent 60%),
              var(--maroon-dark);
}

.hero-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.hero-figure .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--maroon-dark) 0%, transparent 40%);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 2rem;
  gap: 1.25rem;
  z-index: 2;
  position: relative;
}
.hero-copy h1 {
  background: linear-gradient(135deg, #fff 30%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 0;
}

/* ===== HERO — INNER PAGES ===== */
.page-hero, .ranking-hero, .inner-page-hero,
.review-header-section, .compare-intro-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,0,0,0.2) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 50%, rgba(255,20,147,0.15) 0%, transparent 55%),
              var(--maroon-dark);
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 320px;
}

.aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  margin: 0;
}
.aurora-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38,23,23,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.hero-meta, .inner-hero-copy, .review-intro, .compare-intro-copy {
  position: relative;
  z-index: 2;
}

.review-hero-figure, .compare-hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0;
}
.review-hero-img, .compare-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-type-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.75rem;
}
.stage-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.75rem;
  border: 1px solid;
}
.stage-awareness { color: #7ef0ff; border-color: #7ef0ff; }
.stage-consideration { color: var(--pink); border-color: var(--pink); }
.stage-decision { color: var(--crimson); border-color: var(--crimson); }

/* ===== BYLINE ===== */
.byline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}
.byline time { color: var(--pink); }

/* ===== LAYOUT SPLIT (main + sidebar) ===== */
.content-section {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.layout-split {
  display: grid;
  grid-template-columns: var(--col-content) var(--col-sidebar);
  gap: 2.5rem;
  align-items: start;
}

.section-deco {
  display: none;
}

/* MAIN COPY */
.main-copy {
  min-width: 0;
}
.main-copy h2 { color: var(--text); }
.main-copy a { color: var(--pink); }
.main-copy a:hover { color: var(--crimson); }

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 120px;
}
.sidebar-inner {
  background: linear-gradient(145deg, var(--maroon-light) 0%, var(--maroon-dark) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 0 30px var(--glow-pink);
}
.sidebar-heading {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
}
.related-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.related-links li { margin-bottom: 0.5rem; }
.related-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,20,147,0.1);
  transition: color 0.2s;
}
.related-links a:hover { color: var(--pink); }

.sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* AUTHOR CARD */
.author-section { margin-bottom: 1.5rem; }
.author-card {
  background: rgba(255,20,147,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.author-card h2 {
  font-size: 1rem;
  color: var(--pink);
  margin-bottom: 0.4rem;
}
.author-credentials {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.author-bio { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== CARDS ===== */
.card {
  background: linear-gradient(145deg, var(--maroon-light) 0%, var(--maroon-dark) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.3s;
  position: relative;
}
.card:hover { box-shadow: 0 0 25px var(--glow-pink); }
.card-body { padding: 1.25rem 1.25rem 0.75rem; }
.card-body h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card-body h3 a { color: var(--text); text-decoration: none; }
.card-body h3 a:hover { color: var(--pink); }
.card-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--pink));
  border-radius: 0 0 2px 2px;
  margin-top: 0.75rem;
}

/* ===== CHILD / RANK LISTS ===== */
.child-list, .rank-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  counter-reset: rank-counter;
}
.child-list li, .rank-list li {
  counter-increment: rank-counter;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--maroon-light);
  position: relative;
  transition: box-shadow 0.2s;
}
.child-list li:hover, .rank-list li:hover {
  box-shadow: 0 0 16px var(--glow-pink);
}
.child-list li::before, .rank-list li::before {
  content: counter(rank-counter, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--pink);
  opacity: 0.7;
}
.child-list li a, .rank-list li a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.child-list li a:hover, .rank-list li a:hover { color: var(--pink); }
.child-list li small, .rank-list li small {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--crimson), var(--pink));
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 0 16px var(--glow-pink);
  transition: opacity 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  opacity: 0.88;
  color: #fff;
  box-shadow: 0 0 28px var(--glow-pink);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--maroon-dark);
  padding: 1.25rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}
.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--pink); }
.rg-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin: 0;
}
.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.55;
  margin: 0;
}

/* ===== REVEAL ANIMATION ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .stagger li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .stagger li.visible {
    opacity: 1;
    transform: none;
  }
}

/* ===== DOT-MATRIX TEXTURE (hero background overlay) ===== */
.hero-section::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}
.hero-copy { z-index: 2; }

/* ===== SLANTED HERO BOTTOM ===== */
.hero-section {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  margin-bottom: -2rem;
}

/* ===== REVIEW DESC ===== */
.review-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* ===== PRIVACY COPY ===== */
.privacy-copy h3 { color: var(--pink); }

/* ===== RANK-CARD GRID ===== */
.rank-cards { display: block; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .header-nav-row { padding: 0; }

  #primary-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  #primary-nav.open {
    max-height: 400px;
  }

  #primary-nav ul {
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    gap: 0.15rem;
  }
  #primary-nav li a {
    min-height: 44px;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: var(--maroon-light);
    font-size: 0.9rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
  .hero-figure { min-height: 260px; }
  .hero-copy { padding: 2rem 1.25rem; }

  .page-hero, .ranking-hero, .inner-page-hero,
  .review-header-section, .compare-intro-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    min-height: auto;
  }
  .review-hero-figure, .compare-hero-figure { order: -1; }
  .review-hero-img, .compare-hero-img { height: 200px; }

  .layout-split {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    order: -1;
  }

  .content-section { padding: 2rem 1.25rem; }

  .footer-nav {
    flex-direction: column;
    gap: 0.1rem;
    align-items: flex-start;
  }
  .footer-nav a { min-height: 44px; }

  body { font-size: 16px; }
}

@media (max-width: 480px) {
  .header-brand-row { padding: 0.45rem 1rem; }
  .brand { font-size: 0.95rem; }
  .cta { font-size: 0.75rem; padding: 0 0.75rem; min-height: 44px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .aurora-orb { animation: none; }
  .reveal, .stagger li { opacity: 1; transform: none; transition: none; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}