/* help.css — Справочный центр */
.help-hero {
    background: linear-gradient(135deg, var(--bg) 0%, #16103a 100%);
    padding: 64px 24px 48px; text-align: center;
}
.help-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.help-hero p { color: rgba(255,255,255,0.6); margin-bottom: 28px; font-size: 1.1rem; }

.help-search-wrap { max-width: 500px; margin: 0 auto; position: relative; }
.help-search {
    width: 100%; padding: 14px 20px 14px 48px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px; color: #fff; font-size: 15px;
    outline: none; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s;
}
.help-search:focus { border-color: var(--accent, #6C5CE7); box-shadow: 0 0 0 3px rgba(108,92,231,0.2); }
.help-search::placeholder { color: rgba(255,255,255,0.4); }
.help-search-icon {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.4); pointer-events: none;
}

.help-layout {
    max-width: 860px; margin: 0 auto; padding: 40px 20px 64px;
    display: grid; grid-template-columns: 200px 1fr; gap: 32px;
}
@media (max-width: 700px) {
    .help-layout { grid-template-columns: 1fr; }
    .help-nav { display: flex; flex-wrap: wrap; gap: 4px; position: static; }
}

.help-nav { position: sticky; top: 20px; height: fit-content; }
.help-nav-item {
    display: block; padding: 10px 14px; border-radius: 10px;
    color: rgba(255,255,255,0.6); font-size: 14px; cursor: pointer;
    transition: background 0.2s, color 0.2s; margin-bottom: 4px;
    border: none; background: none; text-align: left; width: 100%;
}
.help-nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.help-nav-item.active { background: rgba(108,92,231,0.15); color: var(--accent, #6C5CE7); font-weight: 600; }

.help-sections { display: flex; flex-direction: column; gap: 24px; }
.help-section-title {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.help-article {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; overflow: hidden; margin-bottom: 8px;
}
.help-article-header {
    padding: 16px 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    transition: background 0.2s; user-select: none;
}
.help-article-header:hover { background: rgba(255,255,255,0.04); }
.help-article-q { font-size: 15px; font-weight: 500; }
.help-article-icon { color: rgba(255,255,255,0.4); transition: transform 0.3s; flex-shrink: 0; }
.help-article.open .help-article-icon { transform: rotate(180deg); }
.help-article-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s; padding: 0 20px;
}
.help-article.open .help-article-body { max-height: 600px; padding: 0 20px 18px; }
.help-article-body p { color: rgba(255,255,255,0.7); line-height: 1.65; font-size: 14px; margin: 6px 0; }
.help-article-body a { color: var(--accent, #6C5CE7); }

.help-no-results {
    text-align: center; padding: 48px 20px; color: rgba(255,255,255,0.4);
}
.help-no-results i { font-size: 2.5rem; display: block; margin-bottom: 12px; }

.help-contact-box {
    background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(108,92,231,0.05));
    border: 1px solid rgba(108,92,231,0.3); border-radius: 16px;
    padding: 28px; text-align: center; margin-top: 32px;
}
.help-contact-box h3 { margin-bottom: 8px; }
.help-contact-box p { color: rgba(255,255,255,0.6); margin-bottom: 20px; font-size: 14px; }
