/* ===== ŞIK FORUMLAR LİSTESİ ===== */
.forums-widget {
    margin: 30px 0;
}

.forums-tabs {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 12px 12px 0 0;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.forums-tab-header {
    text-align: center;
    color: white;
}

.forums-tab-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.forums-tab-header h3 i {
    font-size: 22px;
}

.forums-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.forums-list {
    background: var(--card-background);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-top: none;
    overflow: hidden;
}

.forums-list-header {
    background: var(--background-color);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.header-forum {
    flex: 1;
    padding-left: 50px;
}

.header-stats {
    width: 180px;
    text-align: left;
    padding-left: 0px;
    margin-left: -30px;
}

.header-lastpost {
    width: 200px;
    text-align: center;
}

.forums-row {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}

.forums-row:last-child {
    border-bottom: none;
}

.forums-row:hover {
    background: linear-gradient(90deg, var(--background-color) 0%, rgba(6, 182, 212, 0.02) 100%);
    transform: translateX(2px);
    box-shadow: inset 3px 0 0 var(--primary-color);
}

.forums-cell-icon {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.forums-row:hover .forum-icon {
    transform: scale(1.1);
    border-color: currentColor;
}

.forums-cell-forum {
    flex: 1;
    padding-left: 15px;
}

.forum-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
    line-height: 1.3;
}

.forum-title:hover {
    color: var(--primary-color);
}

.forum-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.forums-cell-stats {
    width: 180px;
    text-align: left;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding-left: 0px;
    margin-left: -30px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
}

.stat-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

.forums-cell-lastpost {
    width: 200px;
    text-align: center;
}

.last-post-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.last-post-avatar {
    flex-shrink: 0;
}

.last-post-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.forums-row:hover .last-post-avatar img {
    border-color: var(--primary-color);
}

.last-post-details {
    text-align: left;
    min-width: 0;
    flex: 1;
}

.last-post-details a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    line-height: 1.3;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.last-post-details a:hover {
    color: var(--primary-color);
}

.last-post-details span {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.2;
}

.no-posts {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 13px;
}

/* ===== RESPONSIVE TASARIM ===== */
@media (max-width: 768px) {
    .forums-list-header {
        display: none;
    }
    
    .forums-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 8px;
        position: relative;
    }
    
    .forums-cell-icon {
        width: auto;
        align-self: flex-start;
        position: absolute;
        top: 16px;
        left: 16px;
    }
    
    .forums-cell-forum {
        padding-left: 60px;
        width: 100%;
        margin-bottom: 4px;
    }
    
    /* MOBİL SADE İSTATİSTİKLER */
    .forums-cell-stats {
        width: 100%;
        padding-left: 60px;
        margin-left: 0;
        padding: 0;
        background: none;
        border: none;
        gap: 12px;
        font-size: 12px;
    }
    
    .forums-cell-stats .stat-item {
        background: none;
        padding: 0;
        border: none;
        min-width: auto;
        box-shadow: none;
        font-size: 12px;
        color: var(--text-light);
    }
    
    .forums-cell-stats .stat-number {
        font-size: 14px;
        font-weight: 600;
        color: var(--primary-color);
    }
    
    .forums-cell-lastpost {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        margin-top: 2px;
    }
    
    .last-post-info {
        justify-content: flex-start;
        background: none;
        padding: 0;
        border: none;
        gap: 8px;
    }
    
    .last-post-avatar img {
        width: 24px;
        height: 24px;
    }
    
    .last-post-details {
        font-size: 12px;
    }
    
    .last-post-details a {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .last-post-details span {
        font-size: 11px;
        color: var(--text-light);
    }
    
    .forums-tab-header h3 {
        font-size: 20px;
    }
    
    .header-forum {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .forums-tabs {
        padding: 16px;
    }
    
    .forums-row {
        padding: 12px;
        gap: 6px;
    }
    
    .forums-cell-icon {
        top: 12px;
        left: 12px;
    }
    
    .forums-cell-forum {
        padding-left: 50px;
        margin-bottom: 3px;
    }
    
    .forums-cell-stats {
        padding-left: 50px;
        gap: 10px;
    }
    
    .forums-cell-lastpost {
        padding-left: 50px;
    }
    
    .forum-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .forum-title {
        font-size: 15px;
        margin-bottom: 2px;
    }
    
    .forum-description {
        font-size: 12px;
    }
    
    .last-post-avatar img {
        width: 20px;
        height: 20px;
    }
    
    .last-post-details a {
        font-size: 11px;
    }
    
    .last-post-details span {
        font-size: 10px;
    }
    
    .stat-number {
        font-size: 13px;
    }
}

/* ===== ŞIK KATEGORİ SAYFASI ===== */
.category-widget {
    margin: 30px 0;
}

.category-tabs {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 12px 12px 0 0;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tab-header {
    color: white;
}

.category-tab-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-tab-header h3 i {
    font-size: 22px;
}

.category-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.category-actions .button-primary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    gap: 8px;
}

.category-actions .button-primary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.topics-list {
    background: var(--card-background);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-top: none;
    overflow: hidden;
}

.topics-list-header {
    background: var(--background-color);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.header-topic {
    flex: 1;
    padding-left: 50px;
}

.topics-list-header .header-stats {
    width: 200px;
    text-align: left;
    padding-left: 0px;
    margin-left: -30px;
}

.topics-list-header .header-lastpost {
    width: 200px;
    text-align: center;
}

.topics-row {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}

.topics-row:last-child {
    border-bottom: none;
}

.topics-row:hover {
    background: linear-gradient(90deg, var(--background-color) 0%, rgba(6, 182, 212, 0.02) 100%);
    transform: translateX(2px);
    box-shadow: inset 3px 0 0 var(--primary-color);
}

.topics-cell-icon {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.topics-row:hover .topic-icon {
    transform: scale(1.1);
    border-color: currentColor;
}

.topic-icon.sticky {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.topics-cell-topic {
    flex: 1;
    padding-left: 15px;
}

.topic-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
    line-height: 1.3;
}

.topic-title:hover {
    color: var(--primary-color);
}

.topic-meta {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
}

.topic-meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.topic-meta a:hover {
    text-decoration: underline;
}

.topics-cell-stats {
    width: 200px;
    text-align: left;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 0px;
    margin-left: -30px;
}

.topics-cell-stats .stat-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-shrink: 0;
}

.topics-cell-stats .stat-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    min-width: 30px;
}

.topics-cell-lastpost {
    width: 200px;
    text-align: center;
}

.topics-cell-lastpost .last-post-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.topics-cell-lastpost .last-post-avatar {
    flex-shrink: 0;
}

.topics-cell-lastpost .last-post-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.topics-row:hover .last-post-avatar img {
    border-color: var(--primary-color);
}

.topics-cell-lastpost .last-post-details {
    text-align: left;
    min-width: 0;
    flex: 1;
}

.topics-cell-lastpost .last-post-details a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
    line-height: 1.3;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topics-cell-lastpost .last-post-details a:hover {
    color: var(--primary-color);
}

.topics-cell-lastpost .last-post-details span {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.2;
}

.no-topics {
    padding: 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.no-topics i {
    font-size: 48px;
    opacity: 0.5;
}

/* ===== KATEGORİ RESPONSİVE TASARIM ===== */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .topics-list-header {
        display: none;
    }
    
    .topics-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }
    
    .topics-cell-icon {
        width: auto;
        align-self: flex-start;
    }
    
    .topics-cell-topic {
        padding-left: 0;
        width: 100%;
    }
    
    .topics-cell-stats,
    .topics-cell-lastpost {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
    
    .topics-cell-stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .topics-cell-lastpost .last-post-info {
        justify-content: flex-start;
    }
    
    .category-tab-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        padding: 16px;
    }
    
    .topics-row {
        padding: 12px;
    }
    
    .topic-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .topic-title {
        font-size: 16px;
    }
    
    .topic-meta {
        font-size: 13px;
    }
    
    .last-post-avatar img {
        width: 28px;
        height: 28px;
    }
    
    .last-post-details a {
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
>>> ULTRA MODERN KATEGORİ SAYFALAMA SİSTEMİ
--------------------------------------------------------------*/
.modern-pagination-wrapper {
    margin-top: 40px;
    margin-bottom: 30px;
}

.pagination-stats {
    margin-bottom: 20px;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.08));
    border-radius: 18px;
    border: 1px solid rgba(6, 182, 212, 0.25);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pagination-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.pagination-stats:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.12));
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.4);
}

