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

.pagination a {
    width: auto;
    padding: 0 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
}

.pagination a:hover:not(.disabled) {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.pagination a.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.pagination a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.debug-info {
    color: #666;
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
}

/* Article Image Placeholder Enhancement */
.art-img-wrapper .art-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: none;
}

.art-card:hover .art-img-wrapper .art-img-placeholder {
    transform: none;
}

.art-img-wrapper .art-img-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        rgba(255, 255, 255, 0.03) 30px,
        rgba(255, 255, 255, 0.03) 60px
    );
    animation: placeholderSlide 20s linear infinite;
    pointer-events: none;
}

.art-img-wrapper .art-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.placeholder-inner {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.placeholder-inner i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.4s ease;
}

.art-card:hover .placeholder-inner {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.art-card:hover .placeholder-inner i {
    color: rgba(0, 242, 255, 0.5);
}

@keyframes placeholderSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(42px); }
}
