.version-pill {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.version-pill:hover {
    background: rgba(0, 212, 255, 0.16);
    box-shadow: 0 0 16px var(--cyan-glow);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 16px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: linear-gradient(165deg, rgba(6, 22, 48, 0.97) 0%, rgba(5, 10, 20, 0.99) 100%);
    border: 1px solid var(--card-border);
    color: #fff;
    width: 680px;
    max-width: 95%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 255, 0.08);
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

.close-modal:hover {
    background: rgba(0, 212, 255, 0.15);
}

.help-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(0, 80, 160, 0.25), transparent);
}

.help-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    margin-bottom: 6px;
}

.help-header p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.changelog-box {
    max-width: 560px;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
    padding: 20px 24px 28px;
}

.changelog-entry {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(4, 12, 28, 0.5);
}

.changelog-entry.current {
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(0, 212, 255, 0.06);
}

.changelog-ver {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ver-tag {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--cyan);
    color: #041018;
}

.changelog-entry:not(.current) .ver-tag {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.ver-date {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-entry h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.changelog-entry p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 8px;
}

.changelog-entry ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.changelog-entry li {
    margin-bottom: 4px;
}

.changelog-entry li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.changelog-disclaimer {
    font-size: 12px;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
