/* ===== Таблица лидеров — подиум топ-3 ===== */
.lb-section {
    position: relative;
    padding: 56px 0 64px;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 59, 59, 0.08), transparent 58%),
        #050506;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lb-head {
    margin-bottom: 28px;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.lb-head__title {
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.25;
    color: #fff;
}

.lb-head__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
}

.lb-tabs.price-tabs {
    margin-bottom: 2.5rem;
}

.lb-stage {
    position: relative;
    min-height: 380px;
}

.lb-panel {
    display: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.lb-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lb-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: clamp(12px, 2.5vw, 24px);
    max-width: 980px;
    margin: 0 auto;
}

.lb-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.lb-slot__card {
    position: relative;
    z-index: 2;
    padding: clamp(18px, 2.5vw, 26px) clamp(14px, 2vw, 20px) clamp(16px, 2vw, 22px);
    border-radius: 16px 16px 12px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease;
}

.lb-slot__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--lb-accent, rgba(255, 255, 255, 0.25));
}

.lb-slot--1 { --lb-accent: linear-gradient(90deg, #f5d565, #e8a020); }
.lb-slot--2 { --lb-accent: linear-gradient(90deg, #d8dde6, #9aa3b2); }
.lb-slot--3 { --lb-accent: linear-gradient(90deg, #e8a86a, #b87333); }

.lb-slot--1 .lb-slot__card::before { background: var(--lb-accent); }
.lb-slot--2 .lb-slot__card::before { background: var(--lb-accent); }
.lb-slot--3 .lb-slot__card::before { background: var(--lb-accent); }

.lb-slot--1 .lb-slot__card {
    border-color: rgba(232, 160, 32, 0.35);
    box-shadow: 0 12px 40px rgba(232, 160, 32, 0.12);
}

.lb-slot__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 12px;
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.lb-slot--1 .lb-slot__rank {
    background: rgba(232, 160, 32, 0.2);
    border-color: rgba(232, 160, 32, 0.45);
    color: #ffe08a;
}

.lb-slot__name {
    margin: 0 0 10px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
}

.lb-slot__time {
    margin: 0 0 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.lb-slot__meta {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.lb-slot__stand {
    margin-top: -6px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
}

.lb-slot--1 .lb-slot__stand { height: 72px; }
.lb-slot--2 .lb-slot__stand { height: 48px; }
.lb-slot--3 .lb-slot__stand { height: 32px; }

.lb-slot--empty .lb-slot__card {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.lb-slot--empty .lb-slot__name {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.lb-slot--empty .lb-slot__time {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.25);
}

.lb-period {
    margin: 28px 0 0;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Orbitron', sans-serif;
}

.lb-footer {
    margin-top: 36px;
    padding: clamp(18px, 3vw, 24px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.lb-footer__text {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-light);
}

.lb-footer__text i {
    color: var(--primary);
    margin-right: 8px;
}

.lb-footer__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lb-hint {
    margin: 14px 0 0;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.45;
}

.lb-section.is-loading .lb-slot__name,
.lb-section.is-loading .lb-slot__time,
.lb-section.is-loading .lb-slot__meta {
    color: transparent;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 75%);
    background-size: 200% 100%;
    animation: lb-shimmer 1.2s ease-in-out infinite;
    min-height: 1.2em;
}

.lb-section.is-loading .lb-slot__time {
    min-height: 2rem;
}

@keyframes lb-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
    .lb-podium {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 400px;
    }

    .lb-slot__stand {
        display: none;
    }

    .lb-slot--1 { order: 1; }
    .lb-slot--2 { order: 2; }
    .lb-slot--3 { order: 3; }

    .lb-tabs.price-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .lb-tabs.price-tabs::-webkit-scrollbar {
        display: none;
    }

    .lb-tabs .price-tab {
        flex-shrink: 0;
    }
}
