/* ==================== FONTS ==================== */

@font-face {
    font-family: 'Druk Cond Super';
    src: url('/fonts/Druk Cond Web Super Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueUltraLight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueUltraLightItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueThin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueThinItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueLightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueRoman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueBoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueHeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/fonts/HelveticaNeueBlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Documentation Page Styles */

body {
    display: flex;
    flex-direction: column;
}

.docs-layout {
    flex: 1;
    display: flex;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 50px 0;
    padding: 0 100px 0 50px;
    gap: 40px;
    box-sizing: border-box;
}

.docs-content {
    flex: 1;
}

/* Section */
.docs-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.docs-title {
    font-family: 'Druk Cond Super', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 0.02em;
    border-bottom: 3px solid #ffb533;
    padding-bottom: 16px;
    margin-bottom: 4px;
}

.docs-lead {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
    max-width: 760px;
}

.docs-card {
    background: #111111;
    border: 1px solid rgba(255, 181, 51, 0.15);
    border-radius: 10px;
    padding: 28px 32px;
}

.docs-card h2 {
    font-family: 'Druk Cond Super', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    color: #ffb533;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.docs-card p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.7;
}

.docs-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.docs-feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.docs-feature-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.docs-feature-list strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.docs-feature-list p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.5;
}

.docs-link {
    color: #ffb533;
    text-decoration: none;
    font-weight: 600;
}

.docs-link:hover {
    text-decoration: underline;
}

/* Sidebar */
.docs-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.docs-sidebar nav {
    position: sticky;
    top: 30px;
    background: #111111;
    border: 1px solid #ffb533;
    border-radius: 10px;
    padding: 8px 0;
}

.docs-sidebar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-sidebar nav ul li a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    border-left: 3px solid transparent;
}

.docs-sidebar nav ul li a:hover {
    color: #fff;
    background: rgba(255, 181, 51, 0.08);
}

.docs-sidebar nav ul li a.active {
    color: #ffb533;
    border-left-color: #ffb533;
    background: rgba(255, 181, 51, 0.08);
}

.docs-sidebar-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffb533;
    padding: 12px 20px 6px;
}

.docs-sidebar hr {
    border: none;
    border-top: 1px solid rgba(255, 181, 51, 0.15);
    margin: 6px 16px;
}

/* Expandable sidebar group */
.sidebar-group {
    list-style: none;
}

.sidebar-group details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #ccc;
    cursor: pointer;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color 0.2s, background 0.2s;
    list-style: none;
    user-select: none;
}

.sidebar-group details summary::-webkit-details-marker {
    display: none;
}

.sidebar-group details summary::after {
    content: '▶';
    font-size: 0.95rem;
    color: #aaa;
    transition: transform 0.2s, color 0.2s;
}

.sidebar-group details[open] summary::after {
    transform: rotate(90deg);
    color: #ffb533;
}

.sidebar-group details[open] summary {
    color: #fff;
}

.sidebar-group details summary:hover {
    color: #fff;
    background: rgba(255, 181, 51, 0.08);
}

.sidebar-group details summary.active {
    color: #ffb533;
    border-left-color: #ffb533;
    background: rgba(255, 181, 51, 0.08);
}

.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-submenu li a {
    padding: 9px 20px 9px 46px !important;
    font-size: 0.82rem !important;
    color: #999 !important;
    border-left: 3px solid transparent !important;
}

.sidebar-submenu li a:hover {
    color: #fff !important;
    background: rgba(255, 181, 51, 0.06) !important;
}

.sidebar-submenu li a.active {
    color: #ffb533 !important;
    border-left-color: #ffb533 !important;
    background: rgba(255, 181, 51, 0.08) !important;
}

/* Command Documentation Styles */
.cmd-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 181, 51, 0.1);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 14px;
}

.cmd-block:last-child {
    margin-bottom: 0;
}

