/* Full-screen overlay elements */

.fs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fs-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 30, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fs-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Pre-match */
.prematch-tournament {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.prematch-tournament-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

.prematch-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin: 30px 0;
}

.prematch-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.prematch-team-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

.prematch-team-logo-fallback {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
}

.prematch-team-name {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.prematch-vs {
  font-size: 36px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

.prematch-meta {
  margin-top: 30px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Match Statistics */
.stats-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.stats-team-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.stats-score {
  font-size: 42px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stats-rows {
  width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 1fr 80px;
  align-items: center;
  gap: 12px;
}

.stats-value {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stats-value.home { text-align: right; }
.stats-value.away { text-align: left; }

.stats-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-bar-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.stats-bar-wrap.home {
  display: flex;
  justify-content: flex-end;
}

.stats-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease-out;
}

/* Tournament Table */
.table-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.standings-table {
  width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
}

.standings-table th {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(75, 47, 163, 0.3);
}

.standings-table th:nth-child(2) {
  text-align: left;
}

.standings-table td {
  font-size: 16px;
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standings-table td:nth-child(2) {
  text-align: left;
}

.standings-table tr.highlight {
  background: rgba(75, 47, 163, 0.2);
}

.standings-team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.standings-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.standings-points {
  font-weight: 700;
  color: #FFD700;
}

/* Post-match */
.postmatch-result {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: 12px;
  font-variant-numeric: tabular-nums;
  margin: 20px 0;
}

.postmatch-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.postmatch-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 24px auto 0;
}

.postmatch-goals-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.postmatch-goals-col.away {
  text-align: right;
}

.postmatch-goal {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* Placeholder */
.placeholder-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.placeholder-gradient {
  position: absolute;
  inset: 0;
}

.placeholder-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.placeholder-text {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Round Schedule */
.schedule-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.schedule-matches {
  width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 16px;
  background: rgba(75, 47, 163, 0.08);
  border-radius: 6px;
}

.schedule-match.current {
  background: rgba(75, 47, 163, 0.25);
  border: 1px solid rgba(75, 47, 163, 0.4);
}

.schedule-home {
  text-align: right;
  font-size: 17px;
  font-weight: 500;
}

.schedule-score {
  font-size: 20px;
  font-weight: 700;
  padding: 0 16px;
  font-variant-numeric: tabular-nums;
}

.schedule-away {
  text-align: left;
  font-size: 17px;
  font-weight: 500;
}
