@import url('https://fonts.googleapis.com/css2?family=Anton&family=Epilogue:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --dark: #121212;
  --card-bg: #1a1a1a;
  --border: #2a2a2a;
  --border-accent: #3a3a3a;
  --white: #ffffff;
  --off-white: #e0e0e0;
  --muted: #888888;
  --accent-blue: #1e3a5f;
  --accent-blue-bright: #2563eb;
  --accent-neon: #00c2ff;
  --accent-gold: #f5c518;
  --accent-purple: #7c3aed;
  --radius: 4px;
  --font-display: 'Anton', impact, sans-serif;
  --font-body: 'Epilogue', system-ui, -apple-system, sans-serif;
  --nav-h: 48px;
  --brand-h: 56px;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HEADER ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.brand-row {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: var(--brand-h);
  border-bottom: 1px solid var(--border);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.site-logo-img {
  height: 32px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 0 10px var(--accent-neon);
}

.main-nav {
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav > p {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav > p > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--off-white);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  letter-spacing: 0.02em;
}

.main-nav > p > a:hover,
.main-nav > p > a[aria-current="page"] {
  color: var(--white);
  border-color: var(--accent-neon);
  background: rgba(0, 194, 255, 0.07);
  text-shadow: 0 0 10px var(--accent-neon);
}

/* ── HERO BASE ─────────────────────────────────── */
.home-hero,
.ranking-hero,
.review-hero,
.compare-hero,
.faq-hero,
.about-hero,
.privacy-hero,
.inner-hero {
  position: relative;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--black) 70%);
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 48px 24px 72px;
  overflow: hidden;
}

.home-hero {
  justify-content: space-between;
  gap: 32px;
}

.hero-text,
.ranking-hero-inner,
.review-hero-text,
.compare-hero-inner,
.faq-hero-inner,
.about-hero-inner,
.privacy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-neon);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 10px var(--accent-neon);
}

.hero-h1,
.review-h1,
.compare-h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--off-white);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  background: var(--accent-neon);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: opacity 0.15s, transform 0.15s;
}

.hero-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero-img {
  max-width: 220px;
  max-height: 220px;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border-accent);
}

.review-hero-media {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.review-hero-img {
  max-width: 180px;
  max-height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border-accent);
}

/* Slash decorator */
.hero-slash {
  position: absolute;
  bottom: -1px;
  right: -5%;
  width: 55%;
  height: 100%;
  background: var(--black);
  clip-path: polygon(30% 100%, 100% 0%, 100% 100%);
  z-index: 1;
}

/* ── MAIN + LAYOUT ─────────────────────────────── */
.page-main {
  min-height: 60vh;
}

.page-article {
  display: block;
}

.content-aside-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  align-items: start;
}

/* ── PROSE ─────────────────────────────────────── */
.prose {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--off-white);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--white);
  margin: 36px 0 12px;
  letter-spacing: 0.03em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin: 28px 0 10px;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--accent-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-shadow: 0 0 10px var(--accent-neon);
}

.prose strong {
  color: var(--white);
  font-weight: 700;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}

.prose th {
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border-accent);
  font-weight: 700;
}

