/* Estilos da Tela de Mundialitos */
.mundialitos-container {
  padding: 20px 16px 80px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.mundialitos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mundialitos-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mundialitos-title h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.5px;
}

.mundialitos-title .badge-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.4));
}

.mundialitos-empty {
  text-align: center;
  padding: 60px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #94a3b8;
}

.mundialito-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.mundialito-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #eab308, #3b82f6);
}

.mundialito-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .mundialito-hero {
    grid-template-columns: 1fr;
  }
}

.hero-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-box.champion {
  border-color: rgba(234, 179, 8, 0.3);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08), rgba(0, 0, 0, 0.4));
}

.hero-box.topscorer {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(0, 0, 0, 0.4));
}

.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-box.champion .hero-title {
  color: #fbbf24;
}

.hero-box.topscorer .hero-title {
  color: #60a5fa;
}

.hero-main-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.champion-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.roster-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.roster-chip.gk {
  border-color: #eab308;
  color: #fef08a;
}

.roster-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* Chaveamento Mata-mata */
.bracket-section {
  margin-top: 24px;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bracket-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  padding: 20px 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.bracket-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px;
  min-width: 240px;
  max-width: 320px;
  flex: 1;
}

.bracket-phase-name {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.bracket-team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  font-weight: 700;
}

.bracket-team-row.winner {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.bracket-score {
  font-weight: 900;
  font-size: 1rem;
}

.bracket-penalties {
  font-size: 0.75rem;
  color: #fbbf24;
  margin-left: 4px;
}

/* Tabela da Fase de Grupos */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.standings-table th {
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 8px;
  text-align: center;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.standings-table th:first-child,
.standings-table td:first-child {
  text-align: left;
  padding-left: 14px;
}

.standings-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: #cbd5e1;
}

.standings-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.standings-table .pos-1 td:first-child {
  color: #38bdf8;
  font-weight: 900;
}

.standings-table .pos-1 td:first-child::before {
  content: "⭐ ";
}
