/**
 * Page Game Report - Stylish dark mode
 * Unations FC
 */

.game-report {
  padding: 1.5rem 1rem 3rem;
}

.game-report__card {
  max-width: 560px;
  margin: 0 auto;
  background: #1a1a1e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.game-report__header {
  padding: 0.75rem 1.25rem;
  background: #25252a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-report__season {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8e8ea;
}

.game-report__season i {
  color: #f87171;
}

.game-report__matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem;
  flex-wrap: wrap;
}

.game-report__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 120px;
}

.game-report__logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #25252a;
  padding: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.game-report__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.game-report__team-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.game-report__vs {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f87171;
  flex-shrink: 0;
}

.game-report__playoffs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 0 1.25rem 1rem;
  background: rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fbbf24;
}

.game-report__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
}

.game-report__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #25252a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-report__stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.game-report__stat-icon--win {
  background: rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

.game-report__stat-icon--loss {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.game-report__stat-icon--draw {
  background: rgba(251, 191, 36, 0.25);
  color: #fbbf24;
}

.game-report__stat-icon--pending {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.game-report__stat-icon--score {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}

.game-report__stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.game-report__stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.game-report__stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.game-report__stat-value--score {
  color: #60a5fa;
  font-size: 1.25rem;
}

.game-report__penalties {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.game-report__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #25252a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-report__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #adb5bd;
}

.game-report__meta i {
  font-size: 1rem;
  color: #6b7280;
}

.game-report__meta-sep {
  color: #4b5563;
  font-weight: 300;
}

/* Result accent on card border */
.game-report--win .game-report__card {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.game-report--loss .game-report__card {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(239, 68, 68, 0.15);
}

.game-report--draw .game-report__card {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.15);
}

@media (max-width: 576px) {
  .game-report__matchup {
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .game-report__logo-wrap {
    width: 56px;
    height: 56px;
  }

  .game-report__team-name {
    font-size: 0.9rem;
  }

  .game-report__vs {
    font-size: 1.1rem;
  }

  .game-report__stats {
    grid-template-columns: 1fr;
    padding: 0 1rem 1rem;
  }
}
