/* ============================================================
   CASINO RATINGS TABLE — ENHANCED STYLES
   Font: Onest (via Google Fonts CDN)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;600;700&display=swap');

/* ============================================================
   RATING TABLE WRAPPER
   ============================================================ */
.ratings-wrap { margin: 24px 0 32px; }

/* Load more button */
.load-more-btn {
  font-family: Onest, sans-serif;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin: 16px auto 0;
  padding: 14px 24px;
  cursor: pointer;
  color: #1a3c34;
  background: #e8f5f2;
  border: none;
  border-radius: 10px;
  transition: background .2s;
}
.load-more-btn:hover { background: #d0ede6; }
.load-more-btn .arrow { font-size: 18px; }

/* ============================================================
   CASINO LIST
   ============================================================ */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: casino-counter;
}

/* ============================================================
   CASINO CARD — DESKTOP GRID
   5-column layout: logo | info+crypto | bonus | timing | cta(rating+btn)
   ============================================================ */
.casino-card {
  position: relative;
  display: grid;
  align-items: center;
  padding: 20px 20px 20px 72px;
  border: 1px solid #DCDFE4;
  border-radius: 14px;
  background: #fff;
  column-gap: 18px;
  row-gap: 0;
  grid-template-areas: "logo info bonus timing cta";
  grid-template-columns: 130px 1fr 195px 135px 185px;
  transition: box-shadow .2s, border-color .2s;
  box-sizing: border-box;
}
.casino-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-color: #c8ccd2;
}

/* Counter badge */
.casino-card::before {
  font-family: Onest, sans-serif;
  font-size: 17px;
  font-weight: 700;
  position: absolute;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  content: counter(casino-counter);
  counter-increment: casino-counter;
  color: #242424;
  background: #e8f5f2;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Top badge */
.casino-badge {
  font-family: Onest, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: absolute;
  top: -1px; left: -1px;
  padding: 4px 10px;
  color: #fff;
  background: #0076E2;
  border-radius: 13px 0 10px 0;
  white-space: nowrap;
}
.casino-badge.hot { background: #e05c00; }
.casino-badge.new { background: #1a3c34; }
.casino-badge.top { background: #FF6B35; }

/* ─── GRID AREAS ─── */
.casino-logo   { grid-area: logo; }
.casino-info   { grid-area: info; }
.casino-bonus  { grid-area: bonus; }
.casino-timing { grid-area: timing; }
.casino-cta    { grid-area: cta; }

/* ─── LOGO ─── */
.casino-logo a { display: block; }
.casino-logo img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f8f8;
  padding: 6px;
  box-sizing: border-box;
}

/* ─── INFO (name + tags + crypto) ─── */
.casino-name {
  font-family: Onest, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 7px;
  line-height: 1.2;
  word-break: break-word;
}
.casino-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.tag {
  font-family: Onest, sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  background: #f1f2f4;
  color: #555;
  white-space: nowrap;
}
.tag.green { background: #e8f9e8; color: #1a7a1a; }

/* crypto pills inline in info */
.crypto-label {
  font-family: Onest, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.crypto-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.crypto-pill {
  font-family: Onest, sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  color: #333;
  white-space: nowrap;
}
.crypto-pill.btc  { background: #fff7e6; border-color: #f7a520; color: #b07000; }
.crypto-pill.eth  { background: #f0f0ff; border-color: #6270ff; color: #3040cc; }
.crypto-pill.usdt { background: #e8f9f0; border-color: #26a17b; color: #1a7455; }
.crypto-pill.usdc { background: #e8f4ff; border-color: #2775ca; color: #1a5a9a; }
.crypto-pill.ltc  { background: #f5f5f5; border-color: #aaa; color: #555; }
.crypto-pill.xrp  { background: #e8f5ff; border-color: #007cc0; color: #005d8f; }
.crypto-pill.doge { background: #fffbe6; border-color: #c8a90a; color: #8a7000; }
.crypto-pill.sol  { background: #f3ecff; border-color: #9945ff; color: #6020cc; }
.crypto-pill.bnb  { background: #fffbe6; border-color: #f0b90b; color: #8a6800; }

/* ─── BONUS ─── */
.bonus-label {
  font-family: Onest, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}
.bonus-amount {
  font-family: Onest, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FF6B35;
  line-height: 1.1;
  margin-bottom: 4px;
  word-break: break-word;
}
.bonus-desc {
  font-family: Onest, sans-serif;
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

/* ─── TIMING ─── */
.timing-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timing-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-family: Onest, sans-serif;
  font-size: 12px;
  color: #333;
  line-height: 1.3;
  white-space: nowrap;
}
.timing-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.timing-value { font-weight: 700; color: #FF6B35; }

/* ─── CTA COLUMN: rating stacked above button ─── */
.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.rating-box {
  display: flex;
  flex-direction: column;      /* vertical stack: score row, then stars */
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #f1f2f4;
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;                /* allow shrinking */
  overflow: hidden;
}
/* score + /10 sit side-by-side on one line */
.rating-score-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}
.rating-score {
  font-family: Onest, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}
.rating-of {
  font-family: Onest, sans-serif;
  font-size: 12px;
  color: #888;
  font-weight: 600;
}
.rating-stars {
  font-size: 12px;
  color: #f5a623;
  letter-spacing: 1px;
  white-space: nowrap;
  line-height: 1;
}
.cta-btn {
  font-family: Onest, sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: #FF6B35;
  color: #fff;
  transition: background .15s, transform .1s;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.cta-btn:hover {
  background: #c47a10;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.tc-note {
  font-family: Onest, sans-serif;
  font-size: 10px;
  color: #aaa;
  text-align: center;
  line-height: 1.3;
}
.tc-note a { color: #999; }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media screen and (max-width: 1024px) {
  .casino-card {
    grid-template-areas:
      "logo  info   info  cta"
      "logo  bonus  timing cta";
    grid-template-columns: 110px 1fr 130px 160px;
    grid-template-rows: auto auto;
    padding: 18px 16px 18px 60px;
    column-gap: 14px;
    row-gap: 10px;
    align-items: start;
  }
  .casino-logo img { height: 70px; }
  .casino-cta { justify-content: center; align-self: center; }
  .bonus-amount { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================================ */
@media screen and (max-width: 767px) {
  .casino-card {
    grid-template-areas:
      "logo  info"
      "bonus bonus"
      "timing timing"
      "cta   cta";
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto;
    padding: 14px 14px 14px 14px;
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
  }

  .casino-card::before { display: none; }

  .casino-logo img { height: 64px; }
  .casino-name { font-size: 14px; }

  .bonus-amount { font-size: 16px; }

  .timing-row { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }

  .casino-cta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
  .rating-box { flex: 0 0 auto; min-width: 80px; }
  .cta-btn { flex: 1; min-width: 130px; height: 42px; font-size: 15px; }
  .tc-note { width: 100%; }
}

/* Payment method pills */
.crypto-pill.visa       { background: #e8eeff; border-color: #1a1f71; color: #1a1f71; }
.crypto-pill.mastercard { background: #fff0e6; border-color: #eb001b; color: #cc0000; }
.crypto-pill.poli       { background: #e8f5e8; border-color: #00a651; color: #007a3d; }
.crypto-pill.neosurf    { background: #fff9e6; border-color: #f5a623; color: #a07000; }
.crypto-pill.payid      { background: #e6f3ff; border-color: #0066cc; color: #004d99; }
.crypto-pill.crypto     { background: #f3ecff; border-color: #9945ff; color: #6020cc; }
.crypto-pill.interac    { background: #fff3e6; border-color: #ff6600; color: #cc4400; }
