* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #e9e9e9;
}

.container {
    padding: 20px;
}

/* Верх */
.top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.banner,
.update {
    flex: 1;
    background: linear-gradient(135deg, #730099, #BF00FF);
    color: white;
    border-radius: 15px;
    padding: 20px;
    align-content: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.buttons {
    display: flex;
    gap: 10px;
    margin: auto;
    width: fit-content;
}

.btn {
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
}

.price {
    background: orange;
    color: white;
}

.more {
    background: white;
    color: black;
}

.update h2 {
    margin-bottom: 10px;
}

.update-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* Контент */
.content {
    display: flex;
    gap: 20px;
}

/* Сайдбар */
.sidebar {
    width: 220px;
    background: white;
    border-radius: 15px;
    padding: 15px;
}

.sidebar h4 {
    margin: 10px 0;
    font-size: 15px;
    color: #9F9F9F;
}

.server,
.category {
    width: 100%;
    border: none;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    background: #FFE9F8;
    display: block;
}

.server.active {
    background: linear-gradient(135deg, #8a00ff, #d000ff);
    color: white;
}

.category.active {
    background: orange;
    color: white;
}

/* Карточки */
.cards {
    flex: 1;
}

.cards h4 {
    margin-bottom: 10px;
    color: #9F9F9F;
    font-size: 15px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
}

.card-img {
    height: 100px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8a00ff, #d000ff);
    margin-bottom: 10px;
}

.card-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.card-price {
    font-size: 12px;
    margin-bottom: 10px;
}

.buy {
    background: #a000ff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
}

/* Адаптив */
@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top {
        flex-direction: column;
    }

    .content {
        flex-direction: column;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}