@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

body { 
    font-family: 'Roboto Mono', monospace; 
    background-color: #323437; 
    color: #d1d0c5; 
    margin: 0; 
    padding: 40px 20px; 
    line-height: 1.5; 
}
.container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.error { color: #ca4754; text-align: center; margin-top: 100px; }
.error h1 { font-weight: normal; }

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #2c2e31;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #646669;
    overflow: hidden;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-details h1 { margin: 0; font-size: 2.5rem; font-weight: normal; }
.user-meta { color: #646669; font-size: 0.9rem; margin-top: 5px; }

.group-title {
    color: #646669;
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px; 
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-label { 
    color: #646669; 
    font-size: 0.85rem; 
}
.stat-val { 
    font-size: 1.8rem; 
    color: #e2b714; 
    font-weight: bold;
}

.pb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.pb-box {
    background: #2c2e31;
    padding: 20px;
    border-radius: 8px;
}
.pb-box h3 {
    margin: 0 0 10px 0;
    font-weight: normal;
    font-size: 1rem;
    color: #646669;
}
.pb-large {
    font-size: 3rem;
    color: #d1d0c5;
    line-height: 1;
}
.pb-small {
    color: #646669;
    font-size: 0.9rem;
    margin-top: 5px;
}

.nav {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.nav a {
    color: #646669;
    text-decoration: none;
    transition: color 0.2s;
}
.nav a:hover {
    color: #d1d0c5;
}