

:root {
  --v4-bg:           #f2f5f2;
  --v4-surface:      #ffffff;
  --v4-border:       #d0ddd0;
  --v4-primary:      #14532d;
  --v4-primary-mid:  #166534;
  --v4-primary-soft: #dcfce7;
  --v4-accent:       #ca8a04;
  --v4-accent-soft:  #fef9c3;
  --v4-hero-from:    #166534;
  --v4-hero-to:      #14532d;
  --v4-text:         #1a2e1a;
  --v4-text-soft:    #4a664a;
  --v4-gold:         #f59e0b;
  --v4-signal:       #ea580c;
  --v4-signal-soft:  #fff3ec;
}

/* ── BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--v4-bg);
  color: var(--v4-text);
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.v4-frame { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ── NAV ───────────────────────────────────────── */
.v4-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--v4-primary);
  border-bottom: 3px solid var(--v4-accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.v4-nav__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; gap: 16px;
}
.v4-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -.2px;
}
.v4-brand__mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--v4-accent);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; color: var(--v4-primary);
}
.v4-navlinks {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.v4-navlinks a {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75);
  padding: 5px 10px; border-radius: 6px; transition: all .15s;
}
.v4-navlinks a:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ── HERO ──────────────────────────────────────── */
.v4-hero {
  background: linear-gradient(135deg, var(--v4-hero-from) 0%, var(--v4-hero-to) 100%);
  padding: 48px 0 52px;
  position: relative; overflow: hidden;
}
.v4-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 50%, rgba(202,138,4,.15) 0%, transparent 70%);
  pointer-events: none;
}
.v4-hero__inner { position: relative; display: flex; gap: 36px; align-items: flex-start; flex-wrap: wrap; }
.v4-hero__copy { flex: 1; min-width: 280px; }
.v4-hero__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--v4-accent); margin-bottom: 14px;
}
.v4-hero h1 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 800;
  line-height: 1.15; color: #fff; margin-bottom: 14px;
  letter-spacing: -.5px;
}
.v4-hero__sub { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.7; }
.v4-hero__meta {
  display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap;
}
.v4-meta-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.9);
}
.v4-meta-chip svg { width: 14px; height: 14px; color: var(--v4-accent); fill: currentColor; }
.v4-hero__card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 20px 24px;
  min-width: 220px; flex-shrink: 0;
}
.v4-hero__card-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--v4-accent); margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.v4-hero__checklist { list-style: none; }
.v4-hero__checklist li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.9);
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.v4-hero__checklist li:last-child { border-bottom: none; }
.v4-hero__checklist svg { width: 15px; height: 15px; fill: var(--v4-accent); flex-shrink: 0; margin-top: 1px; }

/* ── MAIN ──────────────────────────────────────── */
.v4-main { padding: 36px 0 48px; }
.v4-section { margin-bottom: 40px; }
.v4-section-head { margin-bottom: 20px; }
.v4-section-head h2 {
  font-size: 22px; font-weight: 800; color: var(--v4-text); margin-bottom: 4px;
}
.v4-section-head p { font-size: 13px; color: var(--v4-text-soft); }
.v4-updated {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--v4-accent);
  background: var(--v4-accent-soft); border-radius: 4px; padding: 2px 7px;
  margin-bottom: 10px;
}


.v4-ranking { display: flex; flex-direction: column; gap: 10px; }

.v4-card {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: box-shadow .15s, border-color .15s;
}
.v4-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.07); border-color: var(--v4-primary-mid); }
.v4-card:first-child { border-left: 4px solid var(--v4-gold); }

.v4-card__rank {
  font-size: 12px; font-weight: 900; color: var(--v4-primary);
  background: var(--v4-primary-soft);
  border-radius: 8px; padding: 4px 8px;
  min-width: 36px; text-align: center; flex-shrink: 0;
}
.v4-card:first-child .v4-card__rank { background: var(--v4-gold); color: var(--v4-primary); }

.v4-card__info { flex: 1; min-width: 0; }
.v4-card__name { font-size: 15px; font-weight: 700; color: var(--v4-text); display: block; }
.v4-card__bonus { font-size: 12px; color: var(--v4-text-soft); display: block; margin-top: 2px; }

.v4-card__deposit {
  font-size: 11px; color: var(--v4-text-soft);
  background: var(--v4-bg); border-radius: 6px;
  padding: 3px 8px; white-space: nowrap; flex-shrink: 0;
}

.v4-card__score {
  display: flex; flex-direction: column; align-items: center;
  min-width: 48px; flex-shrink: 0;
}
.v4-card__score-val {
  font-size: 18px; font-weight: 900; color: var(--v4-primary);
  line-height: 1;
}
.v4-card__score-label { font-size: 9px; font-weight: 700; color: var(--v4-text-soft); letter-spacing: .5px; text-transform: uppercase; }

