.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 {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, rgba(255,193,7,0.15) 0%, rgba(255,152,0,0.08) 100%);
  border: 1px solid rgba(255,193,7,0.4);
  transition: all 0.3s ease;
  min-height: 160px;
  justify-content: center;
}

.award-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.award-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255,152,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,193,7,0.7);
  box-shadow: 0 8px 24px rgba(255,193,7,0.15);
  background: linear-gradient(145deg, rgba(255,193,7,0.22) 0%, rgba(255,152,0,0.12) 100%);
}

.award-icon {
  font-size: 2.2em;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(255,193,7,0.4));
}

.award-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.award-icon-container{}

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

.award-icons{}

.award-title {
  font-size: 0.85em;
  font-weight: 600;
  color: #e6edf3;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  word-break: break-word;
}

.award-tournament-name {
  color: #ffd54f;
  font-weight: 700;
}

.award-info {
  font-size: 0.85em;
  color: #c9d1d9;
  position: relative;
  z-index: 1;
}

.award-date {
  font-size: 0.75em;
  color: #8b949e;
  position: relative;
  z-index: 1;
}

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

