/* ═══════════════════════════════════════════════════════════════
   Island Gigs — Help Section Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ───────────────────────────────────────────── */
.help-page {
    background: #0a0a0f;
    min-height: 100vh;
    color: #e5e7eb;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.help-breadcrumb {
    background: #07070d;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.help-breadcrumb a {
    color: #facc15;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.help-breadcrumb a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.help-breadcrumb span:not(.help-breadcrumb-sep) {
    color: #9ca3af;
}

.help-breadcrumb-sep {
    color: #4b5563;
}

/* ── Hero banner ────────────────────────────────────────────── */
.help-hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    border-bottom: 3px solid #facc15;
    padding: 48px 24px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(250,204,21,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.help-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.help-hero h1 span {
    color: #facc15;
}

.help-hero p {
    font-size: 1.05rem;
    color: #9ca3af;
    margin: 0 auto;
    max-width: 540px;
    line-height: 1.6;
}

/* ── Content container ──────────────────────────────────────── */
.help-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.help-container.narrow {
    max-width: 800px;
}

/* ── Back bar ───────────────────────────────────────────────── */
.help-back-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.help-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #facc15;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.help-back-link:hover {
    opacity: 0.75;
    color: #facc15;
}

.help-download-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.help-download-group span {
    font-size: 0.8rem;
    color: #6b7280;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(250,204,21,0.4);
    color: #facc15;
    background: rgba(250,204,21,0.08);
    transition: background 0.2s, border-color 0.2s;
}

.btn-download:hover {
    background: rgba(250,204,21,0.16);
    border-color: #facc15;
    color: #facc15;
    text-decoration: none;
}

/* ── Hub cards ──────────────────────────────────────────────── */
.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.help-card {
    background: #13131f;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #facc15;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.help-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250,204,21,0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    text-decoration: none;
    color: inherit;
}

.help-card:hover::before {
    transform: scaleX(1);
}

.help-card-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.help-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.help-card-desc {
    font-size: 0.92rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.help-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.help-card-read-time {
    font-size: 0.78rem;
    color: #6b7280;
}

.help-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #facc15;
}

.help-card-downloads {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* ── Article content area ───────────────────────────────────── */
.help-article {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 44px;
    color: #222233;
    line-height: 1.7;
}

/* ── Section headings (H2) ──────────────────────────────────── */
.help-article .section-h2 {
    background: #1a1a2e;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    margin: 36px 0 16px;
    letter-spacing: 0.02em;
}

/* ── H3 ─────────────────────────────────────────────────────── */
.help-article h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e6b;
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #c5cae9;
}

/* ── H4 ─────────────────────────────────────────────────────── */
.help-article h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3d5a9e;
    margin: 18px 0 8px;
}

/* ── Tip / warning / ok boxes ───────────────────────────────── */
.tip-box, .warn-box, .ok-box {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.tip-box {
    background: #fff8e7;
    border-left: 4px solid #facc15;
    color: #5d4037;
}

.warn-box {
    background: #fff3f3;
    border-left: 4px solid #e53935;
    color: #b71c1c;
}

.ok-box {
    background: #f0fff4;
    border-left: 4px solid #43a047;
    color: #1b5e20;
}

/* ── Tables ─────────────────────────────────────────────────── */
.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.9rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.help-table thead tr {
    background: #1a1a2e;
    color: #ffffff;
}

.help-table thead th {
    padding: 11px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.help-table tbody tr:nth-child(even) {
    background: #f4f6fb;
}

.help-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.help-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #222233;
    vertical-align: top;
}

.help-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Lists ──────────────────────────────────────────────────── */
.help-article ul, .help-article ol {
    padding-left: 22px;
    margin: 10px 0 16px;
}

.help-article li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Checklist */
.help-article ul.checklist {
    list-style: none;
    padding-left: 4px;
}

.help-article ul.checklist li {
    padding-left: 28px;
    position: relative;
}

.help-article ul.checklist li::before {
    content: '☐';
    position: absolute;
    left: 0;
    color: #6b7280;
}

/* ── Horizontal rule ────────────────────────────────────────── */
.help-article hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 28px 0;
}

/* ── Intro banner inside article ────────────────────────────── */
.article-intro {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    color: #e5e7eb;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 32px;
    border-left: 4px solid #facc15;
}

.article-intro p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.7;
    color: #d1d5db;
}

.article-intro strong {
    color: #facc15;
}

/* ── Step numbers ───────────────────────────────────────────── */
.step-label {
    display: inline-block;
    background: #facc15;
    color: #0a0a0f;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 8px;
    vertical-align: middle;
}

/* ── Footer ─────────────────────────────────────────────────── */
.help-footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: #4b5563;
    font-size: 0.85rem;
}

.help-footer a {
    color: #facc15;
    text-decoration: none;
}

.help-footer a:hover {
    text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .help-hero {
        padding: 36px 20px 32px;
    }

    .help-container {
        padding: 28px 16px 60px;
    }

    .help-article {
        padding: 24px 20px;
    }

    .help-back-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .help-cards {
        grid-template-columns: 1fr;
    }

    .help-table {
        font-size: 0.82rem;
    }

    .help-table thead th,
    .help-table tbody td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .help-article {
        padding: 18px 14px;
    }

    .help-card {
        padding: 24px 20px;
    }
}
