/* =====================================================
   Leaderboard / Event Tabs (Generic)
   ===================================================== */

.lb-tab-event {
    width: 100%;
    margin: 2rem 0;
}

.lb-tab-event__title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.25rem;
    border-bottom: 3px solid #6366f1;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.lb-tab-event__list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lb-tab-event__item {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 110px;
    padding: 1.25rem;

    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #ffffff;

    text-decoration: none;
    color: #374151;
    text-align: center;

    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.lb-tab-event__item:hover {
    border-color: #6366f1;
    background: #f5f7ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.15);
}

.lb-tab-event__item--active {
    border-color: #6366f1;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.35);
}

.lb-tab-event__item--active
.lb-tab-event__name,
.lb-tab-event__item--active
.lb-tab-event__desc {
    color: #ffffff;
}

.lb-tab-event__name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.lb-tab-event__desc {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Active tab hovered → readable */
.lb-tab-event__item--active:hover {
    background: #f5f7ff;
    border-color: #6366f1;
    color: #111827;
}

.lb-tab-event__item--active:hover .lb-tab-event__name,
.lb-tab-event__item--active:hover .lb-tab-event__desc {
    color: #111827;
}


@media (max-width: 992px) {
    .lb-tab-event__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .lb-tab-event__list {
        grid-template-columns: 1fr;
    }
}
