.server-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: auto;
    align-items: start;
}

.profile-panel-mgs {
    position: sticky;
    top: 2rem;
}

.config-card-mgs {
    background: linear-gradient(to bottom, #2a2a2a, #1c1c1c);
    border: 1px solid #444;
    border-top-color: #555;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.05);
}

.pfp-mgs {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #555;
    margin-bottom: 1rem;
}

#profile-username-mgs {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.creation-date-mgs {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.main-content-mgs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.top-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: linear-gradient(to bottom, #2a2a2a, #1c1c1c);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stat-box label {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
    display: block;
}

.readout {
    font-family: 'Digital-7 Mono', monospace;
    font-size: 2rem;
    color: var(--text-color, #00ff00);
}

.my-icons-container {
    background: linear-gradient(to bottom, #2a2a2a, #1c1c1c);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.my-icons-container h2 {
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 1.5rem;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.icon-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.icon-item:hover {
    transform: scale(1.1);
}

.icon-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #555;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .server-container {
        grid-template-columns: 1fr;
    }
    .profile-panel-mgs {
        position: static;
    }
}