/* AMP Tablo - clb-client eklentisinin (style.css v3.0) mobil görünümü.
   Renkler sunucu tarafından CSS değişkenleri olarak verilir. Bu dosya yalnızca mobil genişlikte görünür. */

*, *::before, *::after { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
.clb-app { width: 100%; max-width: 100%; overflow-x: hidden; background: var(--clb-bg-dark, #0f0f1a); }
.clb-bar, .clb-firms-grid, .clb-banner, .clb-section-title, .clb-cta-wrap, .clb-load-more, a.clb-firm { max-width: 100%; }
.clb-bar { display: block; padding: 0.1px 0 8px 0; margin: 0; line-height: 1.5; font-size: 14px; overflow: hidden; width: 100%; background: var(--clb-bg-dark, #0f0f1a); }

/* Animasyon */
@keyframes clbSlideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes clbShine { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.clb-anim-slide-down { animation: clbSlideDown 0.5s ease-out; }

/* Banner */
.clb-banner { display: flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 10px; margin: 6px 8px 2px; text-decoration: none; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--clb-banner-1, #2600D1), var(--clb-banner-2, #1a0080)); transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.clb-banner { cursor: pointer; }
a.clb-banner:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(38, 0, 209, 0.25); }
a.clb-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%); background-size: 200% 100%; animation: clbShine 3s infinite; pointer-events: none; }
.clb-banner-title { color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

/* Bölüm başlıkları */
.clb-section-title { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; padding: 0 14px; margin: 10px 10px 4px; }
.clb-section-accent { display: inline-block; width: 3px; height: 14px; border-radius: 3px; flex-shrink: 0; background: var(--clb-secondary, #2600D1); }

/* Firma listesi */
.clb-firms-grid { display: flex; flex-direction: column; gap: 0; padding: 0; }
a.clb-firm { display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin: 2px 8px; border-radius: 8px; position: relative; border: 1px solid rgba(255,255,255,0.06); background-color: var(--clb-card-bg, #16213e); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); text-decoration: none; cursor: pointer; overflow: visible; -webkit-tap-highlight-color: transparent; }
a.clb-firm::before { content: ''; position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%); pointer-events: none; }
a.clb-firm:hover { border-color: rgba(38, 0, 209, 0.3); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(38, 0, 209, 0.1); }
a.clb-firm:focus-visible, .clb-cta:focus-visible, .clb-banner:focus-visible, .clb-load-more:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* VIP */
a.clb-firm-vip { border: 1px solid rgba(255, 185, 0, 0.3); background-image: linear-gradient(135deg, rgba(255, 185, 0, 0.04) 0%, transparent 60%); }
a.clb-firm-vip:hover { border-color: rgba(255, 185, 0, 0.5); box-shadow: 0 8px 32px rgba(255, 185, 0, 0.12), 0 0 0 1px rgba(255, 185, 0, 0.15); }
.clb-vip { position: absolute; top: 0; right: 14px; color: #fff; background: var(--clb-vip, #ff6600); font-size: 9px; font-weight: 800; line-height: 1.5; padding: 3px 12px; border-radius: 0 0 8px 8px; text-transform: uppercase; letter-spacing: 0.8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 10; }

/* Logo */
.clb-firm-logo { flex: 0 0 100px; height: 48px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.clb-firm-logo img { display: block; max-width: 92px; max-height: 42px; width: auto; height: auto; object-fit: contain; border: 0; }

/* Bilgi */
.clb-firm-info { flex: 1; min-width: 0; text-align: left; }
.clb-firm-bonus { color: var(--clb-text, #fff); font-weight: 700; font-size: 13px; display: block; line-height: 1.3; overflow-wrap: anywhere; }
.clb-firm-desc { color: var(--clb-subtext, #8a8a9a); font-size: 11px; display: block; margin-top: 1px; opacity: 0.85; overflow-wrap: anywhere; }

/* Buton */
.clb-firm-btn { flex-shrink: 0; color: #fff; background: var(--clb-primary, #2600D1); padding: 8px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; display: inline-block; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.25s ease; position: relative; overflow: hidden; box-shadow: 0 2px 12px rgba(38, 0, 209, 0.3); }
.clb-firm-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%); pointer-events: none; border-radius: 50px; }
a.clb-firm:hover .clb-firm-btn { box-shadow: 0 4px 20px rgba(38, 0, 209, 0.5); transform: scale(1.03); }

/* CTA */
.clb-cta-wrap { text-align: center; padding: 8px 16px 2px; }
.clb-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: 0.8px; padding: 10px 32px; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.clb-cta-1 { background: var(--clb-cta-bg, #2600D1); color: var(--clb-cta-text, #fff); }
.clb-cta-2 { background: var(--clb-cta2-bg, #0088cc); color: var(--clb-cta2-text, #fff); }
.clb-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%); pointer-events: none; border-radius: 50px; }
.clb-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.clb-cta svg { flex-shrink: 0; width: 18px; height: 18px; vertical-align: middle; }

/* Daha fazla göster */
.clb-load-more { display: block; width: calc(100% - 16px); margin: 4px 8px; padding: 10px; text-align: center; background: transparent; color: var(--clb-subtext, #8a8a9a); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.25s ease; letter-spacing: 0.3px; }
.clb-load-more:hover { background: rgba(38, 0, 209, 0.1); border-color: rgba(38, 0, 209, 0.3); color: #fff; }
.clb-hidden { display: none !important; }

/* Küçük mobil */
@media (max-width: 380px) {
    a.clb-firm { padding: 6px 8px; gap: 6px; }
    .clb-firm-logo { flex: 0 0 85px; height: 42px; }
    .clb-firm-logo img { max-width: 82px; max-height: 38px; }
    .clb-firm-bonus { font-size: 12px; }
    .clb-firm-btn { padding: 7px 12px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