.cmd-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cmd-header .cmd-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cmd-name {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.cmd-name code {
    background: rgba(255, 181, 51, 0.12);
    color: #ffb533;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.cmd-type {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.cmd-type.slash {
    background: rgba(87, 242, 135, 0.12);
    color: #57f287;
    border: 1px solid rgba(87, 242, 135, 0.25);
}

.cmd-type.context {
    background: rgba(88, 101, 242, 0.12);
    color: #8b9aff;
    border: 1px solid rgba(88, 101, 242, 0.25);
}

.cmd-desc {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 14px;
}

.cmd-params {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cmd-params-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 2px;
}

.cmd-param {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    border-left: 2px solid rgba(255, 181, 51, 0.3);
}

.cmd-param-name {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: #ffb533;
    font-weight: 700;
    flex-shrink: 0;
}

.cmd-param-desc {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.5;
}

.cmd-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.cmd-badge.required {
    background: rgba(237, 66, 69, 0.15);
    color: #ed4245;
    border: 1px solid rgba(237, 66, 69, 0.3);
}

.cmd-badge.optional {
    background: rgba(255, 255, 255, 0.06);
    color: #777;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cmd-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 14px 0;
}

.docs-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 181, 51, 0.06);
    border: 1px solid rgba(255, 181, 51, 0.15);
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 6px;
}

.docs-tip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.docs-tip p {
    font-size: 0.82rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.docs-tip strong {
    color: #ffb533;
}

.docs-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(237, 66, 69, 0.06);
    border: 1px solid rgba(237, 66, 69, 0.15);
    border-radius: 8px;
    padding: 14px 18px;
}

.docs-note-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.docs-note p {
    font-size: 0.82rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.docs-note strong {
    color: #ed4245;
}

.cmd-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}

.cmd-option-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    border-left: 2px solid rgba(88, 101, 242, 0.4);
    font-size: 0.8rem;
    color: #999;
}

.cmd-option-pill strong {
    color: #ccc;
    font-size: 0.8rem;
}

/* Step Flow Styles */
.docs-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-left: 0;
}

.docs-steps::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: rgba(255, 181, 51, 0.2);
    border-radius: 1px;
}

.docs-step {
    position: relative;
    padding: 18px 20px 18px 56px;
    background: rgba(255, 181, 51, 0.04);
    border: 1px solid rgba(255, 181, 51, 0.1);
    border-radius: 10px;
    transition: border-color 0.2s, background 0.2s;
}

.docs-step:hover {
    background: rgba(255, 181, 51, 0.07);
    border-color: rgba(255, 181, 51, 0.22);
}

.docs-step::before {
    content: attr(data-step);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #ffb533;
    color: #000;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.docs-step-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.docs-step-desc {
    font-size: 0.84rem;
    color: #aaa;
    line-height: 1.65;
}

.docs-step-desc code {
    background: rgba(255, 181, 51, 0.12);
    color: #ffb533;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.docs-step-content {
    margin-top: 10px;
}

.docs-builder-preview {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 181, 51, 0.12);
    border-left: 3px solid #ffb533;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 10px;
}

.docs-builder-preview-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffb533;
    margin-bottom: 10px;
}

.docs-builder-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.8rem;
    color: #999;
}

.docs-builder-row strong {
    color: #ccc;
    font-size: 0.8rem;
}

.docs-builder-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 4px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    margin-right: 6px;
    margin-top: 4px;
}

.docs-builder-btn.primary {
    background: rgba(88, 101, 242, 0.25);
    color: #8b9aff;
    border: 1px solid rgba(88, 101, 242, 0.35);
}

