/* Info page — большой SEO-справочник: типы серверов, режимы, плагины, версии */

.info {
    max-width: 900px;
    padding-bottom: 100px;
}

.info__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.info__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px;
    line-height: 1.6;
    max-width: 760px;
}

/* ── Секции ────────────────────────────────────────────── */
.info__section {
    margin-bottom: 60px;
}

.info__section:last-of-type {
    margin-bottom: 40px;
}

.info__h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.info__h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 28px 0 10px;
    line-height: 1.35;
}

.info__section p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
}

.info__section a {
    color: var(--color-yellow);
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 209, 5, 0.35);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.info__section a:hover {
    border-bottom-color: var(--color-yellow);
    color: #ffe24d;
}

.info__section strong {
    color: #fff;
    font-weight: 600;
}

.info__list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.info__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.info__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-yellow);
}

/* ── Содержание (TOC) ──────────────────────────────────── */
.info__toc {
    --gap: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--gap);
    row-gap: 14px;
    margin: 0 0 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info__toc-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-right: 10px;
}

.info__toc-link {
    position: relative;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info__toc-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.info__toc-link:hover {
    color: var(--color-yellow);
}

.info__toc-link:hover::after {
    transform: scaleX(1);
}

.info__toc-link + .info__toc-link::before {
    content: '';
    position: absolute;
    left: calc(var(--gap) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
}

.info__section {
    scroll-margin-top: 20px;
}

/* ── Блок кросс-линков в FAQ (в конце статьи) ─────────── */
.info__faq-block {
    margin: 60px 0 40px;
    padding: 28px 32px;
    background: rgba(245, 209, 5, 0.05);
    border: 1px solid rgba(245, 209, 5, 0.15);
    border-left: 3px solid var(--color-yellow);
    border-radius: 12px;
}

.info__faq-block-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
}

.info__faq-block-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 0 0 18px;
    line-height: 1.5;
}

.info__faq-block-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

.info__faq-block-list li {
    font-size: 15px;
    line-height: 1.4;
}

.info__faq-block-list a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.info__faq-block-list a:hover {
    color: var(--color-yellow);
    border-bottom-color: var(--color-yellow);
}

.info__faq-block-all {
    display: inline-block;
    color: var(--color-yellow);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.info__faq-block-all:hover {
    opacity: 0.8;
}

/* ── Чипсы версий Minecraft ────────────────────────────── */
.info__version-grid {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info__version-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

a.info__version-chip:hover {
    background: rgba(245, 209, 5, 0.08);
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

.info__version-chip--inactive {
    color: rgba(255, 255, 255, 0.4);
    cursor: default;
}

/* ── Кнопка «Вернуться на главную» ─────────────────────── */
.info__back {
    display: flex;
    width: fit-content;
    margin: 40px auto 0;
    padding: 18px 40px;
    text-decoration: none;
}

/* ── Адаптив ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .info {
        padding-bottom: 60px;
    }
    .info__title {
        font-size: 24px;
    }
    .info__subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .info__section {
        margin-bottom: 44px;
    }
    .info__h2 {
        font-size: 21px;
    }
    .info__h3 {
        font-size: 16px;
        margin-top: 22px;
    }
    .info__section p,
    .info__list li {
        font-size: 14px;
    }
    .info__toc {
        --gap: 18px;
        margin-bottom: 36px;
        padding: 14px 0;
        row-gap: 10px;
    }
    .info__toc-label {
        width: 100%;
        margin: 0 0 2px;
    }
    .info__toc-link {
        font-size: 14px;
    }
    .info__faq-block {
        margin: 44px 0 30px;
        padding: 20px 22px;
    }
    .info__faq-block-title {
        font-size: 18px;
    }
    .info__faq-block-intro {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .info__faq-block-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .info__faq-block-list li,
    .info__faq-block-all {
        font-size: 14px;
    }
    .info__version-chip {
        padding: 8px 14px;
        font-size: 14px;
    }
    .info__back {
        width: 100%;
        justify-content: center;
    }
}
