/* Help centre. Matches the streamerr.co homepage: dark hero, pink-to-purple accent, rounded cards. */

.hc-hero {
    position: relative;
    background: #0a0b14;
    padding: 148px 0 72px;
    overflow: hidden;
    color: #fff;
}
.hc-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,1,115,0.16) 0%, rgba(100,25,255,0.24) 100%);
    z-index: 1;
}
.hc-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hc-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}
.hc-hero__blob--1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(100,25,255,0.38) 0%, transparent 70%);
    top: -180px;
    right: -80px;
}
.hc-hero__blob--2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255,1,115,0.28) 0%, transparent 70%);
    bottom: -140px;
    left: -60px;
}
.hc-hero .container { position: relative; z-index: 2; }
.hc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,255,136,0.12);
    border: 1px solid rgba(0,255,136,0.3);
    color: #00ff88;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hc-hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 14px;
}
.hc-gradient {
    background: linear-gradient(135deg, #ff0173, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hc-hero p.lead {
    color: rgba(255,255,255,0.72);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 0 28px;
}
.hc-search {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    max-width: 680px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.hc-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 16px;
    font-size: 1.05rem;
    color: #0a0b14;
    outline: none;
    min-width: 0;
}
.hc-search button,
.hc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(135deg, #ff0173, #6419ff);
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255,1,115,0.28);
}
.hc-btn:hover,
.hc-search button:hover { transform: translateY(-1px); color: #fff !important; }
.hc-btn--ghost {
    background: transparent;
    color: #ff0173 !important;
    box-shadow: none;
    border: 2px solid rgba(255,1,115,0.35);
}
.hc-btn--dark {
    background: #0a0b14;
    box-shadow: none;
}

.hc-wrap { padding: 72px 0 90px; background: #fff; }
.hc-wrap--grey { background: #f6f7fb; }
.hc-section-head { text-align: center; margin-bottom: 36px; }
.hc-section-head h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0a0b14;
    margin: 0 0 8px;
}
.hc-section-head p { color: #6b7280; margin: 0; font-size: 1.05rem; }

.hc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.hc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e9ee;
    border-radius: 20px;
    padding: 28px 24px;
    text-decoration: none !important;
    color: inherit !important;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(100,25,255,0.28);
    box-shadow: 0 20px 50px rgba(100,25,255,0.1);
    color: inherit !important;
}
.hc-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: linear-gradient(135deg, rgba(255,1,115,0.12), rgba(100,25,255,0.16));
    border: 1px solid rgba(255,1,115,0.16);
    margin-bottom: 16px;
}
.hc-card h3 { font-size: 1.25rem; font-weight: 900; margin: 0 0 8px; color: #0a0b14; }
.hc-card p { color: #6b7280; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.hc-card__meta { color: #ff0173; font-weight: 800; font-size: 0.92rem; }

.hc-crumbs { padding: 18px 0; background: #f6f7fb; border-bottom: 1px solid #eee; }
.hc-crumbs__trail { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; color: #6b7280; font-weight: 600; }
.hc-crumbs a { color: #0a0b14; text-decoration: none; }
.hc-crumbs a:hover { color: #ff0173; }
.hc-crumbs__trail a::after { content: "›"; margin: 0 8px; color: #c4c6d0; font-weight: 500; }

.hc-list { display: flex; flex-direction: column; gap: 12px; }
.hc-row {
    display: block;
    background: #fff;
    border: 1px solid #e8e9ee;
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none !important;
    color: inherit !important;
}
.hc-row:hover { border-color: rgba(255,1,115,0.35); box-shadow: 0 10px 30px rgba(17,12,46,0.06); color: inherit !important; }
.hc-row strong { display: block; font-size: 1.08rem; color: #0a0b14; margin-bottom: 4px; }
.hc-row span { color: #6b7280; }
.hc-row em { font-style: normal; color: #ff0173; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.3px; }

.hc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.hc-article {
    background: #fff;
    border: 1px solid #e8e9ee;
    border-radius: 24px;
    padding: 36px 40px 48px;
}
.hc-article h1 { font-size: 2.3rem; font-weight: 900; line-height: 1.15; margin: 0 0 10px; color: #0a0b14; }
.hc-meta { color: #6b7280; font-weight: 600; margin-bottom: 22px; }
.hc-prose { color: #1f2937; font-size: 1.05rem; line-height: 1.75; }
.hc-prose h2, .hc-prose h3, .hc-prose h4 { color: #0a0b14; font-weight: 900; line-height: 1.25; margin: 1.6em 0 0.5em; }
.hc-prose h2 { font-size: 1.55rem; }
.hc-prose h3 { font-size: 1.25rem; }
.hc-prose p { margin: 0 0 1em; }
.hc-prose a { color: #ff0173; font-weight: 700; }
.hc-prose ul, .hc-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.hc-prose li { margin: 0.25em 0; }
.hc-prose img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid #e8e9ee; margin: 8px 0 16px; background: #fff; }
.hc-prose img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.hc-prose figure { margin: 0 0 1em; }
.hc-prose figcaption { color: #6b7280; font-size: 0.9rem; text-align: center; }
.hc-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.98rem; }
.hc-prose th, .hc-prose td { border: 1px solid #e8e9ee; padding: 10px 12px; vertical-align: top; }
.hc-prose th { background: #f6f7fb; text-align: left; }
.hc-prose pre { background: #0a0b14; color: #f8f8f8; padding: 16px 18px; border-radius: 14px; overflow: auto; margin: 0 0 1.2em; }
.hc-prose code { background: #f4f4f8; border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.hc-prose pre code { background: transparent; color: inherit; padding: 0; }
.hc-prose blockquote { border-left: 4px solid #ff0173; margin: 0 0 1em; padding: 4px 0 4px 16px; color: #374151; }
.hc-prose iframe { max-width: 100%; border: 0; border-radius: 12px; }

.hc-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.hc-side__box, .hc-helpbox {
    background: #fff;
    border: 1px solid #e8e9ee;
    border-radius: 18px;
    padding: 18px;
}
.hc-side__box h2 { font-size: 0.78rem; letter-spacing: 1.2px; text-transform: uppercase; color: #9ca3af; margin: 0 0 10px; }
.hc-side__box a { display: block; color: #0a0b14; text-decoration: none; font-weight: 700; padding: 7px 0; border-top: 1px solid #f1f2f6; }
.hc-side__box a:hover, .hc-side__box a.is-current { color: #ff0173; }
.hc-helpbox { background: #0a0b14; color: #fff; border: 0; }
.hc-helpbox h2 { color: #fff; font-size: 1.25rem; font-weight: 900; margin: 0 0 8px; }
.hc-helpbox p { color: rgba(255,255,255,0.72); margin: 0 0 14px; }
.hc-helpbox .hc-btn { width: 100%; }

.hc-empty { text-align: center; padding: 20px 0 10px; color: #6b7280; }

.hc-setup, .hc-admin {
    min-height: 100vh;
    background: #0a0b14;
    color: #fff;
    padding: 48px 16px;
}
.hc-panel {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    color: #0a0b14;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.hc-panel h1 { font-weight: 900; margin-top: 0; }
.hc-panel code, .hc-note code { background: #f4f4f8; padding: 2px 6px; border-radius: 6px; }
.hc-admin-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}
.hc-admin-bar a { color: #ff0173; font-weight: 800; text-decoration: none; }
.hc-table { width: 100%; border-collapse: collapse; }
.hc-table th, .hc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; vertical-align: top; }
.hc-table th { font-size: 0.78rem; letter-spacing: 0.6px; text-transform: uppercase; color: #9ca3af; }
.hc-field { margin-bottom: 14px; }
.hc-field label { display: block; font-weight: 800; margin-bottom: 6px; }
.hc-field input[type="text"],
.hc-field input[type="password"],
.hc-field input[type="number"],
.hc-field select,
.hc-field textarea {
    width: 100%;
    border: 1px solid #e1e3ea;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: #0a0b14;
    background: #fff;
}
.hc-field textarea { min-height: 320px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92rem; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hc-alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 700; }
.hc-alert--ok { background: #ecfdf3; color: #027a48; }
.hc-alert--bad { background: #fff1f3; color: #c01048; }
.hc-preview { border: 1px dashed #e1e3ea; border-radius: 16px; padding: 16px; margin-top: 8px; background: #fafafa; }
.hc-badge { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 0.75rem; font-weight: 800; background: #f4f4f8; }
.hc-badge--on { background: #ecfdf3; color: #027a48; }
.hc-split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 22px; }
.hc-muted { color: #6b7280; }

.hc-feedback { margin-top: 28px; padding-top: 22px; border-top: 1px solid #f0f1f5; }
.hc-feedback__q { margin: 0 0 8px; font-weight: 800; color: #0a0b14; }
.hc-feedback__thanks { margin: 0 0 10px; color: #027a48; font-weight: 700; }
.hc-feedback__actions { display: flex; gap: 8px; }
.hc-feedback button {
    border: 1px solid #e4e6ee;
    background: #fff;
    color: #0a0b14;
    border-radius: 999px;
    padding: 8px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.hc-feedback button.is-on, .hc-feedback button:hover { border-color: #ff0173; color: #ff0173; }
.hc-feedback__count { margin: 10px 0 0; color: #6b7280; font-weight: 600; }

@media (max-width: 991px) {
    .hc-grid, .hc-layout, .hc-split { grid-template-columns: 1fr; }
    .hc-side { position: static; }
    .hc-hero h1 { font-size: 2.3rem; }
    .hc-article { padding: 24px 18px 32px; }
}
@media (max-width: 640px) {
    .hc-search { flex-direction: column; align-items: stretch; }
    .hc-hero { padding: 120px 0 48px; }
}