.pagination-stats:hover::before {
    left: 100%;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

.pagination-info i {
    color: var(--primary-color);
    font-size: 20px;
    animation: sparkle 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
    transition: all 0.3s ease;
}

@keyframes sparkle {
    0%, 100% { 
        color: var(--primary-color);
        text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
        transform: scale(1) rotate(0deg);
    }
    25% {
        color: #10b981;
        text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
        transform: scale(1.1) rotate(90deg);
    }
    50% { 
        color: #0891b2;
        text-shadow: 0 0 15px rgba(8, 145, 178, 0.8);
        transform: scale(1.2) rotate(180deg);
    }
    75% {
        color: #3b82f6;
        text-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
        transform: scale(1.1) rotate(270deg);
    }
}

.pagination-info span {
    background: linear-gradient(135deg, var(--primary-color), #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.5px;
}

/* Kategori sayfası için özel sayfalama stilleri */
.category .pagination {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(15px);
    position: relative;
}

.category .pagination::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #10b981, #3b82f6, var(--primary-color));
    background-size: 200% 100%;
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.category .pagination:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(147, 51, 234, 0.15));
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    transform: translateY(-2px) scale(1.01);
}

.category .page-numbers.prev,
.category .page-numbers.next {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    font-weight: 700;
    padding: 0 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.category .page-numbers.prev::before,
.category .page-numbers.next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.category .page-numbers.prev:hover,
.category .page-numbers.next:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
    border-color: #1d4ed8;
}

.category .page-numbers.prev:hover::before,
.category .page-numbers.next:hover::before {
    left: 100%;
}

/* Çok sayfa olduğunda dots için özel stil */
.category .page-numbers.dots {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 20px;
    animation: breathe 2.5s infinite;
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.3));
}

@keyframes breathe {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
    }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .pagination-stats {
        padding: 15px 20px;
    }
    
    .pagination-info {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
    }
    
    .pagination-info i {
        font-size: 18px;
    }
    
    .category .page-numbers.prev,
    .category .page-numbers.next {
        padding: 0 15px;
        font-size: 13px;
    }
}
