/**
 * cards.css
 * Styles for Country, Game, and Prediction Cards.
 */

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Country Card */
.country-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.country-card-flag {
  font-size: 3rem;
  line-height: 1;
}

.country-card-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.country-card-games {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Game Card */
.game-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid transparent;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.game-card-title {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
}

.game-card-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.game-card-result {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  background: var(--color-bg);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.game-card-nodata {
  color: var(--color-text-muted);
  font-style: italic;
}

.game-card-link {
  text-align: right;
  color: var(--color-primary);
  font-weight: 600;
}

/* Prediction Card */
.prediction-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-primary);
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.prediction-card.clickable {
  cursor: pointer;
}

.prediction-card.clickable:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.prediction-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.prediction-status {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pending { background: #fef08a; color: #854d0e; }
.status-checked { background: #bfdbfe; color: #1e40af; }

.prediction-dates {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.prediction-numbers {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
}
