/* Home Page Specific */
.home-hero {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(17, 21, 56, 0.95)), url('../images/hero-bg.jpg') center/cover;
}

/* Bracket page visual layout */
.bracket-wrapper {
  overflow-x: auto;
  padding: var(--space-4) 0;
  display: flex;
  justify-content: flex-start;
  min-height: 500px;
}

.bracket {
  display: flex;
  gap: var(--space-8);
}

.bracket__round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-width: 220px;
  gap: var(--space-4);
}

.bracket__round-title {
  text-align: center;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-4);
}

.bracket__match {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bracket__team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.bracket__team--winner {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  font-weight: 600;
}

/* Team Header Details */
.team-header {
  padding: var(--space-8) 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-6);
}

.team-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .team-header__inner {
    flex-direction: row;
    text-align: left;
    gap: var(--space-6);
  }
}

.team-header__flag {
  font-size: 5rem;
}

.team-header__title {
  margin-bottom: var(--space-1);
}

.team-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-2);
}

.meta-item strong {
  color: var(--text-primary);
}

/* Match Timeline Events */
.match-timeline {
  position: relative;
  padding: var(--space-4) 0;
}

.match-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background-color: var(--border-color);
}

.match-timeline__event {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  position: relative;
}

.match-timeline__badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-weight: 700;
  color: var(--accent-color);
  flex-shrink: 0;
}

.match-timeline__content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  flex-grow: 1;
}

.match-timeline__time {
  font-weight: 700;
  color: var(--accent-color);
}

.match-timeline__title {
  font-weight: 600;
  font-size: var(--fs-sm);
}

.match-timeline__desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
