/* AdminTeam layout */
.hero--small {
  min-height: max(400px, 700px);
  padding-top: 80px;
}

.adminteam {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.adminteam__section {
  margin-bottom: 3rem;
}

.adminteam__title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.adminteam__description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #666;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
}

.adminteam__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Admin karta - zachovaný pôvodný dizajn */
.admin {
  display: flex;
  align-items: center;
  padding: 1rem;
  flex-basis: 25%;
  flex-grow: 1;
  min-width: 280px;
  max-width: 350px;
}

.admin__image {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.admin:hover .admin__image {
  transform: scale(1.05);
}

.admin__info {
  margin-left: 1rem;
}

.admin__name {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 0.25rem 0;
}

.admin__status {
  margin: 0 0 0.5rem 0;
}

.admin__status::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: -3px;
}

.admin__status.online::before {
  background: #48ff41;
  border: 4px solid #b3ffac;
  animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.admin__status.offline::before {
  background: #fe3d3e;
  border: 4px solid #ffb9b7;
}

.admin__tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: #202020;
  color: #fff;
  border-radius: 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.admin__tag:hover {
  background: #5865f2;
}

/* Meno s discord hover efektom */
.admin__name {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
  transition-delay: 0.3s;
}

.admin__name::before {
  content: attr(data-discord);
  position: absolute;
  left: 0;
  top: 0;
  color: #5865f2;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
  transition-delay: 0s;
}

.admin:hover .admin__name,
.admin__name.revealed {
  color: transparent;
  transition-delay: 0s;
}

.admin:hover .admin__name::before,
.admin__name.revealed::before {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.admin__name:not(:hover)::before {
  transition-delay: 0s;
}

.admin:not(:hover) .admin__name:not(.revealed) {
  transition-delay: 0.3s;
}

.admin__name.copied::before {
  content: "✓ Zkopírováno";
  color: #2ab53a;
}

/* Responsive */
@media (max-width: 768px) {
  .adminteam {
    padding: 2rem 1rem;
  }

  .adminteam__title {
    font-size: 1.75rem;
  }

  .adminteam__description {
    font-size: 1rem;
  }

  .admin {
    min-width: 100%;
    justify-content: center;
  }

  .admin__name {
    font-size: 1.2rem;
  }

  .admin__name::before {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .admin {
    flex-direction: column;
    text-align: center;
  }

  .admin__info {
    margin-left: 0;
    margin-top: 1rem;
  }

  .admin__name {
    font-size: 1.1rem;
  }

  .admin__name::before {
    font-size: 0.9rem;
  }

  .admin__image {
    width: 120px;
  }
}
