.standings-page {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #f6d365;
  font-weight: 800;
  text-decoration: none;
}

.standings-page h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 60px);
  color: #f6d365;
  text-transform: uppercase;
}

.standings-intro {
  margin: 12px auto 28px;
  max-width: 560px;
  font-weight: 700;
  opacity: 0.9;
}

.standings-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0 20px;
  margin-bottom: 16px;
}

.tab-button {
  flex: 0 0 auto;
  border: 2px solid rgba(246, 211, 101, 0.45);
  background: rgba(0, 0, 0, 0.25);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
}

.tab-button.active {
  background: #f6d365;
  color: #111;
  border-color: #f6d365;
}

.standings-list {
  display: grid;
  gap: 12px;
}

.standing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px 18px;
  border-radius: 18px;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(246, 211, 101, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.team-name {
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
}

.status-pill {
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-eliminated {
  background: #8b1e1e;
  color: white;
}

.status-round16 {
  background: #0f5f46;
  color: white;
}

.status-quarter {
  background: #1f4f6f;
  color: white;
}

.status-semi {
  background: #4b2e6f;
  color: white;
}

.status-finalist {
  background: #7a3f1d;
  color: white;
}

.status-winner {
  background: linear-gradient(135deg, #f6d365, #b8860b);
  color: #111;
}

.empty-message {
  padding: 28px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.3);
  font-weight: 800;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .standing-row {
    padding: 14px;
  }

  .team-name {
    font-size: 14px;
  }

  .status-pill {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .standings-tabs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 0 20px;
    margin: 0 0 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .standings-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 62%;
    max-width: 260px;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 16px;
    padding: 14px 18px;
  }
}

.team-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.standing-crest {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .standing-crest {
    width: 34px;
    height: 34px;
  }
}

.tab-button {
  box-shadow: none;
}

@media (max-width: 768px) {
  .standings-tabs {
    position: relative;
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 0 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .standings-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 100%;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .standings-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .standings-tabs .tab-button {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
}

.scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .scroll-hint {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: -8px 0 18px;
  }

  .scroll-hint span {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(246, 211, 101, 0.35);
  }
}

.scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .scroll-hint {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: -8px 0 18px;
  }

  .scroll-hint span {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: rgba(246, 211, 101, 0.3);
    transition: background 0.2s ease, width 0.2s ease;
  }

  .scroll-hint span.active {
    width: 32px;
    background: #f6d365;
  }
}