.profile-header {
  background: var(--glass-effect);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.7s ease-out;
}

.profile-info {
  display: flex;
  gap: 36px;
  align-items: center;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: var(--glow-accent);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.avatar:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 0 25px var(--accent);
}

.user-details h1 {
  font-size: 2.5em;
  margin-bottom: 12px;
  background: linear-gradient(to right, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--shadow-glow);
  position: relative;
  display: inline-block;
}

.user-details h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 3px;
}

.join-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.discord-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #5865F2;
  font-weight: 500;
  padding: 5px 12px;
  background: rgba(88, 101, 242, 0.1);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.discord-link:hover {
  background: rgba(88, 101, 242, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.discord-icon {
  width: 20px;
  height: 20px;
}

.description {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
  font-size: 1.05em;
}

.profile-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  background: var(--glass-effect);
  border-radius: 40px;
  padding: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-out;
}

.nav-btn {
  background: transparent;
  color: var(--text);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1.05em;
  position: relative;
  overflow: hidden;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-btn.active {
  background: var(--accent);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.5);
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@media (max-width: 768px) {
  .profile-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .user-details h1::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .join-info {
    justify-content: center;
  }
  
  .profile-nav {
    overflow-x: auto;
    padding: 8px;
  }
  
  .nav-btn {
    padding: 10px 15px;
    font-size: 0.9em;
    white-space: nowrap;
  }
}

