/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a2332;
  background: #f5f9fc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0d5bc4; text-decoration: none; transition: color .2s; }
a:hover { color: #0a8f3c; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { line-height: 1.25; color: #0f2347; margin: 1.5em 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.3rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, #0a8f3c 0%, #0bb14a 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 143, 60, .3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #0bb14a 0%, #0a8f3c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 143, 60, .4);
  color: #fff;
}
.btn--primary:active { transform: translateY(0); }
.btn--block { width: 100%; padding: 14px 22px; font-size: 16px; }
.btn__icon { flex-shrink: 0; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e3ecf5;
  transition: box-shadow .2s ease;
}
.header--scrolled {
  box-shadow: 0 2px 12px rgba(15, 35, 71, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.header__logo { flex-shrink: 0; display: block; }
.header__logo img { max-height: 40px; width: auto; }
.header__nav { flex: 1; }
.header__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
}
.header__nav a {
  color: #0f2347;
  font-weight: 500;
  font-size: 15px;
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
.header__nav a:hover { color: #0a8f3c; }
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #0a8f3c;
  transform: scaleX(0);
  transition: transform .2s;
}
.header__nav a:hover::after { transform: scaleX(1); }
.header__cta { flex-shrink: 0; }
.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 6px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0f2347;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0f2347 0%, #1a3a70 100%);
  color: #fff;
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(10,143,60,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero__title {
  color: #fff;
  margin: 0 0 16px;
  position: relative;
}
.hero__lead {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  max-width: 800px;
  margin: 0 0 24px;
  position: relative;
}
.hero__lead strong { color: #5dd581; }
.author {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: fit-content;
  position: relative;
}
.author__img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #5dd581;
  flex-shrink: 0;
}
.author__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  flex-wrap: wrap;
}
.author__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(93, 213, 129, .18);
  color: #5dd581;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.author__date {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 2px;
}

/* ============================================
   LISTING
   ============================================ */
.listing {
  padding: 32px 0 16px;
}
.listing__title {
  text-align: center;
  margin: 0 0 28px;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  line-height: 1.3;
}

/* CARD */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid #e3ecf5;
  display: grid;
  grid-template-columns: 80px 1.3fr 1.3fr 1.4fr 180px;
  gap: 20px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(15, 35, 71, .05);
  transition: box-shadow .25s, transform .2s, border-color .2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(15, 35, 71, .1);
  border-color: #cfe0f1;
  transform: translateY(-2px);
}

