/* --- Keyboard Shortcuts HUD --- */
.shortcuts-guide {
    position: fixed;
    bottom: 10rem;
    right: 3rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    z-index: 9997;
    color: var(--text-white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    width: 220px;
}

.shortcuts-guide.active {
    transform: translateX(0);
}

.shortcuts-guide h4 {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.shortcut-key {
    background: #333;
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 700;
    min-width: 2.5rem;
    text-align: center;
    border-bottom: 2px solid #000;
}

.shortcut-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* مفتاح صغير يظهر في الزاوية لتنبيه الزوار */
.shortcuts-hint {
    position: fixed;
    bottom: 2rem;
    right: 9rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-gray);
    background: var(--glass);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    z-index: 9996;
    transition: 0.3s;
}

.shortcuts-hint:hover {
    color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .shortcuts-guide, .shortcuts-hint { display: none; }
}
