/*
Theme Name: CriptoSuerte Child
Theme URI: https://criptosuerte.com
Description: Child theme of Kadence for criptosuerte.com. Adds a crypto-casino review design layer and custom block patterns (rating box, and more to come).
Author: CriptoSuerte
Template: kadence
Version: 0.1.0
Text Domain: criptosuerte-child
*/

/* =========================================================
   Casino Rating / Summary Box
   Dark, self-contained card that stands out inside an article.
   Palette: deep navy bg, cyan CTA, amber score.
   ========================================================= */

.cs-rating-box {
  background: linear-gradient(160deg, #0f172a 0%, #111c2e 100%);
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 34px);
  margin: 2.25rem 0;
  color: #e2e8f0;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.65);
}

.cs-rating-box .cs-casino-name {
  color: #ffffff;
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  line-height: 1.2;
}

.cs-rating-box .cs-tagline {
  color: #94a3b8;
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
}

/* Score block (right side on desktop) */
.cs-rating-box .cs-score-col { text-align: right; }

.cs-rating-box .cs-score {
  color: #f59e0b;
  font-size: clamp(2.4rem, 7vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.cs-rating-box .cs-score .cs-score-max {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 600;
}

.cs-rating-box .cs-stars {
  color: #f59e0b;
  margin: 0.35rem 0 0;
  letter-spacing: 3px;
  font-size: 1.05rem;
}

/* Key facts row */
.cs-rating-box .cs-facts {
  border-top: 1px solid #1e293b;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  gap: 1rem;
}

.cs-rating-box .cs-fact-label {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.cs-rating-box .cs-fact-value {
  color: #ffffff;
  font-weight: 600;
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
}

/* CTA button */
.cs-rating-box .cs-cta { margin-top: 1.6rem; }

.cs-rating-box .cs-cta .wp-block-button__link {
  background: #13b6cb;
  color: #062a30;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.8rem 2.2rem;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cs-rating-box .cs-cta .wp-block-button__link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Mobile: stack and left-align the score */
@media (max-width: 600px) {
  .cs-rating-box .cs-score-col { text-align: left; }
  .cs-rating-box .cs-score,
  .cs-rating-box .cs-stars { text-align: left; }
}