.prose td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.prose blockquote {
  border-left: 3px solid var(--accent-neon);
  padding-left: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── SECTION TITLES ────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* ── PAGE DATE ─────────────────────────────────── */
.page-date {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 8px;
  margin-right: 12px;
}

/* ── HOME CONTENT SECTIONS ─────────────────────── */
.home-content {
  min-width: 0;
}

.home-prose {
  margin-bottom: 40px;
}

.home-section {
  margin-bottom: 56px;
}

/* ── CARDS ROW ─────────────────────────────────── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.home-card {
  background: var(--dark);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.home-card:hover {
  border-color: var(--accent-neon);
  transform: translateY(-2px);
}

.card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.card-title a {
  color: var(--white);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 10px var(--accent-neon);
}

.card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.card-date {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-neon);
  border: 1px solid var(--accent-neon);
  border-radius: var(--radius);
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.15s, color 0.15s;
  margin-top: auto;
}

.card-cta:hover {
  background: var(--accent-neon);
  color: var(--black);
}

/* ── ASIDE ─────────────────────────────────────── */
.page-aside {
  position: sticky;
  top: calc(var(--brand-h) + var(--nav-h) + 16px);
  background: var(--dark);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.aside-link {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, padding-left 0.15s;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.aside-link:last-of-type {
  border-bottom: none;
}

.aside-link:hover {
  color: var(--accent-neon);
  padding-left: 6px;
}

.aside-cta-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-cta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.aside-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent-blue-bright);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  min-height: 40px;
  transition: opacity 0.15s;
}

.aside-cta-btn:hover {
  opacity: 0.85;
}

/* ── RANKING ───────────────────────────────────── */
.ranking-hero {
  min-height: 40vh;
}

.rank-tabs-section {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.rank-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 0;
}

.rank-tabs::-webkit-scrollbar {
  display: none;
}

.rank-tab {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--off-white);
  text-decoration: none;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.rank-tab:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.ranking-content {
  min-width: 0;
}

.ranking-prose {
  margin-bottom: 40px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--dark);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.2s;
}

.rank-item:hover {
  border-color: var(--accent-neon);
}

.rank-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent-gold);
  text-shadow: 0 0 10px var(--accent-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.rank-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.rank-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rank-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.rank-title a {
  color: var(--white);
  text-decoration: none;
}

.rank-title a:hover {
  color: var(--accent-neon);
}

.rank-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── MINI CARDS (review related) ────────────────── */
.related-reviews,
.other-compares {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-reviews > div,
.other-compares > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mini-card {
  background: var(--dark);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.mini-card:hover {
  border-color: var(--accent-neon);
}

.mini-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.mini-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.mini-card-title a {
  color: var(--white);
  text-decoration: none;
}

.mini-card-title a:hover {
  color: var(--accent-neon);
}

.mini-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── REVIEW HERO ─────────────────────────────────── */
.review-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ── FOOTER ────────────────────────────────────── */
.footer-cta-block {
  background: var(--dark);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-cta-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--accent-neon);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: opacity 0.15s;
}

.footer-cta-btn:hover {
  opacity: 0.85;
}

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.footer-brand:hover {
  color: var(--accent-neon);
}

.site-footer nav > p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.site-footer nav > p > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer nav > p > a:hover {
  color: var(--accent-neon);
}

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

/* ── PAGE H1 (inner-hero) ──────────────────────── */
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 44px);
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* ── SCROLL REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-btn, .card-cta, .footer-cta-btn, .aside-cta-btn,
  .home-card, .rank-item, .mini-card, .main-nav > p > a {
    transition: none;
  }
}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .content-aside-wrap {
    grid-template-columns: 1fr;
  }
  .page-aside {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
  }
  .aside-title {
    grid-column: 1 / -1;
  }
  .aside-title + .subtitle {
    grid-column: 1 / -1;
  }
  .aside-cta-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand-row {
    padding: 0 16px;
  }
  .main-nav {
    padding: 0 16px;
  }
  .home-hero,
  .ranking-hero,
  .review-hero,
  .compare-hero,
  .faq-hero,
  .about-hero,
  .privacy-hero,
  .inner-hero {
    flex-direction: column;
    min-height: auto;
    padding: 36px 16px 56px;
    align-items: flex-start;
  }
  .hero-slash {
    display: none;
  }
  .content-aside-wrap {
    padding: 24px 16px;
    gap: 24px;
  }
  .page-aside {
    grid-template-columns: 1fr;
  }
  .cards-row {
    grid-template-columns: 1fr;
  }
  .related-reviews > div,
  .other-compares > div {
    grid-template-columns: 1fr;
  }
  .rank-item {
    flex-wrap: wrap;
  }
  .rank-num {
    font-size: 24px;
    width: 36px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .rank-tabs-section {
    padding: 0 16px;
  }
}

@media (max-width: 375px) {
  body {
    font-size: 16px;
  }
  .hero-h1,
  .review-h1,
  .compare-h1 {
    font-size: 26px;
  }
}
