/* Основной фон и базовый стиль */
body {
    background: linear-gradient(145deg, #0e0f13, #181a20);
    color: #fff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

/* Верхняя панель */
.bg-primary {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.bg-primary h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

/* Кнопка Logout */
.btn-danger {
    background: transparent;
    border: 2px solid #ff3c3c;
    color: #ff3c3c;
    font-weight: 600;
    border-radius: 12px;
    padding: 8px 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #ff3c3c;
    color: #fff;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 60, 60, 0.4);
}

/* Контейнер карточек */
.card-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding: 10px;
}

/* Карточки */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    width: 220px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Названия */
.card-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 8px 0;
}

/* Изображения скинов */
.skin-image {
    display: block;
    margin: 0 auto 10px;
    width: 100%;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.card:hover .skin-image {
    transform: translateY(-5px) scale(1.05);
}

/* Нижняя часть карточки */
.card-footer {
    background: transparent;
    border-top: none;
}

/* Select и формы */
.select,
.select:focus,
.form-select {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: none;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.select:hover,
.form-select:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Кнопки внутри карточек */
.btn-primary {
    background: #00b4ff;
    border: none;
    font-weight: 600;
}


/* ---------- Модалки ---------- */
.modal-content {
    background: #1b1e25;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 30px;
    color: #999;
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }
    .card-title {
        font-size: 0.85rem;
    }
}