.docs-builder-btn.success {
    background: rgba(87, 242, 135, 0.2);
    color: #57f287;
    border: 1px solid rgba(87, 242, 135, 0.35);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .docs-layout {
        padding: 0 40px;
        gap: 28px;
        margin: 36px 0;
    }

    .docs-sidebar {
        width: 210px;
    }

    .docs-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
        padding: 0 20px;
        margin: 24px 0;
        gap: 24px;
    }

    .docs-sidebar {
        width: 100%;
        flex-shrink: 1;
        order: -1;
    }

    .docs-sidebar nav {
        position: static;
    }

    .docs-content {
        width: 100%;
    }

    .docs-title {
        font-size: 2.2rem;
    }

    .docs-card {
        padding: 20px 18px;
    }

    .cmd-block {
        padding: 16px 18px;
    }

    .cmd-options-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .docs-layout {
        padding: 0 16px;
        margin: 16px 0;
    }

    .docs-title {
        font-size: 1.8rem;
    }

    .docs-card {
        padding: 16px 14px;
    }

    .cmd-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cmd-options-grid {
        grid-template-columns: 1fr;
    }

    .docs-steps {
        padding-left: 22px;
    }
}

/* ==================== DOCS HERO ==================== */

.docs-hero {
    background: linear-gradient(135deg, rgba(255, 181, 51, 0.07) 0%, transparent 60%);
    border: 1px solid rgba(255, 181, 51, 0.2);
    border-left: 4px solid #ffb533;
    border-radius: 12px;
    padding: 44px 40px 36px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.docs-hero::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 181, 51, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.docs-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffb533;
    background: rgba(255, 181, 51, 0.1);
    border: 1px solid rgba(255, 181, 51, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.docs-hero .docs-title,
.docs-title--hero {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
    font-size: 4.5rem;
    text-align: center;
}

.docs-hero-sub {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.92rem;
    color: #bbb;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 24px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.docs-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.docs-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ccc;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.docs-hero-chip:hover {
    background: rgba(255, 181, 51, 0.1);
    border-color: rgba(255, 181, 51, 0.35);
    color: #ffb533;
}

/* ==================== STATS ROW ==================== */

.docs-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.docs-stat-card {
    background: #111111;
    border: 1px solid rgba(255, 181, 51, 0.12);
    border-radius: 10px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    transition: border-color 0.2s;
}

.docs-stat-card:hover {
    border-color: rgba(255, 181, 51, 0.3);
}

.docs-stat-num {
    font-family: 'Druk Cond Super', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    font-style: italic;
    color: #ffb533;
    line-height: 1;
    letter-spacing: 0.02em;
}

.docs-stat-label {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ==================== FEATURE GRID ==================== */

.docs-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.docs-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--feature-color, #ffb533);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.2s, border-right-color 0.2s, border-top-color 0.2s, border-bottom-color 0.2s;
}

.docs-feature-card:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--feature-color, #ffb533);
}

.docs-feature-card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.docs-feature-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-feature-card-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.docs-feature-help {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffb533;
    color: #000;
    border: 2px solid #ffb533;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.docs-feature-help:hover {
    background: #ffc15c;
    box-shadow: 0 0 0 3px rgba(255, 181, 51, 0.25);
    transform: scale(1.06);
}

.docs-feature-help:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 181, 51, 0.45);
}

