/* Top Lists Archive Styles */

.top-lists-hero {
    background: linear-gradient(135deg, #023047 0%, #219EBC 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(2, 48, 71, 0.2);
}

.top-lists-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -1px;
}

.top-lists-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.top-lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.top-list-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    height: 400px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.top-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.top-list-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.top-list-card:hover .top-list-card-bg {
    transform: scale(1.08);
}

.top-list-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.top-list-card:hover .top-list-card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.95) 100%);
}

.top-list-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffb703;
    color: #023047;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.top-list-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.top-list-card-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.top-list-card-action {
    color: #ffb703;
    font-weight: bold;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-list-card:hover .top-list-card-title {
    transform: translateY(-5px);
}

.top-list-card:hover .top-list-card-action {
    opacity: 1;
    transform: translateY(0);
}

.no-tops {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
}

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

.pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff;
    color: #023047;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.pagination .page-numbers:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pagination .page-numbers.current {
    background: #023047;
    color: #fff;
    border-color: #023047;
}

.pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
    border: none;
    pointer-events: none;
}

.screen-reader-text {
    display: none;
}

@media (max-width: 768px) {
    .top-lists-hero {
        padding: 50px 20px;
    }
    .top-lists-hero h1 {
        font-size: 2.2rem;
    }
    .top-list-card {
        height: 350px;
    }
    .top-list-card-action {
        opacity: 1;
        transform: translateY(0);
    }
}
