/* Bans Page Hero */
.bans-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.bans-hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.8)); }
}

.bans-hero p {
    font-size: 18px;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* Search & Filter Section */
.search-section {
    padding: 40px 0 60px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
    color: #666;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.05);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* Bans Table Section */
.bans-section {
    padding: 40px 0 100px;
}

.bans-table-container {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 30px;
    overflow-x: auto;
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
}

.bans-table thead {
    background: rgba(168, 85, 247, 0.1);
}

.bans-table th {
    padding: 18px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

.bans-table td {
    padding: 18px;
    color: #c0c0c0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.bans-table tbody tr {
    transition: all 0.3s;
}

.bans-table tbody tr:hover {
    background: rgba(168, 85, 247, 0.05);
}

/* Player Info */
.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.player-name {
    font-weight: 600;
    color: #fff;
}

/* Ban Type Badge */
.ban-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ban-type.permanent {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.ban-type.temporary {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.ban-type.mute {
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.ban-type.kick {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.ban-type.warning {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Status Badge */
.ban-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ban-status.active {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.ban-status.expired {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.4);
}

.ban-status.unbanned {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Reason Text */
.ban-reason {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--primary);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.stat-card h3 {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.empty-state p {
    color: #a0a0a0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bans-hero h1 {
        font-size: 42px;
    }

    .search-input {
        padding: 15px 20px;
        font-size: 14px;
    }

    .search-btn {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }

    .search-box {
        display: flex;
        flex-direction: column;
    }

    .bans-table-container {
        padding: 15px;
    }

    .bans-table {
        font-size: 13px;
    }

    .bans-table th,
    .bans-table td {
        padding: 12px 8px;
    }

    .player-avatar {
        width: 32px;
        height: 32px;
    }

    .ban-reason {
        max-width: 150px;
    }
}