/**
 * Casino AI Agent — Frontend styly
 * Offer karty, freshness badge, gambling warning
 */

/* ─── Offer karty (TOP 3 kasina) ─────────────────────────────── */
.caa-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.caa-offer-card {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caa-offer-name {
  font-size: 17px;
  color: #1a1a1a;
}

.caa-offer-bonus-box {
  background: #fff8e1;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.caa-offer-btn {
  display: block;
  background: #2da44e;
  color: #ffffff !important;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
  margin-top: auto;
}

.caa-offer-btn:hover,
.caa-offer-btn:focus {
  background: #238636;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Mobilní layout — 1 sloupec pod 480 px */
@media (max-width: 480px) {
  .caa-offers-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Freshness badge ([caa_date]) ───────────────────────────── */
.caa-freshness {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f7ff;
  border: 1px solid #bcd4f5;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #2563a8;
  margin: 8px 0 16px;
}

/* ─── Tip / rada box ────────────────────────────────────────── */
.caa-tip-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #22c55e;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 14px;
  color: #166534;
  margin: 16px 0;
  line-height: 1.6;
}

/* ─── Gambling warning ───────────────────────────────────────── */
.caa-gambling-warning {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #555;
  margin: 24px 0 0;
  line-height: 1.6;
}
