/**
 * Rankings Pagination - Silicon Valley Design (Refined)
 * 
 * Boxy, centered, high-contrast design matching user reference.
 */

/* Container */
.rankings-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 0;
    width: 100%;
}

/* Base Page Numbers & Buttons */
.rankings-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: rgba(18, 24, 38, 0.8);
    /* Dark blue-ish background like reference */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    /* Rounded squares */
    transition: all 0.2s ease;
    line-height: 1;
}

/* Hover State */
.rankings-pagination a.page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Active/Current State */
.rankings-pagination .page-numbers.current {
    background: #1a4c40;
    /* Darker green background */
    color: #00ff8a;
    /* Bright green text */
    border-color: #00ff8a;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 255, 138, 0.15);
}

/* Dots (...) */
.rankings-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
    width: auto;
    padding: 0 0.5rem;
}

/* Arrows */
.rankings-pagination .next,
.rankings-pagination .prev {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.rankings-pagination .next:hover,
.rankings-pagination .prev:hover {
    color: #fff;
    border-color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rankings-pagination {
        gap: 0.375rem;
        margin-top: 2rem;
    }

    .rankings-pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        border-radius: 6px;
    }
}