:root {
  --primary-color: #e50914;
  --secondary-color: #000;
  --bg-color: #121212;
  --text-color: #fff;
  --accent-color: #333;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
}
main {
  padding-top: 50px;
}
.filters {
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bg-color);
}
.filters .left,
.filters .right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.filters .left select,
.filters .right input[type="text"] {
  padding: 8px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
}
.filters .right button {
  padding: 8px 12px;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.teams-container {
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.team-box {
  background: #1a1a1a;
  width: 200px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.3s;
}
.team-box:hover {
  transform: translateY(-5px);
}
.team-box img {
  max-width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}
.team-box h3 {
  font-size: clamp(12px, 2vw, 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.group-header {
  font-size: 2.5em;
  margin: 40px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 10px;
}
footer {
  text-align: center;
}
footer p {
  color: #aaa;
}
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    gap: 20px;
    padding: 10px 20px;
  }
  .filters .left,
  .filters .right {
    width: 100%;
    justify-content: flex-start;
  }
  .teams-container {
    padding: 20px;
  }
  .group-header {
    margin: 20px;
    font-size: 2em;
  }
  .team-box {
    width: 45%;
  }
}
@media (max-width: 480px) {
  .team-box {
    width: 100%;
  }
  .filters {
    padding: 10px;
    gap: 5px;
  }
}
