/* ============================================
   BAŞARI TICKER STYLES - MOBİL UYUMLU
   ============================================ */

.basari-ticker-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 3px solid #ffd700;
    border-bottom: 3px solid #ffd700;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8B0000, #660000);
    color: #fff;
    padding: 8px 20px;
    border-radius: 0 25px 25px 0;
    font-weight: 700;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.ticker-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.ticker-content-wrapper {
    margin-left: 220px;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    will-change: transform;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
}

.ticker-item:first-child {
    padding-left: 20px;
}

.ticker-separator {
    color: #ffd700;
    font-weight: 700;
    margin: 0 5px;
}

.ticker-at strong,
.ticker-ganyan strong,
.ticker-agf strong {
    color: #8B0000;
    font-weight: 700;
}

.ticker-hipodrom {
    color: #666;
    font-size: 14px;
}

/* ============================================
   MOBİL RESPONSIVE - DÜZELTİLMİŞ
   ============================================ */

@media (max-width: 768px) {
    .basari-ticker-wrapper {
        padding: 8px 0;
        display: block; /* Flex yerine block */
    }
    
    /* MOBİLDE ETİKET ÜSTTEKİ ÇUBUK GİBİ */
    .ticker-label {
        position: relative; /* Absolute değil */
        transform: none; /* Transform kaldır */
        left: auto;
        top: auto;
        width: 100%; /* Tam genişlik */
        border-radius: 0; /* Köşeleri kaldır */
        justify-content: center; /* Ortala */
        margin-bottom: 8px; /* Altına boşluk */
        padding: 10px 15px;
        font-size: 12px;
        box-shadow: none;
    }
    
    .ticker-icon {
        font-size: 16px;
    }
    
    /* MOBİLDE CONTENT WRAPPER DÜZENLEMESI */
    .ticker-content-wrapper {
        margin-left: 0; /* Sola yapışıklık kaldırıldı */
        margin-right: 0;
        width: 100%;
        padding: 0 10px; /* Yanlardan boşluk */
    }
    
    .ticker-content {
        padding-left: 10px; /* İçerikten başlangıç boşluğu */
    }
    
    .ticker-item {
        font-size: 13px;
        padding: 0 20px;
        gap: 8px;
    }
    
    .ticker-item:first-child {
        padding-left: 0; /* İlk item'ın sol padding'i kaldır */
    }
    
    .ticker-hipodrom {
        font-size: 12px;
    }
    
    .ticker-separator {
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .ticker-label {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .ticker-label strong {
        font-size: 11px;
    }
    
    .ticker-icon {
        font-size: 14px;
    }
    
    .ticker-item {
        font-size: 12px;
        padding: 0 15px;
    }
    
    .ticker-content-wrapper {
        padding: 0 5px;
    }
}

/* ============================================
   BAŞARI KARTLARI STYLES
   ============================================ */

.basari-kartlar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.basari-kart {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.basari-kart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffd700, #8B0000);
}

.basari-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.2);
    border-color: #ffd700;
}

.kart-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8B0000;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-icon {
    font-size: 14px;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0%, 90% { transform: rotate(0deg); }
    95% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.kart-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.at-adi {
    font-size: 20px;
    font-weight: 700;
    color: #8B0000;
    margin-bottom: 5px;
}

.at-numara {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.kart-body {
    margin-bottom: 15px;
}

.bilgi-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.bilgi-row:last-child {
    border-bottom: none;
}

.bilgi-label {
    color: #666;
    font-size: 14px;
}

.bilgi-value {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

.ganyan-value {
    color: #28a745;
    font-size: 16px;
}

.agf-value {
    color: #8B0000;
}

.kart-footer {
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.tarih-bilgi {
    color: #999;
    font-size: 13px;
}

@media (max-width: 768px) {
    .basari-kartlar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .at-adi {
        font-size: 18px;
    }
}