.pagination {
    --primary-gradient: rgb(2,11,19);
    --hover-gradient: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --active-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Base button styles */
.pagination > button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-align: center;
    flex-shrink: 0;
}

/* Specific button types */
.pagination-button {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
}

.pagination-prev,
.pagination-next {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
}

/* Icon spacing using pseudo-elements */
.pagination-prev::before {
    content: '←';
    margin-right: 10px;
}

.pagination-next::after {
    content: '→';
    margin-left: 10px;
}

/* Interactive states */
.pagination > button:hover,
.pagination-button.active {
    background: var(--hover-gradient);
    box-shadow: var(--active-shadow);
    color: rgb(2,11,19);
}

.pagination-prev:hover,
.pagination-next:hover {
    transform: scale(1.1);
}

.pagination-button:hover {
    transform: translateY(-3px);
}

/* Active state for current page */
.pagination-button.active {
    transform: scale(1.15);
    cursor: default;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination {
        gap: 8px;
    }
    
    .pagination > button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .pagination-prev::before,
    .pagination-next::after {
        margin: 0 8px;
    }
}