/* ═══════════════════════════════════════════════
   Kayan Bilgi — Scrolling Stats Ticker
   ═══════════════════════════════════════════════ */

.kayan-bilgi {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

/* Kenar fade efekti */
.kayan-bilgi::before,
.kayan-bilgi::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.kayan-bilgi::before {
    left: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), transparent);
}

.kayan-bilgi::after {
    right: 0;
    background: linear-gradient(to left, rgba(15, 23, 42, 0.95), transparent);
}

/* ─── Track ─── */
.kb-track {
    display: flex;
    width: max-content;
    animation: kbScroll 35s linear infinite;
}

.kb-track:hover {
    animation-play-state: paused;
}

/* Hareket azaltma tercihi: animasyon yok, tek strip görünür */
@media (prefers-reduced-motion: reduce) {
    .kayan-bilgi {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .kb-track {
        animation: none !important;
    }

    .kb-track .kb-content:nth-child(2) {
        display: none;
    }

    .kb-track {
        width: max-content;
        max-width: 100%;
    }
}

@keyframes kbScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── Content Strip ─── */
.kb-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 8px;
}

/* ─── Tek Öğe ─── */
.kb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: color var(--transition-fast);
}

.kb-item:last-child {
    border-right: none;
}

.kb-item:hover {
    color: var(--text-primary);
}

.kb-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

.kb-icon {
    font-size: 15px;
    flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .kb-item {
        padding: 8px 14px;
        font-size: 12px;
    }

    .kayan-bilgi::before,
    .kayan-bilgi::after {
        width: 24px;
    }
}