/* Стили для турниров в виде таймлайна */
.body{
    color: red
}

.tournaments-timeline {
    position: relative;
    padding-left: 30px;
}

.tournament-item {
    position: relative;
    padding: 15px 0;
}

.tournament-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #0d6efd;
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.tournament-header:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.tournament-title h6 {
    color: #212529;
    margin-bottom: 5px;
}

.tournament-title small {
    font-size: 0.85rem;
}

.tournament-id .badge {
    font-size: 0.75rem;
}

.timeline-connector {
    position: absolute;
    left: -24px;
    top: 32px;
    bottom: -15px;
    width: 2px;
    background: linear-gradient(to bottom, #0d6efd, #dee2e6);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .tournament-header {
        flex-direction: column;
        gap: 10px;
    }

    .tournaments-timeline {
        padding-left: 20px;
    }

    .tournament-item::before {
        left: -20px;
    }

    .timeline-connector {
        left: -14px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tournament-item {
    animation: fadeInUp 0.5s ease forwards;
}

.tournament-item:nth-child(1) { animation-delay: 0.1s; }
.tournament-item:nth-child(2) { animation-delay: 0.2s; }
.tournament-item:nth-child(3) { animation-delay: 0.3s; }
.tournament-item:nth-child(4) { animation-delay: 0.4s; }
.tournament-item:nth-child(5) { animation-delay: 0.5s; }

/* Стили для карточек статистики */
.card.text-center {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card.text-center:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Иконки в статистике */
.card.text-center h3 {
    margin-bottom: 0.5rem;
}

/* Пустое состояние */
.text-center.py-4 {
    opacity: 0.7;
}

.text-center.py-4 i {
    margin-bottom: 1rem;
}