.help-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 20px;
    border-radius: 24px;
    background: var(--site-shared-panel-solid-dark);
    border: 1px solid rgba(51, 65, 85, 0.7);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.help-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: stretch;
}

.help-hero-copy,
.help-hero-panel,
.help-card {
    border-radius: 22px;
    border: 1px solid rgba(71, 85, 105, 0.45);
    background: var(--site-shared-panel-solid);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.help-hero-copy {
    padding: 26px 28px;
}

.help-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.help-hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
}

.help-hero-copy p,
.help-hero-panel li,
.help-card p,
.help-card li {
    color: #cbd5e1;
    line-height: 1.7;
}

.help-hero-panel {
    padding: 24px;
}

.help-hero-panel h2,
.help-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    color: #f8fafc;
}

.help-hero-panel ul,
.help-list {
    margin: 0;
    padding-left: 18px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.help-card {
    padding: 24px;
}

.help-card-wide {
    grid-column: 1 / -1;
}

.help-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.help-points div,
.game-help-item,
.faq-list > div {
    border-radius: 16px;
    background: rgba(22, 32, 50, 0.92);
    border: 1px solid rgba(71, 85, 105, 0.28);
    padding: 16px;
}

.help-points h3,
.game-help-item h3,
.faq-list h3 {
    margin: 0 0 8px;
    color: #f1f5f9;
    font-size: 16px;
}

.game-help-grid,
.faq-list,
.help-actions {
    display: grid;
    gap: 14px;
}

.game-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-help-item p,
.faq-list p {
    margin: 0;
}

.help-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
    color: #e0f2fe;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.help-link:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.62);
    background: rgba(56, 189, 248, 0.14);
}

.ground-secret {
    --secret-progress: 0;
    height: calc(56px + (320px * var(--secret-progress)));
    overflow: hidden;
    margin-left: var(--sidebar-expanded-width, 200px);
    margin-right: 10px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(9, 14, 25, 0.72) 18%, rgba(5, 8, 15, 0.96) 100%),
        radial-gradient(circle at top center, rgba(148, 163, 184, 0.2), transparent 48%);
    transition: height 0.18s ease-out;
}

html.sidebar-collapsed .ground-secret {
    margin-left: var(--sidebar-collapsed-width, 45px);
}

.ground-secret-track {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 26px 20px 34px;
}

.ground-secret-card {
    width: min(420px, calc(100% - 24px));
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(18, 25, 36, 0.96), rgba(9, 12, 20, 0.98));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
    transform: translateY(calc(44px * (1 - var(--secret-progress))));
    opacity: calc(0.22 + (0.78 * var(--secret-progress)));
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
    text-align: center;
}

.ground-secret-card h2 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 24px;
}

.ground-secret-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.ground-secret-card button {
    margin-top: 18px;
    min-width: 150px;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff7ed;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.ground-secret-card button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.ground-secret-result {
    min-height: 24px;
    margin-top: 14px;
    color: #e2e8f0;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .help-hero,
    .help-grid,
    .game-help-grid,
    .help-points,
    .help-actions {
        grid-template-columns: 1fr;
    }

    .ground-secret {
        margin-left: 8px;
        margin-right: 8px;
    }
}

@media (max-width: 700px) {
    .help-hero-copy,
    .help-hero-panel,
    .help-card {
        padding: 20px;
        border-radius: 18px;
    }

    .ground-secret {
        height: calc(48px + (340px * var(--secret-progress)));
    }

    .ground-secret-track {
        min-height: 380px;
    }
}