/* ===================================================================
   THEME OVERRIDE — chicken-roads-spiel.info
   Brand: asphalt grey + amber/orange, accented with light straw-yellow
   (crossing-signal / roasted-oven warmth). The random per-site color
   :root block that used to live here has been removed — this site now
   simply inherits the base dark theme + amber accent already defined in
   assets/css/style.css's own :root, which fits this brand's palette.
   =================================================================== */

.btn-login:hover,
.btn-login {
  background: rgba(255, 138, 61, 0.06);
  border-color: rgba(255, 138, 61, 0.24);
}

.section__see-all {
  border-color: rgba(255, 138, 61, 0.2);
  background: rgba(255, 138, 61, 0.05);
}

/* ===================================================================
   PAYMENT METHODS GRID — parts/payments-providers.php
   This site processes no payments itself; these are the payment
   methods commonly available at the listed third-party casinos.
   auto-fit (not auto-fill) so the last row's cards stretch to fill
   remaining space instead of leaving empty phantom columns.
   =================================================================== */
.payments-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  margin-top: 16px;
}

.payments-grid .payment-card {
  min-width: 0;
}

/* ===================================================================
   CASINO COMPARISON CARDS — parts/casino-list.php
   Layout: single-column vertical ranked list, all 10 positions stacked
   top to bottom (rows 1-2 larger "featured" rows with a logo image,
   rows 3-10 compact rows with a smaller logo).
   =================================================================== */
.casino-list {
  padding: var(--space-block) var(--space-x);
}

.casino-list__intro {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  max-width: 62ch;
}

.casino-ranked {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.casino-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 212, 0, 0.3);
}

.casino-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.casino-card__rank {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-card__logo-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
}

.casino-card__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.casino-card--featured .casino-card__logo-wrap {
  width: 50px;
  height: 50px;
}

.casino-card__main {
  flex-grow: 1;
  min-width: 0;
}

.casino-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.casino-card__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.casino-card__badge {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1400;
  flex-shrink: 0;
}

.casino-card__blurb {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

.casino-card__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.casino-card__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.casino-card__payment {
  width: 40px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 4px 6px;
}

.casino-card__payment img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.casino-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 44px;
  padding: 0 20px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 800;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.casino-card__cta:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Featured variant: bigger row, gradient CTA, badge visible */
.casino-card--featured {
  padding: 18px;
  border: 1.5px solid rgba(255, 212, 0, 0.3);
  background: linear-gradient(160deg, var(--bg-card-hover) 0%, var(--bg-card) 100%);
}

.casino-card--featured .casino-card__rank {
  width: 42px;
  height: 42px;
  font-size: 16px;
  background: var(--cta-bg);
  color: var(--cta-text);
}

.casino-card--featured .casino-card__name {
  font-size: 18px;
}

.casino-card--featured .casino-card__blurb {
  font-size: 13.5px;
}

.casino-card--featured .casino-card__cta {
  background: var(--cta-bg);
  border-color: transparent;
  color: var(--cta-text);
  box-shadow: var(--cta-glow);
  font-size: 15px;
}

.casino-card--featured .casino-card__cta:hover {
  background: var(--cta-bg-hover);
  color: var(--cta-text);
  transform: translateY(-1px);
}

@media (min-width: 560px) {
  .casino-card__bottom {
    flex-wrap: nowrap;
  }

  .casino-card__payments {
    flex-wrap: nowrap;
  }
}

@media (min-width: 720px) {
  .casino-card--featured {
    padding: 22px 24px;
  }

  .casino-card--featured .casino-card__row {
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .payments-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}