.card__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card__rank-num {
  font-size: 32px;
  font-weight: 800;
  color: #0a8f3c;
  line-height: 1;
  background: linear-gradient(135deg, #0a8f3c 0%, #0bb14a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card__rank-label {
  font-size: 11px;
  font-weight: 600;
  color: #0d5bc4;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 2px;
}

.card__brand { text-align: center; position: relative; }
.card__logo {
  background: #f5f9fc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__logo img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
}
.card__name {
  font-weight: 700;
  font-size: 15px;
  color: #0f2347;
  margin-bottom: 4px;
}
.card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
}
.card__rating .stars { color: #f5b301; font-size: 15px; letter-spacing: 1px; }
.card__rating .rating-num { color: #5a6b82; font-weight: 600; }
.card__exclusive {
  display: inline-block;
  position: absolute;
  top: -8px; right: 8px;
  background: linear-gradient(135deg, #f5b301 0%, #ff8c00 100%);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(245, 179, 1, .3);
}

.card__bonus {
  background: linear-gradient(135deg, rgba(10,143,60,.06) 0%, rgba(13,91,196,.06) 100%);
  border-radius: 12px;
  padding: 14px;
  border: 1px dashed #0a8f3c;
}
.card__bonus-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #0d5bc4;
  background: rgba(13,91,196,.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.card__bonus-text {
  font-size: 17px;
  font-weight: 700;
  color: #0f2347;
  line-height: 1.25;
  margin-bottom: 6px;
}
.card__bonus-code {
  font-size: 13px;
  color: #5a6b82;
}
.card__bonus-code strong {
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  color: #0a8f3c;
  font-family: "Courier New", monospace;
  font-size: 13px;
  border: 1px solid #e3ecf5;
}

.card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1a2332;
  line-height: 1.3;
}
.card__features li svg { flex-shrink: 0; }

.card__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.card__review {
  text-align: center;
  font-size: 13px;
  color: #0d5bc4;
  font-weight: 500;
  padding: 6px;
}
.card__review:hover {
  color: #0a8f3c;
  text-decoration: underline;
}

/* ============================================
   CONTENT
   ============================================ */
.content {
  padding: 20px 0 48px;
}
.content__inner {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(15, 35, 71, .05);
  border: 1px solid #e3ecf5;
}
.content__inner h2 {
  padding-bottom: 12px;
  border-bottom: 3px solid #0a8f3c;
  position: relative;
}
.content__inner h3 {
  color: #0d5bc4;
  margin-top: 1.2em;
}
.content__inner ol,
.content__inner ul {
  margin: 0 0 1em;
  padding-left: 1.3rem;
}
.content__inner li { margin-bottom: 8px; }
.content__inner ol li h3 {
  display: inline-block;
  margin: 0;
}
.content__inner strong { color: #0f2347; }

/* TABLES */
.table-wrap {
  overflow-x: auto;
  margin: 1em 0 1.5em;
  border-radius: 10px;
  border: 1px solid #e3ecf5;
}
.content__inner table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}
.content__inner table tr:nth-child(even) { background: #f5f9fc; }
.content__inner table tr:first-child {
  background: linear-gradient(135deg, #0a8f3c 0%, #0bb14a 100%);
}
.content__inner table tr:first-child td {
  color: #fff;
  font-weight: 700;
}
.content__inner table tr:first-child td strong { color: #fff; }
.content__inner table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3ecf5;
  vertical-align: top;
}
.content__inner table td p { margin: 0; }
.content__inner table td:first-child { font-weight: 500; }

/* FAQ */
.faq {
  margin: 1em 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: #f5f9fc;
  border-radius: 10px;
  border: 1px solid #e3ecf5;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item:hover { border-color: #cfe0f1; }
.faq__item.is-open {
  border-color: #0a8f3c;
  box-shadow: 0 4px 12px rgba(10, 143, 60, .08);
}
.faq__q {
  margin: 0;
  padding: 16px 48px 16px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #0f2347;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.faq__q::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid #0a8f3c;
  border-bottom: 2px solid #0a8f3c;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq__item.is-open .faq__q::after {
  transform: translateY(-20%) rotate(-135deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 18px;
}
.faq__item.is-open .faq__a {
  max-height: 500px;
  padding: 0 18px 16px;
}
.faq__a p { margin: 0; color: #3a4a63; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f2347;
  color: rgba(255,255,255,.8);
  padding: 48px 0 20px;
  margin-top: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer__logo {
  max-height: 40px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  transition: color .2s;
}
.footer ul a:hover { color: #5dd581; }
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  background: rgba(231, 76, 60, .1);
}
.resp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 44px;
  background: rgba(93, 213, 129, .12);
  border: 1px solid rgba(93, 213, 129, .3);
  border-radius: 22px;
  color: #5dd581;
  font-size: 13px;
  font-weight: 600;
}
.footer__disclaimer {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.5;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
}
.footer__bottom p {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.footer__warning {
  font-size: 12px !important;
  color: rgba(255,255,255,.45) !important;
  max-width: 820px;
  margin: 0 auto !important;
  line-height: 1.55;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .card {
    grid-template-columns: 60px 1fr 1fr 1fr;
    grid-template-areas:
      "rank brand bonus features"
      "cta cta cta cta";
    gap: 16px;
  }
  .card__rank { grid-area: rank; }
  .card__brand { grid-area: brand; }
  .card__bonus { grid-area: bonus; }
  .card__features { grid-area: features; }
  .card__cta { grid-area: cta; flex-direction: row; justify-content: space-between; align-items: center; }
  .card__cta .btn { flex: 1; max-width: 320px; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta {
    padding: 10px 16px;
    font-size: 14px;
  }
  .header__cta .btn__icon { width: 16px; height: 16px; }

  .hero { padding: 28px 0 24px; }
  .hero__lead { font-size: 15px; }
  .author { width: 100%; max-width: 100%; }

  .listing__title { margin-bottom: 20px; }

  .card {
    grid-template-columns: 54px 1fr;
    grid-template-areas:
      "rank brand"
      "bonus bonus"
      "features features"
      "cta cta";
    gap: 14px;
    padding: 16px;
  }
  .card__brand { text-align: left; }
  .card__logo { height: 64px; margin-bottom: 6px; }
  .card__rating { justify-content: flex-start; }
  .card__exclusive { top: -4px; right: 8px; }
  .card__rank-num { font-size: 28px; }
  .card__bonus-text { font-size: 16px; }
  .card__cta { flex-direction: column; }
  .card__cta .btn { max-width: 100%; }

  .content { padding: 12px 0 32px; }
  .content__inner { padding: 22px 18px; border-radius: 14px; }
  .content__inner table { font-size: 14px; }
  .content__inner table td { padding: 10px; }

  .footer { padding: 32px 0 16px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .header__inner { min-height: 56px; }
  .header__logo img { max-height: 32px; }
  .header__cta {
    padding: 9px 12px;
    font-size: 13px;
    gap: 5px;
  }

  .hero__title { font-size: 1.5rem; }
  .hero__lead { font-size: 14.5px; }
  .author__img { width: 42px; height: 42px; }
  .author__name { font-size: 14px; }
  .author__date { font-size: 12px; }

  .card { padding: 14px; border-radius: 12px; }
  .card__logo { height: 56px; padding: 6px; }
  .card__logo img { max-height: 44px; }
  .card__name { font-size: 14px; }
  .card__bonus { padding: 11px; }
  .card__bonus-text { font-size: 15px; }
  .card__features li { font-size: 13px; }

  .content__inner { padding: 18px 14px; }
  .content__inner h2 { font-size: 1.3rem; }
  .content__inner h3 { font-size: 1.1rem; }
  .faq__q { padding: 14px 40px 14px 14px; font-size: 15px; }
  .faq__a { padding: 0 14px; }
  .faq__item.is-open .faq__a { padding: 0 14px 14px; }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid #0a8f3c;
  outline-offset: 2px;
  border-radius: 4px;
}

/* print */
@media print {
  .header, .footer, .header__cta, .card__cta { display: none; }
  body { background: #fff; color: #000; }
}
