/* ============================================================
   RATING CARDS — Dark Minimal, Lime accent #DDF160
   Layout: rank | logo | content(bonus+features) | cta
   ============================================================ */

.rating-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 28px 0 48px;
}

/* ── Card ───────────────────────────────────────────────────── */
.rc-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 190px 1fr 160px;
  align-items: stretch;
  background: #1a2130;
  border-radius: 14px;
  border-left: 3px solid transparent;
  overflow: visible;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}

.rc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.rc-card:hover {
  background: #1f2840;
  border-left-color: #DDF160;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35), -2px 0 0 #DDF160;
  transform: translateX(2px);
  z-index: 1;
}

/* #1 always has accent border */
.rc-card[data-rank="1"] {
  background: #1d2a3a;
  border-left-color: #DDF160;
  box-shadow: -2px 0 0 #DDF160, 0 4px 20px rgba(221,241,96,0.08);
}

/* ── Rank ───────────────────────────────────────────────────── */
.rc-rank {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-rank-num {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  line-height: 1;
  letter-spacing: .02em;
}

.rc-card[data-rank="1"] .rc-rank-num { color: #DDF160; }
.rc-card[data-rank="2"] .rc-rank-num { color: rgba(255,255,255,0.85); }
.rc-card[data-rank="3"] .rc-rank-num { color: rgba(255,255,255,0.8); }

/* ── Logo ───────────────────────────────────────────────────── */
.rc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.rc-logo a { display: block; line-height: 0; border-radius: 10px; overflow: hidden; }

.rc-logo img {
  width: 148px;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: transform .25s, filter .25s;
}

.rc-card:hover .rc-logo img { transform: scale(1.04); filter: brightness(1.08); }

/* ── Content ─────────────────────────────────────────────────── */
.rc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 26px;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.05);
  text-align: left !important;
  align-items: flex-start;
}

/* Bonus — big and bright */
.rc-bonus-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  white-space: normal;
}

.rc-bonus-text p,
.rc-bonus-text strong {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: #fff !important;
  line-height: inherit !important;
  margin: 0 !important;
  white-space: normal;
}

/* CMS bonus structure overrides (main.min.css sets flex-direction:column) */
.rc-bonus-text .bonus-main {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0 7px !important;
  margin: 0 !important;
}

.rc-bonus-text .bonus-amount,
.rc-bonus-text .bonus-plus,
.rc-bonus-text .bonus-fs {
  font-size: inherit !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: inherit !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.rc-bonus-text .bonus-plus {
  opacity: .65 !important;
}

/* Generic reset for any span inside bonus */
.rc-bonus-text span {
  display: inline !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: #fff !important;
  line-height: inherit !important;
}

/* badgePrimary */
.rc-bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(221,241,96,0.12);
  border: 1px solid rgba(221,241,96,0.3);
  color: #DDF160;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 30px;
  white-space: nowrap;
  align-self: flex-start;
  letter-spacing: .02em;
}

/* Features — small pills in a row */
.rc-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rc-features .feature-item,
.rc-features ul li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
  list-style: none;
}

.rc-features ul { display: flex; flex-direction: column; gap: 5px; list-style: none; padding: 0; margin: 0; }
.rc-features .fi { flex-shrink: 0; font-size: 13px; opacity: .7; }
.rc-features span { white-space: normal !important; color: rgba(255,255,255,0.72); font-size: 12.5px; }

/* ── CTA ────────────────────────────────────────────────────── */
.rc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #DDF160;
  color: #0f1620 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(221,241,96,0.25);
  transition: filter .2s, box-shadow .2s, transform .2s;
}

.rc-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(221,241,96,0.4);
  transform: translateY(-1px);
  color: #0f1620 !important;
}

.rc-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1199px) {
  .rc-card       { grid-template-columns: 56px 168px 1fr 148px; }
  .rc-logo img   { width: 130px; }
  .rc-logo       { padding: 16px 14px; }
  .rc-content    { padding: 18px 20px; gap: 9px; }
  .rc-bonus-text { font-size: 18px; }
  .rc-cta        { padding: 16px 16px; }
  .rc-btn        { padding: 13px 20px; font-size: 12px; }
}

@media (max-width: 1059px) {
  .rc-card       { grid-template-columns: 48px 148px 1fr 136px; }
  .rc-logo img   { width: 114px; }
  .rc-logo       { padding: 14px 12px; }
  .rc-content    { padding: 16px 16px; gap: 8px; }
  .rc-bonus-text { font-size: 16px; }
  .rc-cta        { padding: 14px 12px; }
  .rc-btn        { padding: 12px 15px; font-size: 11.5px; }
}

/* ── ≤767px: full stack ──────────────────────────────────────── */
@media (max-width: 767px) {
  .rc-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    border-radius: 14px;
    border-left-width: 3px;
  }

  .rc-rank, .rc-logo, .rc-content, .rc-cta {
    grid-column: 1;
    border-right: none;
  }

  .rc-rank {
    grid-row: 1;
    justify-content: flex-start;
    padding: 14px 18px 0;
  }

  .rc-logo {
    grid-row: 2;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px 20px;
    justify-content: center;
  }
  .rc-logo img { width: 162px; }

  .rc-content {
    grid-row: 3;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 18px 20px 16px;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .rc-bonus-text  { font-size: 19px; }
  .rc-bonus-badge { align-self: center; }
  .rc-features    { align-items: center; }
  .rc-features .feature-item,
  .rc-features ul li { justify-content: center; }

  .rc-cta { grid-row: 4; padding: 16px 20px 22px; }
  .rc-btn { width: 100%; max-width: 280px; padding: 15px 28px; font-size: 13px; }

  .rc-card:hover { transform: none; }
  .rc-card:hover { border-left-color: #DDF160; }
}