.v4-card__btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--v4-primary); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 9px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .1s; flex-shrink: 0;
}
.v4-card__btn:hover { background: var(--v4-primary-mid); transform: translateY(-1px); }

.v4-copy h2 {
  font-size: 20px; font-weight: 800; color: var(--v4-text);
  margin: 28px 0 10px;
}
.v4-copy h3 {
  font-size: 16px; font-weight: 700; color: var(--v4-text);
  margin: 22px 0 8px;
}
.v4-copy p { color: var(--v4-text); margin-bottom: 14px; line-height: 1.75; }
.v4-copy ul, .v4-copy ol {
  padding-left: 20px; margin-bottom: 14px;
}
.v4-copy li { margin-bottom: 6px; line-height: 1.65; }
.v4-highlight {
  background: var(--v4-signal-soft); border-left: 3px solid var(--v4-signal);
  border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 16px 0;
  font-size: 14px; color: var(--v4-text);
}

.v4-table-wrap { overflow-x: auto; margin: 16px 0; }
.v4-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; background: var(--v4-surface);
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--v4-border);
}
.v4-table thead th {
  background: var(--v4-primary); color: #fff;
  padding: 11px 16px; font-weight: 700; text-align: left; font-size: 12px;
}
.v4-table tbody td {
  padding: 10px 16px; border-bottom: 1px solid var(--v4-border);
  vertical-align: top;
}
.v4-table tbody tr:last-child td { border-bottom: none; }
.v4-table tbody tr:nth-child(even) td { background: var(--v4-bg); }

