:root {
  --bg: #0b0e14;
  --bg-2: #11151f;
  --card: #161c28;
  --card-2: #1c2433;
  --line: #283142;
  --text: #e8ecf3;
  --muted: #9aa6b8;
  --gold: #f5c451;
  --gold-2: #e0a82e;
  --green: #2ec27e;
  --accent: #4f8cff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 780px; }

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}
.brand span { color: var(--gold); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 14, 20, 0.42), rgba(11, 14, 20, 0.66) 78%, var(--bg)),
    radial-gradient(900px 400px at 50% -10%, rgba(245, 196, 81, 0.16), transparent 60%),
    url("assets/img/hero-bg.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1,
.hero .hero-sub { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 900;
  margin: 0 auto 18px;
  letter-spacing: -1px;
  max-width: 14ch;
}
.hero-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 26px;
  font-size: 1.08rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 30px;
}
.hero-badges span {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-cta {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1a1303;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(245, 196, 81, 0.25);
  transition: transform 0.12s, box-shadow 0.12s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 196, 81, 0.35); }

/* ---------- section headings ---------- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 6px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 36px;
}

/* ---------- offers ---------- */
.offers { padding: 60px 0; }
.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: none;
}
.offer {
  display: grid;
  grid-template-columns: 44px 220px 1fr 170px;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.offer:hover { border-color: rgba(245, 196, 81, 0.5); transform: translateY(-1px); }
.offer:first-child { border-color: rgba(245, 196, 81, 0.55); }

.offer-rank {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.offer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.offer-brand img {
  width: 125px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff0;
}
.offer-name { font-weight: 700; font-size: 0.98rem; }

.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; }
.star { color: #39435a; line-height: 1; }
.star.full, .star.half { color: var(--gold); }
.stars b { color: var(--muted); font-weight: 600; margin-left: 4px; }

.offer-headline { font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; color: var(--text); }
.offer-sub { color: var(--green); font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }
.offer-terms { color: var(--muted); font-size: 0.72rem; line-height: 1.4; margin: 0; }

.offer-action { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.offer-cta {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, var(--green), #25a468);
  color: #04220f;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 1rem;
  transition: transform 0.12s, filter 0.12s;
}
.offer-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.offer-action-note { text-align: center; color: var(--muted); font-size: 0.72rem; }

.offers-disclaimer {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- content article ---------- */
.content { padding: 50px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 18px; }
.content h3 { font-size: 1.25rem; font-weight: 700; margin: 34px 0 10px; color: var(--gold); }
.content p { color: #cfd6e2; margin: 0 0 14px; }
.content ul { color: #cfd6e2; padding-left: 22px; margin: 0 0 14px; }
.content li { margin-bottom: 8px; }
.content strong { color: var(--text); }

/* ---------- faq ---------- */
.faq { padding: 56px 0 70px; }
.faq h2 { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 30px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: #070a0f; border-top: 1px solid var(--line); padding: 40px 0; text-align: center; }
.footer-warn { color: var(--text); font-size: 0.92rem; margin: 0 0 12px; }
.footer-legal { color: var(--muted); font-size: 0.78rem; max-width: 75ch; margin: 0 auto 16px; }
.footer-copy { color: #5d6878; font-size: 0.78rem; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .offer {
    grid-template-columns: 36px 1fr;
    grid-template-areas:
      "rank brand"
      "body body"
      "action action";
    row-gap: 14px;
  }
  .offer-rank { grid-area: rank; }
  .offer-brand { grid-area: brand; flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
  .offer-body { grid-area: body; }
  .offer-action { grid-area: action; }
  .nav { display: none; }
}
