:root {
  --black: #0f274f; /* primary dark blue */
  --primary-800: #122e5d;
  --primary-700: #16366f;
  --white: #ffffff;
  --text: #1a2233;
  --muted: #56607a;
  --gray-200: #dde3ef;
  --gold: #ffd700;
  --cta-bg: #ffd700;
  --cta-text: #000000;
  --container: 1100px;
  --page-bg: #f2f5fb;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: var(--page-bg);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* Top banner */
.top-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 32px 0 28px;
}

.top-banner h1 {
  margin: 8px 0 10px;
  font-weight: 700;
  line-height: 1.2;
}

.top-banner .subhead {
  margin: 0 0 8px;
  font-weight: 600;
}

.top-banner .usp-line {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 0 8px;
  font-weight: 600;
}
.top-banner .usp-line i { color: var(--gold); margin-right: 6px; }
.top-banner .usp-line span { white-space: nowrap; }

.top-banner__flag { font-size: 28px; }
.top-banner__flag .fa-flag { color: #ff2b2b; }

/* Cards */
.cards { 
  padding-top: 28px;
  padding-bottom: 28px;
 }

/* Cards header row */
.cards__header {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr 1.5fr;
  align-items: center;
  background: var(--black);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 10px;
}
.cards__h-col { text-align: center; font-weight: 700; }
.cards__h-col:first-child { text-align: left; }
.cards__h-col:last-child { text-align: right; }

.card {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr 2fr 1.5fr; /* brand | offer | score | cta */
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border: 1px solid var(--accent, #222);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px; /* 24–32px spacing as PRD */
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.card__brand { max-width: 100%; }
.brand__box { background: var(--primary-800); border-radius: 8px; padding: 16px 10px; display: inline-flex; align-items: center; justify-content: center; width: 100%; }

.card__logo {
  height: 56px; /* 40–60px range */
  width: auto;
  display: block;
  border-radius: 6px;
}

.card__offer { text-align: center; }
.offer__main { font-size: 24px; font-weight: 800; letter-spacing: 0.2px; }
.offer__sub { color: #333; font-weight: 600; margin-top: 6px; }

.card__score { text-align: center; }
.score__value { font-size: 42px; font-weight: 800; }
.stars { color: var(--gold); margin: 6px 0; }
.score__votes { color: #666; font-size: 13px; }

.card__cta { text-align: right; }

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
}

.btn.cta,
a.btn.cta {
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 12px 24px;
  text-decoration: none;
  display: inline-block;
}

.btn--lg { padding: 14px 28px; font-size: 16px; border-radius: 999px; }

.badge {
  background: #ff2b71;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge--top { background: #ff2b71; }
.badge--exclusive { background: #1e63ff; }

/* FAQ */
.faq { 
  padding-top: 12px;
  padding-bottom: 40px;
 }

.faq h2 {
  font-weight: 700;
  margin: 8px 0 16px;
}

.faq__item {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px; /* 16–20px */
  margin-bottom: 12px;
}

.faq__q { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.faq__a { font-weight: 400; font-size: 15px; color: #444; }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 28px 0 36px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer__col h3 { margin: 0 0 6px; font-weight: 700; }
.footer__col p { margin: 0; color: #cccccc; }

.footer__orgs {
  margin: 18px 0 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  color: #bbbbbb;
}

.footer__copy { color: #777777; font-size: 12px; text-align: center; }

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none; /* toggled via JS */
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}

.age-gate[aria-hidden="false"] { display: flex; }

.age-gate__dialog {
  background: #ffffff;
  color: #111111;
  width: min(520px, 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.age-gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 12px; }
.btn--primary { background: var(--black); color: #fff; padding: 10px 14px; }
.btn--ghost { background: transparent; color: #111; border: 1px solid #ddd; padding: 10px 14px; }

/* Helpers */
@media (max-width: 840px) {
  .footer__cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .usp-line { display: flex; flex-direction: column; gap: 8px; }
  .cards__header { display: none; }
  .card {
    grid-template-columns: 1fr; /* stack */
    text-align: center;
  }
  .card__cta { text-align: center; }
  .footer__orgs { flex-direction: column; }
}

/* Optional: prevent scroll when age gate is open */
body.age-gate-open { overflow: hidden; }


