.profile-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-header {
  text-align: center;
  padding: 10px;
  /* background: linear-gradient(135deg, #0066cc 0%, #001f50 100%); */
  /* background: rgba(58, 123, 213, 0.7); */
  /* color: white; */
  color: #e0e6f0;
  border-radius: 10px;
  margin-bottom: 10px;
  /* border: 2px solid #06c; */
  /* margin: 0 auto; */
}

.profile-avatar {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #000;
  margin: 0 auto;
  background: linear-gradient(135deg, #3a7bd5 0%, #1e4d78 100%);
}
.profile-avatar img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Flip эффект для аватарки */
.profile-avatar-container.flipped .profile-avatar-flipper {
  transform: rotateY(180deg);
}

.profile-username {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 5px;
  display: inline;
  position: relative;
  padding: 0 10px;
}

.profile-member-since {
  font-size: 0.9em;
  opacity: 0.9;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  margin-top: 15px;
  gap: 10px;
}

.stat-card {
  padding: 15px;
  background: rgba(44, 50, 63, 0.7);
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #3a7bd5;
  color: #e0e6f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card.won {
  border-left-color: #4caf50;
}

.stat-card.lost {
  border-left-color: #f44336;
}

.stat-card.pending {
  border-left-color: #ff9800;
}

.stat-label {
  font-size: 0.85em;
  color: #b0b8c8;
  margin-bottom: 8px;
  font-weight: 600;
}

.stat-value {
  font-size: 1.8em;
  font-weight: 700;
  color: #5a9fd4;
}

.profile-section {
  padding: 15px;
  background: rgba(44, 50, 63, 0.7);
  border-radius: 8px;
  border-left: 4px solid #3a7bd5;
  text-align: center;
}

.profile-section-title {
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #5a9fd4;
}

.profile-section-content {
  font-size: 0.95em;
  line-height: 1.6;
  color: #b0b8c8;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.award-card {
  background: linear-gradient(
      135deg,
      rgba(212, 175, 55, 0.6) 0%,
      rgba(212, 175, 55, 0.5) 100%
    ),
    url("../img/winner.jpg") center / cover no-repeat;
  border: 2px solid rgba(212, 175, 55, 0.7);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.award-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 opacity=%220.03%22%3E%3Cpath d=%22M6 9H4a2 2 0 0 1-2-2V5h4%22/%3E%3Cpath d=%22M18 9h2a2 2 0 0 0 2-2V5h-4%22/%3E%3Cpath d=%22M6 2h12v7a6 6 0 0 1-12 0V2z%22/%3E%3Cline x1=%2212%22 y1=%2215%22 x2=%2212%22 y2=%2219%22/%3E%3Cline x1=%228%22 y1=%2222%22 x2=%2216%22 y2=%2222%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 150%;
  pointer-events: none;
  z-index: 0;
}

.award-card:hover {
  background: linear-gradient(
      135deg,
      rgba(212, 175, 55, 0.75) 0%,
      rgba(212, 175, 55, 0.65) 100%
    ),
    url("../img/winner.jpg") center / cover no-repeat;
  border-color: rgba(212, 175, 55, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.award-icon {
  font-size: 2.5em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  animation: bounce 0.6s ease-in-out;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.award-icon-container{}

.award-icon-container .award-icons .tournament-icon{
  width: 2em !important;
  height: 2em !important;
  background: rgba(224, 230, 240, .4) !important;
  /* padding: 2px; */
}

.award-icons{}

.award-icon img{
  width: 60px;
  height: 60px;
}

.award-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  font-size: 0.95em;
  position: relative;
  z-index: 1;
  word-break: break-word;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.award-info {
  font-size: 0.9em;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.award-date {
  font-size: 0.8em;
  color: #ffe0b2;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

