body {
    background: linear-gradient(to bottom, #1e1e1e, #121212);
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.bans-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    background: linear-gradient(to right, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.no-bans {
    text-align: center;
    font-size: 1rem;
    color: #888;
}

.bans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.ban-card {
    background: #1f1f1f;
    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ban-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
}

.ban-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #e74c3c;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
}

.ban-info {
    flex: 1;
}

.ban-username {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.ban-group {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}

.ban-date,
.ban-end,
.ban-reason {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #ccc;
}

.ban-reason span {
    color: #e74c3c;
    font-weight: 500;
}

@media (max-width: 600px) {
    .ban-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ban-avatar img {
        width: 60px;
        height: 60px;
    }

    .ban-info {
        width: 100%;
    }

    .bans-container {
        padding: 0 15px;
    }
}

.bans-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.bans-filters input[type="text"],
.bans-filters select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #1d1d1d;
    color: #ccc;
    width: 220px;
}

.bans-filters button {
    padding: 8px 18px;
    background-color: #e74c3c;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bans-filters button:hover {
    background-color: #c0392b;
}

.ban-by {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #ccc;
}

strong {
    font-weight: bold;
}