@import "variables.css";
/* ===== HOMEPAGE STYLES ===== */
/* Scoreboard, stats preview, and next broadcast display */

@media (min-width: 601px) {
  #scoreboard {
    max-width: 480px;
  }
}

@media (min-width: 601px) {
  #next-radio-broadcast {
    max-width: 480px;
  }
}

#next-radio-broadcast {
  width: 100%;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#next-radio-broadcast.hidden {
  display: none;
}

#next-radio-details {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 16px;
}

#next-radio-details .schedule-date-header {
  margin-top: 0;
}

#see-completed {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.match-stats-button-container {
  display: flex;
  justify-content: center;
  padding: 16px 12px;
  margin-bottom: 0;
}

/* ===== STATS PREVIEW (HOMEPAGE) ===== */

@media (min-width: 601px) {
  #stats-preview {
    max-width: 480px;
  }
}

#stats-preview {
  width: 100%;
  margin: 24px auto;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 16px;
}

#stats-preview.hidden {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.stats-player {
  text-align: center;
}

.stats-player-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-bottom: 8px;
  font-weight: bold;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.stat-label {
  text-align: left;
  color: var(--color-gray-dk);
}

.stat-value {
  text-align: right;
  font-weight: bold;
  color: var(--color-black);
}
