
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fafafa;
  min-height: 100vh;
  padding: 40px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
h1 {
  text-align: center;
  color: #1a1a2e;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 700;
}
.federation {
  margin-bottom: 50px;
}
.federation-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}
.federation-title h2 {
  color: #333;
  font-size: 1.5em;
}
.federation-title .fed-icon {
  width: 50px;
  height: 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 0.7em;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.teams-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 5px;
  box-sizing: border-box;
}
.team-item {
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(20% - 20px);
  box-sizing: border-box;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  position: relative;
  margin-bottom: 15px;
}
.team-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}
.team-card {
  display: flex;
  justify-content: center;
}
.team-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.team-item:hover .team-card img {
  transform: scale(1.12);
}
.team-item h3 {
  color: #333;
  font-size: 0.95em;
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
  font-family: Arial, sans-serif;
}
.team-item h3 a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 1024px) {
  .team-item {
    width: calc(25% - 20px);
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.8em;
  }
  .team-item {
    width: calc(33.333% - 15px);
    padding: 20px 15px;
  }
  .team-card img {
    width: 60px;
    height: 60px;
  }
  .team-item h3 {
    font-size: 0.85em;
  }
  .federation-title h2 {
    font-size: 1.1em;
  }
  .federation-title .fed-icon {
    width: 40px;
    height: 30px;
    font-size: 0.6em;
  }
}
