/* Общие стили для страницы */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Стили для контейнера профиля и карточки профиля */

.profile-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

.profile-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px; /* Ширина карточки профиля */
    text-align: center;
}

.profile-header {
    margin-bottom: 20px;
}

.avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.username {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.premium {
    color: yellow;
    font-weight: bold;
    margin-top: 5px;
}

.profile-info {
    text-align: left;
}

.info-item {
    margin-bottom: 10px;
}

.info-label {
    font-weight: bold;
    color: #666;
}

.info-value {
    margin-left: 10px;
    color: #333;
}

/* Стили для истории матчей остаются без изменений */

.match-history {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-left: 20px; /* Отступ для разделения столбиков */
    width: 300px; /* Ширина истории матчей */
    text-align: center;
}

.match-history h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.match {
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
}

.match.win {
    background-color: #d4edda;
    color: #155724;
}

.match.loss {
    background-color: #f8d7da;
    color: #721c24;
}

/* Медиа-запросы для адаптивности остаются без изменений */