.docs-feature-card-body strong {
    display: block;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

/* ==================== HELP IMAGE MODAL ==================== */

.help-image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.help-image-modal[hidden] {
    display: none;
}

.help-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.help-image-modal-content {
    position: relative;
    background: #15151a;
    border: 1px solid rgba(255, 181, 51, 0.4);
    border-radius: 12px;
    padding: 20px 22px 22px;
    width: min(1500px, 96vw);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.help-image-modal-title {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-right: 32px;
}

.help-image-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.help-image-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.help-image-modal-image-wrap {
    position: relative;
    border-radius: 10px;
    background: #0a0a0d;
    border: 2px solid #ff8a1f;
    box-shadow:
        0 0 0 1px rgba(255, 138, 31, 0.25),
        0 0 32px rgba(255, 138, 31, 0.15),
        inset 0 0 0 1px rgba(0, 0, 0, 0.4);
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    gap: 8px;
}

.help-image-modal-scroll {
    position: relative;
    overflow: auto;
    flex: 1;
    min-height: 320px;
    max-height: calc(94vh - 230px);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(45deg, #14141a 25%, transparent 25%) 0 0 / 22px 22px,
        linear-gradient(-45deg, #14141a 25%, transparent 25%) 0 0 / 22px 22px,
        linear-gradient(45deg, transparent 75%, #14141a 75%) 11px 11px / 22px 22px,
        linear-gradient(-45deg, transparent 75%, #14141a 75%) 11px 11px / 22px 22px,
        #0c0c10;
    border-radius: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 138, 31, 0.5) transparent;
}

.help-image-modal-scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.help-image-modal-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
.help-image-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 31, 0.45);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.help-image-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 138, 31, 0.7);
    background-clip: padding-box;
    border: 2px solid transparent;
}

.help-image-modal-scroll img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: auto;
    cursor: zoom-in;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transition: width 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.help-image-modal-scroll.is-pannable img {
    cursor: grab;
}

.help-image-modal-scroll.is-panning img {
    cursor: grabbing;
    transition: none;
}

/* Zoom Controls */
.help-image-modal-zoom-controls {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(12, 12, 16, 0.85);
    border: 1px solid rgba(255, 138, 31, 0.35);
    border-radius: 999px;
    padding: 5px 7px;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.help-image-zoom-btn {
    background: transparent;
    border: none;
    color: #e8e8e8;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.16s ease, color 0.16s ease, transform 0.1s ease;
}

.help-image-zoom-btn svg {
    display: block;
}

.help-image-zoom-btn:hover {
    background: rgba(255, 138, 31, 0.18);
    color: #ffb533;
}

.help-image-zoom-btn:active {
    transform: scale(0.92);
}

.help-image-zoom-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 138, 31, 0.55);
}

.help-image-zoom-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}

.help-image-zoom-level {
    background: transparent;
    border: none;
    font-family: 'Helvetica Neue', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ddd;
    min-width: 48px;
    height: 30px;
    text-align: center;
    padding: 0 6px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.help-image-zoom-level:hover {
    background: rgba(255, 138, 31, 0.14);
    color: #ffb533;
}

/* Hint Bar */
.help-image-modal-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 6px 2px;
    letter-spacing: 0.02em;
}

.help-image-modal-hint svg {
    flex: 0 0 auto;
    color: #ff8a1f;
    opacity: 0.85;
}

.help-image-modal-desc {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #c8c8c8;
    background: rgba(255, 138, 31, 0.06);
    border-left: 3px solid #ff8a1f;
    border-radius: 4px;
    padding: 10px 14px;
}

.help-image-modal-desc[hidden] {
    display: none;
}

.docs-feature-card-body p {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.55;
    margin: 0 0 10px;
}

.docs-feature-card-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--feature-color, #ffb533);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.docs-feature-card-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ==================== CTA CARD ==================== */

.docs-card-cta {
    border-color: rgba(255, 181, 51, 0.22) !important;
    background: linear-gradient(135deg, rgba(255, 181, 51, 0.04) 0%, transparent 50%) !important;
}

.docs-cta-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.docs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.docs-cta-btn--discord {
    background: #5865F2;
    color: #fff;
}

.docs-cta-btn--discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

/* ==================== RESPONSIVE (new elements) ==================== */

@media (max-width: 1024px) {
    .docs-hero {
        padding: 36px 30px 28px;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        padding: 28px 20px 24px;
    }

    .docs-hero .docs-title,
    .docs-title--hero {
        font-size: 3.2rem;
    }

    .docs-hero-sub {
        font-size: 0.85rem;
    }

    .docs-hero-chips {
        gap: 8px;
    }

    .docs-hero-chip {
        font-size: 0.8rem;
        padding: 7px 13px;
    }

    .docs-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .docs-hero {
        padding: 22px 16px 20px;
    }

    .docs-hero .docs-title,
    .docs-title--hero {
        font-size: 2.6rem;
    }

    .docs-hero-chip {
        font-size: 0.75rem;
        padding: 7px 12px;
    }

    .docs-cta-btn {
        font-size: 0.8rem;
        padding: 9px 16px;
    }
}
