 /* Общие стили */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111;
    color: white;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Шапка */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    padding: 10px 20px;
    border-bottom: 2px solid red;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: red;
}

.flag-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Языковая панель */
.lang-panel button {
    background: none;
    border: 1px solid red;
    color: white;
    margin-left: 5px;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 5px;
}

.lang-panel button:hover {
    background: red;
    color: black;
}

/* Заголовки */
h1 {
    text-align: center;
    margin-top: 20px;
}

/* Панель сортировки */
.sort-panel {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.sort-panel select {
    padding: 5px;
    border-radius: 5px;
}

/* Категории */
.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.categories button {
    background: black;
    border: 1px solid red;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.categories button:hover {
    background: red;
    color: black;
}

/* Карточка профиля */
.profile-card {
    display: flex;
    align-items: center;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid red;
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

.flags {
    margin-left: 10px;
    font-size: 20px;
}

/* Пламя справа */
.flames-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: url('flames-right.png') no-repeat center center;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

/* Адаптив */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        margin: 0 0 10px 0;
    }

    .flames-right {
        width: 150px;
    }
}
