/* ===================================================================
   THEME OVERRIDE — chicken-roads-spiel.net
   Layout overrides only, loaded after style.css. Brand colors (asphalt
   grey / amber-orange / straw-yellow) live in style.css's own :root —
   not redefined here, so the palette set there is the one that
   actually renders.
   =================================================================== */

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

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

/* ===================================================================
   HERO — parts/hero.php
   Stacked layout: centered text band on top, full-width media band
   below. Different structure from the .info domain's side-by-side
   .hero-slide (kept here rather than reusing that class, since the
   shape genuinely differs).
   =================================================================== */
.hero-stack {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-header) 0%, var(--bg-main) 100%);
}

.hero-stack__content {
  padding: 28px var(--space-x) 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stack__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cta-text);
  background: linear-gradient(135deg, #8fe0ff, #3ec9ff);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(62, 201, 255, 0.3);
}

.hero-stack__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  max-width: 26ch;
}

.hero-stack__sub {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
  max-width: 46ch;
}

.hero-stack__media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.hero-stack__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-stack__media-placeholder {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.18), rgba(20, 22, 28, 0.18));
}

@media (min-width: 640px) {
  .hero-stack__media {
    height: 280px;
  }

  .hero-stack__title {
    font-size: 30px;
  }
}

/* ===================================================================
   CASINO COMPARISON CARDS — parts/casino-list.php
   Loosely modelled on .game-card (thumb/badge/name) and .payment-card,
   adapted into a listicle "compare operators" card. All copy in the
   markup is a bracket placeholder — this file only supplies layout.

   Layout on this domain: vertical ranked list. The two featured cards
   (rank 1-2) render as large horizontal rows at the top; the four
   regular cards (rank 3-6) render as compact horizontal rows beneath.
   This is deliberately a different shape from the .info domain's
   grid-of-cards layout.
   =================================================================== */
.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-list__payments-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-dim);
  margin: 16px 0 0;
  max-width: 62ch;
}

.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-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, 90, 31, 0.3);
}

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

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

.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, #ffb300, #ff8654);
  color: #1a0800;
  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: 38px;
  height: 26px;
  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, 90, 31, 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);
}

/* Mobile-first: base rules above already stack the rank/name/CTA into
   a wrapping single column on narrow phones. From 560px the bottom
   row (payments + CTA) becomes a fixed row instead of wrapping, and
   from 720px featured rows get extra breathing room. */
@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;
  }
}
