/* User Card */
.user-card {
 margin-top: 2rem;
 animation: fadeIn 0.5s ease;
 background: var(--bg-glass);
 border-radius: 20px;
 overflow: hidden;
 box-shadow: var(--shadow-glass);
 border: 1px solid var(--border-light);
}
.banner {
 width: 100%;
 height: 150px;
 background-position: center;
 background-size: cover;
 background-repeat: no-repeat;
 position: relative;
}
.banner::after {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}
.avatar-container {
 position: relative;
 text-align: center;
 margin-top: -75px;
 margin-bottom: 1rem;
 z-index: 2;
}
.avatar {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 border: 4px solid var(--bg-glass);
 box-shadow: var(--shadow-glass);
 transition: transform 0.3s ease;
}
.avatar:hover {
 transform: scale(1.05);
}
.avatar-addon {
 position: absolute;
 top: 0;
 left: 50%;
 transform: translateX(-50%);
 width: 150px;
 height: 150px;
 background-size: contain;
 background-repeat: no-repeat;
 background-position: center;
 border-radius: 50%;
 pointer-events: none;
 z-index: 1;
}
.user-info {
 padding: 2rem;
 text-align: center;
}
.user-header {
 margin-bottom: 1.5rem;
}
.display-name {
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--text-primary);
 margin-bottom: 0.5rem;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 flex-wrap: wrap;
}
.username {
 font-size: 1.2rem;
 color: var(--text-secondary);
 margin-bottom: 1rem;
}
.tag-container {
 display: inline-flex;
 align-items: center;
 background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
 border-radius: 8px;
 padding: 0.3rem 0.8rem;
 margin-left: 0.5rem;
}
.tag-icon {
 width: 16px;
 height: 16px;
 margin-right: 6px;
 border-radius: 3px;
}
.tag-name {
 color: white;
 font-size: 0.9rem;
 font-weight: 600;
}
.user-details {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 1rem;
 margin-bottom: 1.5rem;
}
.detail-item {
 background: rgba(255, 255, 255, 0.05);
 padding: 1rem;
 border-radius: 12px;
 border: 1px solid var(--border-light);
 transition: all 0.3s ease;
}
.detail-item:hover {
 background: rgba(255, 255, 255, 0.08);
 border-color: var(--border-accent);
 transform: translateY(-2px);
}
.detail-label {
 font-size: 0.9rem;
 color: var(--text-secondary);
 margin-bottom: 0.3rem;
 font-weight: 600;
}
.detail-value {
 font-size: 1.1rem;
 color: var(--text-primary);
 font-weight: 700;
}
.badges-section {
 margin-bottom: 1.5rem;
}
.section-title {
 font-size: 1.2rem;
 color: var(--text-primary);
 margin-bottom: 1rem;
 background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
}
.badges-grid {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 justify-content: center;
}
.badge-item {
 background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
 color: white;
 padding: 0.5rem 1rem;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 transition: transform 0.3s ease;
}
.badge-item:hover {
 transform: scale(1.05);
}
.links-section {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
}
.link-btn {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 background: rgba(99, 102, 241, 0.1);
 color: var(--text-primary);
 text-decoration: none;
 padding: 0.7rem 1.5rem;
 border-radius: 8px;
 border: 1px solid var(--border-accent);
 transition: all 0.3s ease;
 font-weight: 600;
}
.link-btn:hover {
 background: rgba(99, 102, 241, 0.2);
 transform: translateY(-2px);
 box-shadow: var(--shadow-accent);
}
/* Responsive Design */
@media (max-width: 768px) {
 .user-details {
  grid-template-columns: 1fr;
 }
 .display-name {
  flex-direction: column;
  gap: 0.5rem;
 }
 .tag-container {
  margin-left: 0;
 }
 .links-section {
  flex-direction: column;
  align-items: center;
 }
 .link-btn {
  width: 100%;
  justify-content: center;
 }
}
@media (max-width: 480px) {
 .avatar {
  width: 120px;
  height: 120px;
 }
 .avatar-container {
  margin-top: -60px;
 }
 .banner {
  height: 120px;
 }
}