.v4-faq { margin-top: 36px; }
.v4-faq h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.v4-faq-item {
  background: var(--v4-surface); border: 1px solid var(--v4-border);
  border-radius: 10px; margin-bottom: 8px; overflow: hidden;
}
.v4-faq-q {
  padding: 14px 18px; font-weight: 700; font-size: 14px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.v4-faq-q::after { content: "+"; font-size: 18px; color: var(--v4-primary); font-weight: 400; flex-shrink: 0; }
.v4-faq-a {
  padding: 0 18px 14px; font-size: 14px; color: var(--v4-text-soft); line-height: 1.7;
}
.v4-footer {
  background: var(--v4-primary); border-top: 2px solid var(--v4-accent);
  padding: 24px 0;
}
.v4-footer p { font-size: 11px; color: rgba(255,255,255,.55); line-height: 1.7; }

@media (max-width: 640px) {
  .v4-navlinks { display: none; }
  .v4-hero__card { display: none; }
  .v4-card__deposit { display: none; }
  .v4-card { padding: 12px 14px; gap: 10px; }
  .v4-card__name { font-size: 14px; }
}

.v4-copy table{width:100%;border-collapse:collapse;margin:14px 0;font-size:13px}.v4-copy th{background:var(--brand,var(--gen-primary,var(--v4-primary,#333)));color:#fff;padding:8px 12px;text-align:left;font-weight:700}.v4-copy td{padding:8px 12px;border-bottom:1px solid var(--line,var(--gen-border,var(--v4-border,#e0e0e0)))}.v4-copy tr:nth-child(even) td{background:rgba(0,0,0,.03)}.v4-copy ul,.v4-copy ol{padding-left:20px;margin:10px 0}.v4-copy li{margin-bottom:6px;line-height:1.65}.v4-copy blockquote{border-left:3px solid var(--accent,var(--gen-accent,#666));padding:10px 14px;margin:12px 0;opacity:.85}.v4-copy code{background:rgba(0,0,0,.06);padding:1px 5px;border-radius:3px;font-family:monospace;font-size:.9em}

/* ========================================================
   RESPONSIVE LAYOUT — tablet and mobile
   ======================================================== */

/* Long content must never widen the viewport. */
.v4-nav__row, .v4-hero__inner, .v4-card, .v4-main,
.v4-copy, .v4-section, .v4-faq { min-width: 0; }
.v4-copy, .v4-faq { overflow-wrap: break-word; }
.v4-copy a { overflow-wrap: anywhere; }
.v4-brand { min-width: 0; }
.v4-brand__mark { flex-shrink: 0; }

/* The tables in the article do not use .v4-table, so supply
   a scroll container for every table without altering its cells. */
.v4-mobile-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0 20px;
  border-radius: 10px;
}
.v4-mobile-table-scroll > table {
  margin: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .v4-frame { width: 100%; padding-inline: 18px; }
  .v4-nav__row { height: auto; min-height: 58px; padding-block: 10px; }
  .v4-brand { font-size: 14px; overflow-wrap: anywhere; }
  .v4-navlinks { gap: 2px; }
  .v4-navlinks a { padding: 7px 6px; font-size: 12px; }

  .v4-hero { padding: 34px 0 38px; }
  .v4-hero__copy { flex-basis: 100%; min-width: 0; }
  .v4-hero h1 { font-size: clamp(27px, 5vw, 36px); line-height: 1.2; }
  .v4-hero__sub { max-width: none; font-size: 14px; }
  .v4-hero__meta { gap: 10px 16px; }

  .v4-main { padding: 28px 0 38px; }
  .v4-section { margin-bottom: 32px; }
  .v4-section-head h2 { font-size: 21px; line-height: 1.3; }
  .v4-copy h2 { font-size: 19px; line-height: 1.35; }
  .v4-copy h3 { font-size: 16px; line-height: 1.4; }

  .v4-card { gap: 12px; padding: 14px; }
  .v4-card__deposit:empty { display: none; }
  .v4-card__btn { padding: 11px 14px; }

  .v4-mobile-table-scroll > table { min-width: 570px; }
  .v4-mobile-table-scroll th,
  .v4-mobile-table-scroll td { white-space: normal; min-width: 110px; }
  .v4-mobile-table-scroll th:first-child,
  .v4-mobile-table-scroll td:first-child { min-width: 125px; }
  .v4-faq { margin-top: 26px; }
  .v4-footer { padding: 20px 0; }
}

@media (max-width: 600px) {
  /* Preserve menu links instead of hiding them on mobile. */
  .v4-nav__row { flex-direction: column; align-items: stretch; gap: 6px; }
  .v4-brand { justify-content: center; text-align: center; }
  .v4-nav__row nav { width: 100%; }
  .v4-navlinks { display: flex; width: 100%; justify-content: center; gap: 8px; }
  .v4-navlinks li { flex: 1 1 0; min-width: 0; }
  .v4-navlinks a { display: block; text-align: center; padding: 7px 4px; }

  .v4-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 48px;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 6px 11px;
    padding: 13px;
  }
  .v4-card__logo { grid-column: 1; grid-row: 1 / 3; width: 64px; }
  .v4-card__logo img { max-width: 100%; height: auto; object-fit: contain; }
  .v4-card__info { grid-column: 2; grid-row: 1 / 3; min-width: 0; }
  .v4-card__name { font-size: 14px; line-height: 1.35; }
  .v4-card__bonus { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .v4-card__rank { grid-column: 3; grid-row: 1; justify-self: center; min-width: 34px; }
  .v4-card__score { grid-column: 3; grid-row: 2; justify-self: center; min-width: 0; }
  .v4-card__score-val { font-size: 17px; }
  .v4-card__deposit { display: none; }
  .v4-card__btn { grid-column: 1 / -1; grid-row: 3; width: 100%; margin-top: 6px; min-height: 42px; }
}

@media (max-width: 480px) {
  .v4-frame { padding-inline: 15px; }
  .v4-nav__row { padding-block: 8px; }
  .v4-brand { font-size: 13px; gap: 8px; }
  .v4-brand__mark { width: 32px; height: 32px; }
  .v4-navlinks a { font-size: 12px; }
  .v4-hero { padding: 26px 0 30px; }
  .v4-hero h1 { font-size: clamp(24px, 6.5vw, 30px); letter-spacing: -.35px; }
  .v4-hero__sub { font-size: 13px; line-height: 1.7; }
  .v4-hero__meta { gap: 8px 12px; margin-top: 17px; }
  .v4-meta-chip { font-size: 11px; }
  .v4-main { padding-block: 23px 32px; }
  .v4-section { margin-bottom: 28px; }
  .v4-section-head { margin-bottom: 14px; }
  .v4-section-head h2 { font-size: 19px; }
  .v4-copy { font-size: 14px; }
  .v4-copy h2 { font-size: 18px; margin-top: 24px; }
  .v4-copy h3 { font-size: 15px; }
  .v4-copy p { line-height: 1.7; }
  .v4-copy ul, .v4-copy ol { padding-left: 21px; }
  .v4-mobile-table-scroll > table { min-width: 540px; font-size: 12px; }
  .v4-mobile-table-scroll th, .v4-mobile-table-scroll td { padding: 9px 10px; }
  .v4-faq h2 { font-size: 19px; }
  .v4-faq-q { padding: 13px 14px; font-size: 13px; line-height: 1.5; }
  .v4-faq-a { padding: 0 14px 13px; font-size: 13px; }
  .v4-footer { padding-block: 18px; }
}

@media (max-width: 360px) {
  .v4-frame { padding-inline: 12px; }
  .v4-brand { font-size: 12px; }
  .v4-navlinks { gap: 2px; }
  .v4-hero h1 { font-size: 23px; }
  .v4-card { grid-template-columns: 54px minmax(0, 1fr) 40px; column-gap: 8px; padding: 11px; }
  .v4-card__logo { width: 54px !important; }
  .v4-card__name { font-size: 13px; }
  .v4-card__bonus { font-size: 11px; }
  .v4-card__rank { font-size: 11px; min-width: 30px; padding: 4px 5px; }
  .v4-card__score-val { font-size: 16px; }
}
